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

Parameters

PNLGRP Panel group

The panel group to create, qualified by its library. This parameter is required.

Type
*QUAL
Required
Yes
Case
Uppercase
*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

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*CURLIB
Length
10
Case
Uppercase

Suggested / special values: *CURLIB

SRCFILE Source file

The source file that contains the UIM source. The record length must be 13 through 92.

Type
*QUAL
Required
No
Case
Uppercase
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

Type
*NAME
Required
No
Default
QPNLSRC
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

SRCMBR Source member

The source member that contains the UIM source.

Type
*NAME
Required
No
Default
*PNLGRP
Length
10
Case
Uppercase

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.

Type
*CHAR
Required
No
Default
*SRC
Length
10
List limit
3
Case
Uppercase

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.

Type
*CHAR
Required
No
Default
*SRCMBRTXT
Length
50
Case
Mixed case

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.

Type
*QUAL
Required
No
Default
*SRCFILE
Case
Uppercase

Suggested / special values: *SRCFILE

*SRCFILE
The file named on SRCFILE.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Include file Include file

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

CHRID Character identifier

How dialog variables with CHRID=PNLGRP on their class are converted.

Type
*CHAR
Required
No
Default
*DEVD
Length
10
Case
Uppercase

Suggested / special values: *DEVD, *SYSVAL, *JOBCCSID, *CHRIDCTL

*DEVD
The character identifier of the display device.

AUT Authority

The public authority to the panel group.

Type
*NAME
Required
No
Default
*LIBCRTAUT
Length
10
Case
Uppercase

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.

Type
*CHAR
Required
No
Default
*YES
Length
4
Case
Uppercase

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.

IBM command documentation

Generated from os/cl/catalog/CRTPNLGRP.json and os/cl/help/CRTPNLGRP.json.