JCL And VSAM Mocktest 2

20 Questions | Attempts: 6522
Share

SettingsSettingsSettings
VSAM Quizzes & Trivia

The following quiz deals with JCL (Job Control Language) and VSAM (Virtual Storage Access Method). JCL is a scripting language used for describing jobs to the MVS, OS/390 and VSE operating systems. VSAM is a file storage access method which uses most of the same operating systems. What do you know about these two applications? Take the quiz right now to find out!


Questions and Answers
  • 1. 
    JCL stands for  
    • A. 

      Job Common Language

    • B. 

      Job Control Language

    • C. 

      Job Completion Language

    • D. 

      Job Creation Language

  • 2. 
    To ensure that a step will always be executed irrespective of any previous step ABENDS, COND parameter of JOB statement should be coded as:  
    • A. 

      COND= ONLY

    • B. 

      COND= (4, LT)

    • C. 

      COND= EVEN

    • D. 

      COND= (4,GT)

  • 3. 
    Which of the following is designed for Multiprocessor environment:  
    • A. 

      JES1

    • B. 

      JES2

    • C. 

      JES3

    • D. 

      JES4

  • 4. 
    In JCL statements:       
    • A. 

      All Keyword Parameters should appear before any Positional Parameters

    • B. 

      They can appear in any order

    • C. 

      We can’t have Positional and Keyword Parameters in same statement

    • D. 

      All Positional Parameters should appear before any Keyword Parameters

  • 5. 
    The RESTART parameter of JOB statement requests:     
    • A. 

      To restart a job unconditionally

    • B. 

      That a job begins execution with a step other than the first one

    • C. 

      To restart a job abased on COND parameter

    • D. 

      To restart a job in case of ABEND

  • 6. 
    Which of the following statement is TRUE about concatenation of datasets?    
    • A. 

      Disk as well as Tape datasets can be concatenated

    • B. 

      Only disk datasets can be concatenated

    • C. 

      Only Tape datasets can be concatenated

    • D. 

      None of the Disk or Tape datasets can be concatenated

  • 7. 
    DISP=  (OLD, DELETE, KEEP) will:  
    • A. 

      Retain the dataset if the job doesn’t ABENDs in this step

    • B. 

      Will never retain the dataset

    • C. 

      Retain the dataset if the job ABENDs in this step

    • D. 

      Will always retain the dataset.

  • 8. 
    BLOCKSIZE subparameter  of DCB:  
    • A. 

      Should always be exact multiple of recordsize

    • B. 

      Need not be exact multiple of recordsize.

    • C. 

      Is always equal to 1

    • D. 

      Is equal to Recordsize * Number of Records in the dataset

  • 9. 
    IEBGENER utility can be used  
    • A. 

      To allocate a PDS

    • B. 

      To delete a PSDS

    • C. 

      To create a PDS

    • D. 

      To copy a PSDS

  • 10. 
    Which of the following statements are not true about the TIME parameter in JOB & EXEC statements:  
    • A. 

      Time parameter must be coded for every job

    • B. 

      Time parameter of step overrides that of job

    • C. 

      A time-out abend will occur if job exceeds time specified in Time parameter

    • D. 

      Time is specified in terms of Hours & minutes (Time= (9.30))

  • 11. 
    VSAM files are called _____________.  
    • A. 

      Datasets

    • B. 

      DSCB sets

    • C. 

      Clusters

    • D. 

      KSDS

  • 12. 
    VSAM stores record in the data component in units called _____________.         
    • A. 

      Control intervals

    • B. 

      Control area

    • C. 

      Blocks

    • D. 

      Buffers

  • 13. 
    An ESDS cluster consists of the following components  
    • A. 

      Data component

    • B. 

      Index component

    • C. 

      Both

  • 14. 
    _____________ contains the condition code of the most recently executed IDCAMS command.   .  
    • A. 

      PREVCC

    • B. 

      LASTCC

    • C. 

      MAXCC

    • D. 

      Both- MAXCC & LASTCC

  • 15. 
    The following parameter establishes the relationship between the base cluster and the alternate index.  
    • A. 

      Data

    • B. 

      Volumes

    • C. 

      Name

    • D. 

      Relate

  • 16. 
    The following parameter of the Define cluster command is a positional mandatory parameter  
    • A. 

      Relate

    • B. 

      Upgrade

    • C. 

      Path

  • 17. 
    Which of the following functions are performed by the REPRO command?                                                                                                                                              
    • A. 

      Loads empty VSAM cluster with records

    • B. 

      Creates backup of a VSAM dataset on physical sequential dataset

    • C. 

      Merge data from two VSAM datasets

    • D. 

      All of the above

  • 18. 
    If an AIX has to be build on a cluster then the base cluster has to be defined as  
    • A. 

      Reusable

    • B. 

      Nonreusable

    • C. 

      Upgrade

  • 19. 
    _____________ command is used to ensure the data integrity of the VSAM cluster.  
    • A. 

      Repro

    • B. 

      Alter

    • C. 

      Verify

    • D. 

      None

  • 20. 
     How do you skip a particular step in procedure or job.            
    • A. 

      COND

    • B. 

      SKIP

    • C. 

      IGNORE

    • D. 

      NONE

Related Topics

Back to Top Back to top
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.