Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

I try to use some column names in my cobol progorm but these column not in db2 table ..when do i get error ..while bind time or runtime?

2 Answers  


If a sub program is called from mainprogram.I have opened cursor in main program and Fetch the result in subprogram ,Is it possible ?If yes please tell me the reason.

1 Answers  


What is the maximum data length for Numeric DataType ?

3 Answers   Cap Gemini,


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

0 Answers   IBM,


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

0 Answers  


I have a table with 3 dimensions like this : 01 ws-table 04 ws-page occurs 3 08 ws-column occurs 2. 12 ws-record occurs 20 pic x(40). How to code with PERFORM varying with 3 dimension...I forgot..

2 Answers   EDS,


How do get the result of your program directly on your pc?

0 Answers   UST,


How to execute a set of JCL statements from a COBOL program?

2 Answers   Patni, Syntel,


When we code these comp,comp1,comp-2,comp-3 and comp4 values. I know the differnece.I mean when we will prefer if it is new program.Explain in detail with memory examples. Thanks in advance.

1 Answers   CTS,


in a indexed file what is procedure for read the records from 12 to 18. please give the code example

2 Answers   L&T,


study the data discriptions and answer the questions given below i)01 ORDER RECORD 05 OUT-HEADER PIC X(50) 05 ITEM-COUNT PIC 99 05 OUT-ITEM PIC X(20) OCCURS 1 TO 20 DEPENDING ON ITEM-COUNT ii)01 NAME-AND-ADDRESS 05 N-AND-A-LINE OCCURES 5 05 LINE-LENGTH PIC P9 05 N-AND-A-CHAR PIC X OCCURS 1 TO 20 DEPENDING ON LINE-LENGTH iii)01 SALES-LIST 05 SALESMAN-COUNT PIC 99 05 SALES PIC 9(6) OCCURS 1 TO 100 DEPENDING ON SALESMAN-COUNT iv)01 ORDER-RECORD 05 NO-OF-BRANDS PIC 99 05 BRAND-PURCHASED OCCURS 1 TO 15 DEPENDING ON NO-OF-BRANDS which of the following is true? a.i) and iii) are valid b.i) and iv) are valid c.i) and iii) are not valid d.all are valid

4 Answers   TCS,


Difference between file status codes 02 and 22.... since both are for duplicate key detection.

1 Answers  


Categories