What is the difference between a DYNAMIC and STATIC call in
COBOL?
Answer Posted / pratul singh
The Difference between DYNAMIC and STATIC is that the
STATIC call create a single load library(EXE) both Main
program as well as subprogram while the DYNAMIC call create
separate load library(EXEs) for Main program and subprogram.
STATIC CALL Example:
CALL '<subpg-name' using <argument>
DYNAMIC CALL Example:
01 WS-SUBPG-NAME PIC X(8) VALUE 'AAAAAAAA'
CALL <WS-SUBPG-NAME> USING <argument>
| Is This Answer Correct ? | 9 Yes | 4 No |
Post New Answer View All Answers
Explain about different table spaces.
How do you get the data to code the BMS macro?
how can i see junk values in dclgen or in hostvariable of comp ?
What is the problem of ordered sequential files access?
What are literals?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
How to remove 2 duplicate records and copy only one using job control language?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
Can we redefine the field of x(200) to less than 200?
Write a program to explain size error.
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
Write some characteristics of cobol as means of business language.
Difference between cobol and cobol-ii?
What are 77 levels used for?
What are the access modes of START statement?