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
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
which utility is used to run a cobol-db2 program?
How do you access an uncatalogued dataset in a jcl?
Does jcl support automatic restart?
What is jcl in mainframe?
what sort card you will use to copy the data from one dataset to another dataset?
What is the format of comment statement?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
what is the compile process of cobol program expalin with code
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
How can unused space allocation be returned to the system when a dataset is closed?
when can a job time-out occur? How to overcome that?
Explain how can an in-stream dataset be terminated?
How can an in-stream dataset be terminated?