IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

INCLUDE condition questions


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
van bui

New User


Joined: 23 Mar 2016
Posts: 1
Location: australia

PostPosted: Thu Jun 30, 2016 9:52 am
Reply with quote

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
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Thu Jun 30, 2016 10:20 am
Reply with quote

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
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Filter records where condition is in ... SYNCSORT 6
No new posts Extract records for a specific condit... DFSORT/ICETOOL 25
No new posts Write record twice based on condition... SYNCSORT 7
No new posts Setting RC using NULLOFL/NOTMTOFL for... SYNCSORT 6
No new posts ISRDSLST(3.4) Do not include addition... TSO/ISPF 0
Search our Forums:


Back to Top