JCL Qb For Cbe13am1 Batch

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Sanjaycts
S
Sanjaycts
Community Contributor
Quizzes Created: 3 | Total Attempts: 3,082
| Attempts: 762 | Questions: 20
Please wait...
Question 1 / 20
0 %
0/100
Score 0/100
1. How can a job send a status message to a TSO user at the completion of a job ?

Explanation

The correct answer is NOTIFY. NOTIFY is a command used in TSO (Time Sharing Option) to send a status message to a user at the completion of a job. This command allows the job to notify the user about the completion status, such as success or failure, of the job. By using NOTIFY, the job can send a message directly to the TSO user, ensuring that the user is informed about the job's completion status in real-time.

Submit
Please wait...
About This Quiz
JCL Quizzes & Trivia

This JCL quiz for the CBE13AM1 batch tests knowledge on job control language, including sequence execution, common parameters, coding limits, dataset naming, and job restart procedures. It assesses... see morekey JCL skills crucial for batch processing and system management. see less

2. THE JOB IS COLLECTION OF STEPS WILL BE EXECUTED IN SEQUENCE ,TRUE OR FALSE?

Explanation

The given statement is true. A job is indeed a collection of steps that are executed in sequence. In the context of work or task management, a job typically consists of multiple individual tasks or actions that need to be performed in a specific order. Each step is completed before moving on to the next one, ensuring a sequential execution of the job.

Submit
3. MAXIMUM HOW MANY STEPS WE CAN EXECUTE IN ONE JOB?

Explanation

The correct answer is 255. This is because the maximum number of steps that can be executed in one job is determined by the maximum value that can be represented by an 8-bit binary number. In binary, the maximum value that can be represented by 8 bits is 255. Therefore, the maximum number of steps that can be executed in one job is 255.

Submit
4. HOW TO ELIMINATE DUPLICATE RECORDS?

Explanation

The "SUM FIELDS=NONE" statement is used in a sort utility to eliminate duplicate records. This statement specifies that no fields should be used for summarization or comparison. Therefore, when the records are sorted, any duplicate records will be eliminated, resulting in a list of unique records.

Submit
5. What is the purpose of DD DUMMY statement ?

Explanation

The purpose of the DD DUMMY statement is to specify that no space allocation and no disposition processing should be done. This means that the statement does not allocate any resources or perform any actions related to the data definition (DD) statement. It is used when there is a need to include a DD statement for syntax or control purposes, but no actual processing or allocation is required.

Submit
6. WHAT ARE ALL COMMON KEYWORD PARAMETERS BETWEEN JOB AND EXEC STATEMENT?

Explanation

The common keyword parameters between JOB and EXEC statement are TIME, COND, and REGION. These parameters are used to specify the execution time, condition, and region for the job or program. The TIME parameter determines when the job or program should run, the COND parameter specifies the condition that needs to be met for the job to execute, and the REGION parameter defines the storage region size for the job or program.

Submit
7.  S806 ABEND?

Explanation

The given correct answer suggests that the S806 ABEND error occurs when the load module, which is required for the execution of a program, is not found. This means that the system is unable to locate the necessary executable code, resulting in the failure of the program execution.

Submit
8. TYPRUN=SCAN IN JOB STATEMENT?

Explanation

The correct answer is "IT WILL CHECK FOR SYNTAX ERROR WITHOUT SUBMITTING JOB". When TYPRUN=SCAN is included in the JOB statement, it instructs the system to perform a syntax check on the job without actually submitting it for execution. This allows the user to identify any syntax errors in the job before submitting it, helping to prevent potential issues and saving time.

Submit
9. In order to continue a job after a return code of 12 in step1, what the step2 EXEC statement include?

Explanation

The correct answer is "COND = (12,NE)". This means that the step2 EXEC statement includes a condition that checks if the return code from step1 is not equal to 12. If the return code is not equal to 12, the job will continue executing.

Submit
10. IF BOTH JOBLIB AND STEPLIB CODED?

Explanation

When both JOBLIB and STEPLIB are coded, the STEPLIB statement will override the JOBLIB statement. This means that the system will prioritize the STEPLIB libraries over the JOBLIB libraries when searching for programs or datasets referenced in the JCL. Therefore, any programs or datasets specified in both JOBLIB and STEPLIB will be taken from the STEPLIB libraries. The JCLLIB statement is not relevant in this scenario and does not affect the override between JOBLIB and STEPLIB.

Submit
11. What is the purpose of DD * statement in JCL?

Explanation

The purpose of the DD * statement in JCL is to begin an in-stream dataset. In-stream datasets are used to provide input data directly within the JCL job stream, instead of referencing an external dataset. The DD * statement allows for the inclusion of data within the JCL itself, making it convenient for small or temporary datasets that do not require separate physical files.

Submit
12. //STEP01 EXEC PGM=IEFBR14 //GDG DD DSN=GDG01(+1),DISP=(NEW,CATLG),SPACE=(TRK,(1,1)) ASSUME THAT AT PRESENT 5 GENERATIONS IS EXISTING AFTER EXECUTING ABOVE JCL WHAT WILL BE THE DSNAME?

Explanation

After executing the given JCL, the DSNAME of the new generation will be GDG01.G0006V00. This is because the DISP parameter is set to (NEW,CATLG), which means that a new generation is created and cataloged. The (+1) in the DSN specifies that the new generation will have a higher version number than the previous generation. Since there are currently 5 existing generations, the new generation will have a version number of 6.

Submit
13. What parameter directs the output of the job log dataset ?

Explanation

The parameter that directs the output of the job log dataset is MSGCLASS. This parameter determines the class of messages that are written to the job log dataset. By specifying the appropriate MSGCLASS value, the user can control the level of detail in the job log and direct the output to the desired dataset.

Submit
14. OPTION EMPTY IN DEFINE GDG?

Explanation

not-available-via-ai

Submit
15. IF A (+1) GENERATION IS CREATED IN 1 ST STEP.HOW CAN BE REFERED IN THE LATER STEPS IN THE SAME JOB?

Explanation

In the given question, it is stated that a (+1) generation is created in the 1st step. This means that the current generation is incremented by 1. Therefore, in the later steps of the same job, it can be referred to as a (+1) generation.

Submit
16. IN STEP2 IF WE ARE EXECUTING PROCEDURE  ,HOW TO RESTART FROM THAT PARTICULAR STEP?

Explanation

The given correct answer suggests that in order to restart from a particular step (STEP2) in a job, the restart parameter should be specified in the job card as RESTART=STEP2.PROCSTEPNAME. This means that the job will resume execution from the specified step (PROCSTEPNAME) within STEP2.

Submit
17. IF TIME PARAMETER CODED IN BOTH THE STATEMENTS?

Explanation

The correct answer is "EXEC OVERRIDE JOB STATEMENT". This is because both the "EXEC" and "OVERRIDE" keywords are present in this statement, indicating that it is the only statement that contains both the time parameter and the "OVERRIDE" keyword. The other statements either do not contain the "OVERRIDE" keyword or do not contain the time parameter.

Submit
18. //S1 EXEC PGM=IEFBR14 //DD1 DD DSN=USERID.PS,DISP=(NEW,,DELETE), // DCB=(LRECL=80,BLKSIZE=800,RECFM=FB),SPACE=(TRK,(1,1)) AFTER EXECUTING THAT STEP THE DATASET WILL BE CREATED OR NOT?  

Explanation

After executing the given step, the dataset specified in DD1 will be created with the attributes specified in the DD statement. However, the DISP parameter is set to (NEW,,DELETE), which means that the dataset will be deleted after the job completes. Therefore, the correct answer is "IT WILL BE DELETED."

Submit
19. HOW MANY CHARACTERS CAN BE PLACED IN A SINGLE LINE IN JCL CODING?

Explanation

In JCL coding, a single line can accommodate a maximum of 71 characters. This limit is imposed to ensure that the code remains readable and manageable. Exceeding this limit may lead to errors or difficulties in understanding the code. Therefore, it is important to adhere to this character limit while writing JCL code.

Submit
20.  //PROC1 PROC //S1 EXEC PGM=IEFBR14 //DD1 DD DSN=&DSN1..&DSN2.PS,DISP=(NEW,,DELETE), // DCB=(LRECL=80,BLKSIZE=800,RECFM=FB),SPACE=(TRK,(1,1)) // PEND //STEP1 EXEC PROC=PROC1,DSN1=USERID,DSN2=CATLG    

Explanation

The given JCL code is using symbolic parameters &DSN1 and &DSN2 to construct the dataset name for DD1. In the PROC1 PROC, &DSN1 is set to USERID and &DSN2 is set to CATLG. Therefore, the dataset name for DD1 will be USERID.CATLGPS.

Submit
View My Results

Quiz Review Timeline (Updated): Mar 21, 2023 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 21, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Jul 11, 2013
    Quiz Created by
    Sanjaycts
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
How can a job send a status message to a TSO user at the completion of...
THE JOB IS COLLECTION OF STEPS WILL BE EXECUTED IN SEQUENCE ,TRUE OR...
MAXIMUM HOW MANY STEPS WE CAN EXECUTE IN ONE JOB?
HOW TO ELIMINATE DUPLICATE RECORDS?
What is the purpose of DD DUMMY statement ?
WHAT ARE ALL COMMON KEYWORD PARAMETERS BETWEEN JOB AND EXEC STATEMENT?
 S806 ABEND?
TYPRUN=SCAN IN JOB STATEMENT?
In order to continue a job after a return code of 12 in step1, what...
IF BOTH JOBLIB AND STEPLIB CODED?
What is the purpose of DD * statement in JCL?
//STEP01 EXEC PGM=IEFBR14...
What parameter directs the output of the job log dataset ?
OPTION EMPTY IN DEFINE GDG?
IF A (+1) GENERATION IS CREATED IN 1 ST STEP.HOW CAN BE REFERED IN THE...
IN STEP2 IF WE ARE EXECUTING PROCEDURE  ,HOW TO RESTART FROM THAT...
IF TIME PARAMETER CODED IN BOTH THE STATEMENTS?
//S1 EXEC PGM=IEFBR14...
HOW MANY CHARACTERS CAN BE PLACED IN A SINGLE LINE IN JCL CODING?
 //PROC1 PROC...
Alert!

Advertisement