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: 2296
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 How to select record x+7 or x+2 based... JoAnn Kulcyk SYNCSORT 6 Tue Jan 16, 2018 10:49 pm
No new posts SORT BUT RETAIN HIGHEST VALUE ON NON-... leondan22 DFSORT/ICETOOL 2 Thu Dec 14, 2017 8:13 pm
No new posts query to fetch record which has only ... maxsubrat DB2 12 Mon Dec 11, 2017 5:03 pm
No new posts Formatting using DFsort Guru Nandu DFSORT/ICETOOL 5 Thu Nov 30, 2017 7:33 am
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm

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