Which of the following equations are correct?

  1. DISP=(,PASS) is equivalent to DISP=(NEW,PASS,KEEP)

  2. DISP=(,,KEEP) is equivalent to DISP=(NEW,DELETE,KEEP)

  3. DISP=(,,CATLG) is equivalent to DISP=(OLD,CATLG,CATLG)

  4. DISP=(OLD,,) is equivalent to DISP=(OLD,KEEP,KEEP)


Correct Option: B,D

AI Explanation

To determine which of the given equations are correct, let's analyze each option one by one:

Option A) DISP=(,PASS) is equivalent to DISP=(NEW,PASS,KEEP) This option is incorrect. In the first equation, DISP=(,PASS), the first parameter is empty, indicating that the dataset is not being changed. However, in the second equation, DISP=(NEW,PASS,KEEP), the first parameter is "NEW", indicating that the dataset is being created or replaced. Therefore, the two equations are not equivalent.

Option B) DISP=(,,KEEP) is equivalent to DISP=(NEW,DELETE,KEEP) This option is correct. In both equations, DISP=(,,KEEP) and DISP=(NEW,DELETE,KEEP), the third parameter is "KEEP", indicating that the dataset is being kept. The first and second parameters are not relevant to whether the equations are equivalent. Therefore, the two equations are equivalent.

Option C) DISP=(,,CATLG) is equivalent to DISP=(OLD,CATLG,CATLG) This option is incorrect. In the first equation, DISP=(,,CATLG), the third parameter is "CATLG", indicating that the dataset is being cataloged. However, in the second equation, DISP=(OLD,CATLG,CATLG), the third parameter is "CATLG" again, indicating that the dataset is being cataloged twice. Therefore, the two equations are not equivalent.

Option D) DISP=(OLD,,) is equivalent to DISP=(OLD,KEEP,KEEP) This option is correct. In both equations, DISP=(OLD,,) and DISP=(OLD,KEEP,KEEP), the first parameter is "OLD", indicating that the dataset is being retained. The second and third parameters are not relevant to whether the equations are equivalent. Therefore, the two equations are equivalent.

Therefore, the correct equations are B) DISP=(,,KEEP) is equivalent to DISP=(NEW,DELETE,KEEP) and D) DISP=(OLD,,) is equivalent to DISP=(OLD,KEEP,KEEP).

Find more quizzes: