View previous topic :: View next topic |
Author |
Message |
tattva Beginner
Joined: 02 Feb 2005 Posts: 97 Topics: 36
|
Posted: Tue Jun 07, 2005 11:51 pm Post subject: sort and strip out the bytes... |
|
|
Hi all,
i have flat file(length of 600bytes). Now i need to :-
1) sort it based on couple of fields.
2) strip of first and last hundred bytes based on some condition.
is it possible to achieve this in single JCL step ??
If yes can any one put in the code
Thanks,
Tattva |
|
Back to top |
|
 |
Dibakar Advanced

Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Wed Jun 08, 2005 12:47 am Post subject: |
|
|
search for SORT, FILEDS and OUTREC and I think you will get examples. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Wed Jun 08, 2005 4:41 am Post subject: |
|
|
Quote: |
is it possible to achieve this in single JCL step ??
|
tattva,
Please post detailed information on what you're trying to accomplish. Do not make people guess what you mean. This will give you a much better chance of getting a good answer to your question.
kolusu
A sample input data with desired output will be useful. _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
|
|