JCL&ibmt

30 Questions | Attempts: 173
Share

SettingsSettingsSettings
JCL Quizzes & Trivia

Questions and Answers
  • 1. 

    What is the function of DD DISP parameter?

    • A.

      Tells the system what to do with the dataset following normal termination of the step

    • B.

      Describes the status of the dataset

    • C.

      Tells the system what to do with the dataset following abnormal termination of the step

    • D.

      All of the above

    Correct Answer
    D. All of the above
  • 2. 

    How is the record format of an output dataset specified?

    • A.

      RECORG parameter

    • B.

      STORCLAS parameter

    • C.

      RECFM parameter

    • D.

      None of the above

    Correct Answer
    C. RECFM parameter
  • 3. 

    What is the purpose of DD * statement in JCL?

    • A.

      Begins an input data prompt at the system console

    • B.

      Begins an in-stream dataset

    • C.

      Marks the end of a command stream

    • D.

      Includes all datasets within a naming pattern

    Correct Answer
    B. Begins an in-stream dataset
  • 4. 

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

    • A.

      Positional, Keyword

    • B.

      Keyword, Control

    • C.

      Dynamic, Static

    • D.

      Named, Dynamic

    Correct Answer
    A. Positional, Keyword
  • 5. 

    What is the function of JOB statement in JCL ?

    • A.

      Marks the end of a job

    • B.

      Marks the beginning of an instream procedure

    • C.

      Marks the beginning of a job & assigns a name to the job

    • D.

      Assigns an execution priority to a job

    Correct Answer
    C. Marks the beginning of a job & assigns a name to the job
  • 6. 

    How can a job send a status message to a TSO user at the completion of a job ?

    • A.

      STATUS

    • B.

      NOTIFY

    • C.

      ENDMSG

    • D.

      USER

    Correct Answer
    B. NOTIFY
  • 7. 

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

    • A.

      Primary, Secondary, Directory

    • B.

      Address, Units, CONTIG or ALS

    • C.

      Displacement and length

    • D.

      Megabytes, Kilobytes and Bytes

    Correct Answer
    A. Primary, Secondary, Directory
  • 8. 

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

    • A.

      RETURN

    • B.

      MIXING

    • C.

      CONTIG

    • D.

      RLSE

    Correct Answer
    D. RLSE
  • 9. 

    When you are dealing with variable length data set ie if RECFM=V then what will be the value of LRECL parameter?

    • A.

      Similar to RECFM=F option

    • B.

      LRECL option is not a mandatory

    • C.

      LRECL value is largest record in the file plus 4 bytes

    • D.

      LRECL value smaller record plus 4 bytes

    Correct Answer
    C. LRECL value is largest record in the file plus 4 bytes
  • 10. 

    What statement marks the end of an in-stream or Catalogued procedure ?

    • A.

      STREAM

    • B.

      SET

    • C.

      PROC

    • D.

      PEND

    Correct Answer
    D. PEND
  • 11. 

    //TCHN400g JOB A12,EXE1,NOTIFY=&SYSUID,RESTART= ? //PRO1   PROC                                                //STEP1  EXEC PGM=IEFBR14                                    //DD1 DD DSN=TCHN400.ABC.PS1,DISP=(MOD,CATLG,DELETE),        //     SPACE=(TRK,(1,1)),DCB=(LRECL=80,BLKSIZE=800,RECFM=FB) //STEP2  EXEC PGM=IEFBR14                                    //DD2 DD DSN=TCHN400.ABC.PS2,DISP=(MOD,CATLG,DELETE),        //     SPACE=(TRK,(1,1)),DCB=(LRECL=80,BLKSIZE=800,RECFM=FB) //       PEND                                                //STEPP1 EXEC PRO1                                           //STEP3  EXEC PGM=IEFBR14                                    //DD3 DD DSN=*.STEPP1.STEP2.DD2,DISP=(MOD,CATLG,DELETE),     //     SPACE=(TRK,(1,1)),DCB=(LRECL=80,BLKSIZE=800,RECFM=FB) //                                            CONSIDER THE ABOVE JCL, INORDER TO RESTART JOB FROM ‘STEP2’ WHAT I SHOULD CODE IN RESTART PARAMETER ?

    • A.

      STEPP1.STEP2

    • B.

      STEP2.STEPP1

    • C.

      STEP2

    • D.

      STEPP1

    Correct Answer
    A. STEPP1.STEP2
  • 12. 

    What is Abend code S806 U0000?

    • A.

      Data exception.

    • B.

      Memory violation.

    • C.

      Load module not found.

    • D.

      Duplicate dataset

    Correct Answer
    C. Load module not found.
  • 13. 

    How can an in-stream dataset be terminated?

    • A.

      //

    • B.

      //*

    • C.

      /*

    • D.

      None of the above

    Correct Answer
    C. /*
  • 14. 

    What is the function of the DD DCB keyword?

    • A.

      Begins the subparameters of the DCB

    • B.

      Begins the DASD control block

    • C.

      Marks the close of the DCB

    • D.

      Modifies the record type parameters

    Correct Answer
    A. Begins the subparameters of the DCB
  • 15. 

    What is the maximum length of a single line of JCL dataset?

    • A.

      71 bytes

    • B.

      60 bytes

    • C.

      77 bytes

    • D.

      80 bytes

    Correct Answer
    D. 80 bytes
  • 16. 

    When space is allocated for an output dataset, what units can be used?

    • A.

      Disks

    • B.

      Megabytes

    • C.

      Cylinders, Tracks, Blocks

    • D.

      Bytes

    Correct Answer
    C. Cylinders, Tracks, Blocks
  • 17. 

    Without regard of previous step whether it executes successful or not, I want to execute all the steps in JOB which of the following are valid?(select 3 options)

    • A.

      COND=(4096,GE)

    • B.

      COND=(0,NE)

    • C.

      COND=(0,GT)

    • D.

      COND=(4095,LT)

    • E.

      COND=EVEN

    Correct Answer(s)
    C. COND=(0,GT)
    D. COND=(4095,LT)
    E. COND=EVEN
  • 18. 

    What is the format of comment statement ?

    • A.

      //

    • B.

      //*

    • C.

      /*

    • D.

      None of the above

    Correct Answer
    B. //*
  • 19. 

    What is the function of the STEPLIB DD statement?

    • A.

      Identify a library to be searched for programs named in the EXEC statement

    • B.

      Identify a library containing executable job steps

    • C.

      Override the system step library within a job stream

    • D.

      All of the above

    Correct Answer
    B. Identify a library containing executable job steps
  • 20. 

    How can return codes be tested before execution of a job step?

    • A.

      Through the RC keyword

    • B.

      Through the CODE keyword

    • C.

      Through the COND keyword

    • D.

      Through the RETURNCD keyword

    Correct Answer
    C. Through the COND keyword
  • 21. 

    How can a stopped job be started again? 

    • A.

      Through the RETURN parameter

    • B.

      Through the STARTUP parameter

    • C.

      Through the RESTART parameter

    • D.

      Through the CHECKPNT keyword

    Correct Answer
    C. Through the RESTART parameter
  • 22. 

    What parameters can be used to limit the number of records written to a SYSOUT dataset ?

    • A.

      LIMIT

    • B.

      OUTLIM

    • C.

      SIZE

    • D.

      MAX

    Correct Answer
    B. OUTLIM
  • 23. 

    What parameter directs the output of the job log dataset ?

    • A.

      JOBLOG

    • B.

      MSGCLASS

    • C.

      MSGLEVEL

    • D.

      SYSLOG

    Correct Answer
    B. MSGCLASS
  • 24. 

    How many extents are possible for a sequential file and vsam file ?

    • A.

      123 and 16

    • B.

      15 and 123

    • C.

      122 and 15

    • D.

      16 and 123

    Correct Answer
    D. 16 and 123
  • 25. 

    If both the JOBCAT & STEPCAT statements are coded in a step, which will be executed?

    • A.

      JOBCAT

    • B.

      STEPCAT

    • C.

      The one coded first in the JCL stream

    • D.

      Both the statements will be executed in sequence

    Correct Answer
    B. STEPCAT
  • 26. 

    What is the prefix character for symbolic parameter ?

    • A.

      &&

    • B.

      &

    • C.

      @

    • D.

      $

    Correct Answer
    B. &
  • 27. 

    COND= (code, ge)   When will the statement execute.

    • A.

      If RC < CODE

    • B.

      If RC > CODE

    • C.

      If RC = CODE

    • D.

      If RC>= CODE

    Correct Answer
    B. If RC > CODE
  • 28. 

    Sample Code                 //OUTFILE  DD  DSN=OUTFILE.TEST.DATA, //             DISP=(NEW,KEEP,DELETE), //             UNIT=SYSDA, //             SPACE=(TRK,(15,7),RLSE), //             DCB=(LRECL=120,BLKSIZE=1200,RECFM=FB)   What is the maximum amount of space that can be allocated when the above dataset is created?

    • A.

      22 Tracks

    • B.

      50 Tracks

    • C.

      105 Tracks

    • D.

      120 Tracks

    Correct Answer
    D. 120 Tracks
  • 29. 

    Which of the following will satisfy the below listed criteria, in GDG creation. Criteria:  - Limit is 255.  - all the dataset will be uncatalogged when it exceeds the limit.  - DSCB is not to be removed from the catalog.

    • A.

      //SYSIN DD * DEFINE GDG (LIMIT(255) SCRATCH NOEMPTY)

    • B.

      //SYSIN DD * DEFINE GDG (LIMIT(255) NOSCRATCH EMPTY)

    • C.

      //SYSIN DD * DEFINE GDG (LIMIT(255) NOSCRATCH NOEMPTY)

    • D.

      //SYSIN DD * DEFINE GDG (LIMIT(MAX) NOSCRATCH EMPTY)

    Correct Answer
    B. //SYSIN DD * DEFINE GDG (LIMIT(255) NOSCRATCH EMPTY)
  • 30. 

    .  000100 //TCHN400# JOB A12,EXE1,NOTIFY=&SYSUID  000200 //PROC1    PROC  000300 //STEP1  EXEC PGM=IEFBR14  000400 //DD1 DD DSN=TCHN400.TEST.ABC,DISP=(MOD,CATLG,DELETE),  000500 //     SPACE=(TRK,(1,1)),DCB=(LRECL=80,BLKSIZE=800,RECFM=FB)  000510 //STEP2  EXEC PGM=IEFBR14  000520 //DD2 DD DSN=TCHN400.TEST.DEF,DISP=(MOD,CATLG,DELETE),  000530 //     SPACE=(TRK,(1,1)),DCB=(LRECL=80,BLKSIZE=800,RECFM=FB)  000600 //         PEND  000700 //STEPP1  EXEC PROC=PROC1,COND.STEP2=(4,GT)  000900 //   From The Above Code Consider That Step1 Is Successful (Step1 Rc Is Zero) If I Want To By Pass Step2 In Proc1 Then What  I  Should Code While Calling The Procedure

    • A.

      STEP1.COND=(4,GT)

    • B.

      STEP2.COND=(4, EQ)

    • C.

      COND.STEP2=(4,GT)

    • D.

      DD2.STEP2.COND=(4,GT)

    Correct Answer
    C. COND.STEP2=(4,GT)

Quiz Review Timeline +

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

  • Current Version
  • Feb 19, 2013
    Quiz Edited by
    ProProfs Editorial Team
  • Jun 16, 2012
    Quiz Created by
    SaranyaMurugesan
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.