Create Print Descriptor Group (CRTPDG)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Create Print Descriptor Group (CRTPDG) command creates an object of type *PDG into which information about a print descriptor group and its associated print descriptor names can be stored.

Top

Parameters

Keyword Description Choices Notes
PDG Print descriptor group Qualified object name Required, Positional 1
Qualifier 1: Print descriptor group Name
Qualifier 2: Library Name, *CURLIB
TEXT Text 'description' Character value, *BLANK, X'' Optional
AUT Authority Name, *LIBCRTAUT, *CHANGE, *ALL, *USE, *EXCLUDE Optional
Top

Print descriptor group (PDG)

Specifies the name and library of the print descriptor group (PDG) to be created.

print-descriptor-group-name
Specify the name of the PDG to be created.

The possible library values are:

*CURLIB
The current library for the job is used to locate the PDG. If no library is specified as the current library for the job, QGPL is used.
library-name
Specify the library name where the created PDG will be stored.

This is a required parameter.

Top

Text 'description' (TEXT)

Specifies the text that briefly describes the object.

The possible values are:

*BLANK
The text description is left blank.
'description'
Specify no more than 50 characters of text, enclosed in apostrophes.
Top

Authority (AUT)

Specifies the authority you are giving to users who do not have specific authority for the object, who are not on an authorization list, and whose group profile or supplemental group profiles do not have specific authority for the object.

*LIBCRTAUT
The system determines the authority for the object by using the value specified for the Create authority (CRTAUT) parameter on the Create Library command (CRTLIB) for the library containing the object to be created. If the value specified for the CRTAUT parameter is changed, the new value will not affect any existing objects.
*CHANGE
The user can perform all operations on the object except those limited to the owner or controlled by object existence (*OBJEXIST) and object management (*OBJMGT) authorities. The user can change and perform basic functions on the object. *CHANGE authority provides object operational (*OBJOPR) authority and all data authority. If the object is an authorization list, the user cannot add, change, or remove users.
*ALL
The user can perform all operations except those limited to the owner or controlled by authorization list management (*AUTLMGT) authority. The user can control the object's existence, specify the security for the object, change the object, and perform basic functions on the object. The user also can change ownership of the object.
*USE
The user can perform basic operations on the object, such as running a program or reading a file. The user cannot change the object. Use (*USE) authority provides object operational (*OBJOPR), read (*READ), and execute (*EXECUTE) authorities.
*EXCLUDE
The user cannot access the object.
name
Specify the name of an authorization list to be used for authority to the object. Users included in the authorization list are granted authority to the object as specified in the list. The authorization list must exist when the object is created.
Top

Examples

CRTPDG   PDG(LETTERS)

This command creates print descriptor group LETTERS.

Top

Error messages

*ESCAPE Messages

CPF2283
Authorization list &1 does not exist.
CPF6D81
Print descriptor group &1 not created in library &2.
Top