//INDD DD DSN=XXXX.XXXX.INPUT,DISP=SHR,UNIT=SYSDA //OUTDD DD DSN=XXXX.XXXX.OUTPUT,DISP=(NEW,CATLG), //INDD DD DSN=XXXX.XXXX.INPUT,DISP=SHR,UNIT=SYSDA //OUTDD DD DSN=XXXX.XXXX.OUTPUT,DISP=(NEW,CATLG), // _________________ To use the same unit, that has been used by a prior DD Statement,

  1. UNIT=INDD

  2. UNIT=*=INDD

  3. UNIT=AFF=INDD

  4. UNIT=AFF*INDD


Correct Option: C
Explanation:

To solve this question, the user needs to know the syntax of DD statements and the purpose of the UNIT parameter.

The correct option to use the same unit that has been used by a prior DD statement is option C.

Explanation of each option:

A. UNIT=INDD: This option specifies a specific device name, INDD, to be used for the DD statement. However, it does not ensure that the same device used in the prior DD statement is used.

B. UNIT==INDD: This option specifies that the same device name used in the previous DD statement should be used, indicated by the asterisk (), but it is not a valid syntax.

C. UNIT=AFF=INDD: This option specifies that the device name specified in a previous DD statement with the same DDNAME should be used for this DD statement. The AFF parameter indicates that the same device affinity should be used, ensuring that the same physical device is used. This is the correct option to use the same unit that has been used by a prior DD statement.

D. UNIT=AFF*INDD: This option is not a valid syntax. The AFF parameter requires a specific DDNAME to be specified, not an asterisk.

Therefore, the answer is: C. UNIT=AFF=INDD

Find more quizzes: