Command reference / job

ADDAJE

Add Autostart Job Entry

Defines a job that starts automatically with a subsystem. The entry supplies the job name and the job description to run it under.

Allowed environments: *ALL. Positional parameters: 2.

Parameters

SBSD Subsystem description

Name the subsystem description that will contain the autostart entry. QSYSSBSD is excluded.

Type
*QUAL
Required
Yes
Case
Uppercase
name (subsystem description)
Enter the name of the subsystem description where the autostart job entry is being added. Note: The IBM-supplied object QSYSSBSD is not valid on this parameter.
*LIBL
Look in the thread's library list.
*CURLIB
Look in the current library, falling back to QGPL.
name (library)
Enter the library where the subsystem description is located.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Subsystem description Subsystem description

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

JOB Job name

Enter the unqualified name assigned to the job when the subsystem starts it.

Type
*NAME
Required
Yes
Length
10
Case
Uppercase
name
Enter the simple name of the job that is automatically started.

JOBD Job description

Select the job description used to start the job. Supply its library explicitly if the description does not yet exist.

Type
*QUAL
Required
No
Default
*SBSD
Case
Uppercase

Suggested / special values: *SBSD

*SBSD
The job description having the same name and library as the subsystem description, specified on the Subsystem description (SBSD) parameter, is used for the job that is being started.
name (job description)
Enter the name of the job description that is used for the job being started by this autostart job entry.
*LIBL
Look in the thread's library list.
*CURLIB
Look in the current library, falling back to QGPL.
name (library)
Enter the library where the job description is located.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Job description Job description

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

Examples

ADDAJE SBSD(ACCTLIB/ACCTINT) JOB(ACCTINIT) JOBD(ACCTLIB/INITSBS)

Starts ACCTINIT whenever the subsystem with description ACCTLIB/ACCTINT starts. The job uses the INITSBS job description in ACCTLIB.

IBM command documentation

Generated from os/cl/catalog/ADDAJE.json and os/cl/help/ADDAJE.json.