The SaveMemory command

The SaveMemory command (formerly SaveSharedMemory in Release 2.8.3) enables EC Gateway to save the contents of the shared memory to a file. This command is backwards compatible with SaveSharedMemory.

With this command, you can append or overwrite the destination file:

You can also generate a script file containing the old save shared memory command, and run the script file against the new wsproces to ensure backwards capability. The following parameters can be defined from this window.

Field

Description

Label

Specifies the unique label of this process command. This label allows other commands to branch to this command. The label that you type here appears in the Label column on the EC Gateway Process Window.

Disable command

Disabling the command will allow temporary modification of the process statements. This allows for testing of the statements for error-free robustness. The command that has been disabled will not show in the script file (.pfs file).

Save to File

Specify the destination file that the shared memory will be saved to. Select from the options: FileName or Constant. Constant allows you to select a file name string.

Memory

Specify the name of the Shared Memory or Message variable to be saved. From Shared Memory, select from the options: Parameters or Constant

Overwrite/Append

Overwrite the contents of the destination file or Append to the contents of the destination file.

Release Memory

Select Yes or No to release memory from the buffer.