Previous Topic Next topic Print topic


Managing Data Set Filters (REXX TAUPDFIL)

The TAUPDFIL procedure is used to manage the data set 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 data set which is allocated in TAUPDXA1, for example:

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


MVS Project Sample Application TAUPDFIL

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

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


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 data set name of the sequential data set back to AWM. This corresponds to the modeled file output parameter.

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


MVS Project Sample Application TAUPDFIL Output Parm

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


Code Snippet

The file content looks similar to the following sample:


File Content
Previous Topic Next topic Print topic