Mainframe COBOL and CICS Programming Quiz
Test your knowledge of mainframe computing including COBOL programming fundamentals, CICS transaction processing, and WebSphere MQ queue management.
Questions
cemt set is used to _____ ?
- set the performance parameters
- update the status of cics environment
- None of the above
- Both the above
cemt inq is used to _____ ?
- a) interrupt the status of cics environment
- b) inquire the status of the cics environment
- c) Both (a) and (b)
- d) Neither (a) nor (b)
In an on-line environment, how can you prevent more than one user from accessing the same Transient Data Queue at the same time?
- By issuing an EXEC CICS ENQ against the resource.
- By issuing an EXEC CICS EQN against the resource.
- By issuing an EXEC CICS DEQ against the resource.
- By issuing an EXEC CICS DQE against the resource.
- By issuing an EXEC CICS TDQ against the resource.
What is the command to clear the transaction log?
- tjmr tdq trnx-name
- trjm tdq trnx-name
- tmrj tdq trnx-name
- tjrm tdq trnx-name
- All the above
What CICS command do you need to obtain the user logon-id?
- (a) EXEC CICS ASSIGN with the OPERID option
- (b) EXEC CICS ASSIGN with the USERID option
- (c) EXEC CICS ASSIGN with the GRPID option
- (d) Both (a) and (b)
- (e) None of the above
An asynchronous queue is a queue which waits for a response
- True
- False
What is the CICS command to check if the transaction related to the datagram queue is enabled?
- CEMT I TRAN
- CECI I TRAN
- CEDF I TRAN
- CEMT TRAN
What is the CICS transaction to view the contents of the Input and reply queues between Mainframes and Java?
- S340
- S360
- S330
- S350
What should be the trigger depth when there are 2 records in the error queue?
- 1
- 2
- 3
- 4
Omegamon is used to see how the resources are loaded. The resources include :
- CICS
- DB2
- MVS
- All of the above
Which queue triggers a transaction when the threshold limit of records in the queue is reached?
- Input queue
- Output queue
- Reply queue
- Datagram queue
A backout queue is populated with the erroneous records found in the datagram queue
- True
- False
Which GET when performed on a queue deletes the records in the queue and creates a backup?
- MQGETS
- MQGETD
- MQGETM
- MQGET
It is possible to check the Transaction Id and the CICS region associated with the queue
- True
- False
The hierarchy of the execution of logical operators is
- AND OR NOT
- NOT AND OR
- OR AND NOT
- OR NOT AND
The minimum number of lines a Cobol program should have to successfully compile and run
- 2
- 3
- 4
- 5
The maximum number of dimensions that an array can have in COBOL-85 is ?
- 6
- 5
- 8
- 7
Consider the following COBOL entries: 05 X PIC 99 VALUE 10. SUBTRACT 20 FROM X. The resultant value of X wil be
- Run time error
- Compilation error
- 10
- -10
File status when attempted to write to a file that has been opened for input.
- 42
- 16
- 6
- 32
Which of the following is NOT a valid symbol to use in an IF condition
- =
- = <
- >
- = >