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

Exclude formatting of first and last record in SORT


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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: 2481
Location: @my desk

PostPosted: Thu Aug 06, 2009 4:33 am
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 Developer


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

PostPosted: Thu Aug 06, 2009 5:29 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 7
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts To find whether record count are true... DFSORT/ICETOOL 6
Search our Forums:

Back to Top