View previous topic :: View next topic
|
Author |
Message |
ashok_uddaraju
New User
Joined: 21 Feb 2007 Posts: 72 Location: US
|
|
|
|
Hi,
I want to write a jcl to put records in order
input file:
12345
ashok
45678
kumar
output file:
12345 ashok
45678 kumar
Can some one please help me |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
1. JCL won't do this. A utility could, or a program could. JCL does nothing but execute programs, so JCL cannot do this.
2. You say "put records in order" yet you appear to be combining records instead. Could you give some more examples since your statement and your example contradict one another? |
|
Back to top |
|
|
ashok_uddaraju
New User
Joined: 21 Feb 2007 Posts: 72 Location: US
|
|
|
|
my requirement is that i have a output file which is distorted in order.
I expect data to come as
12345 ashok
but is comming as
12345
ashok
now i want to do something on this output file to get the data back as
12345 ashok |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
Have you tried searching. The same question was ask earlier today. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Suggest you resolve the problem of the "good" data being split into "bad" data rather than patching it back together again.
What is causing the data to "come out of order"? |
|
Back to top |
|
|
|