Previous Topic: Premap ProcessNext Topic: Sample CA ADS Function


Procedure Invocation

The GET_PROC_AREA invocation is given below. The first example illustrates writing to the global area:

CALL DEFJE01.GET_PROC_AREA ('HELLO FROM ADS DIALOG');
*+
*+ IN_AREA                     GLOBAL_AREA
*+ -------                     -----------
*+ WRITING TO GLOBAL AREA      HELLO FROM ADS DIALOG
*+
*+ 1 row processed

The second example illustrates reading from the global area:

CALL DEFJE01.GET_PROC_AREA ();
*+
*+ IN_AREA                     GLOBAL_AREA
*+ -------                     -----------
*+ READING FROM GLOBAL_AREA    HELLO FROM ADS DIALOG
*+
*+ 1 row processed