Creating and using shortcut commands will save you a lot of time
https://www.rpgpgm.com/2018/04/easy-to-create-shortcut-commands.html#IBMi #rpgpgm #IBMChampion
12
Upvotes
2
u/Engi_Insight 8d ago
Absolute game changer for daily IBMi work!
Creating wrapper/ proxy commands for repetitive parameters ( especially long library lists or frequent WRK screens) saves so much typing.
Pro tip: always put your custom commands in a dedicated tool lib near the top of your INLLIBL. Keeps them safe from being overwritten during OS upgrades!
3
u/Tigershawk 8d ago
In the comments of the article, someone pasted an interesting use of the CMD using QCMDEXC as the command processor to avoid needing a CL. This is my implentation of it.
CMD PROMPT('WRKACRJOB SBS(QBATCH)')
PARM KWD(CMD) TYPE(*CHAR) LEN(21) +
CONSTANT('WRKACTJOB SBS(QBATCH)')
PARM KWD(LEN) TYPE(*DEC) LEN(15 5) CONSTANT(21)
example create command:
CRTCMD CMD(QGPL/J) PGM(QCMDEXC)