Which of the following is not applicable in LIKE parameter?

  1. //TESTJOB JOB (ER456),‘XXXXX‘ //STEP1 EXEC PGM=IEFBR14 //SYSOUT DD SYSOUT=* //OUTPU1 DD DSN=MYLIB.TEST.GDG(+1), //SAMPLE DDDSN=M

  2. //TESTJOB JOB (ER456),‘XXXXX‘ //STEP1 EXEC PGM=IEFBR14 //SYSOUT DD SYSOUT=* //OUTPU1 DD DSN=MYLIB.TEST.GDG(+1), //SAMPLE DDDSN=M

  3. //TESTJOB JOB (ER456),‘XXXXX‘ //STEP1 EXEC PGM=IEFBR14 //SYSOUT DD SYSOUT=* //OUTPU1 DD DSN=MYLIB.TEST.GDG(+1), //SAMPLE DDDSN=M

  4. //TESTJOB JOB (ER456),‘XXXXX‘ //STEP1 EXEC PGM=IEFBR14 //SYSOUT DD SYSOUT=* //OUTPU1 DD DSN=MYLIB.TEST.GDG, //SAMPLE DDDSN=MYLIB


Correct Option: A

AI Explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) //TESTJOB JOB (ER456),‘XXXXX‘ //STEP1 EXEC PGM=IEFBR14 //SYSOUT DD SYSOUT=* //OUTPU1 DD DSN=MYLIB.TEST.GDG(+1), //SAMPLE DDDSN=M Option B) //TESTJOB JOB (ER456),‘XXXXX‘ //STEP1 EXEC PGM=IEFBR14 //SYSOUT DD SYSOUT=* //OUTPU1 DD DSN=MYLIB.TEST.GDG(+1), //SAMPLE DDDSN=M Option C) //TESTJOB JOB (ER456),‘XXXXX‘ //STEP1 EXEC PGM=IEFBR14 //SYSOUT DD SYSOUT=* //OUTPU1 DD DSN=MYLIB.TEST.GDG(+1), //SAMPLE DDDSN=M Option D) //TESTJOB JOB (ER456),‘XXXXX‘ //STEP1 EXEC PGM=IEFBR14 //SYSOUT DD SYSOUT=* //OUTPU1 DD DSN=MYLIB.TEST.GDG, //SAMPLE DDDSN=MYLIB

The LIKE parameter is used in JCL (Job Control Language) to create a new dataset that is similar to an existing dataset. It allows you to specify an existing dataset as a template for creating a new dataset with similar characteristics.

In this case, the correct answer is Option A. The LIKE parameter is not applicable in this option because there is no LIKE parameter specified in the DD statement:

//OUTPU1 DD DSN=MYLIB.TEST.GDG(+1), //SAMPLE DDDSN=M

Therefore, the correct answer is Option A.

Find more quizzes: