Tag: mainframe

Questions Related to mainframe

  1. Area C

  2. Area AB

  3. Identification area

  4. Modification area


Correct Option: C
  1. Dataset is created if not available

  2. Dataset will deleted on abnormal termination

  3. Dataset will not be deleted on abnormal termination

  4. job will abend if the data is not available


Correct Option: A,C
Explanation:

To understand what a disposition of (MOD,KEEP,) means, the user needs to know about dataset dispositions in mainframe systems.

A dataset disposition is a set of instructions that specifies what should happen to a dataset after a job completes. It can include options such as KEEP, CATLG, or DELETE, which determine whether a dataset should be retained or deleted and whether a catalog entry should be created.

In this case, the disposition of (MOD,KEEP,) means that the dataset should be opened for output in "modify" mode (MOD), which allows existing data to be updated or added to, and should be kept (KEEP) after the job completes, regardless of whether the job ends normally or abnormally.

Now, let's review each option and determine which one is correct:

A. Dataset is created if not available: This option is incorrect because the disposition of (MOD,KEEP,) assumes that the dataset already exists and is being modified. It does not involve creating a new dataset.

B. Dataset will deleted on abnormal termination: This option is incorrect because the disposition of (MOD,KEEP,) explicitly specifies that the dataset should be kept regardless of whether the job ends normally or abnormally.

C. Dataset will not be deleted on abnormal termination: This option is correct. The disposition of (MOD,KEEP,) specifies that the dataset should be kept after the job completes, even if the job ends abnormally.

D. job will abend if the data is not available: This option is incorrect because the disposition of (MOD,KEEP,) assumes that the dataset already exists and is being modified. It does not involve checking for the availability of the dataset.

Therefore, the correct answer is:

The Answer is: C. Dataset will not be deleted on abnormal termination.

  1. DSN=*

  2. DSN=##TEMP

  3. DSN=&&TEMP

  4. By not specifying any DSNAME


Correct Option: C,D
  1. Execute next step even if the current step terminates abnormally.

  2. Execute this step even if any of the previous steps, terminated abnormally.

  3. Execute next step even if the current step terminates normally.

  4. Execute this step even if any of the previous steps, terminated normally.


Correct Option: B
  1. Execute this step only if any of the previous steps terminates normally

  2. Execute this step only if any of the previous steps terminates abnormally

  3. Execute next step only this step terminates abnormally

  4. Execute next step only this step terminates normally


Correct Option: B

What happens if both JOBLIB & STEPLIB is specified ?

  1. STEPLIB will be ignored

  2. JOBLIB will be ignored

  3. Both are referred

  4. JOBLIB overrides the STEPLIB


Correct Option: B
  1. Records will be appended at the end

  2. Records will be overwritten

  3. Dataset will be deleted and records will be written by creating a new file

  4. Job will abend


Correct Option: A