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
 

 

Retain First Record without sorting in sorted O/P File.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Madhu0305

New User


Joined: 25 Jun 2010
Posts: 1
Location: Pune,India

PostPosted: Tue Jan 18, 2011 6:21 pm    Post subject: Retain First Record without sorting in sorted O/P File.
Reply with quote

Hi,

I have scenario where first record contains date record which has to be retained in output file without sorting. I tried with STARTAFT but it is not going to work. Please give me sort card to satisfy above criteria.


Thanks&Regards,
Madhu
Back to top
View user's profile Send private message

Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue Jan 18, 2011 6:39 pm    Post subject:
Reply with quote

Please show us some sample records and the expected output from that. Also tell us the RECFM and LRECL of the input/output.

Looks like you want to sort records between header/trailer, however, I can't say this for sure unless you show us some sample records and the expected output from that, as I've asked for.
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2276
Location: @my desk

PostPosted: Wed Jan 19, 2011 2:10 pm    Post subject:
Reply with quote

Madhu,

Welcome to the forums!

Apart from what Anuj has already asked, you may post your sort product name and version info which might help to decide which solution will work for your product.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Sorting of hex values Saurabh_mi DFSORT/ICETOOL 11 Thu May 25, 2017 3:49 pm
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm


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