Task Attributes

Task attributes describe and control many aspects of process execution. They apply not only to tasks but also to jobs. The same set of task attributes can be used to describe all processes.

The values of the task attributes can be set or interrogated, thus enabling a process to monitor and control the execution of another process or itself. Task attributes are accessed with task variables. Task variables are explicitly declared in a job, and are associated with a particular task by a task initiation statement.

Two predeclared task variables are provided: MYSELF, which accesses the attributes of the task itself, and MYJOB, which accesses the attributes of the job. These are described in MYJOB and MYSELF Predeclared Task Variables.

Task Attribute Groupings lists the task attributes that are available through WFL, with the task attributes grouped together into several functional categories. Task attributes with a type of task or event are not available through WFL, and thus do not appear in the table.

More detailed information on task attributes and their use, including descriptions of all the task attributes, can be found in the Task Attributes Programming Reference Manual.

Table 1. Task Attribute Groupings

Task Task Attribute WFL Type

Billing

CHARGE

USERCODE

<name task attribute>

<usercode assignment>

Host Services Tasking

HOSTNAME

ITINERARY

Note: The form of the <name> construct that allows 17 EBCDIC characters other than quotation marks (“) is not supported.

<name task attribute>

<string task attribute>

Data Comm

AUTOSWITCHTOMARC

DESTSTATION

DISPLAYONLYTOMCS

LANGUAGE

ORGUNIT

SOURCEKIND

SOURCESTATION

STATION

STATIONNAME

TANKING

<Boolean task attribute>

<integer task attribute>

<Boolean task attribute>

<name task attribute>

<integer task attribute>

<real task attribute>

<real task attribute>

<integer task attribute>

<string task attribute>

<mnemonic task attribute>

Debugging

OPTION

TADS

TASKFILE

<option assignment>

<Boolean task attribute>

<file name task attribute>

Files

CURRENTDIRECTORY

DATABASE

DATAPATH

EXECUTEPATH

FAMILY

FILE

FILEACCESSRULE

OPTION

Notes:
  • FILECARDS is an acceptable synonym for FILE.

  • The AUTORM option is the only option of this attribute that affects disk files.

<string task attribute>

<database equation>

<datapath assignment>

<executepath assignment>

<family assignment>

<file equation>

<mnemonic task attribute>

<option assignment>

Identification

JOBNUMBER

MIXNUMBER

NAME

MPID

WORKLOADGROUP

<integer task attribute>

<integer task attribute>

<title task attribute>

<string task attribute>

<string task attribute>

Interprocess Communication

AX

LOCKED

PARTNEREXISTS

STATUS

SW1 through SW8

TARGET

TASKLIMIT

TASKSTRING

TASKVALUE

TYPE

<string task attribute>

<Boolean task attribute>

<Boolean task attribute>

<mnemonic task attribute>

<Boolean task attribute>

integer task attribute>

<integer task attribute>

<string task attribute>

<real task attribute>

<mnemonic task attribute>

Job Summaries

JOBSUMMARY

JOBSUMMARYTITLE

NOJOBSUMMARYIO

OPTION

Note: The NOSUMMARY option is the only option of this attribute that affects job summaries.

<mnemonic task attribute>

<title task attribute>

<Boolean task attribute>

<option assignment

Libraries

LIBRARY

LIBRARYSTATE

LIBRARYUSERS

<library equation>

<real task attribute>

<integer task attribute>

Memory Management

CORE

STACKLIMIT

STACKSIZE

Note: STACK is an acceptable synonym for STACKSIZE.

<core assignment>

<integer task attribute>

<integer task attribute>

Print Output

BACKUPFAMILY

BDNAME

DESTSTATION

OPTION

PRINTDEFAULTS

TASKFILE

Note: The BACKUP, BDBASE, TODISK, and TOPRINTER options are the only options that affect printer output.

<name task attribute>

<file name task attribute>

<integer task attribute>

<option assignment>

<printdefaults assignment>

<file name task attribute>

Resource Usage Data

ACCUMIOTIME

ACCUMPROCTIME

ELAPSEDTIME

INITPBITCOUNT

INITPBITTIME

OTHERPBITCOUNT

OTHERPBITTIME

TEMPFILEMBYTES

<real task attribute>

<real task attribute>

<real task attribute>

<real task attribute>

<real task attribute>

<real task attribute>

<real task attribute>

<real task attribute>

Resource Usage Limits

ELAPSEDLIMIT

MAXIOTIME

MAXLINES

MAXPROCTIME

MAXWAIT

PRIORITY

RESOURCE

SAVEMEMORYLIMIT

STACKLIMIT

TASKLIMIT

TEMPFILELIMIT

TOTALMEMORYLIMIT

WAITLIMIT

<real task attribute>

<real task attribute>

<integer task attribute>

<real task attribute>

<integer task attribute>

<integer task attribute>

<resource assignment>

<real task attribute>

<integer task attribute>

<integer task attribute>

<real task attribute>

<real task attribute>

<real task attribute>

Restarting Tasks

BRCLASS

CHECKPOINTABLE

RESTART

RESTARTED

<mnemonic task attribute>

<Boolean task attribute>

<integer task attribute>

<Boolean task attribute>

Security

ACCESSCODE

FILEACCESSRULE

USERCODE

DECKGROUPNO

<accesscode assignment>

<mnemonic task attribute>

<usercode assignment>

<integer task attribute>

Task History

ERROR

HISTORY

HISTORYCAUSE

HISTORYTYPE

HSPARAMSIZE

OPTION

STACKHISTORY

STATUS

STOPPOINT

SUPPRESSWARNING

TASKWARNINGS

<mnemonic task attribute>

<real task attribute>

<mnemonic task attribute>

<mnemonic task attribute>

<integer task attribute>

<option assignment>

<string task attribute>

<mnemonic task attribute>

<real task attribute>

<suppresswarning assignment>

<taskwarnings assignment>