Uproc Samples

When a Uproc is created from a Uproc sample, once the user selects the From File… button a list is displayed. This list displays all Uproc samples: default samples and user samples.

Columns:

Select a Uproc sample and click the button:

Creating a Uproc Sample

The user has two options for creating a Uproc sample:

Once user Uproc samples are created, they are listed in DUAS Node Settings> Node Files.

Uproc Sample Variables

Once the user creates a new Uproc from a Uproc sample, Uproc script variables can appear automatically in the Uproc variables. The following syntax must be used in the Uproc script (the line must be commented with REM or #):

To create a Uproc variable of type text and set its default value, use the following syntax:

REM @PARAM <VARIABLE_NAME> TEXT <max_length> [<value>]

To create an Uproc variable of type password and set its default value, use the following syntax:

REM @PARAM <VARIABLE_NAME> PASSWORD <max_length> [<value>]

To create a Uproc variable of type numeric and set its default value, use the following syntax:

REM @PARAM <VARIABLE_NAME> NUMERIC <min> <max> [<value>]

To create a Uproc variable of type date and set its default value, use the following syntax:

REM @PARAM <VARIABLE_NAME> DATE <format> [<value>]

<format> = DD/MM/YYYY or MM/DD/YYYY or YYYY/MM/DD

Variable values must adhere to the formatting specified or the Uproc variable will not be created. On UNIX/Linux, a variable name cannot start with a number (operating system restriction).

Refer to the Dollar Universe Reference Guide for more details on this feature.

On OS400, the Uproc template as400_tempate.clint displays all the technical variables used by the SBMJOB command which submits the batch envelope U_BATCH. Refer to the IBM documentation http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=%2Fcl%2Fsbmjob.htm for the description of these variables.