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


Please Help Members By Posting Answers For Below Questions

Explain how can a stopped job be started again?

640


What dd statement is used to supply the name of a dataset?

780


In sms datasets, what is the function of the dd mgmtclas keyword?

865


What is the function of //cntl statement?

833


Is their any set of rules for dd? Explain.

664






What does a disposition of (new,catlg,keep) for a dsn mean?

619


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

1975


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

1953


Is automatic restart possible in jcl? If yes, how?

661


What is the purpose of the dd keylen parameter?

727


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.

732


What is the function of //jcllib statement?

814


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?

651


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

759


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 ?

949