View previous topic :: View next topic
|
Author |
Message |
Deepti_R
New User
Joined: 07 Nov 2019 Posts: 3 Location: USA
|
|
|
|
Hi,
My input is
3000ABC 176579
3000ABC 677856
3000ABC 987547
2000QWE 097580
2000QWE 457900
Can we use sort jcl to get desired output like this -
3000ABC 176579 677856 987547
2000QWE 097580 457900
Also, if then are there any constraints?
Thanks,
Deepti |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2147 Location: USA
|
|
|
|
Deepti_R wrote: |
Can we use sort jcl to get desired output like this -
3000ABC 176579 677856 987547
2000QWE 097580 457900
|
Yes, you can - for a limited number of rows.
What did you try yet?
Deepti_R wrote: |
Also, if then are there any constraints? |
If there are any constraints, you can either ignore them, or take them into account - depending on your own needs. We have no info about them. |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2454 Location: Hampshire, UK
|
|
|
|
Quote: |
Can we use sort jcl |
No - for the simple reason that JCL does not manipulate data. However, you might be able to use the sort program if you use the correct sort control statements. |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3076 Location: NYC,USA
|
|
Back to top |
|
|
|