Interrogating Task Attributes

A very useful feature of task variables is that they enable you to inquire about the attributes of a task after it is initiated. The syntax of expressions that use task variables to return task attribute values is provided in Expressions. Expressions for Task Attribute Inquiry lists the expressions that are used to inquire about each type of task attribute.

Table 2. Expressions for Task Attribute Inquiry

Task Attribute Type Expression Used
<Boolean task attribute> <Boolean task attribute primary>
<file name task attribute> <string task attribute primary>
<integer task attribute> <integer task attribute primary>
<mnemonic task attribute>

<string task attribute primary>

<task mnemonic comparison>

<name task attribute> <string task attribute primary>
<real task attribute> <real task attribute primary>
<string task attribute> <string task attribute primary>
<title task attribute> <string task attribute primary>
<complex task attribute>

<string task attribute primary>

This expression is used for these attributes:

  • ACCESSCODE

  • DATAPATH

  • EXECUTEPATH

  • OPTION

  • FAMILY

  • USERCODE

The following attributes cannot be interrogated:

  • CORE

  • PRINTDEFAULTS

  • RESOURCE