Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

what happens in conversion stage in job processing?

1272


What is the difference between run mode and addressing mode?

1304


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

1266


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

1339


Can an individual step be restricted from using all the jobs allowed cpu time?

1600


how JCL works?

1323


what is DSN in JCL and what are the parameters to declare the DSN?

1247


How can return codes be tested before execution of a job step?

1531


is there any way to execute more than one proc in the same exec statement at the same time..?

2673


What are the difference between jcl and jes?

1657


What do you understand by the term notcat 2 – gs?

1292


i want to store 20 digits . how will u do it in cobol ?

1488


What is notcat 2 - gs?

1512


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.

2669


how you will the direct the data to spool using sysout option?

2472