Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.
If you want to use your Commarea to store savekey information, you need to ensure that it can accommodate both the program key and the largest amount of data that the program can receive from another program. You can define a global Commarea size that all programs of the application use as their Commarea size.
- Check the Express Savekey Data dialog box of each program to determine the largest savekey requirement.
- Check the number of bytes of the largest record that your program can receive.
- Add the two largest record sizes of each to determine the largest required record size.
- In a control file or in a user-defined rule, assign the result to the AppMaster Builder variable &TP-USER-LEN. Online Express uses the value of this variable to assign the size of the savekey storage in Commarea. The format of &TP-USER-LEN is:
&TP-USER-LEN = savekeybytes + sharedbytes
Where:
- Savekeybytes is the value of the savekey required bytes from the
For All Savekeys field on the Savekey Data dialog box.
- Sharedbytes is the value of the
Extra Commarea Bytes field on the Express Generation Options dialog box.