WFL

created by zoinksbear
(thing) by zoinksbear (5.6 y) (print)   (I like it!) Wed May 08 2002 at 15:22:17
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.

Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.