Previous Topic Next topic Print topic


Commarea Storage

Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

The Commarea is an area of your program generated by Online Express that stores data you pass between programs.

Online Express automatically creates a Commarea; you simply specify the size of the largest record that your program can send or receive in the Extra Commarea Bytes field on the Express Generation Options window. To access this window, from the File menu, select Express Generation Options.

When you generate your program, the following code is generated to create a storage area in Commarea.

    SYM2    $PX-CA-COMPUTE-LEN( savekeybytes, sharedbytes)
    CA05    FILLER
            $PX-CA-SETUP

Where:

Alternatively, you can define a Commarea data structure object in your application's Globals folder using the Data Structure Editor. See CA, CA05, and CADS for more information.

Previous Topic Next topic Print topic