1.
For how long a job can be executed continuously in a mainframe.
Correct Answer
A. 248 days
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.
2.
Which parameter denotes exclusive control of the dataset.
Correct Answer
A. DISP=OLD
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.
3.
What are the kinds of job control statements.
Correct Answer
D. ALL
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.
4.
Can you code Instream data in procedure.
Correct Answer
B. NO
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.
5.
How do you access a file that had a disposition of KEEP.
Correct Answer
A. By vol serial no.
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.
6.
Directory blocks are ________ Bytes each.
Correct Answer
A. 256
Explanation
Directory blocks are typically 256 bytes each.
7.
How do you skip a particular step in procedure or job.
Correct Answer
A. COND
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.
8.
What are the types of procedures.
Correct Answer
D. a AND b
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.
9.
Dataset of different LRECLs cannot concatenated
Correct Answer
B. False
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.
10.
If a new model is created for every new GDG
it should have the same name as the GDG
Correct Answer
A. True
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.
11.
-
Default RECORDSIZE for a nonspanned dataset is -
Correct Answer
D. (4089 4089)
Explanation
The correct answer is (4089 4089). This answer indicates that the default record size for a nonspanned dataset is 4089 bytes.
12.
-
At OPEN, VSAM determines processing options in following order:
Correct Answer
B. Program, JCL, Catalog
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.
13.
Alternate Index is a special Type of
Correct Answer
A. KSDS
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.
14.
VERIFY can not be used for:
Correct Answer
C. A & B
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.
15.
Which of the following REPRO selection parameters can be specified for an LDS?
Correct Answer
D. None
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.