wht is the d/f between positional parameter n keyword parameter ?
Answer Posted / 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 View All Answers
what happens in conversion stage in job processing?
What is the difference between run mode and addressing mode?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
Can an individual step be restricted from using all the jobs allowed cpu time?
how JCL works?
what is DSN in JCL and what are the parameters to declare the DSN?
How can return codes be tested before execution of a job step?
is there any way to execute more than one proc in the same exec statement at the same time..?
What are the difference between jcl and jes?
What do you understand by the term notcat 2 – gs?
i want to store 20 digits . how will u do it in cobol ?
What is notcat 2 - gs?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
how you will the direct the data to spool using sysout option?