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
 

 

Exclude formatting of first and last record in SORT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
NandanPhalak

New User


Joined: 14 Apr 2009
Posts: 14
Location: India

PostPosted: Thu Aug 06, 2009 3:02 am    Post subject: Exclude formatting of first and last record in SORT
Reply with quote

Hi,

I want to copy a ps file to another. The conditions involved are:

1. I have Inrec statement to format the I/P records.
2. I don't want to format the first and the last record of file. These two records should come in O/p file as it is.

I tried using ICETOOL with DATASORT but my version of SORT is older. It gives error in DATASORT.

Any other way of doing this using SORT/ICETOOL?

Regards,
Nandan
Back to top
View user's profile Send private message

Arun Raj

Moderator


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

PostPosted: Thu Aug 06, 2009 4:33 am    Post subject:
Reply with quote

Quote:
It gives error in DATASORT
Can you post the error message here?
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Thu Aug 06, 2009 5:29 am    Post subject:
Reply with quote

Nanden.

You need z/OS DFSORT V1R5 PTF UK90013 to use DATASORT. That PTF has been available since July, 2008. Ask your System Programmer to install it (it's free).

If you can't get it installed, then I need more information in order to help you:

Show an example of the records in your input file (relevant fields only) and what you expect for output. Explain the "rules" for getting from input to output. If the first record can be identified in some way (other than being the first record), say how (e.g. 'H' in position 1). If the last record can be identified in some way (other than being the last record), say how (e.g. 'T' in position 1). Give the RECFM and LRECL of the input file. Give the starting position, length and format of each relevant field.

It would also help if you show the job you tried to use and the //TOOLMSG and //DFSMSG messages you received.
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 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
No new posts How to update a portion of text in a ... Bill Woodger DFSORT/ICETOOL 25 Wed Nov 09, 2016 9:41 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm


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