A set of commands on a Unisys A-Series mainframe that controls work flow on the machine (WFL is an acronym for work flow language). Think of it as a batch file for the Unisys. Any number of system commands or programs can be run using simple statements and logic.

Typical uses of a WFL

WFL is also used to refer to the language WFLs are written in (confusing, I know). An example of a WFL:

BEGIN JOB E2/WFL/SAMPLE(STRING STEP OPTIONAL);
TASK TE2;

IF STEP = "RUNE2"	THEN GO TO RUNE2;
IF STEP = "RUNE2ONLY"	THEN GO TO RUNE2;

RUNE2:  %% RUN EVERYTHING2 SAMPLE PROGRAM %%

    RUN E2/OBJ/SAMPLE				[TE2];
    
    IF TE2 ISNT COMPLETEDOK THEN 
      BEGIN
        DISPLAY "%%% E2/OBJ/SAMPLE HAS ISSUES.  CHECK IT.";
        GO TO ENDOFJOB;
      END;

    IF STEP = "RUNE2ONLY" THEN GO TO ENDOFJOB;

ENDOFJOB:

    DISPLAY "%%% E2/WFL/SAMPLE - ALL JOBS COMPLETED OK";

As you can see from the above example, the syntax is relatively easy to follow. There are IF..THEN statements and a couple of GO TOs. It's almost like COBOL or BASIC, but with added functionality.

Log in or register to write something here or to contact authors.