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 run batch program without jcl?
What is jcl in mainframe?
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
What are hierarchy levels in jcl?
can any one plzzzzzz tell the jcl code for creating ps using idcams
Explain the function of dd name parameter with a 2 part structure; audit.report?
Is it possible to code instream data in a PROC?
what is use of dcb parameter in dd statement?
Explain about LMQUERY�give a dialog information about a data set
What do you know about jcl?
What is the use of symbol // in jcl?
What are the jcl procedures?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
What is jcl in mainframe, and how many types of jcl statements are there for a job?