Format of EXPORT Command

  1. INFILE(ddname) | OUTDATASET(dsname)

  2. OUTFILE(ddname)| INDATASET(dsname)

  3. INFILE(ddname) | INDATASET(dsname)

  4. OUTFILE(ddname)| OUTDATASET(dsname)


Correct Option: D

AI Explanation

To answer this question, we need to understand the format of the EXPORT command.

The correct format of the EXPORT command is:

D. OUTFILE(ddname) | OUTDATASET(dsname)

This option is correct because it specifies the correct syntax for the EXPORT command. The keyword "OUTFILE" is used to specify the output file or dataset name, followed by the name assigned to the file or dataset (ddname or dsname). The vertical bar (|) is used to separate the parameters.

Option A) INFILE(ddname) | OUTDATASET(dsname) - This option is incorrect because it uses the keyword "INFILE" instead of "OUTFILE". The "INFILE" keyword is used to specify the input file or dataset, not the output.

Option B) OUTFILE(ddname) | INDATASET(dsname) - This option is incorrect because it uses the keyword "INDATASET" instead of "OUTDATASET". The "INDATASET" keyword is not a valid keyword for the EXPORT command.

Option C) INFILE(ddname) | INDATASET(dsname) - This option is incorrect because it uses both "INFILE" and "INDATASET" keywords, which are not valid for the EXPORT command.

The correct answer is option D) OUTFILE(ddname) | OUTDATASET(dsname) because it correctly represents the format of the EXPORT command.

Find more quizzes: