![]() Task Definition |
![]() DEVELOPER |
![]() |
The files VIPRT01 to VIPRT04 are used to define Task processes.
Please note that when attributes are changed on the files VIPRT01, VIPRT02 or VIPRT03, the developer must also clear the creation date and time attributes on VIPRT01.
Header File – VIPRT01
VIPRT01 is defined as follows:
Seq |
Type |
Variable |
Len |
Dim |
Description |
001 |
AK |
@JOBNAME |
32 |
|
Task name |
002 |
A |
@TSKTYPE |
1 |
|
Task List Type: Contains (F)unctions or (T)asks |
003 |
A |
@TSKFUNCTTYP |
1 |
|
Function Types: Set to 'S' if it contains any Screen functions |
004 |
A |
@TSKLISTTYP |
1 |
|
Task List is (I)nclusive or (E)xclusive |
005 |
A |
@TSKSTART |
32 |
|
Name of the Start function in this Task |
006 |
A |
@TSKEXIT |
32 |
|
Name of the Exit function in this Task |
007 |
A |
@TSKERREX |
32 |
|
Name of the Error function in this Task |
008 |
N |
@TASKDATE |
6 |
|
Task creation date |
009 |
A |
@TASKTIME |
6 |
|
Task creation time |
010 |
A |
@TSKXMLTAG |
32 |
|
Task XML tag |
011 |
A |
@TSKDESC |
70 |
|
Task description |
Inclusion/Exclusion List of Functions or Tasks – VIPRT02
VIPRT02 is defined as follows:
Seq |
Type |
Variable |
Len |
Dim |
Description |
001 |
AK |
@JOBNAME |
32 |
|
Task name |
002 |
AK |
@TSKFNCSQ |
3 |
|
Task List Sequence Number |
003 |
A |
@TSKFUNC |
32 |
|
Function or Task name |
Task Parameters – VIPRT03
VIPRT03 is defined as follows:
Seq |
Type |
Variable |
Len |
Dim |
Description |
001 |
AK |
@JOBNAME |
32 |
|
Task name |
002 |
AK |
@PRMSEQ |
3 |
|
Task Parameter Sequence Number |
003 |
A |
@PRMVAR |
32 |
|
Task Parameter Variable Name |
004 |
A |
@PRM_IO |
1 |
|
Task Parameter Type: (I)n,(O)ut,(B)oth or (G)lobal |
005 |
A |
@PRM_TYPE |
1 |
|
Task Parameter Variable Type: (A)lpha,(N)umeric,(W)ide or (L)ong |
006 |
N |
@PRM_VAR_LEN |
4 |
|
Task Parameter Variable Length |
007 |
N |
@PRM_ARRAY_SZ |
3 |
|
Task Parameter Variable Dimension (Number of Elements in Array) |
008 |
A |
@PRM_MSG |
74 |
|
Task Parameter description |
When variables are added or maintained to the Task Parameters in PROIV Developer, they are also written to the Dictionary file, VIPBM31 to provide default values the next time they are used. It is recommended that this file is also updated when the @PRMVAR attribute is altered, but it is not a requirement to do so.
Task Description – VIPRT04
VIPRT04 is defined as follows:
Seq |
Type |
Variable |
Len |
Dim |
Description |
001 |
AK |
@JOBNAME |
32 |
|
Task name |
002 |
AK |
@JOBSEQ |
3 |
|
Task Description Sequence Number |
003 |
A |
@JOBTXT |
70 |
|
Task description text |
Task Variable Dictionary Definitions – VIPBM31
VIPBM31 provides a basic dictionary of task variables with their default type, size and description.
Maintenance of this file is optional. The variable’s defaults are used by the Task Maintenance window in PROIV Developer.
VIPBM31 is defined as follows:
Seq |
Type |
Variable |
Len |
Dim |
Description |
001 |
AK |
@TASKVNM |
32 |
|
Task variable name |
002 |
A |
@TASKDT |
1 |
|
Data type of Task variable |
003 |
N |
@TASKVMX |
4 |
|
Maximum length of data held in Task variable |
004 |
N |
@TASKDIM |
4 |
|
Dimension (# of entries) of Table field |
005 |
A |
@TASKMSG |
74 |
|
Default Help message of the Task variable when displayed in a screen |
Topic ID: 500666