Previous Topic Next topic Print topic


Managing Data Set Filters (REXX TAUPDFIL)

The TAUPDFIL procedure is used to manage the dataset filter definitions which a user can create when running the sample application.

All data set filter information which a user defines is stored in a user-specific sequential dataset which is allocated in TAUPDXA1.

The REXX Procedure is called from the sample model a few times; it is used to create, update and delete filter definitions as well as retrieve all the defined filter definitions.

The input parameters are modeled using a parameter separator "%,%".

The REXX procedure must use this value to parse the input parameters. Here is an extract of TAUPDFIL:

If TAUPDFIL is called with the first parameter GETLIST to retrieve the complete list of filter definitions, it is sufficient to pass the dataset name of the sequential dataset back to AWM. This corresponds to the modeled file output parameter.

The modeled file descriptor describes the structure of this file with the separator "%,%":

Here is a code snippet which shows how a file record is created:

The file content looks like the following sample:

Previous Topic Next topic Print topic