IBM i Actions
#1293
Replies: 2 comments
-
Next best thing is a PR so it can be reviewed by many people :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
This recently bit me. Having EXPORT(*ALL) on CRTSRVPGM command caught me off guard. In my shop, the system default is EXPORT(*SRCFILE). I think it's a better approach, to leave out the literal parameters and default to the users' system default. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What are thoughts on eliminating parameters with literals listed in the out of the box IBM i Actions. Leaving them out would allow the system defined command defaults to be used when the action is ran.
Example 1: Currently
CRTCMD CMD(&OPENLIB/&OPENMBR) PGM(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF) ALLOW(*ALL) CURLIB(*NOCHG) PRDLIB(*NOCHG)
Example 1: Future
CRTCMD CMD(&OPENLIB/&OPENMBR) PGM(&OPENLIB/&OPENMBR) SRCFILE(&OPENLIB/&OPENSPF)
Example 2: Currently
CRTSRVPGM SRVPGM(&OPENLIB/&OPENMBR) EXPORT(*ALL) BNDSRVPGM(*NONE) BNDDIR(*NONE) ACTGRP(*CALLER) TGTRLS(*CURRENT)
Example 2: Future
CRTSRVPGM SRVPGM(&OPENLIB/&OPENMBR)
Beta Was this translation helpful? Give feedback.
All reactions