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
  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
  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.

  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

What CICS command do you need to obtain the user logon-id?

  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

What should be the trigger depth when there are 2 records in the error queue?

  1. 1

  2. 2

  3. 3

  4. 4


Correct Option: C

AI Explanation

To determine the trigger depth when there are 2 records in the error queue, we need to understand what the trigger depth represents.

The trigger depth refers to the number of records in the error queue that will trigger an action or notification. In this case, when there are 2 records in the error queue, we need to determine the trigger depth that will be reached.

Let's go through each option to understand why it is correct or incorrect:

Option A) 1 - This option is incorrect because if the trigger depth is set to 1, it means that only one record in the error queue would be needed to trigger an action or notification. Since there are 2 records in the error queue, this trigger depth would not be reached.

Option B) 2 - This option is incorrect because if the trigger depth is set to 2, it means that two records in the error queue would be needed to trigger an action or notification. Since there are already 2 records in the error queue, this trigger depth would be reached.

Option C) 3 - This option is correct because if the trigger depth is set to 3, it means that three records in the error queue would be needed to trigger an action or notification. Since there are only 2 records in the error queue, this trigger depth would not be reached.

Option D) 4 - This option is incorrect because if the trigger depth is set to 4, it means that four records in the error queue would be needed to trigger an action or notification. Since there are only 2 records in the error queue, this trigger depth would not be reached.

The correct answer is C, as this option represents the trigger depth that would not be reached with 2 records in the error queue.

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
  1. AND OR NOT

  2. NOT AND OR

  3. OR AND NOT

  4. OR NOT AND


Correct Option: B
- Hide questions