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
 
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: 2287
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 SORT BUT RETAIN HIGHEST VALUE ON NON-... leondan22 DFSORT/ICETOOL 2 Thu Dec 14, 2017 8:13 pm
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts query to fetch record which has only ... maxsubrat DB2 12 Mon Dec 11, 2017 5:03 pm
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm

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