Change Management Collection (CHGMGTCOL)
Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Change Management Collection (CHGMGTCOL) command changes the atttributes of the specified management collection object.
Restrictions:
- You must have object management (*OBJMGT) authority for the management collection object and execute (*EXECUTE) authority to the library.
- The management collection object must have an attribute of either *PFR, *PFRHST, or *PFRDTL.
Top |
Parameters
Keyword | Description | Choices | Notes |
---|---|---|---|
MGTCOL | Management collection | Qualified object name | Required, Key, Positional 1 |
Qualifier 1: Management collection | Name | ||
Qualifier 2: Library | Name, QPFRDATA | ||
EXPDATE | Expiration date | Date, *SAME, *PERM | Optional |
Top |
Management collection (MGTCOL)
Specifies the management collection object that is to be changed.
This is a required parameter.
Qualifier 1: Management collection
- object name
- Specify the name of the management collection object. The management collection object must have an attribute of either *PFR, *PFRHST, or *PFRDTL.
Qualifier 2: Library
- QPFRDATA
- IBM-supplied performance data library QPFRDATA is to be used to locate the management collection object.
- name
- Specify the name of the library for the management collection object.
Top |
Expiration date (EXPDATE)
Specifies the new expiration date of the management collection object.
- *SAME
- The expiration date of the management collection object will not change.
- *PERM
- The management collection object will not expire.
- date
- Specify the date after which the management collection object will be deleted. The date must be enclosed in apostrophes if date separator characters are used in the value.
Top |
Examples
CHGMGTCOL MGTCOL(MYLIB/Q099365001) EXPDATE('053006')
This command changes the expiration date of the management collection object named Q099365001 in library MYLIB to May 30, 2006 (assuming the job date format is *MDY).
Top |
Error messages
*ESCAPE Messages
- CPF9801
- Object &2 in library &3 not found.
- CPF9810
- Library &1 not found.
- CPF0AAB
- Error on Change Management Collection (CHGMGTCOL) command.
- CPF0AAC
- Error on Change Management Collection (CHGMGTCOL) command.
Top |