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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is inspect in cobol ?

1255


how to convert the recors form vsam file to db2 table tru file aid

3225


What are the different rules to perform a Search?

1055


What are the different rules of SORT operation?

1091


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2543


What is the difference between perform … with test after and perform … with test before?

1382


What is the difference between a binary search and a sequential search what are the pertinent cobol?

1101


How to remove 2 duplicate records and copy only one using job control language?

1183


What is the LINKAGE SECTION used in COBOL?

1480


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

1114


Can a Search can be done on a table with or without Index?

1248


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2402


Can we change the password using ALTER? anyone tried and changed?

1962


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

2238


What are the different data types in cobol?

1347