Test Your Knowledge On This JCL Quiz Questions

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 Arunkumar2yu
A
Arunkumar2yu
Community Contributor
Quizzes Created: 1 | Total Attempts: 4,364
| Attempts: 4,364 | Questions: 45
Please wait...
Question 1 / 45
0 %
0/100
Score 0/100
1. Normal Disposition is happened upon successful execution of job step

Explanation

The statement suggests that a normal disposition occurs after a job step is successfully executed. This implies that when a job step is completed without any errors or issues, it will result in a normal disposition. Therefore, the correct answer is True, indicating that a normal disposition is indeed achieved upon successful execution of a job step.

Submit
Please wait...
About This Quiz
Test Your Knowledge On This JCL Quiz Questions - Quiz

Explore your understanding of JCL through this engaging quiz. Test your skills on handling job steps, dataset management in GDGs, and the nuances of IDCAMS. Perfect for learners... see moreaiming to deepen their technical expertise in job control language. see less

2. A maximum of exec statement can code in single job is

Explanation

The correct answer is b.255. This means that the maximum number of exec statements that can be coded in a single job is 255. This limit is set to prevent excessive use of exec statements, which can lead to performance issues and resource constraints. By imposing this limit, it ensures that jobs are efficiently executed and that system resources are not overwhelmed.

Submit
3. GDG means

Explanation

GDG stands for Generation Data Groups. It is a feature in mainframe operating systems that allows for the organization and management of related versions of data sets. GDGs are used to keep track of different generations or versions of a data set, allowing for easy retrieval and management of historical data. Therefore, the correct answer is a) Generation data groups.

Submit
4. All the available storage is assigned to the job or jobstep,if REGION is coded as 0K or 0M 

Explanation

If the REGION is coded as 0K or 0M, it means that no storage is allocated for the job or jobstep. Therefore, all the available storage is assigned to the job or jobstep, making the statement true.

Submit
5. DD

Explanation

The correct answer is d.Data Definition. This is because the acronym "DD" is commonly used in the context of data management to refer to the process of defining the structure, format, and organization of data within a database or information system. Data definition involves specifying the data types, constraints, and relationships between different data elements. Therefore, d.Data Definition is the most appropriate option among the given choices.

Submit
6. Which parameter is used to specify wheather job is to held until further notice for syntax checking.

Explanation

The parameter "Typrun" is used to specify whether a job is to be held until further notice for syntax checking.

Submit
7. Temporary dataset can be coded by using

Explanation

The correct answer is b) DSN=&&temp. This is because in SAS, temporary datasets are typically created using double ampersands (&&) before the dataset name. The DSN= statement is used to specify the name of the dataset, and in this case, the dataset name is &&temp. Therefore, option b) is the correct way to code a temporary dataset in SAS.

Submit
8. Sub-parameters for DISP i)                    Staus ii)                   Normal disposition iii)                  abNormal disposition iv)                 Returncode

Explanation

The correct answer is c) i), ii), and iii) only. This means that the sub-parameters for DISP include Staus, Normal disposition, and abNormal disposition. Returncode is not included as a sub-parameter for DISP.

Submit
9. Maximum datasets exist within one GDG

Explanation

The answer is d.255 because the maximum number of datasets that can exist within one GDG (Generation Data Group) is 255. A GDG is a collection of chronologically ordered datasets, and each dataset within a GDG is assigned a unique version number. Since the version number is limited to one byte (8 bits), it can range from 0 to 255, allowing for a maximum of 255 datasets within a GDG.

Submit
10. Once the procedure is written, we can’t able to change procedure statements according to our reuirements

Explanation

The statement is false because once a procedure is written, it can be modified or changed according to the requirements. Procedures are not set in stone and can be updated or revised as needed. This flexibility allows for improvements, adjustments, or modifications to be made to the procedure based on feedback, changes in circumstances, or new information. Therefore, the statement that we can't change procedure statements according to our requirements is incorrect.

Submit
11. Maximum number of Instream procedure you can in any job is

Explanation

The maximum number of Instream procedures that can be used in any job is 15. This means that within a single job, a maximum of 15 Instream procedures can be executed.

Submit
12. //Myjob job notify=&sysuid,time=(20,30) //step1 exec pgm=cob1 //step2 exec pgm=cob1 //step3 exec pgm=cob1 Which of the following is correct about  the above statement

Explanation

The correct answer is d) All steps in this job should complete their tasks within 20 minutes and 30 seconds. This is because the "notify=&sysuid,time=(20,30)" statement in the job notifies the system to check if each step in the job completes its task within the specified time limit of 20 minutes and 30 seconds.

Submit
13. If  we need to code  a more than 255 STEPS in a job

Explanation

If we need to code more than 255 steps in a job, the correct answer is option a. We need to split the JCL into two JCLs. At the end of the first JCL, we need to check the condition code (cc) and initiate the second JCL. This is because JCL has a limit of 255 steps, so if we need to include more steps, we have to split the job into multiple JCLs and execute them sequentially.

Submit
14. Instream procedure should be defined before any EXEC statements

Explanation

The given statement is true because in an instream procedure, the procedure steps are defined before any EXEC statements. This is because the EXEC statement is used to execute the procedure and it needs to have the procedure steps defined beforehand. If the instream procedure is not defined before the EXEC statement, it will result in an error as the system will not be able to find the procedure steps to execute. Therefore, it is necessary to define the instream procedure before any EXEC statements.

Submit
15. System library which has a place for catalog procedure called

Explanation

The correct answer is A.SYS1.PROCLIB. This is because the question is asking for the system library that has a place for catalog procedure. Among the given options, A.SYS1.PROCLIB is the only one that specifically mentions "PROCLIB," indicating that it is a library for procedures. The other options do not include the term "PROCLIB" and are therefore incorrect.

Submit
16. ………………….  used to pass a value to procedure parameters.

Explanation

Symbolic parameters are used to pass a value to procedure parameters.

Submit
17. PASS parameter of DISP is used in

Explanation

The PASS parameter of DISP is used in normal disposition. This means that when the job or dataset is completed successfully, the system will dispose of it normally. This typically involves deleting or releasing the dataset or job resources.

Submit
18. //second job Time=3 //step1 exec pgm=c,time=2 //step2 exec pgm=d,time=2 Which of the following is correct about  the above statement

Explanation

The correct answer is a) Both the step should execute within 3 minutes. This is because the given job has two steps, and the time specified for each step is 2 minutes. However, the overall time for the job is limited to 3 minutes, so both steps must complete within that time frame.

Submit
19. Choose the correct one

Explanation

This answer is correct because in programming, the first step is to declare an identifier (such as a variable name) before using it. Then, the identifier is used as the name for a specific operation or function. After that, the operation is performed using the operand(s), which are the values or variables involved in the operation. Finally, a comment can be added to provide additional information or clarification about the code.

Submit
20. Syntax for volume parameter

Explanation

The correct answer is C.VOL = SER =. This syntax indicates that the volume parameter is being assigned the value of SER. The equal sign (=) is used to assign a value to a variable or parameter in many programming languages. In this case, the volume parameter is being assigned the value of SER, which suggests that SER is a specific value or variable that is related to the volume parameter.

Submit
21. Valid values in class parameter

Explanation

The correct answer is A because it states that the valid values for the class parameter can be any alphabetic character between A-Z or any number between 0-9. This means that the class parameter can include both letters and numbers, as long as they fall within the specified range.

Submit
22. To allow a job or step to use the maximum amount of time,code Time = Maximum

Explanation

This statement is true because by setting the variable "Time" equal to "Maximum", it allows the job or step to utilize the maximum amount of time available. This means that the job or step will not be limited by any time constraints and can run for as long as necessary.

Submit
23. In IDCAMS – ‘AMS ‘ stands for

Explanation

In IDCAMS, 'AMS' stands for Access Method Services. IDCAMS is a utility program used in mainframe systems to manage datasets and perform various operations such as creating, deleting, and modifying datasets. Access Method Services is responsible for providing the necessary services and functions related to accessing datasets efficiently. Therefore, option b is the correct answer as it accurately represents the purpose of 'AMS' in IDCAMS.

Submit
24. Maximum Limit for concatenating dataset for PS and PDS

Explanation

The maximum limit for concatenating datasets for PS (Physical Sequential) and PDS (Partitioned Data Set) is 255 for PS and 16 for PDS. This means that you can concatenate up to 255 PS datasets or up to 16 PDS datasets together.

Submit
25. Abend S870 indicates

Explanation

The correct answer is a. More storage space is required. This abend code, S870, indicates that the program or job has exceeded the available storage space. It means that the program needs more memory than what is currently allocated to it. This can happen when there is a large amount of data being processed or when there are multiple programs running simultaneously. To resolve this issue, more memory needs to be allocated to the program or job.

Submit
26. Joblib cannot be  used in cataloged procedures

Explanation

Joblib is a library in Python that provides tools for performing parallel computing and serializing Python objects. However, it cannot be used in cataloged procedures. Cataloged procedures are a feature in SAS programming that allow the creation of reusable code. Since Joblib is specific to Python, it cannot be used within the SAS cataloged procedures. Therefore, the statement "Joblib cannot be used in cataloged procedures" is true.

Submit
27. If both the joblib and steplib statements are coded,then the joblib specification will override steplib specification

Explanation

The statement is explaining that if both the joblib and steplib statements are coded, then the joblib specification will override the steplib specification. However, the correct answer is False, which means that the joblib specification will not override the steplib specification.

Submit
28. Syntax1 //myjob job notify=&sysuid              //s1 exec pgm=cobprog             //sysin dd *             /* syntax1 //myjob job notify=&sysuid              //s1 exec pgm=cobprog             //sysin dd  data             /*
Which syntax is used pass data to program

Explanation

Both syntax1 and syntax2 are used to pass data to the program. In syntax1, the data is passed using the SYSIN DD statement, while in syntax2, the data is passed directly after the /* statement. Therefore, both syntaxes can be used to pass data to the program.

Submit
29. If we need to test the program without using actual datasets, then we can use

Explanation

If we need to test the program without using actual datasets, we can use both options mentioned. The option "DUMMY" can be used to provide dummy data or simulated inputs for testing purposes. The option "DSN = NULLFILE" can be used to specify a null file as the dataset, meaning that no actual data will be used for testing. Therefore, both options can be used to test the program without using actual datasets.

Submit
30. How will u give a job or step an unlimited amount of time

Explanation

The correct answer is B) TIME = 1440 and C) TIME = NOLIMIT. The question is asking how to give a job or step an unlimited amount of time. Option B) TIME = 1440 suggests that the job or step can be given a maximum time limit of 1440 minutes, which is equivalent to 24 hours. Option C) TIME = NOLIMIT suggests that there is no time limit imposed on the job or step, allowing it to run indefinitely. Both options provide ways to give the job or step an unlimited amount of time, hence they are both correct answers.

Submit
31. Condition Code is in the range of

Explanation

The condition code is a binary value that represents the result of a comparison or operation in a computer program. It is typically stored in a register and used for making decisions in conditional branches. In this question, the correct answer is d) between 0 and 4095. This means that the condition code can have values from 0 to 4095, inclusive. The range does not include the value 4096, which is indicated by the "except" keyword.

Submit
32. Suppose the current version of dataset is ‘mydata.lib.test.Gooo1.V00’ and the next version would be

Explanation

The correct answer is d.mydata.lib.test.Gooo2.V00 because it follows the pattern of the previous versions where the last part of the dataset name (Gooo2) indicates a different dataset and the version number (V00) indicates the first version of that dataset.

Submit
33. Which of the following statement is true about job statement?

Explanation

not-available-via-ai

Submit
34. Msglevel =(0,0) defines

Explanation

The correct answer is A. This is because the statement "(0,0)" in the given code refers to the message level. In this case, a message level of 0 means that only abnormal termination messages will be printed. Therefore, if the job terminates abnormally, the related job statements and allocation message will be printed.

Submit
35. //Myjob  job  notify=&sysuid //                   cond=(4,gt) //step1 exec pgm=cobp1 //step2 exec pgm=cobp2 What will happen in the above program

Explanation

The program will check the return code (RC) of step1. If the RC is greater than 4, then step2 will be bypassed and not executed. Therefore, the correct answer is c. RC in step1 is >4, step2 will be bypassed.

Submit
36. It is necessary to code a comma to indicate the omitted keyword parameter

Explanation

It is not necessary to code a comma to indicate the omitted keyword parameter. In Python, when calling a function, you can omit a keyword parameter by simply not providing a value for it. The comma is not required in this case.

Submit
37. EMPTY parameter in GDG creation defines

Explanation

The EMPTY parameter in GDG creation defines that if the GDG reaches its maximum limit, then all the existing generations will be uncataloged.

Submit
38. Abend code for Decimal overflow exception.

Explanation

The correct answer is a.S0CA. The S0CA abend code is used to indicate a Decimal overflow exception. This occurs when a program tries to perform a calculation that results in a value that is too large to be represented in the available decimal storage. When this happens, the program is terminated and an abend code of S0CA is issued.

Submit
39. Joblib and steplib is a

Explanation

The correct answer is c.DD statement. In mainframe computing, DD (Data Definition) statement is used to define and describe the input and output datasets required for a job or program. Joblib and steplib are not related to job or step statements, but rather refer to the libraries used in mainframe systems for storing and accessing job and program libraries. Therefore, the correct answer is c.DD statement.

Submit
40. Which of the following statement is true about step statement?(choose 2)

Explanation

The correct answers are a. //step1 exec pgm = cobprog and c. // exec pgm = cobprog. These statements follow the correct syntax for a step statement in a programming language. The "//" indicates the beginning of a comment, and "exec pgm = cobprog" specifies the execution of a program named "cobprog". In option a, "step1" is included as a label for the step, while in option c, there is no label specified. Both options are valid ways to define a step statement.

Submit
41. ……………………….. is used to dump the contents of various registers variables, dataset accessed and the nucleus at the time of abnormal terminal.

Explanation

The correct answer is d. SYSABEND. SYSABEND is used to dump the contents of various registers, variables, dataset accessed, and the nucleus at the time of an abnormal terminal. This allows for debugging and analysis of the cause of the abnormal termination.

Submit
42. PARM is a Positional Parameter of EXEC statement

Explanation

The given statement is false. PARM is not a positional parameter of the EXEC statement. In JCL (Job Control Language), PARM is used as a keyword to pass parameters to a program or utility being executed. It is used to provide additional information or control options to the program. The EXEC statement is used to specify the program or utility to be executed in a JCL job.

Submit
43. Parameter - ACCT,ADDRSPC,DPRTY,PERFORM AND RD are belogs to

Explanation

The given parameters ACCT, ADDRSPC, DPRTY, PERFORM, and RD belong to the "exec" category. These parameters are commonly used in the execution phase of a job.

Submit
44. Which of the following statement is true about comment?

Explanation

This statement is true about comments in programming. In most programming languages, comments are denoted by a specific symbol or syntax, and they are used to provide explanatory notes or descriptions within the code. In this case, the comment should begin one space after the operand field, which is a part of the code where the operation or instruction is performed. This ensures that the comment is properly aligned and separated from the code, making it easier to read and understand the code.

Submit
45. Parameter can code in both Job and EXEC statements

Explanation



In JCL, parameters can be coded in both JOB and EXEC statements. These parameters provide instructions to the operating system regarding job execution, such as conditions (COND), execution region (REGION), and time constraints (TIME). They help customize job behavior and resource allocation during job execution.
Submit
View My Results

Quiz Review Timeline (Updated): Mar 20, 2024 +

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

  • Current Version
  • Mar 20, 2024
    Quiz Edited by
    ProProfs Editorial Team
  • Mar 18, 2011
    Quiz Created by
    Arunkumar2yu
Cancel
  • All
    All (45)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Normal Disposition is happened upon successful execution of job step
A maximum of exec statement can code in single job is
GDG means
All the available storage is assigned to the job or jobstep,if REGION...
DD
Which parameter is used to specify wheather job is to held until...
Temporary dataset can be coded by using
Sub-parameters for DISP ...
Maximum datasets exist within one GDG
Once the procedure is written, we can’t able to change procedure...
Maximum number of Instream procedure you can in any job is
//Myjob job notify=&sysuid,time=(20,30) ...
If  we need to code  a more than 255 STEPS in a job
Instream procedure should be defined before any EXEC statements
System library which has a place for catalog procedure called
………………….  used to pass a value to procedure...
PASS parameter of DISP is used in
//second job Time=3 ...
Choose the correct one
Syntax for volume parameter
Valid values in class parameter
To allow a job or step to use the maximum amount of time,code Time =...
In IDCAMS – ‘AMS ‘ stands for
Maximum Limit for concatenating dataset for PS and PDS
Abend S870 indicates
Joblib cannot be  used in cataloged procedures
If both the joblib and steplib statements are coded,then the joblib...
Syntax1 //myjob job notify=&sysuid ...
If we need to test the program without using actual datasets, then we...
How will u give a job or step an unlimited amount of time
Condition Code is in the range of
Suppose the current version of dataset is...
Which of the following statement is true about job statement?
Msglevel =(0,0) defines
//Myjob  job  notify=&sysuid ...
It is necessary to code a comma to indicate the omitted keyword...
EMPTY parameter in GDG creation defines
Abend code for Decimal overflow exception.
Joblib and steplib is a
Which of the following statement is true about step statement?(choose...
……………………….. is used to dump the contents of various...
PARM is a Positional Parameter of EXEC statement
Parameter - ACCT,ADDRSPC,DPRTY,PERFORM AND RD are belogs to
Which of the following statement is true about comment?
Parameter can code in both Job and EXEC statements
Alert!

Advertisement