Which is the correct syntax of INTOEMPTY Parameter?

  1. IMPORT INFILE(DD1) OUTFILE(DD2) IEMPTY

  2. IMPORT INFILE(DD1) OUTFILE(DD2) INTOEMPTY

  3. IMPORT INFILE(DD1) OUTFILE(DD2) IETY

  4. IMPORT INFILE(DD1) OUTFILE(DD2) EMPTY


Correct Option: A

AI Explanation

To answer this question, we need to understand the syntax for the INTOEMPTY parameter in the given context.

The correct syntax of the INTOEMPTY parameter is:

B. IMPORT INFILE(DD1) OUTFILE(DD2) INTOEMPTY

This option is correct because it uses the keyword "INTOEMPTY" to specify that the data from the input file (DD1) should be imported into the empty output file (DD2).

Option A) IMPORT INFILE(DD1) OUTFILE(DD2) IEMPTY - This option is incorrect because "IEMPTY" is not a valid keyword to specify the INTOEMPTY parameter.

Option C) IMPORT INFILE(DD1) OUTFILE(DD2) IETY - This option is incorrect because "IETY" is not a valid keyword to specify the INTOEMPTY parameter.

Option D) IMPORT INFILE(DD1) OUTFILE(DD2) EMPTY - This option is incorrect because "EMPTY" is not a valid keyword to specify the INTOEMPTY parameter.

Therefore, the correct answer is B) IMPORT INFILE(DD1) OUTFILE(DD2) INTOEMPTY.

Find more quizzes: