wht is the d/f between positional parameter n keyword parameter ?



wht is the d/f between positional parameter n keyword parameter ?..

Answer / ranjith

Positional Parameter: where the position of the parameters
cannot be changed and it has to follow as it is..
eg: let us say a,b,c are the parameters in jobcard

correct: //jobname job a,b,c
incorrect: //jobname job b,a,c
//jobname job a,c,b

Keyword parameter: where the position of the parameters be
changed/or an optional. Can be placed after Positional
parameters, if req.

eg: let us say a,b are positional parameters
c,d are keyword parameters

correct: //jobname job a,b,c,d
//jobname job a,b,d,c

incorrect: //jobname job a,c,b,d
//jobname job c,d,a,b

//jobname job acct-info(PP), 'pgrname'(PP),
// RESTART(KP), TYPRUN(KP), TIME(KP),
// REGION(KP)

Is This Answer Correct ?    22 Yes 2 No

Post New Answer

More JCL Interview Questions

what is the use of temporary files?

5 Answers   Hexaware,


I have two files each contains 10 records. I would like to copy both files into one output file but in alternate sequence. for e.g. first record from file1 then record 2 from file2.....

3 Answers   RBS,


Hi, can any one tell about " How do u eliminate the duplicates "

2 Answers   Cap Gemini,


What is DISP= (NEW,PASS,DELETE)?

3 Answers   HCL,


i have 10,000 records in one input file.i want to sort 1 to 5000 records in one outputfile and remaining records sort in another output file write the syntax for this?

4 Answers   DELL,






What is NOTCAT ?

0 Answers  


WORKING-STORAGE SECTION. 1 GROUP-ITEM. 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50. 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP. PROCEDURE DIVISION. MOVE ZERO TO GROUP-ITEM. ADD 50 TO AMOUNT-1. DISPLAY AMOUNT-1. STOP RUN.

1 Answers  


how to resolve the soc4 error?

5 Answers   ITC Infotech,


What is the use of ikjeft1b utility in jcl?

1 Answers  


What is the purpose of dd * statement in jcl?

0 Answers  


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

0 Answers  


What is timing concept in mainframe?

0 Answers  


Categories