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:
Name
Uproc sample name; all default and user samples must have a .clint file extension.
Type
Uproc sample type: Default samples are non-modifiable. They are located in the Dollar Universe /bin/clints subdirectory. User samples are created by the user and must be saved in the Dollar Universe /data/nodefiles subdirectory with a .clint extension.
Select a Uproc sample and click the button:
Preview Sample
To bring up the Choose Action window. The user can select which application to open or launch the Uproc sample file with. If a Uproc sample is opened through the Preview Sample option, it is non-modifiable.
OK
To import this Uproc sample and its variables in the current Uproc.
The user has two options for creating a Uproc sample:
Create a script and save it as a text file. Then modify the file extension to .clint.
Using Univiewer Console, go to Administration mode>nodes>nodes. Select the DUAS Node Settings>Node files category.
Click on Add in the toolbar, select your script file and click Save.
Copy a default Uproc sample from the bin/clints subdirectory of the Dollar Universe node, paste it into the data/nodefiles subdirectory and edit the script.
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.