View previous topic :: View next topic
|
Author |
Message |
van bui
New User
Joined: 23 Mar 2016 Posts: 1 Location: australia
|
|
|
|
I have a fix length sequential file, some record contains double quotes " char.
The double quotes char are random placed on those records. I would like split those records to new file (SORTOF01).
Would you please advice how can I use INCLUDE parm for scan double quotes chars or please advice any options help me split those double quotes chars to other dataset. Thanks
SORT FIELDS=COPY
OUFIL FILES=01,INCLUDE=????? |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
If you want to "splut" the file, yout'll need two OUTFILs.
On one, you use INCLUDE=/OMIT= with an SS comparison, in a "field" which describes all the possible locations of '"'.
On the other OUTFIL you use SAVE, so that it gets all the records which haven't been otherwise written within an OUTFIL. |
|
Back to top |
|
|
|