WFL Jobs

These WFL jobs show two examples that use task requests and one example that uses a numeric request.

Example 1

The following WFL job prints a hierarchical listing of the file names under the directory SYMBOL/= on the family DISK. The report includes the file kind, creation date, size in disk segments, security, and status of each file under the directory. Refer to “FILENAMES Request” later in this section.

 BEGIN JOB;
     RUN *SYSTEM/FILEDATA ("FILENAMES: TITLE =SYMBOL");
   END JOB

Example 2

The following WFL job prints a report of those disk segments in use by permanent files on the family XPACK and those disk segments not in use by permanent files-that is, those segments that are available or in use by temporary files. Refer to “CHECKERBOARD Request” later in this section.

 BEGIN JOB;
     RUN *SYSTEM/FILEDATA ("CHECKERBOARD: FAMILY=XPACK");
   END JOB

Example 3

The following WFL job prints a FILENAMES report, a STRUCTUREMAP report, and a CHECKERBOARD report for the family DISK. Refer to “Numeric Report Requests” later in this section.

 BEGIN JOB;
     RUN *SYSTEM/FILEDATA (" "); VALUE = 0;
   END JOB