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

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

758


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

679


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

797


Explain how many work file we can code in jcl?

756


What is the difference between escape(top or bottom) and escape immediate(top or bottom?

760


Explain the difference between external subroutine and subprogram?

865


What is the quality process in development?

799


Explain the like inverted list?

728


Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?

779


Explain control variable in online screens?

785


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

821


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

764


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

687


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

713


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

726