diwansk
New User
Joined: 01 May 2005 Posts: 7 Location: Bangalore
|
|
|
|
| Can you please suggest me the best way/utility to copy one GDG to another GDG with increased file length using a JCL. Source file is of length 11 FB, Destination file is of length 80, FB |
|
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3265 Location: Charlotte,NC USA
|
|
|
|
Here's an easy solution:
| Code: |
//STEPXXXX EXEC PGM=SORT
//SORTIN DD DISP=SHR,DSN=input.gdg
//SORTOUT DD DISP=SHR,DSN=output.gdg
//SYSOUT DD SYSOUT=*
//SYSIN DD *
OPTION COPY
OUTREC FIELDS=(1,11,80:X)
/*
//*
|
|
|