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: 2237
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 Record Not found in AlX but record re... mukun264 COBOL Programming 0 Fri Mar 24, 2017 9:28 am
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm
No new posts Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm


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