BY seeing a program how can we say that it is static call
or dynamic call

Answers were Sorted based on User's Feedback



BY seeing a program how can we say that it is static call or dynamic call..

Answer / in.ameen

If the program name is moved to a WSS variable and then a call
is moved using this variable then its a dynamic call else if
the Call is made directly using the sub program name then its
a static call

Is This Answer Correct ?    16 Yes 0 No

BY seeing a program how can we say that it is static call or dynamic call..

Answer / amit bhomle

Dynamic call is identified by a call variable whereas
static call is identified by the the call literal.In the
program it is idetified as follows:
1)Dynamic call:- If the PGM name is moved to the ws-
variable in cobol and PGM is called using this ws-
variable,then it is called Dynamic call.
Ex:- 01 WS-PGM PIC X(08)
MOVE 'PGM-NAME' TO WS-PGM
CALL WS-PGM
2)Static call:-If the PGM is called directly by using the
PGM name,then it is static call and it is default in COBOL.
Ex:- CALL 'PGM-NAME'

Is This Answer Correct ?    8 Yes 2 No

BY seeing a program how can we say that it is static call or dynamic call..

Answer / shikha

One can differnciate b/w a dynamic and static call by
looking at the load.
Incase of static call the load of the called module is also
included in the load of main program but in case of dynamic
call load of the called module would not be there in main
program load.

Is This Answer Correct ?    6 Yes 0 No

BY seeing a program how can we say that it is static call or dynamic call..

Answer / siddhesh

If you have CALL identifier, it is always a dynamic call.
If you have CALL literal, it may be a static call (NODYNAM)
or dynamic call (DYNAM).

Is This Answer Correct ?    3 Yes 0 No

BY seeing a program how can we say that it is static call or dynamic call..

Answer / khazi shaheen

incase of static call within the main program itself
calling program inlcuded
incase of dynamic call the calling program should be reside
in another member

Is This Answer Correct ?    1 Yes 7 No

Post New Answer

More COBOL Interview Questions

Can we redefine the field of x(200) to less than 200?

0 Answers  


Why did you choose to work with ibm mainframe cobol programming?

0 Answers  


What is difference between COBOL and VS COBOL II?.

1 Answers   Winsol Solutions,


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

0 Answers  


how many bytes does s9(7)COMP-3 field occupies?

6 Answers   ADP,






In file1 have 80 records are like d1,d2,d3......D80. File2 have 1000records are like a1d1,a1d2,a3d3.....Etc. I want matching records in file3 ? Plse tell me the matching logic???I want answer only in cobol ?Not using any tool or jcl?

1 Answers   CSC,


what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include tempary file used for sorting in assign statement?

3 Answers   TCS,


write a program to eliminate duplicate records in a input file and send them to output file.THIS IS IGATE RECENT QUESTIONN.....JUST 1 WEEK BACKKKK...

5 Answers   iGate,


01 x pic s9(8) comp. How will the following value be internally allocated '18787'

4 Answers   Steria,


What is the difference between external and global variables in COBOL?

0 Answers   Winsol Solutions,


Explain how you can characterize tables in cobol?

0 Answers  


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

0 Answers  


Categories