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

How do you pass data from a Natural Program to an External
Subroutine? Can it share the LDA of Program as in Internal
Subroutine.

Answer Posted / vinodh kumar

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.
An external subroutine can access the global data area used
by the invoking object.
In addition, an external subroutine can have its own 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 ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how are you going to remove duplicates from the file that is being read?

993


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

1063


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

948


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

953


What is the difference between read(1) and read work file once?

1024


Explain the difference between external subroutine and subprogram?

1212


What is a hyperdescriptor? How does it work?

1098


Explain control variable in online screens?

987


What is cobol coding sheet?

1216


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

992


How to receive data passed through jcl parm parameter in a natural program?

962


Explain adabas basic concepts. Like inverted list, address converter ,data storage?

981


Explain the address converter?

998


Explain how many work file we can code in jcl?

970


Explain the like inverted list?

940