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 are the different rules to perform a Search?

1098


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

2011


how do you reference the fixed unblock file formats from cobol programs

1240


Write the code implementing the perform … varying.

1075


What is a report item?

1144


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

2432


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3263


how to refer the data field?

2279


Difference between array and sub-script ?

1667


how do you reference the ksds vsam file formats from cobol programs

1193


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

2079


Which division and paragraphs are mandatory for a COBOL program?

1278


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1123


Name the sections present in data division.

1248


Write down the divisions of cobol program?

1258