Previous Topic Next topic Print topic


Compare and Synchronization Monitor command line utility

Use the command line utility to perform compare or synchronization without having to load the user interface.

You can run the utility directly from the command prompt, or add commands to a batch file, then use a scheduler to run the batch file.

Syntax:

>>-MFMON2--.--------.--.-BOTH-----.--.----------.--.-QSAM-.--local-dir->
           +-TEXT---+  +-UPLOAD---+  +-prefix-*-+  +-PDS--+
           +-BINARY-+  +-DOWNLOAD-+                +-END--+
                       +-MONITOR--+                +-KSDS-+

>-AGAINST-data-set--.---------------.-.------------.-.---------------.->
                    +-TYPE=mem-type-+ +-STATUS=xxx-+ +-EXT=extension-+

>-.----------------.---<<
  +-REGEXT_ALLOW=Y-+

Where:

prefix
The filter to use to select files and members. By default, * selects all.
local-dir
The directory on the workstation
data-set
The data set on the mainframe
TYPE=mem-type
The type of member contained in an Endevor, Panvalet or Librarian container.
STATUS=xxx
The status of Panvalet members
EXT=extension
The extension to give each synchronized member on the workstation
REGEXT_ALLOW=Y
Allows the prefix to be in the format of a regular expression.

Comments:

To ensure the utility can connect to the mainframe without user intervention, set the MFA_SERVER_PARMS environment variable and the MFDAS SETUSER command at the head of your batch file, or from the command line. For example:
SET MFA_SERVER_PARMS=MFSRV:mf01,MFNODE:mf01.docs.com,MFPORT:1234
MFDAS SETUSER usr1 pass1
Previous Topic Next topic Print topic