View previous topic :: View next topic
|
Author |
Message |
jerryte
Active User
Joined: 29 Oct 2010 Posts: 202 Location: Toronto, ON, Canada
|
|
|
|
I would like to see IBM develop an alias DFCOPY to invoke SORT but for copy operation only. It would use below options:
Code: |
OPTION COPY,SORTDD=COPY |
This makes it obvious from the JCL what is happening without having to read the SYSIN parm
Code: |
//COPY01 EXEC PGM=DFCOPY
//SYSOUT DD SYSOUT=*
//COPYIN DD DSN=input-dataset
//COPYOUT DD DSN=output-dataset
//SYSIN DD DSN=parmlib
|
There is ICEGENER but I don't know if it allows for complex OUTFIL statements.
This can be also achieved with a DFPARM but the PGM=DFCOPY makes it more obvious.
Easier to read and understand. Thoughts? |
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1245 Location: Bamberg, Germany
|
|
|
|
TBH, a PROC may have the same effect of simplification. |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2018 Location: USA
|
|
|
|
This approach (the initial one) would be similar to using an electric drill for hammering nails.
Although both of them are possible. |
|
Back to top |
|
|
|