View previous topic :: View next topic
|
Author |
Message |
Itanium
Active User
Joined: 22 Jan 2006 Posts: 114 Location: India
|
|
|
|
I have a file with below records
Code: |
A 6
B 6
C 7
D 10
E 100
|
these records needs to be converted as below
Code: |
A 006
B 006
C 007
D 010
E 100
|
Is there any way to attain this without writing a COBOL program ? |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
Hello Itanium,
Can you try out this.
Code: |
//SYSIN DD *
INREC FIELDS=(1,2,3,3,UFF,ZD)
SORT FIELDS=COPY
/* |
Thanks,
Arun |
|
Back to top |
|
|
Itanium
Active User
Joined: 22 Jan 2006 Posts: 114 Location: India
|
|
|
|
Thanks Arun. This worked perfectly.
Thanks a lot for the quick turnaround. |
|
Back to top |
|
|
Arun Raj
Moderator
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
|
|
|
|
You are welcome.....
Thanks,
Arun |
|
Back to top |
|
|
|