Previous Topic: Rules for Processing Each Data Record (When Adding or Changing)Next Topic: Rules for Processing Each Data Record (When Adding or Changing)


JOBDEF Control Statement

The JOBDEF control statement is used to add, change, delete, and rename report specifications for jobs. The parameters and their meanings and defaults are presented in the following table:

JOBDEF
Keyword


Description

Default Length


Required

DD

DDname

The DD field can be the specific DDname that produces the report in the job or the forms or writer name of the SYSOUT data set being produced. The form and writer name, Sysout Class, or Destination specification is preceded with an "F=", "W=", C=, or D=, respectively. An "*" can also be specified for DD to indicate all SYSOUT data sets.

The DD keyword is used with the STEP and PROCSTEP keywords to identify a report being produced in a job.

If you want to allow specification of an eight character forms or writer name, override the default length for the DD keyword on the JOBDEF statement to allow for the "F=", "W=", C=, or D= and eight character name (for example, DD=(column,10)).

8

No

DESC

Job description

40

No

FUNCTION

Processing function

The data values are:

2

No

 

Blank

Adds or changes job definitions

This is the default function.

 

 

 

D

Deletes the job definition and all reports defined for it; only the JOB parameter is used

 

 

 

R

Renames the job definition; only the OJOB and JOB parameters are used, and specifies the original and new job names, respectively

 

 

INSERT

Report identifier of an existing entry in the job definition after which the new report entry is to be inserted

32

No

JOB

Job name

8

Yes

JPREVRUN

Job-level option

Indicates if previously run reports are:

1

No

 

D

Deleted

 

 

 

F

Processed unchanged but flagged

 

 

 

K

Processed and kept unchanged

 

 

 

If you omit JPREVRUN and PREVRUN, the value of SPREVRUN is used.

 

 

OJOB

Original job name for the Rename function

8

Yes, for the Rename function

PREVRUN

Report-level option that indicates if previously run reports are:

1

No

 

D

Deleted

 

 

 

F

Processed unchanged but flagged

 

 

 

K

Processed and kept unchanged

 

 

 

If you omit PREVRUN, the value of JPREVRUN is used.

 

 

PROCSTEP

Procedure step name

8

No

RID

Report identifier

32

Yes, for the Add/Change function

SPREVRUN

System-level option that indicates if previously run reports are:

1

 

 

D

Deleted

 

 

 

F

Processed unchanged but flagged

 

 

 

K

Processed and kept unchanged

 

 

 

If you omit SPREVRUN, JPREVRUN, and PREVRUN, the value K (keep) is used.

 

No

STEP

Step name

8

No

TYPE

Report type

The data values you can specify are as follows:

1

No

 

Blank

Basic report processing

 

 

 

M

Monitored data output

 

 

 

I

Interleaved report processing

 

 

 

S

Stacked report processing

 

 

 

D

Dynamic report processing

 

 

 

C

Control break report processing