Job Control Language Created On 05/11/2011

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Manjunath1987
M
Manjunath1987
Community Contributor
Quizzes Created: 7 | Total Attempts: 3,817
Questions: 20 | Attempts: 83

SettingsSettingsSettings
Job Control Language Created On 05/11/2011 - Quiz


Questions and Answers
  • 1. 

    For how long a job can be executed continuously in a mainframe

    • A.

      248 days

    • B.

      247days

    • C.

      255days

    • D.

      256 days

    Correct Answer
    A. 248 days
    Explanation
    The correct answer is 248 days. This suggests that a job can be executed continuously for a maximum of 248 days on a mainframe system.

    Rate this question:

  • 2. 

    Which parameter denotes exclusive control  of the dataset

    • A.

      DISP=OLD

    • B.

      DISP=SHR

    • C.

      DISP=MOD

    • D.

      NONE

    Correct Answer
    A. DISP=OLD
    Explanation
    The parameter DISP=OLD denotes exclusive control of the dataset. This means that only one program or user can access the dataset at a time, preventing any other program or user from accessing or modifying it concurrently.

    Rate this question:

  • 3. 

    What are the kinds of job control statements

    • A.

      JOB

    • B.

      EXEC

    • C.

      DD

    • D.

      ALL the above

    Correct Answer
    D. ALL the above
    Explanation
    The correct answer is "ALL the above" because all of the mentioned options (JOB, EXEC, DD) are types of job control statements. A job control statement is a command or instruction used in a job control language (JCL) to define the various aspects of a job, such as the program to be executed (EXEC), the data sets to be used (DD), and the overall job control information (JOB). Therefore, all three options are valid types of job control statements.

    Rate this question:

  • 4. 

    Can you code Instream data in procedure

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    Instream data cannot be coded in a procedure. Instream data is data that is read directly from the input source during program execution, usually from a file or the user's input. It is not part of the procedure itself, but rather the data that is processed by the procedure. Therefore, instream data cannot be coded within a procedure.

    Rate this question:

  • 5. 

    How do you access a file that had a disposition of KEEP

    • A.

      By volume serial Number

    • B.

      Using Unit Number

    • C.

      Using Catalog

    • D.

      All the above

    Correct Answer
    A. By volume serial Number
    Explanation
    To access a file that had a disposition of KEEP, you can do so by using the volume serial number. The volume serial number uniquely identifies a particular volume or storage device, allowing you to locate and access the desired file. This method is commonly used in systems where files are stored and managed based on their respective volume serial numbers.

    Rate this question:

  • 6. 

    Directory blocks are ________ Bytes each

    • A.

      256

    • B.

      3

    • C.

      128

    • D.

      32

    Correct Answer
    A. 256
    Explanation
    Directory blocks are a data structure used in file systems to store information about files and directories. The size of directory blocks can vary depending on the file system, but in this case, the correct answer is 256 bytes. This means that each directory block can hold a certain amount of data, such as file names, file sizes, and pointers to the actual data blocks where the files are stored. Having larger directory blocks allows for more efficient storage and retrieval of file information.

    Rate this question:

  • 7. 

    How do you skip a particular step in procedure or job

    • A.

      COND

    • B.

      SKIP

    • C.

      IGNORE

    • D.

      None of the above

    Correct Answer
    A. COND
    Explanation
    The correct answer is COND. This is because "COND" stands for "conditional", and it allows you to skip a particular step in a procedure or job based on a certain condition. By using a conditional statement, you can specify when a step should be skipped, based on the evaluation of a condition or set of conditions. This allows for more flexibility and control in executing procedures or jobs.

    Rate this question:

  • 8. 

    What are the types of procedures

    • A.

      INSTREAM

    • B.

      CATALOGED

    • C.

      OUTSTREAM

    • D.

      Both a and b

    • E.

      Both a and c

    Correct Answer
    D. Both a and b
    Explanation
    The correct answer is "Both a and b." This means that the types of procedures can be both INSTREAM and CATALOGED. The option "Both a and c" is incorrect because there is no mention of OUTSTREAM in the question. INSTREAM procedures are executed within the same job step, while CATALOGED procedures are stored in a separate library and can be called from any job step. Therefore, the correct answer includes both types of procedures.

    Rate this question:

  • 9. 

    Dummy is a Keyword parameter

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    The statement "Dummy is a Keyword parameter" is false. A keyword parameter is a parameter that can be passed to a function by specifying its name along with its value. However, "Dummy" is not a keyword parameter in Python. It is not a reserved keyword and does not have any special meaning or functionality in the language. Therefore, the correct answer is False.

    Rate this question:

  • 10. 

    Concatenation has meaning only for sequential processing 

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    Concatenation refers to the process of combining two or more strings or sequences together. In sequential processing, the operations are performed one after the other in a specific order. Therefore, concatenation makes sense only in sequential processing, as it allows us to join strings or sequences in a specific order. In other types of processing, such as parallel processing, the order of operations may not be defined, making concatenation irrelevant. Hence, the statement that "concatenation has meaning only for sequential processing" is true.

    Rate this question:

  • 11. 

    * and DATA are positional parameter that follow DD Statement

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    The statement is true because in JCL (Job Control Language), the * and DATA are indeed positional parameters that follow the DD (Data Definition) statement. These parameters are used to specify the input and output data sets for a job step. The * parameter is used to indicate that the data set is not to be used in the job step, while the DATA parameter is used to specify the data set that is to be used. Therefore, the given answer is correct.

    Rate this question:

  • 12. 

    What is the default time for time parameter if it is not coded on Exec statement.

    • A.

      15 Min

    • B.

      10 Min

    • C.

      20 Min

    • D.

      30 Min

    Correct Answer
    D. 30 Min
    Explanation
    If the time parameter is not coded on the Exec statement, the default time is set to 30 minutes.

    Rate this question:

  • 13. 

    The  Utility used to delete dataset, find databset, cataloged & uncataloged dataset

    • A.

      IEBGENER

    • B.

      IEBCOPY

    • C.

      IEFBR14

    • D.

      IEHLIST

    Correct Answer
    C. IEFBR14
    Explanation
    IEFBR14 is a utility program used in mainframe systems to create empty datasets, delete datasets, and list datasets. It does not have the capability to find or catalog/uncatalog datasets. Therefore, IEFBR14 is the correct answer because it is the utility used to delete datasets, but not to find or catalog/uncatalog datasets.

    Rate this question:

  • 14. 

    How many instream procedures can be coded in single job

    • A.

      16

    • B.

      15

    • C.

      12

    • D.

      32

    Correct Answer
    B. 15
    Explanation
    The correct answer is 15 because in a single job, a maximum of 15 instream procedures can be coded. Instream procedures are used to provide input data to a program during execution. Each instream procedure is identified by a sequential number starting from 1. Therefore, the maximum number of instream procedures that can be coded in a single job is 15.

    Rate this question:

  • 15. 

    Maximum number of DD statements in a job

    • A.

      3276

    • B.

      3273

    • C.

      3723

    • D.

      3237

    Correct Answer
    B. 3273
    Explanation
    The maximum number of DD statements in a job is 3273. DD statements are used in JCL (Job Control Language) to define the input and output datasets for a job. Each DD statement represents a dataset and specifies its attributes such as name, location, and organization. In this case, the correct answer is 3273, which means that a job can have a maximum of 3273 DD statements to define its datasets.

    Rate this question:

  • 16. 

    MSG LEVEL = (1,1) means print

    • A.

      All JCL statement will be printed including allocation message

    • B.

      Print only JCL Statements

    • C.

      Print only JOB statement

    • D.

      None of the above

    Correct Answer
    A. All JCL statement will be printed including allocation message
    Explanation
    The correct answer is "All JCL statement will be printed including allocation message". This is because when MSG LEVEL = (1,1), it means that all JCL statements will be printed, including the allocation message.

    Rate this question:

  • 17. 

    Maximum number of steps in a JOB are

    • A.

      255

    • B.

      256

    • C.

      16

    • D.

      32

    Correct Answer
    A. 255
    Explanation
    The maximum number of steps in a JOB is 255. This means that a JOB can consist of up to 255 individual steps or tasks.

    Rate this question:

  • 18. 

    Which is not a keyword parameter

    • A.

      CLASS

    • B.

      PGM

    • C.

      MSGLEVEL

    • D.

      PRTY

    Correct Answer
    B. PGM
    Explanation
    The keyword parameter that is not listed in the given options is "PGM".

    Rate this question:

  • 19. 

    IEFBR14 use to check the syntax of JCL  without affecting any dataset

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    IEFBR14 is a utility program used in JCL (Job Control Language) to check the syntax of JCL without affecting any dataset. It is a dummy program that does nothing but returns control to the operating system. By executing IEFBR14, the JCL syntax errors can be identified without causing any changes or impact on the actual datasets. Therefore, the given statement is true.

    Rate this question:

  • 20. 

    SCRATCH specifies entry of dataset should not physically deleted from the volume

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    The statement is false because SCRATCH actually specifies that the entry of a dataset should be physically deleted from the volume. When a dataset is scratched, it means that it is no longer needed and can be removed from the volume to free up space. Therefore, the correct answer is False.

    Rate this question:

Quiz Review Timeline +

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

  • Current Version
  • Nov 17, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • May 11, 2011
    Quiz Created by
    Manjunath1987
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.