CL Command Reference - CHGAJE
CL Command List > CHGAJE Reference
Description:
The Change Autostart Job Entry (CHGAJE) command is used to specify a different job description for a previously defined autostart job entry in the specified subsystem description.
Notes:
1. The job associated with an active subsystem can only find objects that exist in the system auxiliary storage pool (ASP) or in a basic user ASP. Therefore, objects that are referenced by this command should exist in the system ASP or in a basic user ASP.
Restrictions:
1. To use this command, you must have:
. object operational (*OBJOPR), object management (*OBJMGT), and read (*READ) authority to the specified subsystem description and execute (*EXECUTE) authority to the library containing that subsystem description.
. object operational (*OBJOPR) and read (*READ) authority to the job description and execute (*EXECUTE) authority to the library containing that job description.
2. Only a user with all object (*ALLOBJ) special authority is allowed to change an entry for which the job description does not exist.
Examples:
CHGAJE SBSD(QGPL/PAYROLL) JOB(INIT) JOBD(MANAGER)
This command changes autostart job entry for the job INIT to use the job description MANAGER. The autostart job entry is in the PAYROLL subsystem description in the QGPL library. The library list is used to locate the job description MANAGER. When the correct library is determined, the qualified job description name is placed in the subsystem description for this autostart job entry.