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
List the different components of jcl statement?
Explain the function of the steplib dd statement?
What do you understand by the term job time – out and how can you overcome that?
Where & How Do You Code Identifier In Jcl?
Explain the function of //jcllib statement?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
Explain the function of dd name parameter with a 2 part structure; audit.report?
How do you overcome this limitation ?
Explain dd statement in jcl?
What is job control language?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?