Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Add Autostart Job Entry (ADDAJE) command adds an autostart job entry to the specified subsystem description. The entry identifies the job name and the job description to be used to automatically start a job.
Notes:
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
SBSD | Subsystem description | Qualified object name | Required, Positional 1 |
Qualifier 1: Subsystem description | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
JOB | Job name | Name | Required, Positional 2 |
JOBD | Job description | Single values: *SBSD Other values: Qualified object name |
Optional |
Qualifier 1: Job description | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB |
Top |
Specifies the name and library of the subsystem description where the autostart job entry is being added.
This is a required parameter.
Qualifier 1: Subsystem description
Note: The following IBM-supplied objects are not valid on this parameter:
Qualifier 2: Library
Top |
Specifies the simple name of the job that is automatically started when a subsystem is started using the subsystem description specified on the Subsystem description (SBSD) parameter.
This is a required parameter.
Top |
Specifies the name of the job description used for the job that is started by this autostart job entry. If the job description does not exist when the entry is added or changed, a library qualifier must be specified because the qualified job description name is kept in the subsystem description.
Note: Only a user with all object (*ALLOBJ) special authority is allowed to add or change an entry for which the job description does not exist.
Single values
Qualifier 1: Job description
Qualifier 2: Library
Top |
ADDAJE SBSD(ACCTLIB/ACCTINT) JOB(ACCTINIT) JOBD(ACCTLIB/INITSBS)
This command adds an autostart job entry for the job ACCTINIT subsystem description ACCTINT in the library ACCTLIB. In this case, the job that starts automatically might be used to perform certain routines whenever the subsystem ACCTINT is started. When the subsystem is started, the job description INITSBS in ACCTLIB is used to obtain the attributes for this job and a job named ACCTINIT is automatically started in the subsystem.
Top |
*ESCAPE Messages
Top |