JCL - 3 Flashcards

1
Q

The purpose of the EXEC statement is

Used to specify which program or procedure an individual job step executes
Tells the system how to process the job step
A&B
None are correct

A

A&B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Is a DDName required in JCL?

True
False

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the function of DD name parameter with a 2 part structure; Audit.Report?

Override the Audit DD statement in the report
Override the Report DD statement in the Audit procedure
Concatenate a dataset onto a DD statement in a called module
Delete the Audit DD statement in the Report

A

Override the Report DD statement in the Audit procedure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

A DD statement has 2 types of parameters. Name them.

Positional, Keyword
Keyword, Control
Dynamic, Static
Named, Dynamic

A

Positional, Keyword

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How would you code a DISP parameter if the file was new, you didn’t want to keep it when it didn’t run successfully, but wanted to keep it when it did end successfully?

DISP=(NEW,CATLG,DELETE)
DISP=(NEW,DELETE,CATLG)
DISP=(SHR,KEEP,KEEP)
DISP=(OLD,CATLG,CATLG

A

DISP=(NEW,CATLG,DELETE)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is an example of an IBM utility that can create a zero return code?

IDCAMS
IEFBR14
IEBGENER
None are correct

A

IEFBR14

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The UNIT parameter on the DD statement shows what type of storage (i.e., CART, PERMDA, SAVDA, SYSDA)?

True
False

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What parameter is use to show the file name?

DSN=
Datafile=
DS=
None are correct

A

DSN=

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How is the record format of an output dataset specified?

RECORG parameter
STORCLAS parameter
RECFM parameter
None are correct

A

RECFM parameter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Many JCL statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

Linkage variables
Parameters
Control libraries
Includes

A

Parameters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly