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

What is the function of the steplib dd statement?

822


what is the difference between JES3 and JES2?

780


what is the JCL statement consists of?

787


Is it possible to left uncode disp?

800


What does a disposition of (MOD,DELETE,DELETE) mean ?

762






What is the function of the dd avgrec keyword in sms datasets?

933


What is the purpose of dd * statement in jcl?

899


which parameter is used to check the syntax of a jcl without executing it?

900


how to do automated restart when a job abends?

956


what is SOC4 error?

825


what are the types of abends that occur on job failure? And explain the possible causes of these

1216


What is job control language?

700


Which dd parameters are required?

801


What is the significance of addrspc parameter in exec statement?

813


What are the rules employed while naming the steps in a job?

778