What is the difference between static call & Dynamic call ?
Answer Posted / shankar v
when you know the program name to be called, you go for
STATIC call saying,
CALL 'PROGA'
when you dont know the program upfront while coding the
program you go for DYNAMIC call,
CALL WS_PROG (this is a working storage variable for which
the value will be passed to it during the execution of the
program.
And also a major difference between these 2 is the DYNAM
(FOR DYNAMIC CALL )& NODYNAM (FOR STATIC CALL) option on
the jcl. This is the factor which decides whether a call is
dynamic or static.
| Is This Answer Correct ? | 9 Yes | 5 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.
In job processing, what happens in execution stage?
How jcl is used for testing batch programs?
What is timing concept in mainframe?
Brief description of inline procedure of jcl.
How would you understand error(execution phase)?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
Explain the jcl exec statement?
How to alter the parameters for the existing gdg?
What do you understand by the term job time – out and how can you overcome that?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
what is the difference between JES3 and JES2?
Explain the job statement in jcl?
For what purpose steplib and joblib are used ?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?