Cbe11mf004 Job Control Language Mock Test1

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 Manjunath1987
M
Manjunath1987
Community Contributor
Quizzes Created: 7 | Total Attempts: 3,964
| Attempts: 139 | 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 job can send a status message to a TSO user at the completion of a job by using the NOTIFY keyword. This keyword is used in the job control language (JCL) to specify the user or users who should receive a notification when the job completes. By specifying the NOTIFY keyword followed by the user's ID, the job can send a status message to that user. This allows the user to be informed of the job's completion and any relevant information or actions that need to be taken.

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

CBE11MF004 JOB CONTROL LANGUAGE MOCK TEST1 assesses knowledge on JCL, focusing on key parameters like DD DISP, RECFM, and JOB statement. It evaluates understanding of data handling and... see morejob control in mainframes, essential for system programming roles. see less

2. What is the function of JOB statement in JCL ?

Explanation

The JOB statement in JCL is used to mark the beginning of a job and assign a name to the job. It is the first statement in a JCL and is required for each job. The name assigned to the job is used to identify it in system logs and output listings.

Submit
3. A DD statement has 2 types of parameters. Name them?

Explanation

A DD statement has two types of parameters: positional and keyword. Positional parameters are defined by their position in the statement and must be specified in a specific order. Keyword parameters, on the other hand, are identified by a keyword followed by an equal sign and a value, allowing them to be specified in any order.

Submit
4. How can unused space allocation be returned to the system when a dataset is closed ?

Explanation

When a dataset is closed, any unused space allocation can be returned to the system by using the RLSE command. This command releases any unused space back to the system, making it available for other processes or datasets.

Submit
5. What statement marks the end of an in-stream procedure ?

Explanation

The statement "PEND" marks the end of an in-stream procedure.

Submit
6. What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step ?

Explanation

The statement that marks the beginning of a job step, assigns a name to the step, and identifies the program or catalogued or in-stream procedure to be executed in the step is "EXEC". This statement is commonly used in job control language (JCL) to initiate a specific task or program within a larger job. It provides the necessary information for the system to locate and execute the desired program or procedure.

Submit
7. How is the record format of an output dataset specified?

Explanation

The record format of an output dataset is specified using the RECFM parameter. This parameter allows the user to define the format of the records in the dataset, such as fixed length or variable length. By specifying the appropriate RECFM parameter, the user can ensure that the output dataset is formatted correctly for their needs.

Submit
8. What is the function of a DD statement ?

Explanation

A DD statement in computer programming is used to identify and describe a dataset. It is commonly used in mainframe systems, such as IBM's z/OS, to define and allocate datasets for input/output operations. The DD statement specifies the name, location, and attributes of the dataset, allowing the program to access and manipulate the data. By using a DD statement, the program can easily identify and describe the dataset it needs to work with, ensuring proper data management and processing.

Submit
9. When output dataset space is required, what quantity categories are used ?

Explanation

The quantity categories used when output dataset space is required are Primary, Secondary, and Directory. These categories refer to different storage spaces or areas within the dataset. Primary refers to the main or initial storage space, Secondary refers to additional storage space if needed, and Directory refers to the space used for organizing and managing the dataset.

Submit
10. What is the function of DD DISP parameter?

Explanation

The DD DISP parameter is used to specify what the system should do with the dataset after the step terminates, whether it is a normal termination or an abnormal termination. It can be used to describe the status of the dataset and determine the actions to be taken accordingly. Therefore, the correct answer is "All of the above" as all the given options are valid functions of the DD DISP parameter.

Submit
11. How can the disposition of sysout datasets be set for an entire jobstream ?

Explanation

The correct answer is the SYSOUT parameter. The SYSOUT parameter is used to specify the disposition of the output datasets for an entire jobstream. It allows the user to define where the output will be directed, such as to a specific dataset or to a printer. By setting the SYSOUT parameter appropriately, the user can control where the output of each step in the jobstream will be directed.

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

Explanation

The function of the DD name parameter with a 2 part structure; Audit.Report is to override the Report DD statement in the Audit procedure. This means that the Audit procedure will use the Audit.Report dataset instead of the Report dataset specified in the DD statement.

Submit
13. Which DD parameters are required ?

Explanation

The correct answer is Dsname, DISP, SPACE. These parameters are required in order to specify the dataset name, the disposition of the dataset (whether it is new or existing), and the amount of space allocated for the dataset. The other options may be optional, but these three parameters are necessary for defining the dataset.

Submit
14. What is the maximum length of a single line of JCL ?

Explanation

The maximum length of a single line of JCL is 71 bytes. This is because JCL (Job Control Language) is a scripting language used on mainframe computers to instruct the operating system on how to run a batch job. Each line of JCL can contain up to 71 characters, including any comments or control statements. This limit ensures that the JCL remains readable and manageable.

Submit
15. Where can program checkpoints be stored for use in a restart ?

Explanation

Program checkpoints can be stored for use in a restart using the SYSCHK DD statement. The SYSCHK DD statement is used to specify the dataset where program checkpoints are stored. By storing checkpoints in this dataset, the program can be restarted from the last checkpoint in case of any failure or interruption. This allows for the program to resume execution from the point of failure, ensuring data integrity and minimizing the impact of any disruptions.

Submit
16. What is the function of the DD DCB keyword?

Explanation

The DD DCB keyword is used to begin the subparameters of the DCB. DCB stands for Data Control Block, which is a data structure used by operating systems to define the attributes of a dataset. The subparameters of the DCB provide additional information about the dataset, such as record format, block size, and data organization. By using the DD DCB keyword, the programmer can specify and define these subparameters for the dataset.

Submit
17. Can an individual step be restricted from using all the job's allowed CPU time ?

Explanation

The STEPTIME parameter allows an individual step to be restricted from using all the job's allowed CPU time. This parameter can be used to set a time limit for each step in a job, preventing it from using more CPU time than specified. By setting a limit on the STEPTIME parameter, the individual step can be restricted from using all the job's allowed CPU time.

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

Explanation

The purpose of the DD * statement in JCL is to begin an input data prompt at the system console. This allows the user to enter data directly from the console during job execution.

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

Explanation

The purpose of the DD DUMMY statement is to suppress command processing. This means that when the DD DUMMY statement is used, any commands following it will not be executed. This can be useful in situations where a placeholder statement is needed in a program or script, but no actual processing or execution is desired. By using the DD DUMMY statement, the program can continue running without any interruption or unwanted command execution.

Submit
20. How can an in-stream dataset be terminated?

Explanation

not-available-via-ai

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
  • May 05, 2011
    Quiz Created by
    Manjunath1987
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
How can a job send a status message to a TSO user at the completion of...
What is the function of JOB statement in JCL ?
A DD statement has 2 types of parameters. Name them?
How can unused space allocation be returned to the system when a...
What statement marks the end of an in-stream procedure ?
What statement marks the beginning of a job step; assigns a name to...
How is the record format of an output dataset specified?
What is the function of a DD statement ?
When output dataset space is required, what quantity categories are...
What is the function of DD DISP parameter?
How can the disposition of sysout datasets be set for an entire...
What is the function of DD name parameter with a 2 part structure;...
Which DD parameters are required ?
What is the maximum length of a single line of JCL ?
Where can program checkpoints be stored for use in a restart ?
What is the function of the DD DCB keyword?
Can an individual step be restricted from using all the job's allowed...
What is the purpose of DD * statement in JCL?
What is the purpose of DD DUMMY statement ?
How can an in-stream dataset be terminated?
Alert!

Advertisement