WoodEngineer
2280 pts. | Nov 2 2009 7:45PM GMT
This is a bit of info from a cheat sheet I wrote recently. Hope it helps.
This command builds a skeleton help text member, leaving only the entry of the command help text itself. This eliminates a lot ot tedious coding.
GENCMDDOC CMD(PIDCOST/LODMLDCST)
TODIR(’/QSYS.LIB/pidcost.LIB/QtxtSRC.FILE’)
TOSTMF(’LODMLDCST.MBR’) <– this is the command name itself
GENOPT(*UIM)
IBM suggests file QPNLSRC for help text, which is also known as a panel or panel group.
Don’t be alarmed with the TOSTMF parm. The help text skeleton still lands in a typical AS/400 member in a standard file – PIDCOST/QTXTSRC in this case.
Also, be aware that this command takes a little while to run. It is not nearly as fast as one might expect.
Adding command help text is a great documentation method.
Good luck.






