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

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


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Superior Member


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

PostPosted: Tue Jan 18, 2011 6:39 pm
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: 2481
Location: @my desk

PostPosted: Wed Jan 19, 2011 2:10 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top