IBM Mainframe Technologies Quiz - COBOL, JCL, TPF, Easytrieve
Test your knowledge of IBM mainframe technologies including COBOL programming, JCL job control, TPF system programming, and Easytrieve data processing.
Questions
What all sections are mandatory for an easytrieve program with SORT activity?
- Library, Activity
- Environment, Activity
- Activity
- Environmet, Library
A field in the file defenition of an easytrieve program can be of the following format
- A, N, P, B, U
- A, N, H, B, U
- A, N, D, H, B
- C, N, P, B, U
Which of the file defenition is correct here? A)NAME * 10 A B)NAME +10 10 A C)NAME 10 10 A D)NAME IN-FILE +10 10 A
- A,B,C
- B,C
- B,C,D
- A,B,C,D
"Using a SORT activty, an easytrieve program can sort any file that can not be processed sequentially". is the statement true?
- True
- False
"Even for a single fetch from DB2 table, cursor is required in an easytrieve program.". Is the statement true?
- True
- False
AAA is a volatile record
- True
- False
Control Program in ECB is
- CTRLPGM
- SYSOP
- OPZERO
- SYSPGM
How many data blocks are present in tpf
- 8
- 16
- 12
- 24
Which Register will point to ECB when the program is under execution
- R8
- R12
- R9
- R10
Which Macro describes the layout of the ECB
- WA0AA
- EB0EB
- MI0MI
- CA0CAL
Choose the applicable Block size used in TPF
- 128 byte
- 256 byte
- 1055 byte
- 512 byte
- 381 byte
- 4k byte
Common Block usage for application will impact the system
- True
- False
What is the indicator for no block attached type.
- 0
- 1
- 21
- 31
Process can't be preempted in TPF
- True
- False
AAA expansion
- Actual Assembly Area
- Agent Arrival Area
- Agent Assembly Area
- Actual Assembly Agent
What is the maximum length of a field you can define using COMP-3?
- 10 Bytes
- 12 Bytes
- 14 Bytes
- 16 Bytes
What will happen if you code GO BACK instead of STOP RUN in a stand alone COBOL program i.e. a program which is not calling any other program.
- Nothing, the program will behave normally.
- The program will go in an infinite loop
- The program will not get complied.
- Output files wont be generated.
What is the difference between PIC 9.99 and 9v99?
- PIC 9.99 is a THREE-POSITION field where as PIC 9v99 is FOUR-POSITION numeric field.
- No difference.
- PIC 9.99 is a FOUR-POSITION field where as PIC 9v99 is THREE-POSITION numeric field
- PIC 9.99 takes less space then PIC 9V99.
What is S322 abend ?
- Load Module not found
- Output files not defined in JCL
- DD name is incorrect
- Indicates a time out abend
How can you trap abends in the JCL?
- Use IF ABEND statement in the JCL
- Use COND
- Both a and b
- None