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 multithreading in jcl?

0 Answers  


I have two input SORTIN files and We need to create one SORTOUT file which contains data of both input files. What is the SortCard for this?. Suppose the length of the both files are different, then How we do it? Please reply ASAP

4 Answers   CSC,


What is the function of the steplib dd statement?

0 Answers  


what operation is performed by job statement?

0 Answers   IBM,


how can i use the parameters decalred in main pgm in sub pgm

2 Answers   TCS,






wht happens if cond=true ? pls give me with an example ?

2 Answers   Syntel,


What is Backward Referencing ?

3 Answers   HSBC,


how many members can be created inside a single pds?

8 Answers  


Definition of COND parameter in JCL

5 Answers   TCS,


once we submitted the job to the operating system, how can we cancel the job before execution?

2 Answers  


HOW TO CONVERT VARIABLE BLOCK TO FIXED BLOCK ?

1 Answers   IBM,


when we use sysprint and sysout statements

3 Answers  


Categories