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

how do u indetify files succesfully executed or not ?

4 Answers   TCS,


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

0 Answers   Valtech,


what is the difference between Plan & package?

1 Answers   IBM,


where will u code file status ?

2 Answers   TCS,


How much salary you are expecting? If they ask in an interview, what we have to tell?

6 Answers   Tech Mahindra, Wipro,






I have the requirement to compare the two files and pick up the matching records. File 1. file2 23 32 32 13 34 15 35 36 36 35 43 Get the matching records from this 2 files to out file. how you will do this in cobol program?

15 Answers   ADP, Broadridge, CTS, HSBC, L&T, RBS, TCS,


Explain complete concept of table handling in COBOL with an example?

2 Answers   IBM, TCS, Wipro,


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

1 Answers   Syntel,


DATAONLY, MAPONLY functionality?

1 Answers   IBM,


hi dudes.....can any one help me..... what is SET TO TRUE all about,anyway?

1 Answers  


how do you reference the variable block file formats from cobol programs

0 Answers  


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

0 Answers   Steria,


Categories