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...

Is it possible to declare a GDA for an external subroutine?

Answer Posted / ganesh.b.s

An external subroutine can access the global data area used
by the invoking object(Program, Subprogram)
Moreover, parameters can be passed with the PERFORM
statement from the invoking object to the external
subroutine. These parameters must be defined either in the
DEFINE DATA PARAMETER statement of the subroutine, or in a
parameter data area used by the subroutine. Programs,
Subprograms and Subroutines Programming Guide
In addition, an external subroutine can have its local data
area, in which the fields that are to be used only within
the subroutine are defined.
However, an external subroutine cannot have its own global
data area.

Is This Answer Correct ?    4 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how to move cursor to a particular field when position is not known?

992


Explain the difference between external subroutine and subprogram?

1220


Explain the data storage?

991


Explain control variable in online screens?

994


Explain why do we use file-aid for seqential files?

1067


Explain difference between escape(top or bottom) and escape immediate(top or bottom?

1183


Explain how to ftp the natural program to desktop? (From mainframe to pc), is it possible?

1056


Tell me can we update with histogram?

1137


Explain how many work file we can code in jcl?

974


What is a hyperdescriptor?

932


Explain the like inverted list?

946


Explain the address converter?

1000


What is data trace system 2.0 used for?

5638


How converted the natural coding for adabas

3267


Tell me what type of files we can process thru file-aid?

930