help for iSeries commands
5 pts.
0
Q:
help for iSeries commands
Hello.
Everyone knows how to add help to iSeries commands that are created by user like in system commands?
In system commands I can type command, press F4 and then press F1 for each parameter that I want know what is the meaning of parameter.
That thing I want make for my commands.
My iSeries is on V5R3M0.
Thanks!
Dalibor
ASKED: Aug 12 2005  10:22 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
7785 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
on the CRTCMD command, look at the HLPPNLGRP parameter. Look to the IBM infocenter for information how to create a panel group.

=====================================================

This is described in the Application Display Programming .PDF manual. Topic to read is 'Assigning Panel Groups as Help for Commands' in Chapter 20. Examples are included.

Almost all UIM panel specifications are in that manual.

Tom
Last Answered: Oct 31 2009  9:44 AM GMT by TomLiotta   7785 pts.
Latest Contributors: KeithHodges   0 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

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.

 
0