Previous Topic: VMTUPD Update a VMT File

Next Topic: VMTDSP Display Screens and Read Input

VMTQDK Determine the Target Disk For Generated Files


+--------+
| VMTQDK |  Determine the Target Disk For Generated Files
+--------+

VMTQDK determines the target minidisk mode for a file to be
generated.  The results returned are:

  rc = 0   - success, GLOBALV group VMTMNT contains the
             variables TGTFM (target filemode) and ORGFM
             (original filemode).
  rc = 111 - failure, no read/write minidisk with a file mode
             higher (of lower alphabetic sequence) in the
             search order is available.
  rc = xxx - failure, return code from failing CMS command.

FORMAT:

    VMTUPD fname ftype <fmode|*>

    where:

    fname      - The file name.

    ftype      - The file type.

    fmode      - The file mode.