Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
INCLUDE condition questions

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: INCLUDE condition questions
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Thu Jun 30, 2016 10:20 am    Post subject: Reply to: INCLUDE condition questions
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts More than 1 Include criteria for sing... Roy Ware SYNCSORT 6 Wed Sep 13, 2017 11:45 pm
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Joinkeys with condition scdinesh DFSORT/ICETOOL 10 Tue Feb 14, 2017 12:20 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us