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?

988


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

1065


Explain difference between read work file 1 and read work file once? Why we are using work file once?

953


What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?

999


Explain what happens when you issue a escape routine in a program? Will there be any compilation /run time erro?

962


What is a hyperdescriptor? How does it work?

1102


Can we see the copy book length using file-aid?

894


How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?

1068


What is the quality process in development?

1078


Tell me can we update with histogram?

1131


What is a hyperdescriptor?

930


Explain difference between read(1) and read work file once?

950


Explain how many work file we can code in jcl?

972


In a Natural program i used the below code for report FORMAT LS=132 PS=60 And down the line I want to change either LS/PS like FORMAT LS=120 PS=50, is it possible? How it will work?

1917


Define cobol coding sheet?

995