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

Answer Posted / dd

One can not declare/create GDA in an external subroutine,
instaed it can use the GDA that is present in main calling
program.

Subprograms even don't have access to GDA. As they only need
the parameter data area to communicate with the calling program.

If a module of type program(P1) is calling another module of
Program(P2) using Fetch return then P2(the called program
module) can't have GDA defined in it.
But with fetch both can have GDA variables.

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

553


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

576


How to create 1 ddm that fetches 3 adabas files simultaneously?

535


The natural file converted to PDF file if Yes then explain ?

2648


What is a hyperdescriptor? How does it work?

625






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

540


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

553


Explain the data storage?

554


Explain the difference between external subroutine and subprogram?

609


Explain how to find occurrence of mu and pe fields in a file?

495


Explain the address converter?

566


Can you explain control variable in online screens?

554


What is a hyperdescriptor?

522


How converted the natural coding for adabas

2684


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

546