Tag: mainframe

Questions Related to mainframe

  1. B37

  2. D37

  3. E37

  4. C37


Correct Option: D
Explanation:

To answer this question, the user needs to know about different types of system errors that can occur due to a lack of available disk space.

Each option refers to a specific system error that can occur due to disk space issues, and the user needs to identify the option that is not an example of an abend generated due to a lack of available disk space.

A. B37: This option is an example of an abend generated due to a lack of available disk space. B37 occurs when the system cannot allocate a new data set due to insufficient space.

B. D37: This option is also an example of an abend generated due to a lack of available disk space. D37 occurs when a job runs out of space in a PDS (Partitioned Data Set) or PDSE (Partitioned Data Set Extended).

C. E37: This option is an example of an abend generated due to a lack of available disk space. E37 occurs when a job runs out of space in an SMS-managed data set.

D. C37: This option is not an example of an abend generated due to a lack of available disk space. C37 occurs when a job or program attempts to access a data set that does not exist.

Therefore, the correct answer is:

The Answer is: D. C37

  1. Add a job step to purge the dataset

  2. Run a job to purge the dataset and run it before the job that creates it

  3. Purge the dataset before running the job that creates it

  4. All of the above


Correct Option: D
  1. 30 minutes

  2. 1440 minutes

  3. 1439 minutes

  4. None of the above


Correct Option: A
  1. JOBLIB or JOBCAT

  2. JES2, JES3 control statements

  3. JOB, Delimiter,Null statements

  4. DD* or Data statements


Correct Option: A,B,C,D

What is the maximum number of exceptions that can be specified with a single 'HANDLE CONDITION' command in CICS?

  1. 14

  2. 15

  3. 16

  4. 17


Correct Option: C

77 CTR PIC S9(4)V99 VALUE -1234.55. What will be the output of the statement DISPLAY CTR?

  1. 1234.55

  2. 12345N

  3. 12345E

  4. None of the above


Correct Option: B

AI Explanation

To answer this question, we need to understand the syntax and format of the DISPLAY statement in COBOL, as well as the data type and picture clause used for the CTR variable.

In COBOL, the DISPLAY statement is used to display the value of a variable on the output device. It does not alter the value of the variable.

The CTR variable has a picture clause of S9(4)V99, which means it is a signed numeric variable with a total length of 6 characters, including 2 decimal places.

The value assigned to CTR is -1234.55.

Therefore, when the statement DISPLAY CTR is executed, the output will be "12345N".

Option A) 1234.55 - This option is incorrect because the DISPLAY statement does not change the value of the variable, and the value of CTR is -1234.55. Option B) 12345N - This option is correct because the DISPLAY statement displays the value of CTR as "12345N" due to the picture clause used for the variable. Option C) 12345E - This option is incorrect because the "E" format is not applicable to the CTR variable. The "E" format is used for floating-point variables, not signed numeric variables. Option D) None of the above - This option is incorrect because option B is the correct answer.

Therefore, the correct answer is B) 12345N.

What are the parameters needed for an IMS call?

  1. DB-PCB

  2. IO-AREA

  3. SSA

  4. All of the above


Correct Option: D
  1. Tells the system what to do with the dataset following normal termination of the step

  2. Describes the status of the dataset

  3. Tells the system what to do with the dataset following abnormal termination of the step

  4. All of the above


Correct Option: D
  1. RECORG parameter

  2. STORCLAS parameter

  3. RECFM parameter

  4. None of the above


Correct Option: C