Where allowed to run:
|
Parameters Examples Error messages |
The CL command SBMCODEJOB submits a command to be run in batch, and optionally informs the work station when the job is complete and returns error feedback information from certain compile commands to the work station.
This command is intended to be used by the "CoOperative Development Environment/400" and "VRPG Client/2" features of the "IBM Application Development ToolSet Client Server/400" (ADTS CS/400) program product.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
CMD | Command to run | Command string | Required, Positional 1 |
JOBD | Job description | Qualified object name | Optional, Positional 2 |
Qualifier 1: Job description | Name, *USRPRF | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
JOBQ | Job queue | Qualified object name | Optional, Positional 3 |
Qualifier 1: Job queue | Name, *JOBD | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
NOTIFY | Notification message | *YES, *NO | Optional, Positional 4 |
SERVER | Host server name | Character value, OS400 | Optional, Positional 5 |
ADDPARMS | Additional SBMJOB parameters | Character value, *NONE | Optional, Positional 6 |
Top |
Top |
Specifies the name that is associated with the job when it is processed by the system.
The possible values are:
The possible values are:
Top |
Specifies the name of the job queue in which this job is placed.
The possible values are:
The possible values are:
Top |
Specify Yes to have the batch job inform the work station of the completion of the submitted command.
To use this option, an ICF file named EVFCICFF must be found in the library list of the batch job. This identifies the location of the work station. See the CODE/400 Installation Guide for more information on setting up the ICF file.
Top |
Specifies the name of a CODE/400 or VRPG/2 server that has already been started by the Start CODE (STRCODE) command.
This parameter is only used when the command being submitted generates error feedback information for use by the CODE/400 workstation editor. Only commands with the parameters OPTION(*SRCDBG), OPTION(*LSTDBG) and OPTION(*EVENTF) generate such error feedback.
Top |
Specifies parameters to be used in the Submit Job (SBMJOB) command.
The SBMCODEJOB command invokes SBMJOB for you. It uses the system defaults for all SBMJOB parameters except CMD, JOBD and JOBQ. This parameter allows you to specify additional parameters for the SBMJOB command in order to override the system default. For example, to use your job description's library list in the batch job, specify 'INLLIBL(*JOBD)' in this parameter.
You can specify multiple SBMJOB parameters, but each must be separated by one or more blanks.
If 'INLLIBL(*JOBD)' is specified, that job description's library list must include a library with an EVFCICFF ICF file in it.
Top |
Top |
Top |