0

Basic JCL (Job Control Language) Quiz

Description: This quiz is based on JCL (Job Control Lanauge) for mainframe system
Number of Questions: 9
Created by:
Tags: mainframe jcl programming language
Attempted 0/9 Correct 0 Score 0

Which of the following is false regarding this symbol' // ' in JCL.

  1. JCL statement must begin with this symbol.

  2. Use without space between symbol and jobname.

  3. used to comment the JCL statement

  4. Every statement in jcl should start with //.


Correct Option: C
  1. TYPRUN= HOLD

  2. TYPRUN= SCAN

  3. TYPRUN= SUB

  4. TYPRUN= HELD


Correct Option: B

What is JCL?

jcl
  1. JCL is not procedural language

  2. Abbreviation: Job Control Language


Correct Option: A,B
  1. B37

  2. D37

  3. E37

  4. C37


Correct Option: D
Explanation:

To answer this question, the user needs to know about different types of system errors that can occur due to a lack of available disk space.

Each option refers to a specific system error that can occur due to disk space issues, and the user needs to identify the option that is not an example of an abend generated due to a lack of available disk space.

A. B37: This option is an example of an abend generated due to a lack of available disk space. B37 occurs when the system cannot allocate a new data set due to insufficient space.

B. D37: This option is also an example of an abend generated due to a lack of available disk space. D37 occurs when a job runs out of space in a PDS (Partitioned Data Set) or PDSE (Partitioned Data Set Extended).

C. E37: This option is an example of an abend generated due to a lack of available disk space. E37 occurs when a job runs out of space in an SMS-managed data set.

D. C37: This option is not an example of an abend generated due to a lack of available disk space. C37 occurs when a job or program attempts to access a data set that does not exist.

Therefore, the correct answer is:

The Answer is: D. C37

What can be done to eliminate 'NOT CATLG 2' for a particular dataset?

  1. Add a job step to purge the dataset

  2. Run a job to purge the dataset and run it before the job that creates it

  3. Purge the dataset before running the job that creates it

  4. All of the above


Correct Option: D

AI Explanation

To eliminate the 'NOT CATLG 2' error for a particular dataset, you can follow any of the following approaches:

A. Add a job step to purge the dataset: This option is correct because adding a job step to purge the dataset will remove any existing catalog entries for the dataset. This can be done by using appropriate system commands or utilities.

B. Run a job to purge the dataset and run it before the job that creates it: This option is correct because running a job to purge the dataset before the job that creates it ensures that any existing catalog entries are removed before the dataset is created again. This ensures that the 'NOT CATLG 2' error does not occur.

C. Purge the dataset before running the job that creates it: This option is correct because manually purging the dataset before running the job that creates it will remove any existing catalog entries. This ensures that the 'NOT CATLG 2' error does not occur.

Therefore, the correct answer is D) All of the above. All of these options can be used to eliminate the 'NOT CATLG 2' error for a particular dataset.

  1. 30 minutes

  2. 1440 minutes

  3. 1439 minutes

  4. None of the above


Correct Option: A
  1. JOBLIB or JOBCAT

  2. JES2, JES3 control statements

  3. JOB, Delimiter,Null statements

  4. DD* or Data statements


Correct Option: A,B,C,D

What is the maximum number of exceptions that can be specified with a single 'HANDLE CONDITION' command in CICS?

  1. 14

  2. 15

  3. 16

  4. 17


Correct Option: C
- Hide questions