JCL And VSAM Mock Test-1

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: 12,266 | Questions: 15
Please wait...
Question 1 / 15
0 %
0/100
Score 0/100
1. What are the types of procedures.            

Explanation

The correct answer is "a AND b" because the question asks for the types of procedures, and both "INSTREAM" and "CATALOGED" are types of procedures. "OUTSTREAM" is not a type of procedure, so it is not included in the correct answer.

Submit
Please wait...
About This Quiz
JCL And VSAM Mock Test-1 - Quiz

JCL AND VSAM MOCK TEST-1 assesses knowledge of job control language and virtual storage access method in mainframes. It covers job execution durations, dataset control, job control statements,... see moreinstream data in procedures, file access post-disposition, and directory block sizing. see less

2.  What are the kinds of job control statements.           

Explanation

The correct answer is "ALL" because "ALL" is a valid job control statement used in mainframe systems. It is used to indicate that all data sets associated with a job should be processed. This statement ensures that all necessary input and output files are included in the job execution, allowing for a comprehensive and complete job processing.

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

Explanation

The correct answer is "COND". In a procedure or job, the "COND" command is used to specify a condition that must be met in order for a particular step to be executed. If the condition is not met, the step is skipped and the program continues with the next step. This allows for more flexible and conditional execution of steps within a procedure or job.

Submit
4. Alternate Index is a special Type of        

Explanation

Alternate Index is a special type of Key Sequenced Data Set (KSDS). In a KSDS, records are stored in a sequential order based on a primary key. An Alternate Index allows for an additional key to be defined for the same data set, providing an alternative way to access and retrieve records. This can be useful when there is a need to access the data set using a different key other than the primary key. Therefore, the correct answer is KSDS.

Submit
5. If a new model is created for every new GDG                                 it should have the same name as the GDG           

Explanation

If a new model is created for every new GDG, it should have the same name as the GDG. This means that each time a new GDG (Generation Data Group) is created, a corresponding model with the same name should also be created. This ensures consistency and organization in managing the GDGs and their associated models.

Submit
6. Directory blocks are ________ Bytes each.              

Explanation

Directory blocks are typically 256 bytes each.

Submit
7. VERIFY can not be used for:            

Explanation

The correct answer is A & B. This means that VERIFY cannot be used for an empty dataset or for LDS (Local Data Store). The VERIFY statement is used to check the validity of conditions in a program. However, it cannot be used when there is no data in the dataset or when working with LDS.

Submit
8. For how long a job can be executed continuously in a mainframe.           

Explanation

The correct answer is 248 days. This suggests that a job can be executed continuously for a period of 248 days on a mainframe system.

Submit
9. Which parameter denotes exclusive control  of the dataset.            

Explanation

The parameter DISP=OLD denotes exclusive control of the dataset. This means that only one program or user can have access to the dataset at a time. If DISP=OLD is specified, any other program or user trying to access the dataset will receive an error message indicating that the dataset is already in use.

Submit
10. How do you access a file that had a disposition of KEEP.             

Explanation

To access a file that had a disposition of KEEP, you can use the vol serial no. This means that you can locate and access the file by specifying the volume serial number where it is stored. This method allows you to directly access the file without needing additional information such as unit number or catalog.

Submit
11. Can you code Instream data in procedure.                              

Explanation

The question asks if it is possible to code Instream data in a procedure. The correct answer is "NO" because Instream data is used to provide input data to a program during execution, and it is typically coded outside of a procedure in the JCL (Job Control Language) or in a separate data file. It is not coded directly within a procedure.

Submit
12.
  1. Default RECORDSIZE for a nonspanned dataset is -
           

Explanation

The correct answer is (4089 4089). This answer indicates that the default record size for a nonspanned dataset is 4089 bytes.

Submit
13. Dataset of different LRECLs  cannot concatenated

Explanation

The statement is false because datasets with different logical record lengths (LRECLs) can be concatenated. Concatenating datasets refers to combining them into a single dataset. While it is important for the LRECLs to be consistent within each individual dataset, it is not a requirement for them to be the same across different datasets being concatenated.

Submit
14. Which of the following REPRO selection parameters can be specified for an LDS?

Explanation

The question is asking which REPRO selection parameters can be specified for an LDS. The options given are FROMKEY, FROMADDRESS, FROMNUMBER, None, and SKIP. The correct answer is None, indicating that no REPRO selection parameters can be specified for an LDS.

Submit
15.
  1. At OPEN, VSAM determines processing options in following order:
               

Explanation

The correct answer is Program, JCL, Catalog. This means that when processing options are determined in VSAM, the program takes precedence over the JCL and the JCL takes precedence over the catalog. This order ensures that any specific options set in the program will be followed, followed by any options set in the JCL, and finally any default options set in the catalog.

Submit
View My Results

Quiz Review Timeline (Updated): Apr 19, 2023 +

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

  • Current Version
  • Apr 19, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Jul 22, 2011
    Quiz Created by
    Anjali Krishna
Cancel
  • All
    All (15)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
What are the types of procedures....
 What are the kinds of job control statements....
How do you skip a particular step in procedure or job....
Alternate Index is a special Type of...
If a new model is created for every new GDG  ...
Directory blocks are ________ Bytes each....
VERIFY can not be used for:...
For how long a job can be executed continuously in a mainframe....
Which parameter denotes exclusive control  of the dataset....
How do you access a file that had a disposition of KEEP....
Can you code Instream data in procedure....
Default RECORDSIZE for a nonspanned dataset is -...
Dataset of different LRECLs  cannot concatenated
Which of the following REPRO selection parameters can be specified for...
At OPEN, VSAM determines processing options in following order:...
Alert!

Advertisement