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
What is the quality process in development?
How can we see the copy book length using file-aid?
Tell me what type of files we can process thru file-aid?
Explain difference between escape(top or bottom) and escape immediate(top or bottom?
What is the difference between read work file 1 and read work file once? Why we are using work file once?
How converted the natural coding for adabas
Explain control variable in online screens?
Explain difference between read work file 1 and read work file once? Why we are using work file once?
Explain the difference between external subroutine and subprogram?
Explain how to move cursor to a particular field when position is not known?
Suppose you are processing an input file in a natural program and you want the program to fail if the file is empty. What command you use in natural to force it to fail?
What is data trace system 2.0 used for?
Tell me can we update with histogram?
How to find occurrence of mu and pe fields in a file?
Explain why do we use file-aid for seqential files?