what is static and dynamic call with examples?
Answer Posted / vasanth
But looking at the program we can find if the called
program is static or dynamic by below ways :
If the called program is mentioned as a literal in the main
program , then you can say that it is a static program if
the compiler option is NODYNAM else it is a dynamic
program .If the called program name is mentioned as a
variable in the main program , then it is a dynamic program
irrespective of the compiler option.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How do you create a temporary dataset?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
What are some jcl statements that are not allowed in procedures?
What are hierarchy levels in jcl?
Explain how can the attributes of one sms dataset be copied to another dataset?
When space is allocated for an output dataset, what units can be used?
How to submit jcl through a cobol program?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
How dummy is used in jcl?
What are the 2 types of parameters in dd statement?
How can the disposition of sysout datasets be set for an entire jobstream?
What are the parameter we cannot use in procedure?
Explain the jcl exec statement?
Are there any set of rules for the names of the steps used in a job?