JCL-VSAM

60 Questions | Attempts: 2122
Share

SettingsSettingsSettings
VSAM Quizzes & Trivia

Model Exam


Questions and Answers
  • 1. 

    Which of the following are directly controlled by JCL statements: (2 answers)

    • A.

      The passing of job control information to the Job Entry Subsystem

    • B.

      The addressing of input resources

    • C.

      The performance of calculations

    • D.

      The sending of an email to the person who submitted the job

    Correct Answer(s)
    A. The passing of job control information to the Job Entry Subsystem
    B. The addressing of input resources
  • 2. 

    Which statements concerning the JCLLIB statement are true? (2 answers)

    • A.

      There is either a JCLLIB statement for the entire JOB, or a separate one for each EXEC statement, not both.

    • B.

      A JCLLIB statement can not have a statement name.

    • C.

      There can only be one JCLLIB statement per JOB.

    • D.

      A JCLLIB statement must be coded before the first EXEC statement.

    Correct Answer(s)
    C. There can only be one JCLLIB statement per JOB.
    D. A JCLLIB statement must be coded before the first EXEC statement.
  • 3. 

    Which of the following is true:

    • A.

      Under no circumstances must a DD statement precede an EXEC statement

    • B.

      The OPERATION JOB can be coded in position 4.

    • C.

      An OPERATION can be coded beyond position 72, as long as it starts before position 72.

    • D.

      A JCL OPERATION must be followed and preceded by at least one blank.

    Correct Answer
    D. A JCL OPERATION must be followed and preceded by at least one blank.
  • 4. 

    In what way are the KSDS data records arranged?

    • A.

      Random

    • B.

      By a unique key field

    • C.

      Using Relative record position

    • D.

      Entry sequence

    Correct Answer
    B. By a unique key field
  • 5. 

    CI and CA splits can occur only in files

    • A.

      KSDS

    • B.

      RRDS

    • C.

      ESDS

    • D.

      LDS

    Correct Answer
    A. KSDS
  • 6. 

    Primary keys in sequence set are in sequential order whereas CI are not in sequential order

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 7. 

    What is wrong with the following JCL to create a ESDS fileDEFINE CLUSTER (NAME (VSAM.RRDS.CLUSTER) VOLUMES (CICT00)CYLINDERS (3,1)CISZ (4096) RECORDSIZE (80,100) NUMBERED ) DATA ( NAME (VSAM.RRDS.DATA) )

    • A.

      NUMBERED should not be used

    • B.

      FREESPACE is not mentioned

    • C.

      RECORDSIZE is wrong

    • D.

      Nothing wrong

    Correct Answer
    A. NUMBERED should not be used
  • 8. 

    What is the length of a RDF (In Bytes)?

    • A.

      3

    • B.

      5

    • C.

      4

    • D.

      2

    Correct Answer
    C. 4
  • 9. 

    Complete correctly: When I want a jobstep to be executed only if the previous jobstep has a return code of strictly less than 8, I should add...

    • A.

      COND=(8,LE)

    • B.

      COND=(8,GE)

    • C.

      COND=(8,LT)

    • D.

      COND=(8,GT)

    Correct Answer
    A. COND=(8,LE)
  • 10. 

    When to use DISP=MOD?

    • A.

      For both sequential and partitioned datasets to be extended or created.

    • B.

      Only for existing datasets to be extended.

    • C.

      For all secured sequential datasets to be extended.

    • D.

      Only for sequential datasets to be extended or created.

    Correct Answer
    D. Only for sequential datasets to be extended or created.
  • 11. 

    What are the correct values for the DSN parameter of a temporary data set? (2 answers)

    • A.

      &NAME&(TEMP)

    • B.

      &&TEMP(NAME)

    • C.

      &&NAME

    • D.

      &NAME

    Correct Answer(s)
    B. &&TEMP(NAME)
    C. &&NAME
  • 12. 

    What is correct?

    • A.

      A REGION parameter on an EXEC statement, overrides the REGION parameter on the JOB statement.

    • B.

      A REGION parameter on an EXEC statement, limits the space available for that step, but will never exceed the REGION on the JOB statement.

    • C.

      A REGION parameter on an EXEC statement, is only taken into consideration if there is no REGION parameter on the JOB statement.

    • D.

      The sum of all REGION parameters on EXEC statements, must be equal to the REGION parameter on the JOB statement.

    Correct Answer
    C. A REGION parameter on an EXEC statement, is only taken into consideration if there is no REGION parameter on the JOB statement.
  • 13. 

    Positional sub-parameters of the DISP parameter are

    • A.

      Status

    • B.

      Normal disposition

    • C.

      Abnormal disposition

    • D.

      All of the above

    Correct Answer
    D. All of the above
  • 14. 

    It is used to decide to execute a step based on the previous step return code

    • A.

      COND

    • B.

      DISP

    • C.

      DLM

    • D.

      *

    Correct Answer
    A. COND
  • 15. 

    What does Operator parameter in COND Code specify

    • A.

      It specifies the condition to be checked

    • B.

      It specifies the return code of the step

    • C.

      It depends on the Job statement

    • D.

      None of these

    Correct Answer
    A. It specifies the condition to be checked
  • 16. 

    The Function of FREE parameter in jcl is

    • A.

      It specifies when to un allocate the resource s for this data set

    • B.

      It frees all the space in the disc

    • C.

      It compress the dataset to make more space

    • D.

      Both b and c

    Correct Answer
    A. It specifies when to un allocate the resource s for this data set
  • 17. 

    Which command in IDCAMS can make changes to parameters?

    • A.

      REPRO

    • B.

      ALTER

    • C.

      VERIFY

    • D.

      LISTCAT

    Correct Answer
    B. ALTER
  • 18. 

    The default value for the FREESPACE parameter is

    • A.

      FREESPACE(0 0)

    • B.

      FREESPACE(CI% CA%)

    • C.

      FREESPACE(CA% CI%)

    • D.

      None of these

    Correct Answer
    A. FREESPACE(0 0)
  • 19. 

    DITTO is very powerful utilities that can use to _____ VSAM records

    • A.

      Browse, Edit and Delete

    • B.

      Edit or Delete

    • C.

      Browse only

    • D.

      View and Edit

    Correct Answer
    A. Browse, Edit and Delete
  • 20. 

    Using REPRO to reorganize a KSDS, which of the following is true?

    • A.

      Input must be ascending key sequence

    • B.

      No duplicate keys are allowed

    • C.

      Non-unique keys are allowed

    • D.

      Both 1 & 2

    Correct Answer
    D. Both 1 & 2
  • 21. 

    RECORDSIZE for KSDS AIX is (where n=1 for UNIQUEKEY and n=number of data records that contain the same alternate key value when NONUNIQUEKEY is specified)

    • A.

      4 + Alternate Key + (n * Primary Key length)

    • B.

      2 + Alternate Key + (n * Primary Key length)

    • C.

      3 + Alternate Key + (n * Primary Key length)

    • D.

      5 + Alternate Key + (n * Primary Key length)

    Correct Answer
    D. 5 + Alternate Key + (n * Primary Key length)
  • 22. 

    When a job is submitted the information regarding the job can be found in the

    • A.

      TSO SDSF ST

    • B.

      TS .F.F.1

    • C.

      =x

    • D.

      Start 3.4

    Correct Answer
    A. TSO SDSF ST
  • 23. 

    All VSAM data sets reside on DASD devices

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 24. 

    Deletions and updating of records is possible in ESDS

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 25. 

    Spanned records are records larger than CA size.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 26. 

    A KSDS has both data and index components

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 27. 

    JES is the component of the operating system that provides

    • A.

      Supplementary job management

    • B.

      Data management

    • C.

      Task management functions such as scheduling, control of job flow

    • D.

      All the above

    Correct Answer
    D. All the above
  • 28. 

    Which of the following statements are true about TYPRUN

    • A.

      Request special job processing

    • B.

      HOLD and SCAN are the two options of TYPRUN

    • C.

      It makes the job to run in Spool area

    • D.

      Both a and b and not c

    Correct Answer
    D. Both a and b and not c
  • 29. 

    In the Name field of INCLUDE statement the first character must be

    • A.

      Alphabetic or National($,#,@)

    • B.

      Only Alphabetic

    • C.

      Only National characters

    • D.

      It is an optional one

    Correct Answer
    A. Alphabetic or National($,#,@)
  • 30. 

    The PEND statement

    • A.

      Marks the end of a procedure

    • B.

      Is an optional for a catalog procedure

    • C.

      Both a and b

    • D.

      It marks the beginning of a procedure

    Correct Answer
    C. Both a and b
  • 31. 

    Order of Job Execution is determined by

    • A.

      JESMSGCLASS and DPRTY

    • B.

      JOBCLASS and PRTY

    • C.

      TIME and REGION

    • D.

      JOBNAME and JOB Keyword

    Correct Answer
    B. JOBCLASS and PRTY
  • 32. 

    What is COND=ONLY?

    • A.

      Means execute this step only if any of the previous steps, terminated abnormally.

    • B.

      Means do not execute this step only if any of the previous steps, terminated abnormally.

    • C.

      Means execute this step only if any of the previous steps, terminated successfully.

    • D.

      Means do not execute this step only if any of the previous steps, terminated successfully.

    Correct Answer
    A. Means execute this step only if any of the previous steps, terminated abnormally.
  • 33. 

    Records will be appended when we use

    • A.

      RRDS

    • B.

      LDS

    • C.

      KSDS

    • D.

      ESDS

    Correct Answer
    D. ESDS
  • 34. 

    To restart a job from a particular proc step, the following command is used.

    • A.

      RESTART=JCLSTEPNAME.PROCSTEPNAME

    • B.

      RESTART=PROCSTEPNAME.JCLSTEPNAME

    • C.

      RESTART=JCLSTEPNAME

    • D.

      RESTART=JCLSTEPNAME

    Correct Answer
    A. RESTART=JCLSTEPNAME.PROCSTEPNAME
  • 35. 

    Omit parameter is used in the following Utility

    • A.

      IEBGENER

    • B.

      IEFBR14

    • C.

      DFSORT

    • D.

      IEBCOPY

    Correct Answer
    C. DFSORT
  • 36. 

    The default value in message level is

    • A.

      (1,1)

    • B.

      (0,0)

    • C.

      (1,0)

    • D.

      (0,1)

    Correct Answer
    A. (1,1)
  • 37. 

     Maximum number of DD statements in a job?

    • A.

      56

    • B.

      255

    • C.

      3273

    • D.

      253

    Correct Answer
    C. 3273
  • 38. 

    Alternate index can be defined for both

    • A.

      KSDS AND ESDS

    • B.

      ESDS AND RRDS

    • C.

      RRDS AND KSDS

    • D.

      LDS AND KSDS

    Correct Answer
    A. KSDS AND ESDS
  • 39. 

    What are the procs allowed in JCL

    • A.

      Cataloged

    • B.

      In-stream

    • C.

      A & b

    • D.

      Only a

    Correct Answer
    C. A & b
  • 40. 

    What is the utility used for creating a GDG

    • A.

      IEBGENER

    • B.

      IEFBR14

    • C.

      IDCAMS

    • D.

      IDCASM

    Correct Answer
    C. IDCAMS
  • 41. 

    What is the Maximum limit for a GDG

    • A.

      155

    • B.

      250

    • C.

      255

    • D.

      254

    Correct Answer
    C. 255
  • 42. 

    What is CIDF

    • A.

      Common interval definition field

    • B.

      Control insertion definition field

    • C.

      Control interval definition field

    • D.

      Control interval description field

    Correct Answer
    C. Control interval definition field
  • 43. 

    Which of the following are disadvantages of VSAM?

    • A.

      Requires lot of DASD space.

    • B.

      Primary key cannot be changed for KSDS files.

    • C.

      Only resides on disk

    • D.

      All the above

    Correct Answer
    D. All the above
  • 44. 

    Expand HURBA

    • A.

      High used relative byte address

    • B.

      Highly used relative byte address

    • C.

      High used relocation byte address

    • D.

      High used relative byte address

    Correct Answer
    A. High used relative byte address
  • 45. 

    IDCAMS Can Be Invoked As

    • A.

      From TSO terminal

    • B.

      From an application program

    • C.

      Both a and b

    • D.

      A only

    Correct Answer
    C. Both a and b
  • 46. 

    VSAM catalog structure consists of

    • A.

      Only one master catalog

    • B.

      One master catalog and one user catalog

    • C.

      One master and one or more user catalogs

    • D.

      None of the above

    Correct Answer
    C. One master and one or more user catalogs
  • 47. 

    ICF stands for

    • A.

      Internal Catalog facility

    • B.

      Integrated catalog facility

    • C.

      Internal catalog file

    Correct Answer
    B. Integrated catalog facility
  • 48. 

    Which of the follwing values can be overriden

    • A.

      DATACLAS values

    • B.

      STORCLAS values

    • C.

      MGMTCLAS values

    • D.

      None of the above

    Correct Answer
    A. DATACLAS values
  • 49. 

    The following GDG datasets exist: TBISUSR.TU00001.GDG.G0003V00 TBISUSR.TU00001.GDG.G0004V00 TBISUSR.TU00001.GDG.G0005V00 TBISUSR.TU00001.GDG.G0006V00 TBISUSR.TU00001.GDG.G0007V00 Which statement will always create: TBISUSR.TU00001.GDG.G0008V00 ?

    • A.

      //DD1 DD DSN=TBISUSR.TU00001.GDG(+1),DISP=(NEW,CATLG),LRECL=80, // RECFM=FB,DSORG=PS,SPACE=(TRK,(1,1))

    • B.

      //DD1 DD DSN=TBISUSR.TU00001.GDG(+1),DISP=SHR

    • C.

      //DD1 DD DSN=TBISUSR.TU00001.GDG(8),DISP=(NEW,CATLG),LRECL=80, // RECFM=FB,DSORG=PS,SPACE=(TRK,(1,1))

    • D.

      //DD1 DD DSN=TBISUSR.TU00001.GDG(8),DISP=SHR

    Correct Answer
    A. //DD1 DD DSN=TBISUSR.TU00001.GDG(+1),DISP=(NEW,CATLG),LRECL=80, // RECFM=FB,DSORG=PS,SPACE=(TRK,(1,1))
  • 50. 

    Which of the following conditional expressions can not be used with an IF-THEN-ELSE-ENDIF construction?

    • A.

      STEP.RC NE 8

    • B.

      ABEND = FALS

    • C.

      STEP.CC = U4038

    • D.

      STEP.RUN EQ TRUE

    Correct Answer
    C. STEP.CC = U4038

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 18, 2022
    Quiz Edited by
    ProProfs Editorial Team
  • Mar 17, 2011
    Quiz Created by
    Mggopakumar

Related Topics

Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.