Domain: | USER-ADMINISTRATION |
Privileges: | STD-PROCESSING, USER-ADMINISTRATION |
Copies a terminal set.
The following are authorized to execute this command:
global user administrators (owners of the privilege USER-ADMINISTRATION) for all terminal sets
group administrators who possess, as a minimum, the attribute MANAGE-MEMBERS. The destination of the copy operation must be a terminal set of class GROUP or USER. It must be allocated to the group administrator’s group or one of its members.
The copy operation is only supported within a pubset.
COPY-TERMINAL-SET | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
FROM-TERMINAL-SET = <name 1..8>(...)
Name of the terminal set to be copied.
SCOPE = *STD
For global user administrators, this specification has the same effect as SCOPE=*SYSTEM.
For group administrators it has the same effect as SCOPE=*GROUP(GROUP-ID=*OWN).
SCOPE = *USER(USER-IDENTIFICATION = *OWN / <name 1..8>)
A terminal set owned by a user ID is copied.
SCOPE = *GROUP(GROUP-IDENTIFICATION = *OWN / *UNIVERSAL / <name 1..8>)
A terminal set owned by a user group is copied.
SCOPE = *SYSTEM
A publicly owned terminal set is copied.
TO-TERMINAL-SET = <name 1..8>(...)
Name of the terminal set to be created or replaced.
SCOPE = *STD
For global user administrators, this specification has the same effect as SCOPE=*SYSTEM.
For group administrators it has the same effect as SCOPE=*GROUP(GROUP-ID=*OWN).
SCOPE = *USER(USER-IDENTIFICATION = *OWN / <name 1..8>)
The terminal set is copied and is owned by a user ID.
SCOPE = *GROUP(GROUP-IDENTIFICATION = *OWN / *UNIVERSAL / <name 1..8>)
The terminal set is copied and is owned by a user group.
SCOPE = *SYSTEM
This value can only be specified by a global user administrator. The terminal set is copied and is publicly owned.
PUBSET =
Pubset to whose user catalog the terminal set is copied.
PUBSET = *HOME
The terminal set is copied to the home pubset.
PUBSET = <catid 1..4>
The terminal set is copied to the specified pubset.
WRITE-MODE =
Specifies whether an existing terminal set of the same name should be overwritten.
WRITE-MODE = *NEW
An existing terminal set is not overwritten.
WRITE-MODE = *REPLACE
An existing terminal set is overwritten.
Command return codes
(SC2) | SC1 | Maincode | Meaning |
0 | CMD0001 | Command executed without errors | |
2 | 0 | SRM6001 | Command executed with warning |
1 | SRM6010 | Syntax error in command | |
32 | SRM6020 | System error during command processing | |
64 | SRM6040 | Semantic error during command processing | |
130 | SRM6030 | Command cannot be executed at present time |