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 function of the dd dcb keyword?

0 Answers  


Can I copy the FB (fixed Block) record length file to a VB (variable Block)record length file and Vise Versa? If Yes then how ? is that thru one of the JCL utility ?

3 Answers  


if we give TIME=0 how many sec that job/step

13 Answers  


In all our JOB Statement we have always COND=(4,LT) defined. Nevertheless when a Job failed the last step should then be executed (send a message to an user). Due to we don't like to change all our JOB's (ca. 2000), we are looking for a simply solution.

4 Answers  


How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?

0 Answers  


Is Default for MSGCLASS = (1,1) ?

2 Answers   IBM,


describe the exec statement,its meaning ,syntax and keywords?

3 Answers  


shall we concordinate two different length dataset in to a new date set.

6 Answers  


Explain about LMGET�read a logical record from a data set

1 Answers  


Max. No of DD statements in a job ?

4 Answers   CSI,


how to resolve sb37,sd37 se37 abends

3 Answers   Keane India Ltd,


can u explain gdg with example wht happens if we give limit,empty,noempty,scartch and no scartch

1 Answers   IBM,


Categories