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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts How to give complex condition in JCL . CLIST & REXX 30
No new posts selectively copy based on condition DFSORT/ICETOOL 3
This topic is locked: you cannot edit posts or make replies. Sort to include records of file 2 int... Java & MQSeries 1
This topic is locked: you cannot edit posts or make replies. Control-m JOB executing even when the... Compuware & Other Tools 6
Search our Forums:

Back to Top