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
Explain how can a stopped job be started again?
What dd statement is used to supply the name of a dataset?
In sms datasets, what is the function of the dd mgmtclas keyword?
What is the function of //cntl statement?
Is their any set of rules for dd? Explain.
What does a disposition of (new,catlg,keep) for a dsn mean?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
Is automatic restart possible in jcl? If yes, how?
What is the purpose of the dd keylen parameter?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
What is the function of //jcllib statement?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
What do you understand by the term notcat 2 – gs?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?