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
 
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: 51
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: 10309
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: 1868
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 OC4 in SORT Mohan Kothakota DFSORT/ICETOOL 2 Tue Sep 12, 2017 6:30 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am
No new posts Changing sort Card Dynamically vickey_dw DFSORT/ICETOOL 5 Sat Aug 19, 2017 2:33 pm

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