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

Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You

2261


What are the difference between jcl and jes?

1048


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

858


How do you create a temporary dataset?

660


what are JCLLIB and STEPLIB in JCL?

671






what is use of dsn parameter in dd statement?

667


Is it possible to code instream data in a PROC?

748


a dd statement has 2 types of parameters. Name them?

644


hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

1661


I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK

1485


What is the format of comment statement?

662


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1346


List the various advantages of using jcl language?

850


How can the attributes of one sms dataset be copied to another dataset?

848


Can I send output of job to my remote device careerride123?

663