The RECFM attribute "_____" is used for fixed-length records in JCL.
- BDW
- FB
- LRECL
- VB
The correct attribute for fixed-length records is "FB" (Fixed Blocked).
When generating data using the IEBDG utility, you can specify the _______ of characters for each generated record.
- Block size
- Dataset name
- Record format
- Record length
The IEBDG utility allows specifying the record length for generated data
What is the typical use case for IEBCOPY when working with datasets?
- Backup and recovery
- Data migration
- Dataset allocation
- Job scheduling
IEBCOPY is commonly used for data migration, allowing datasets to be copied.
When defining LRECL for a dataset, it is crucial to specify the actual _______ length of the records.
- block
- dataset
- logical
- record
LRECL stands for "Logical Record Length," specifying the length of each individual record.
How does the RECFM attribute "FB" differ from "VB" in JCL datasets?
- Blocked records
- Buffered records
- Fixed-length records
- Variable-length records
The "FB" attribute denotes Fixed-Length records, while "VB" denotes Variable-Length records.
The RECFM attribute "VB" is used for _______ records in JCL datasets.
- Blocked
- Fixed
- Unblocked
- Variable
The RECFM attribute "VB" is used for Variable-Length records
In JCL, the BLKSIZE attribute is specified in _______.
- blocks
- bytes
- kilobytes
- records
BLKSIZE specifies the size of the physical blocks in bytes, not kilobytes, records, or blocks.
The IF statement in JCL is used to specify _______ conditions.
- Boolean
- Conditional
- Logical
- Programmatic
The IF statement in JCL is used to specify conditional conditions.
Explain the difference between COND=ONLY and COND=ONLY,ONLY in JCL.
- Both conditions must be met for successful completion
- The first condition is for successful completion only
- The first condition is for successful completion only, twice
- The second condition is for successful completion only, twice
COND=ONLY specifies that the step should be executed only if the return code is zero, while COND=ONLY,ONLY specifies it should be done twice.
You have a JCL job with several job steps, and you want to ensure that a particular step is executed only if the previous step completes successfully. How would you use the PEND statement to achieve this?
- By adding PEND before the dependent step and referencing the preceding step number
- By including PEND after the dependent step and providing the previous step name
- By specifying PEND after the preceding step and indicating the dependent step number
- By using PEND before the preceding step and specifying the dependent step number
The PEND statement is placed after the preceding step, indicating the dependent step number, ensuring execution only if the preceding step is successful.