The Assign command

The Assign command is used to assign a value to a variable or the contents of shared memory to a Messages variable. With the Assign command, you can assign:

From this window, you can define the following parameters:

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).

Destination

Operator to be initialized. You can view and select from different values by clicking on the arrow icon beside this field. There are several choices available from the arrow icon:

  • Shared Memory, where you can select a Parameter or select Constant.

  • Message,

  • FileName,

  • Parameters,

  • Count, or

  • Resource.

Source

Value to be assigned to a variable. You can view and select from different variables by clicking on the arrow icon beside this field. For the arrow icon, a set of options displays depending on your choice of the Destination:

  • For Shared Memory as the Destination, you can choose Message, Parameters, or Constant. If you select Shared Memory, the name in the Source field is opened as shared memory by that name.

  • For Message as the Destination, you can choose Parameter, Shared Memory, or Constant.

  • For FileName as the Destination, you can choose FileName, Parameters, or Constant.

  • For Parameter as the Destination, you can choose: RunID, Timestamp, SystemJulianDate, Message, FileName, Parameters, Count, or Constant. The Timestamp is printed as Parameter in the form of mm/dd/yyyy_hr:min:sec:mil.

  • For Count as the Destination, you can choose: FileSize, RunID, SystemJulianDate, Parameters, Count, or Constant.

  • For Resource as the Destination, you can choose: Constant.

The SystemJulianDate is the number of elapsed days since the beginning of a particular year. For example, in this usage, the Julian date for the calendar date of 2002-02-28 would be day 59.