Copy Configuration List (CPYCFGL)

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

The Copy Configuration List (CPYCFGL) command creates a configuration list as a copy of an existing configuration list.

Note: The asynchronous network address list is the only type of configuration list that can be copied.

Top

Parameters

Keyword Description Choices Notes
FROMCFGL From configuration list Name Required, Positional 1
CFGL Configuration list Name Required, Positional 2
TEXT Text 'description' Character value, *BLANK Optional
AUT Authority *CHANGE, *ALL, *USE, *EXCLUDE Optional
Top

From configuration list (FROMCFGL)

Specifies the configuration list from which to copy.

from-configuration-list
Specify the configuration list being copied from.
Top

Configuration list (CFGL)

Specifies the name of the configuration list.

list-to-create
Specify the configuration list being created.

This is a required parameter.

Top

Text 'description' (TEXT)

Specifies the text that briefly describes the object.

*BLANK
No text is specified.
character-value
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.

*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.
Top

Examples

CPYCFGL   FROMCFGL(CONFIG01)  CFGL(CONFIG02)

This command copies the configuration list named CONFIG01 to a new configuration list name CONFIG02.

Top

Error messages

*ESCAPE Messages

CPF2182
Not authorized to library &1.
CPF260D
Configuration list &1 already exists.
CPF260E
Configuration list &1 not created.
CPF260F
Configuration list &1 not found.
CPF2612
List type &1 not correct for copy.
CPF2625
Not able to allocate object &1.
CPF2634
Not authorized to object &1.
CPF2663
Configuration list &1 previously deleted.
Top