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: 2180
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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 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


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