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
Can you explain control variable in online screens?
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?
Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?
Explain the like inverted list?
How to find occurrence of mu and pe fields in a file?
Explain how many work file we can code in jcl?
What is the difference between escape(top or bottom) and escape immediate(top or bottom?
Tell me can we update with histogram?
Explain how to find occurrence of mu and pe fields in a file?
Explain difference between read work file 1 and read work file once? Why we are using work file once?
Define cobol coding sheet?
Explain adabas basic concepts. Like inverted list, address converter ,data storage?
Explain how to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
Explain the data storage?
Explain what happens when you issue a escape routine in a program? Will there be any compilation /run time erro?