IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

PGM=DFCOPY


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 202
Location: Toronto, ON, Canada

PostPosted: Tue Dec 14, 2021 2:29 am
Reply with quote

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
View user's profile Send private message
Joerg.Findeisen

Senior Member


Joined: 15 Aug 2015
Posts: 1245
Location: Bamberg, Germany

PostPosted: Tue Dec 14, 2021 11:06 am
Reply with quote

TBH, a PROC may have the same effect of simplification.
Back to top
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2018
Location: USA

PostPosted: Tue Dec 14, 2021 1:14 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Search our Forums:

Back to Top