Keywords for Job Header Statement
Keywords for Job Header Statement
The following table identifies:
- Keywords for a Job Header statement
- Maximum length of the associated values
- Specification for whether or not the values are required
- Any restricted value sets.
The first keyword in each table is the keyword required to start the corresponding statement.
Keyword | Length | Required | Restricted Values / Description |
---|---|---|---|
JOBNAME | 32 | Yes | |
TARGET_SERVER | 20 | No | |
JOBCOUNT | 8 | No | This keyword is useful only for the modify command. In all other cases, it is ignored; it will not cause a syntax error. |
JOB_CLASS | 1 | No | A, B, C This keyword is only valid if at least one of the following requirements is met:
|
The following keywords represent SAP job start conditions. | |||
SDLSTRTDT | 8 | No | YYYYMMDD |
SDLSTRTTM | 6 | No | HHMMSS |
LASTSTRTDT | 8 | No | YYYYMMDD |
LASTSTRTTM | 6 | No | HHMMSS |
PREDJOB | 32 | No | |
PREDJOBCNT | 8 | No | |
EVENTID | 32 | No | |
EVENTPARM | 64 | No | |
CHECKSTAT | 1 | No | 'X' = Check job status for subsequent job start. ' ' = Do not check job status for subsequent job start. |
PERIODIC | 1 | No | 'X' = Job is periodic. ' ' = Job is not periodic. |
CALENDARID | 2 | No | |
PRDMINS | 2 | No | 00-99 |
PRDHOURS | 2 | No | 00-99 |
PRDDAYS | 3 | No | 00-999 |
PRDWEEKS | 2 | No | 00-99 |
PRDMONTHS | 2 | No | 00-99 |
WDAYNO | 2 | No | 00-99 |
WDAYCDIR | 1 | No | Work day relative to: '1' = Beginning of month. '2' = End of month. |
PRDBEHAV | 1 | No | Start Date Restrictions: ' ' = Always execute job. 'D' = Do not execute job on Sundays or holidays. 'B' = Move job to previous day. 'A' = Move job to next work day. |
NOTBEFORE | 8 | No | YYYMMDD |
The following keywords represent SAP spool list recipient (XBP 2.0 format). The values for these keywords must be supplied in internal format. | |||
LOGSYS | 10 | No | |
OBJTYPE | 10 | No | |
OBJKEY | 70 | No | |
DESCRIBE | 10 | No | |
The following keywords represent an SAP spool list recipient (XBP 3.0 format). The values for these keywords are specified in a format that more closely matches the job definition interface of the SAP Front End GUI. This is a user friendly replacement for the XBP 2.0 format above. | |||
RECIPIENT | 241 | No | Recipient Address |
REC_TYPE | 1 | No | Recipient type. The following recipient types are supported:
|
COPY | 1 | No | Send copy. |
BLIND_COPY | 1 | No | Send Blind copy. |
EXPRESS | 1 | No | Send express. |
NO_FORWARDING | 1 | No | No forwarding is allowed (for external recipients only). |
DELIVER | 1 | No | Report send status (for external recipients only). The following values are possible:
|
NO_PRINT | 1 | No | Printing not allowed. |
MAILSTATUS | 1 | No | Report status by email (for external recipients only). The following values are possible:
|