Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Sort Jcl to Omit record of x'00' and write the omitted rec

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
raj4neo
Warnings : 1

New User


Joined: 12 May 2006
Posts: 49
Location: India

PostPosted: Sat Mar 24, 2012 3:33 am    Post subject: Sort Jcl to Omit record of x'00' and write the omitted rec
Reply with quote

Hi

I need Sort Jcl to Omit record of x'00' and write the omitted record in o/p file
Back to top
View user's profile Send private message

Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Sat Mar 24, 2012 4:11 am    Post subject:
Reply with quote

You have to do a better job of explaining what you want before anyone can help you.

What do you mean by "record of X'00'"? Do you mean a record that has X'00' in a certain position or positions? Which position or positions?

What do you mean by
Quote:
OMIT ... and write the omitted record in o/p file
Those are complete opposites. If you OMIT a record, it does NOT appear in the output file. If you INCLUDE a record, it does appear in the output file. Do you want two output files - one without the X'00' record and the other with just the X'00' record? Or do you want something else? You need to make it clear what you want. An example of your input records and expected output records would help.

What is the RECFM and LRECL of your input file? What is the starting position, length and format of all relevant input fields?

Please put some thought into the "requirements" you post to make it easier for people to help you.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Sat Mar 24, 2012 4:16 am    Post subject: Reply to: Sort Jcl to Omit record of x'00' and write the omi
Reply with quote

Frank,
from previous posts the TS seems to be using syncsort !

http://www.ibmmainframes.com/viewtopic.php?t=57448&highlight=
http://www.ibmmainframes.com/viewtopic.php?t=57459&highlight=
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1722
Location: UK

PostPosted: Sat Mar 24, 2012 7:35 pm    Post subject:
Reply with quote

After almost 6 years he still does not know the difference between SYNCSORT and DFSORT.
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 Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts How to update a portion of text in a ... Bill Woodger DFSORT/ICETOOL 25 Wed Nov 09, 2016 9:41 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us