Command reference / sys
CRTPNLGRP
Create Panel Group
Creates a panel group object (*PNLGRP) from UIM tag language source in a source file member. A panel group holds the definitions of dialog variables, conditions, key lists, display panels and help modules; its help modules can be named as the help panel group of a user command (CRTCMD HLPPNLGRP) and are shown with the Help key. Diagnostics are listed with the source in a compile listing.
Allowed environments: *ALL.
Positional parameters: 4.
Restrictions
- Requires *READ and *ADD authority to the library where the panel group is created.
- When the panel group already exists, requires *OBJEXIST, *OBJMGT and *READ authority to it.
Parameters
PNLGRP
Panel group
The panel group to create, qualified by its library. This parameter is required.
*CURLIB- The job's current library. If no current library is in the library list, QGPL is used.
Qualified parts (object, then library; write LIBRARY/OBJECT)
Panel group
Panel group
Library
Library
Suggested / special values:
*CURLIB
SRCFILE
Source file
The source file that contains the UIM source. The record length must be 13 through 92.
QPNLSRC- The source file QPNLSRC.
*LIBL- All libraries in the library list are searched.
*CURLIB- The job's current library. If no current library is in the library list, QGPL is used.
Qualified parts (object, then library; write LIBRARY/OBJECT)
Source file
Source file
Library
Library
Suggested / special values:
*LIBL, *CURLIB
SRCMBR
Source member
The source member that contains the UIM source.
Suggested / special values:
*PNLGRP
*PNLGRP- The member has the name of the panel group.
OPTION
Source listing options
Up to three listing options, in any order.
Allowed values:
*SOURCE, *SRC, *NOSOURCE, *NOSRC, *NOSECLVL, *SECLVL, *NOEVENTF, *EVENTF
*SOURCE- A source listing is produced.
*SRC- A source listing is produced.
*NOSOURCE- No source listing is produced unless errors are found.
*NOSRC- No source listing is produced unless errors are found.
*SECLVL- Second-level message text is printed with the first-level text.
*NOSECLVL- Only first-level message text is printed.
*EVENTF- An event file is produced for CoOperative Development Environment/400 (CODE). Normally set by CODE.
*NOEVENTF- No event file is produced.
TEXT
Text description
The text that describes the panel group, up to 50 characters in apostrophes.
Suggested / special values:
*SRCMBRTXT, *BLANK
*SRCMBRTXT- The text of the source member is used.
*BLANK- No text.
INCFILE
Include file
The source file of the members imbedded with the .IM control word.
Suggested / special values:
*SRCFILE
*SRCFILE- The file named on SRCFILE.
Qualified parts (object, then library; write LIBRARY/OBJECT)
Include file
Include file
Library
Library
Suggested / special values:
*LIBL, *CURLIB
CHRID
Character identifier
How dialog variables with CHRID=PNLGRP on their class are converted.
Suggested / special values:
*DEVD, *SYSVAL, *JOBCCSID, *CHRIDCTL
*DEVD- The character identifier of the display device.
AUT
Authority
The public authority to the panel group.
Suggested / special values:
*LIBCRTAUT, *CHANGE, *ALL, *USE, *EXCLUDE
*LIBCRTAUT- The create authority of the library.
*CHANGE- Change authority.
*ALL- All authority.
*USE- Use authority.
*EXCLUDE- No authority.
REPLACE
Replace panel group
Whether an existing panel group of the same name is replaced. A panel group in use cannot be replaced.
Allowed values:
*YES, *NO
*YES- The existing panel group is replaced.
*NO- The panel group is not created when one already exists.
Examples
CRTPNLGRP PNLGRP(MYLIB/MYPNLGRP) SRCFILE(MYLIB/QPNLSRC)
Creates panel group MYPNLGRP from member MYPNLGRP of MYLIB/QPNLSRC.
Generated from os/cl/catalog/CRTPNLGRP.json and os/cl/help/CRTPNLGRP.json.