Tanker WFL

You can modify the WFL/DATABRIDGE/TANKER file for the following:

  • STARTTIME
  • QUEUE (If you want Tanker to enter the system through job queue 10, you must modify the WFL to include the QUEUE (or CLASS) = 10 declaration.)

Tanker TASKVALUEs

WFL/DATABRIDGE/TANKER also includes support for reporting the success or failure of Tanker. To do so, Tanker sets its TASKVALUE to the last error message number.

When Tanker encounters any errors, whether from DBEngine (1–899), the Support Library (1400–1499), or encountered directly (900–999, 1800–1899), it returns the number as a positive value in its TASKVALUE. These error numbers are listed in the DATABridge Error Guide, included in the product documentation.

Example:

In WFL/DATABRIDGE/TANKER, the TASK is defined as TANKER and the value is returned as TANKER (VALUE). Following is sample WFL code that displays the TANKER (VALUE):

DISPLAY "TANKER TASKVALUE = +" & STRING(TANKER(VALUE), *);