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
 
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: 2285
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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts JOINKEYS Paired and Unpaired Sort MFwhiz DFSORT/ICETOOL 4 Fri Sep 29, 2017 1:48 am
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts OC4 in SORT Mohan Kothakota DFSORT/ICETOOL 2 Tue Sep 12, 2017 6:30 pm

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