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: 2285
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 File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 0 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 8 Fri Sep 22, 2017 11:35 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm

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