J
John
I am attempting to import a large fixed length file, whose origin, I
believe, is Pervasive SQL2000. I am having trouble because Access (XP) says
the record is too long, but I wonder whether it is missing some sort of
CR/LF kind of thing. I can import it into Excel, although I suspect the
field breaks are probably wrong.
My real question is this: I have been give a text file layout which is
supposed to correspond to this file, but I confess that I do not understand
some of the data. Below is an example:
FD SA-HDR-FIL
DATA RECORDS IS SA-HDR-REC.
01 SA-HDR-REC.
03 SA-HDR-ALT-KEY-1.
05 SA-HDR-ALT-KEY-DATA-UPPER PIC X(25).
05 SA-HDR-KEY.
07 SA-HDR-STR-NO PIC 9(3).
07 SA-HDR-TICKET-NO PIC 9(6).
07 SA-HDR-SEQ-NO PIC 9(3).
Can someone clear up with the PIC means? Also what the number (or X in
some cases) after it means?, and finally, what the number in parenthesis
means?
Thanks,
John
believe, is Pervasive SQL2000. I am having trouble because Access (XP) says
the record is too long, but I wonder whether it is missing some sort of
CR/LF kind of thing. I can import it into Excel, although I suspect the
field breaks are probably wrong.
My real question is this: I have been give a text file layout which is
supposed to correspond to this file, but I confess that I do not understand
some of the data. Below is an example:
FD SA-HDR-FIL
DATA RECORDS IS SA-HDR-REC.
01 SA-HDR-REC.
03 SA-HDR-ALT-KEY-1.
05 SA-HDR-ALT-KEY-DATA-UPPER PIC X(25).
05 SA-HDR-KEY.
07 SA-HDR-STR-NO PIC 9(3).
07 SA-HDR-TICKET-NO PIC 9(6).
07 SA-HDR-SEQ-NO PIC 9(3).
Can someone clear up with the PIC means? Also what the number (or X in
some cases) after it means?, and finally, what the number in parenthesis
means?
Thanks,
John