JCL Quiz Questions

30 Questions | Attempts: 671
Share

SettingsSettingsSettings
Operating System Quizzes & Trivia

Job Control Language


Questions and Answers
  • 1. 

    How to create temporary dataset?

    • A.

      DSN=&&TEMP

    • B.

      DSN=&&TEMPORARY

    • C.

      DSN=TEMP&&

    • D.

      DSN=TEMPORARY&&

    Correct Answer
    A. DSN=&&TEMP
  • 2. 

    In order to append records at the end of file, dataset must have the disposition of:

    • A.

      OLD

    • B.

      NEW

    • C.

      MOD

    • D.

      SHR

    Correct Answer(s)
    B. NEW
    C. MOD
  • 3. 

    What is the system abend code when the memory is not sufficient?

    • A.

      S804

    • B.

      S80A

    • C.

      S322

    • D.

      S522

    Correct Answer
    B. S80A
  • 4. 

    How is instream data handled in PROC?

    • A.

      Code SYSIN DD DUMMY in proc and override it in JCL

    • B.

      Code SYSIN DD DUMMY in JCL and override it in proc

    • C.

      Both A and B

    • D.

      Code SYSIN DD * in Proc

    Correct Answer
    A. Code SYSIN DD DUMMY in proc and override it in JCL
  • 5. 

    Which disposition is valid for an existing dataset?

    • A.

      MOD

    • B.

      OLD

    • C.

      NEW

    • D.

      SHR

    Correct Answer(s)
    A. MOD
    B. OLD
    D. SHR
  • 6. 

    What is the condition you will specify if you want a JOB step to NEVER get executed?

    • A.

      COND=(0,LT)

    • B.

      COND=(0,GE)

    • C.

      COND=(0,LE)

    • D.

      COND=(0,GT)

    Correct Answer
    C. COND=(0,LE)
  • 7. 

    Which is a valid Symbolic Parameter?

    • A.

      ®ION

    • B.

      &ADDSPC

    • C.

      &TIME

    • D.

      None of the above

    Correct Answer
    B. &ADDSPC
  • 8. 

    Along with AVGREC which of this should be given?

    • A.

      DISP

    • B.

      DCB

    • C.

      SPACE

    • D.

      UNIT

    Correct Answer
    D. UNIT
  • 9. 

    JES3 operator commands are entered using?

    • A.

      //*

    • B.

      /*

    • C.

      **

    • D.

      $$

    Correct Answer
    A. //*
  • 10. 

    What parameter directs the output of the job log dataset (response area)?

    • A.

      JOBLOG

    • B.

      MSGCLASS

    • C.

      MSGLEVEL

    • D.

      SYSLOG

    Correct Answer
    B. MSGCLASS
  • 11. 

    //JOB JOB (AC1,ACC2),TRIAL,REGION=512,MSGCLASS=A,TIME=1440,NOTIFY=&SYSUID What is wrong?

    • A.

      Incorrect region

    • B.

      Incorrect time

    • C.

      Missing class

    • D.

      Statement is ok

    Correct Answer
    A. Incorrect region
  • 12. 

    DSCB is used

    • A.

      To specify PS file

    • B.

      To specify PO file

    • C.

      To specify the model for GDG version

    • D.

      To create a GDG base

    Correct Answer
    C. To specify the model for GDG version
  • 13. 

    If we have 2 jobs with PRTY=1 and PRTY=2 for jobs X and Y respectively, which one will get executed first?

    • A.

      X

    • B.

      Y

    • C.

      Both X and Y simultaneosly

    • D.

      Cant say

    Correct Answer
    B. Y
  • 14. 

    Which can contain identifier field?

    • A.

      DD *

    • B.

      DD DATA

    • C.

      DD DUMMY

    • D.

      None of the above

    Correct Answer
    B. DD DATA
  • 15. 

    Duplicate records can be eliminated using which option

    • A.

      SUM FIELD=NONE

    • B.

      SUM FIELD=DUPREC

    • C.

      SUM FIELD=ALL

    • D.

      SUM FIELD=ANY,OMIT COND

    Correct Answer
    A. SUM FIELD=NONE
  • 16. 

    Data control block (DCB)

    • A.

      Specifies the attributes of a dataset

    • B.

      Has record format and logical record length parameters

    • C.

      Has Block size and dataset organization parameters

    • D.

      None of the above

    Correct Answer(s)
    A. Specifies the attributes of a dataset
    B. Has record format and logical record length parameters
    C. Has Block size and dataset organization parameters
  • 17. 

    What indicates end of procedure

    • A.

      END PROC

    • B.

      PEND

    • C.

      ENDP

    • D.

      /*

    Correct Answer
    B. PEND
  • 18. 

    What is true about instream procedure?

    • A.

      Can be executed only within a jcl

    • B.

      Can be used by other jobs

    • C.

      Can be stored as a member in a separate library

    • D.

      All of the above

    • E.

      None of the above

    Correct Answer
    A. Can be executed only within a jcl
  • 19. 

    Values are assigned to symbolic parameter by

    • A.

      SET statement

    • B.

      Passing them along with the EXEC statement

    • C.

      Assigning value in the PROC definition

    • D.

      None of the above

    Correct Answer(s)
    A. SET statement
    B. Passing them along with the EXEC statement
    C. Assigning value in the PROC definition
  • 20. 

    Files to be merged

    • A.

      Should be in ascending or descending order of same key

    • B.

      Should be in ascending order of same key

    • C.

      Need not be in sorted order

    • D.

      Must be sorted only in ascending order of the key

    Correct Answer
    A. Should be in ascending or descending order of same key
  • 21. 

    Subparameters in MSGLEVEL are

    • A.

      (print,allocation)

    • B.

      (noprint,noallocation)

    • C.

      (noprint,allocation)

    • D.

      (print,noallocation)

    Correct Answer
    A. (print,allocation)
  • 22. 

    Which of the following parameter is used to specify space in DD statement:

    • A.

      SPACE

    • B.

      AREA

    • C.

      REGION

    • D.

      STORAGE

    Correct Answer
    A. SPACE
  • 23. 

    Which of the following gives the maximum time limit for a job/step:

    • A.

      TIMEVALUE=1440

    • B.

      TIME=1440

    • C.

      TIME(VALUE)=1440

    • D.

      TIME=MAXIMUM

    Correct Answer
    D. TIME=MAXIMUM
  • 24. 

    A time out error is indicated by which code?

    • A.

      S322

    • B.

      S0C4

    • C.

      SE37

    • D.

      S0C7

    Correct Answer
    A. S322
  • 25. 

    Consider you have executed a job, what is the name of the file in which you see your job responses in the spool

    • A.

      JESYSMSG

    • B.

      SYSTEM

    • C.

      JESMSGLG

    • D.

      JESJCL

    Correct Answer
    C. JESMSGLG
  • 26. 

    Suppose your job have multiple steps, and the data set is temporary, you specify disp=(old,pass) in the last step, what happens:

    • A.

      The data set is used by the next job.

    • B.

      Data set is not deleted until the job abends

    • C.

      Job abends

    • D.

      Dataset gets deleted at the end of the job

    Correct Answer
    D. Dataset gets deleted at the end of the job
  • 27. 

    How many ps you can concatenate in one DD statement?

    • A.

      255

    • B.

      1635

    • C.

      3273

    • D.

      Depends on default setting

    Correct Answer(s)
    A. 255
    B. 1635
    C. 3273
    D. Depends on default setting
  • 28. 

    Which of the following shows space abend:

    • A.

      SB37

    • B.

      SD37

    • C.

      SE37

    • D.

      None of the above

    Correct Answer(s)
    A. SB37
    B. SD37
    C. SE37
  • 29. 

    What is the format of SORT statement in JCL?

    • A.

      (start position,length,Sequence,format)

    • B.

      (start position,end-position,sequence,format)

    • C.

      Start position,format,length,end-position)

    • D.

      (start position, length, format, sequence)

    Correct Answer
    D. (start position, length, format, sequence)
  • 30. 

    If the statement COND=(4,LT,only) is specified in a step

    • A.

      Executes when there is an abend

    • B.

      Executes when the condition is true

    • C.

      Executes when the condition is false

    • D.

      Executes the step depending on response from previous steps

    Correct Answer
    C. Executes when the condition is false

Quiz Review Timeline +

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

  • Current Version
  • Mar 14, 2018
    Quiz Edited by
    ProProfs Editorial Team
  • Jan 16, 2013
    Quiz Created by
    Arniragu
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.