Information
Space announcement: BMC provides limited support for this version of the product. As a result, BMC no longer accepts comments in this space. If you encounter problems with the product version or the space, contact BMC Support.

DFLT_WRITE (DW)


The DFLT_WRITE parameter specifies a default output file during a USER function. It is executed when a WRITE parameter has not been executed for the current record (unless the READNEXT parameter has already caused File-AID to skip the DFLT_WRITE). The output dataset is defined on a corresponding JCL DD statement called "anyname".

The syntax of the DFLT_WRITE parameter is:

DW=anyname

anyname

User-defined name that matches the DD name in the JCL of the desired output dataset.

Example:

$$DD01 USER IF=(86,EQ,C'W'),READNEXT,
IF=(86,EQ,C'S'),WRITE=OUTS,READNEXT,
IF=(86,EQ,C'M'),WRITE=OUTM,
DFLT_WRITE=OUTO

In this example records that have a "W" in position 86 are not written to any output file. Records with a "S" in position 86 are written to the OUTS file. Records with a "M" in position 86 are written to the OUTM file. All other records not matching any of the preceding conditions default to the OUTO file.

Guidelines:

  • The DFLT_WRITE parameter must be immediately preceded by an action parameter.
  • The DFLT_WRITE parameter may only be coded once per USER function and it must be the last parameter.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Compuware File-AID/MVS 21.01