vbPhil
asked on
Spool Files - What is the method called?
I'm not even sure how to ask this question... but here goes...
I am processing files that come to me in various forms, but when I get them to a
usable state, the look something like this...
003 THIS IS MY NAME
1 THIS IS MY ADDRESS
1 THIS IS MORE ADDRESS
1 MY CITY, STATE ZIP
2 SUBJECT: SOME SUBJECT TEXT
015 BODY:
2 -------------------------- ---------- --------
030 -------------------------- ---------- --------
003 THIS IS MY NAME
1 THIS IS MY ADDRESS
1 THIS IS MORE ADDRESS
1 MY CITY, STATE ZIP
2 SUBJECT: SOME SUBJECT TEXT
015 BODY:
2 -------------------------- ---------- --------
030 -------------------------- ---------- --------
...which I interpret as the 3-digit number indicates an absolute line number while the 1-digit number is a vertical space (that number of times) relative to where you are.
It works great, but I don't know what this is called (the using of the 3-digit and 1-digit number for carriage control). Are all Spool Files like this or is this a special thing. Is there a name for this?
I am processing files that come to me in various forms, but when I get them to a
usable state, the look something like this...
003 THIS IS MY NAME
1 THIS IS MY ADDRESS
1 THIS IS MORE ADDRESS
1 MY CITY, STATE ZIP
2 SUBJECT: SOME SUBJECT TEXT
015 BODY:
2 --------------------------
030 --------------------------
003 THIS IS MY NAME
1 THIS IS MY ADDRESS
1 THIS IS MORE ADDRESS
1 MY CITY, STATE ZIP
2 SUBJECT: SOME SUBJECT TEXT
015 BODY:
2 --------------------------
030 --------------------------
...which I interpret as the 3-digit number indicates an absolute line number while the 1-digit number is a vertical space (that number of times) relative to where you are.
It works great, but I don't know what this is called (the using of the 3-digit and 1-digit number for carriage control). Are all Spool Files like this or is this a special thing. Is there a name for this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Ah, so you need something an AS/400 person would understand? or something any user might simply use as a label? For an AS/400 programmer or administrator-type person, [PRTCTL] might work, since the actual parameter value on the CPYSPLF command is CTLCHAR(*PRTCTL). PRTCTL=Printer control.
For a normal user, it possibly won't make much difference. They commonly don't see this kind of info anyway. Maybe something more generic like [Offline report format].
Tom
For a normal user, it possibly won't make much difference. They commonly don't see this kind of info anyway. Maybe something more generic like [Offline report format].
Tom
ASKER
I was holding out for some more responses... Your answer gave me the background to at least understand where these files are coming from. It is still a little difficult to describe as a choice for people to select when processing incoming data. Perhaps "Skip & Space" would be meaningful...?