LOAD_PROCESS

Script Function: Loads a stored data sequence.

Syntax

LOAD_PROCESS (RunID, Key)

Syntax

Description/Format

RunID

The RunID of the task whose stored data sequence should be loaded.
Format: A number without inverted commas, script literal or script variable

Key The internal name under which the data sequence has been stored.
Format: AE name, script literal or script variable

Return Code

The reference to the stored data sequence.

Comments

This script function loads a data sequence that has been stored in the AE database using the script element SAVE_PROCESS and makes this task available. For this purpose, you must indicate the RunID of the activity that has been used to store the data sequence and the term that has been used to store the data sequence in the database (Key). The Key is the return code of the function SAVE_PROCESS.

Stored data sequences can be loaded and used several times by any tasks.

Note that SAVE_PROCESS stores the data sequence but it does not close it. This means that you still need to use the script element CLOSE_PROCESS.

Examples

For detailed examples, see the description of SAVE_PROCESS.

See also:

Script Element Description

:CLOSE_PROCESS

Discards a data sequence within a script.

:PROCESS... :TERM_PROCESS... :ENDPROCESS

The definition of a loop for the line by line processing of a data sequence such as the content of a sequential file or the text result of a command.

CREATE_PROCESS Creates a new data sequence.

GET_PROCESS_LINE

Returns the content of the current line of a data sequence.

SAVE_PROCESS Stores a certain data sequence.

About Scripts

Script Elements - Alphabetical Listing

Script Elements - Ordered by Function