Skip to main content

Problem:

Synchronisation monitor within MFA (Drag & Drop) can be used to download 2 unique PDS's on the mainframe into 1 unique PC directory.

When ALLOW WORKSTATION DELETES is used, the first PDS download will complete successfully, placing all members into the PC directory.  

When the second download starts, all of the members downloaded by the first download will be deleted from the PC directory before the members from the second PDS are processed.

Is there a way to use the same folder to download two partitioned dataset with the option ALLOW WORKSTATION DELETES?

Resolution:

To workaround this, set an environement variable

SET MFDA_NODELETE_FOREIGN=Y

before running syncmon, to stop syncmon deleting files in a directory that are not referenced in the current step.

This allows separate steps to sync to a common PC directory, but will not delete any files that are not referenced in any of the steps ( e.g. that are copied there externally to the syncmon job).

This only applies if the workstation deletes switch is checked, and the synchronisation direction is to PC only.

Old KB# 2942

#MFDS
#EnterpriseDeveloper