Is it possible to declare a GDA for an external subroutine?
Answer Posted / ganesh.b.s
An external subroutine can access the global data area used
by the invoking object(Program, Subprogram)
Moreover, 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. Programs,
Subprograms and Subroutines Programming Guide
In addition, an external subroutine can have its 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 ? | 4 Yes | 6 No |
Post New Answer View All Answers
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?
Explain why do we use file-aid for seqential files?
Explain adabas basic concepts. Like inverted list, address converter ,data storage?
How to find occurrence of mu and pe fields in a file?
Explain how to ftp the natural program to desktop? (From mainframe to pc), is it possible?
How to create 1 ddm that fetches 3 adabas files simultaneously?
Explain how to move cursor to a particular field when position is not known?
Explain how are you going to remove duplicates from the file that is being read?
What is the quality process in development?
Explain difference between read work file 1 and read work file once? Why we are using work file once?
What is the difference between escape(top or bottom) and escape immediate(top or bottom?
Explain difference between escape(top or bottom) and escape immediate(top or bottom?
What is cobol coding sheet?
Tell me can we update with histogram?
What is data trace system 2.0 used for?