Skip to main content

Problem:

There is a concern about dragging & dropping modules from Endevor onto the workstation and being put into the wrong folders. We would like to have an automated process that, when pulling from Endevor, it will put the modules into the correct folders. It is likely that the developer will have more than one project folder. Is ther anything that can do this currently?What alternatives do we have to do this?

Resolution:

There is no process to ensure you Drag & Drop anything from the mainframe to the correct folder on the PC.  You could, however, run from a command line to actually enter the path where you want the file.

Below is an example.  Go to the MFE command prompts and type the following:

C:\\mfuser30\\projects>mfdas import binary c:\\temp\\PGM222.cbl FROM END ENV 'MVSTEST' SYS 'ADMIN' SUB 'UTILS' MEMBER PGM222 STG '1' TYPE=COBOL CCID=REC COMMENT=comment

This will download the PGM222 Cobol member to the c:\\temp directory.

You could also use syncmon to make sure the files are added to the correct folder.  Below is an example of how to set up mfmon.cfg to put all Cobol types into a folder called c:\\temp\\env folder on the PC.

TITLE COMPARE AND SYNCHRONIZE MONITOR

PERFORM 1 TIMES

TRANSFERLIMIT 4294967295

AUTORECONNECT 500

WAKEUP 0 DAYS

ALLOW WORKSTATION DELETES

MONITOR DOWNLOAD ENDEVOR C:\\TEMP\\ENV\\*.* AGAINST ENV 'MVSTEST' SYS 'ADMIN' SUB 'UTILS' STG '1' TYPE=COBOL CCID=REC COMMENT=comment EXTENSION=CBL

There is additional information in Help - Using Mainframe Express - Mainframe Access - Mainframe Access Installation and Usage Guide - Data Access Services.

Old KB# 2443

#MFDS
#EnterpriseDeveloper