0

mainframe Online Quiz - 74

Description: mainframe Online Quiz - 74
Number of Questions: 20
Created by:
Tags: mainframe
Attempted 0/20 Correct 0 Score 0

cemt set is used to _____ ?

  1. set the performance parameters

  2. update the status of cics environment

  3. None of the above

  4. Both the above


Correct Option: B

cemt inq is used to _____ ?

  1. a) interrupt the status of cics environment

  2. b) inquire the status of the cics environment

  3. c) Both (a) and (b)

  4. d) Neither (a) nor (b)


Correct Option: 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?

  1. By issuing an EXEC CICS ENQ against the resource.

  2. By issuing an EXEC CICS EQN against the resource.

  3. By issuing an EXEC CICS DEQ against the resource.

  4. By issuing an EXEC CICS DQE against the resource.

  5. By issuing an EXEC CICS TDQ against the resource.


Correct Option: A
Explanation:

To answer this question, the user needs to know about Transient Data Queues (TDQs) and how to prevent multiple users from accessing the same TDQ at the same time.

Option A: By issuing an EXEC CICS ENQ against the resource. This option is correct because an ENQ command is used to obtain a lock on a resource, such as a TDQ, to prevent other transactions from accessing it simultaneously. By issuing an ENQ command against the TDQ, a lock is obtained, and other transactions are blocked from accessing the same TDQ until the lock is released with a DEQ command.

Option B: By issuing an EXEC CICS EQN against the resource. This option is incorrect because there is no such command as EQN in CICS.

Option C: By issuing an EXEC CICS DEQ against the resource. This option is partially correct because a DEQ command is used to release a lock on a resource, such as a TDQ, after it has been obtained with an ENQ command. However, it does not prevent multiple users from accessing the same TDQ at the same time.

Option D: By issuing an EXEC CICS DQE against the resource. This option is incorrect because there is no such command as DQE in CICS.

Option E: By issuing an EXEC CICS TDQ against the resource. This option is incorrect because a TDQ command is used to read from or write to a TDQ, but it does not prevent multiple users from accessing the same TDQ at the same time.

Therefore, the correct answer is:

The Answer is: A. By issuing an EXEC CICS ENQ against the resource.

What is the command to clear the transaction log?

  1. tjmr tdq trnx-name

  2. trjm tdq trnx-name

  3. tmrj tdq trnx-name

  4. tjrm tdq trnx-name

  5. All the above


Correct Option: D
  1. (a) EXEC CICS ASSIGN with the OPERID option

  2. (b) EXEC CICS ASSIGN with the USERID option

  3. (c) EXEC CICS ASSIGN with the GRPID option

  4. (d) Both (a) and (b)

  5. (e) None of the above


Correct Option: A

An asynchronous queue is a queue which waits for a response

  1. True

  2. False


Correct Option: B

What is the CICS command to check if the transaction related to the datagram queue is enabled?

  1. CEMT I TRAN

  2. CECI I TRAN

  3. CEDF I TRAN

  4. CEMT TRAN


Correct Option: A

What is the CICS transaction to view the contents of the Input and reply queues between Mainframes and Java?

  1. S340

  2. S360

  3. S330

  4. S350


Correct Option: C

Omegamon is used to see how the resources are loaded. The resources include :

  1. CICS

  2. DB2

  3. MVS

  4. All of the above


Correct Option: D

Which queue triggers a transaction when the threshold limit of records in the queue is reached?

  1. Input queue

  2. Output queue

  3. Reply queue

  4. Datagram queue


Correct Option: D

A backout queue is populated with the erroneous records found in the datagram queue

  1. True

  2. False


Correct Option: A

Which GET when performed on a queue deletes the records in the queue and creates a backup?

  1. MQGETS

  2. MQGETD

  3. MQGETM

  4. MQGET


Correct Option: B

It is possible to check the Transaction Id and the CICS region associated with the queue

  1. True

  2. False


Correct Option: A

The hierarchy of the execution of logical operators is

  1. AND OR NOT

  2. NOT AND OR

  3. OR AND NOT

  4. OR NOT AND


Correct Option: B

The minimum number of lines a Cobol program should have to successfully compile and run

  1. 2

  2. 3

  3. 4

  4. 5


Correct Option: A

The maximum number of dimensions that an array can have in COBOL-85 is ?

  1. 6

  2. 5

  3. 8

  4. 7


Correct Option: D

Consider the following COBOL entries: 05 X PIC 99 VALUE 10. SUBTRACT 20 FROM X. The resultant value of X wil be

  1. Run time error

  2. Compilation error

  3. 10

  4. -10


Correct Option: C

File status when attempted to write to a file that has been opened for input.

  1. 42

  2. 16

  3. 6

  4. 32


Correct Option: C

Which of the following is NOT a valid symbol to use in an IF condition

  1. =

  2. =

  3. >

  4. = >


Correct Option: D
- Hide questions