JCL And VSAM Mocktest 2

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Anjali Krishna
A
Anjali Krishna
Community Contributor
Quizzes Created: 4 | Total Attempts: 25,735
| Attempts: 6,635 | Questions: 20
Please wait...
Question 1 / 20
0 %
0/100
Score 0/100
1. JCL stands for  

Explanation

JCL stands for Job Control Language. It is a scripting language used in mainframe operating systems to control and coordinate the execution of batch jobs. JCL is responsible for specifying the input and output files, defining the resources needed for the job, and specifying the order in which the job steps should be executed. It is used to submit and manage jobs in mainframe environments, making it an essential component for job scheduling and automation.

Submit
Please wait...
About This Quiz
JCL And VSAM Mocktest 2 - Quiz

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... see moreand 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!
see less

2.  How do you skip a particular step in procedure or job.            

Explanation

The correct answer is "COND". In a procedure or job, the "COND" statement is used to specify conditions under which a particular step should be skipped. It allows for conditional execution of steps based on the outcome of previous steps or other conditions. By using "COND", you can control the flow of the procedure or job and skip certain steps if the specified conditions are met.

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

Explanation

The COND= EVEN parameter should be used to ensure that a step will always be executed irrespective of any previous step ABENDS. This parameter allows the step to be executed even if the condition code of the previous step is even.

Submit
4. VSAM files are called _____________.  

Explanation

VSAM files are called "Clusters" because a cluster is a collection of related VSAM files that are grouped together for efficient processing. A cluster consists of an index component and one or more data components. The index component contains the keys and pointers to the records in the data components. Clusters are used to improve performance and organization of VSAM files.

Submit
5. In JCL statements:       

Explanation

In JCL statements, it is necessary for all positional parameters to appear before any keyword parameters. This means that the parameters that are specified by their position in the statement must be listed before any parameters that are specified by their keyword. This ensures that the JCL interpreter can correctly interpret and process the parameters in the statement.

Submit
6. VSAM stores record in the data component in units called _____________.         

Explanation

VSAM stores records in the data component in units called control intervals. Control intervals are logical units of storage that contain one or more records. These control intervals are used to efficiently manage and access the records stored in the VSAM data set.

Submit
7. BLOCKSIZE subparameter  of DCB:  

Explanation

The BLOCKSIZE subparameter of DCB should always be an exact multiple of the record size. This is because the block size determines the amount of data transferred at a time between the storage device and the computer's memory. If the block size is not a multiple of the record size, it may result in inefficient use of storage space and slower data transfer speeds. Therefore, it is best practice to ensure that the block size is an exact multiple of the record size to optimize performance.

Submit
8. IEBGENER utility can be used  

Explanation

The IEBGENER utility is used to copy a Partitioned Data Set (PDS). It is not used to allocate, delete, or create a PDS. Therefore, the correct answer is "To copy a PSDS".

Submit
9. _____________ command is used to ensure the data integrity of the VSAM cluster.  

Explanation

The "Verify" command is used to ensure the data integrity of the VSAM cluster. This command checks the consistency and validity of the data stored in the cluster by comparing it with the expected values. It helps in identifying any discrepancies or errors in the data and ensures that the cluster is functioning correctly.

Submit
10. DISP=  (OLD, DELETE, KEEP) will:  

Explanation

The DISP=(OLD, DELETE, KEEP) option will retain the dataset if the job ABENDs in this step. ABEND stands for abnormal end, which refers to a situation where a program or job terminates unexpectedly or abnormally. In this scenario, the dataset will be retained instead of being deleted, allowing for further analysis or debugging of the job.

Submit
11. The following parameter establishes the relationship between the base cluster and the alternate index.  

Explanation

The parameter "Relate" establishes the relationship between the base cluster and the alternate index.

Submit
12. Which of the following is designed for Multiprocessor environment:  

Explanation

JES3 is designed for a multiprocessor environment. JES stands for Job Entry Subsystem, which is responsible for managing the execution of jobs in a mainframe environment. JES3 is specifically designed to handle multiple processors and distribute the workload across them efficiently. It provides parallel processing capabilities, allowing for faster job execution and improved system performance in a multiprocessor environment.

Submit
13. An ESDS cluster consists of the following components  

Explanation

An ESDS cluster consists of the data component. This component is responsible for storing and managing the actual data in the cluster. The index component, on the other hand, is responsible for indexing and organizing the data for efficient retrieval. However, in an ESDS cluster, only the data component is mentioned, indicating that it is the correct answer.

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

Explanation

LASTCC contains the condition code of the most recently executed IDCAMS command.

Submit
15. Which of the following statement is TRUE about concatenation of datasets?    

Explanation

Only disk datasets can be concatenated. Concatenation refers to combining multiple datasets into a single dataset. Disk datasets can be easily concatenated because they are stored on a disk and can be accessed sequentially. On the other hand, tape datasets cannot be easily concatenated because accessing data on a tape is not sequential and requires rewinding and fast-forwarding. Therefore, only disk datasets can be concatenated.

Submit
16. The RESTART parameter of JOB statement requests:     

Explanation

The RESTART parameter of the JOB statement allows a job to begin execution with a step other than the first one. This means that if a job is interrupted or encounters an error, it can be restarted from a specific step rather than starting from the beginning. This parameter is useful in situations where the previous steps have already been completed successfully and there is no need to repeat them. By specifying a different step to start with, the job can save time and resources by skipping unnecessary steps.

Submit
17. The following parameter of the Define cluster command is a positional mandatory parameter  

Explanation

The correct answer is "Relate" because in the context of the Define cluster command, it is a positional mandatory parameter. This means that when using the command, the parameter "Relate" must be provided in a specific position and it cannot be omitted.

Submit
18. Which of the following statements are not true about the TIME parameter in JOB & EXEC statements:  

Explanation

The statement "Time parameter must be coded for every job" is not true because the Time parameter is optional and does not need to be coded for every job.

Submit
19. Which of the following functions are performed by the REPRO command?                                                                                                                                              

Explanation

The REPRO command performs the function of loading an empty VSAM cluster with records.

Submit
20. If an AIX has to be build on a cluster then the base cluster has to be defined as  

Explanation

In order to build an AIX on a cluster, the base cluster needs to be defined as nonreusable. This means that the cluster cannot be reused for any other purpose or for building any other AIX. This ensures that the cluster is dedicated solely to the AIX being built and avoids any potential conflicts or issues that could arise from sharing the cluster with other systems or projects.

Submit
View My Results

Quiz Review Timeline (Updated): May 15, 2023 +

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

  • Current Version
  • May 15, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Jul 22, 2011
    Quiz Created by
    Anjali Krishna
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
JCL stands for  
 How do you skip a particular step in procedure or job....
To ensure that a step will always be executed irrespective of any...
VSAM files are called _____________.  
In JCL statements:       
VSAM stores record in the data component in units called...
BLOCKSIZE subparameter  of DCB:  
IEBGENER utility can be used  
_____________ command is used to ensure the data integrity of the VSAM...
DISP=  (OLD, DELETE, KEEP) will:  
The following parameter establishes the relationship between the base...
Which of the following is designed for Multiprocessor environment:...
An ESDS cluster consists of the following components  
_____________ contains the condition code of the most recently...
Which of the following statement is TRUE about concatenation of...
The RESTART parameter of JOB statement requests:     
The following parameter of the Define cluster command is a positional...
Which of the following statements are not true about the TIME...
Which of the following functions are performed by the REPRO command?...
If an AIX has to be build on a cluster then the base cluster has to be...
Alert!

Advertisement