ESP Workload Automation

 View Only
  • 1.  Moving files between Mainframe and distributed systems

    Posted Nov 10, 2020 09:31 AM
    Good morning everyone,
    I have recently been working to use the ESP agents to move files around our distributed environment. I have been asked if we can also move files from our distributed environment to mainframe datasets and from mainframe datasets to a distributed platform. I have been reading through the manuals but am not finding good details, wondering if anyone here has accomplished this and if so could provide general guide of a job definition!

    Thank you 
    Dustin


  • 2.  RE: Moving files between Mainframe and distributed systems

    Broadcom Employee
    Posted Nov 12, 2020 02:18 PM
    Hi Dustin, 
    Below is a sample of an FTP job that moves a file from a UNIX server to the mainframe.  This is the simple case.   The MAINFRAMEUSER's password will need to be defined in the password vault by using the PASSWORD command. 

    FTP_JOB FTP1.UPLOAD
    AGENT DPU05_FTP
    SERVERADDR SYS2.SOMETHING.NET
    USER MAINFRAMEUSERHERE 
    SERVERPORT 21
    TRANSFERDIRECTION UPLOAD
    TRANSFERCODETYPE A
    LOCALFILENAME '/opt/data/a'
    REMOTEFILENAME '''FILENAME.TEST.FTP'''
    RUN DAILY
    ENDJOB

    Let me know if there are any questions. 

    Don