0

mainframe Online Quiz - 55

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

How can a job send a status message to a TSO user at the completion of a job ?

  1. STATUS

  2. NOTIFY

  3. ENDMSG

  4. USER


Correct Option: B

How can a job send a status message to a TSO user at the completion of a job ?

  1. STATUS

  2. NOTIFY

  3. ENDMSG

  4. USER


Correct Option: B

AI Explanation

To answer this question, we need to understand how a job can send a status message to a TSO (Time Sharing Option) user at the completion of a job.

Option A) STATUS - This option is incorrect. The STATUS command is used to check the status of a job, but it does not send a status message to a TSO user at the completion of a job.

Option B) NOTIFY - This option is correct. The NOTIFY command is used to send a status message to a TSO user at the completion of a job. By specifying NOTIFY=USERID, the job will send a completion message to the specified TSO user.

Option C) ENDMSG - This option is incorrect. The ENDMSG parameter is used to specify the message that is to be displayed at the end of a job, but it does not send a status message to a TSO user.

Option D) USER - This option is incorrect. The USER parameter is used in the JOB statement to specify the user ID for the job, but it does not send a status message to a TSO user.

The correct answer is B) NOTIFY. This option is correct because the NOTIFY command is used to send a status message to a TSO user at the completion of a job.

If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

  1. As the (0) generation

  2. As the (+1) generation

  3. As the (-1) generation

  4. Without the generation number


Correct Option: B

What is the utility to run a COBOL-IMS pgm or COBOL-IMS-DB2 pgm?

  1. DFSUC00

  2. DFSRC00

  3. DFMRC00

  4. DFSQC00


Correct Option: B

What is the DLI function code to restart a program ?

  1. XRST

  2. SYNC

  3. FCHK

  4. CCHK


Correct Option: A

What is the PROCOPT option to use, if you doesn't want IMS to lock the segment?

  1. G

  2. GON

  3. GO

  4. GOT


Correct Option: C

What is the last statement in a COBOL-IMS pgm?

  1. STOP RUN

  2. EXIT

  3. STOP

  4. GO BACK


Correct Option: D

What are the status codes returned: a) If the IMS database is offline b) Program Attempt to insert a segment with a duplicate key

  1. AJ, FW

  2. DJ, FH

  3. FH, II

  4. II, FH


Correct Option: C

What is the function code for condition checkpoint call?

  1. FCHK

  2. CHK

  3. CCHK

  4. CHKK


Correct Option: C

WS-XYZ PIC S9(5) USAGE COMP-3. How many bytes will this occupy?

  1. 2

  2. 3

  3. 4

  4. 5


Correct Option: B

WS-COUNT PIC 9 VALUE 1... PERFORM UNTIL WS-COUNT >= 2 DISPLAY WS-COUNT ADD +1 TO WS-COUNTEND-PERFORMWhat will be the output?

  1. 9

  2. 2

  3. 1

  4. 1, 2


Correct Option: C

01 WS-CHECK PIC X 88 TCS VALUE Y . . . MOVE 'T' TO WS-CHECK IF TCS DISPLAY 'T' ELSE DISPLAY 'X' END-IF What will be the output?

  1. X

  2. Y

  3. T

  4. S


Correct Option: A

01 WS-ABCD PIC X(8) VALUE SPACES . . . INSPECT WS-ABCD TALLYING WS-COUNT FOR ALL SPACES DISPLAY WS-COUNT What will be the output?

  1. 0

  2. 1

  3. 8

  4. 5


Correct Option: C

CALL 'PGMA' USING WS-XYX. Is this a static call or dynamic call?

  1. Always static

  2. Always dynamic

  3. Depends on compiler option

  4. Neither static nor dynamic


Correct Option: C

Maximum number of Job Steps (EXEC) allowed in a Job

  1. 122

  2. 255

  3. 254

  4. Unlimited


Correct Option: B

Maximum numb of DD statements allowed in a JOB

  1. 3273

  2. 3237

  3. 1024

  4. No limit


Correct Option: A

Maximum number of characters that can be passed to a COBOL program throug PARM?

  1. No Limit

  2. 255

  3. 100

  4. 150


Correct Option: C

What is the maximum number of in-stream PROCs allowed in a JCL?

  1. 13

  2. 14

  3. 15

  4. 16


Correct Option: C

What is the maximum number of statements allowed in one PROC?

  1. 1024

  2. 512

  3. 255

  4. No Limit


Correct Option: C

What is the maximum number of lines allowed in one JCL statement?

  1. 126

  2. 255

  3. 512

  4. 1024


Correct Option: A
- Hide questions