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

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


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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 Developer


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

PostPosted: Sat Mar 24, 2012 4:11 am
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat Mar 24, 2012 4:16 am
Reply with quote

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

www.ibmmainframes.com/viewtopic.php?t=57448&highlight=
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: 2455
Location: Hampshire, UK

PostPosted: Sat Mar 24, 2012 7:35 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top