New to Z

New to IBM Z

Deepen your technical skills, expand your global network, and connect with mentors and other early tenure professionals on the mainframe platform.

 View Only
  • 1.  FTP File to a Mainframe, FTP file to thru E-mail/ from the Mainframe

    Posted Thu October 19, 2023 03:22 AM

    As the subject says, I hope you get my idea. 

    I am trying to find a resource, at least on beginner level, on how to transfer a file from a JOB thru E-mail(ing) a person.

    Or get a certain file from a local computer and transfer it to the mainframe for processing.



    ------------------------------
    JohnnyBee🐝
    Philippines
    ------------------------------


  • 2.  RE: FTP File to a Mainframe, FTP file to thru E-mail/ from the Mainframe

    Posted Fri October 20, 2023 03:39 PM

    Johnny I regular upload files from FTP sites to our mainframe using JCL. I can give you a sample if you would like. For getting files to an FTP (or SFTP) site, I usually use a Windows client like Filezilla and Winscp (both free). Hope that helps you out. 

    Regards,

    Glenn Havelock

    UNICOM / Macro 4 tech support



    ------------------------------
    Glenn Havelock
    Systems Engineer
    UNICOM Systems, Inc.
    Whitehouse Station, NJ USA
    +1 973 526 3822
    ------------------------------



  • 3.  RE: FTP File to a Mainframe, FTP file to thru E-mail/ from the Mainframe

    Posted Fri October 20, 2023 03:48 PM

    Hi John

    Here is a sample JCL how to send datasets via FTP: Submitting FTP requests in batch - IBM Documentation.

    and here a sample JCL how to send an e-mail from z/OS: Using batch SMTP command in TSO utilities - IBM Documentation.

    I hope that is what you are after.

    Regards

    Maciej



    ------------------------------
    Maciej Serafin
    ------------------------------



  • 4.  RE: FTP File to a Mainframe, FTP file to thru E-mail/ from the Mainframe

    Posted Fri October 20, 2023 03:49 PM
    1) Mainframe to Mail
    Now there are tools that transform the SYSOUT of jobs into PDF files that can be viewed on an Internet tool.
    But in the old way we use SAS on Mainframe which allows us to transform a SYSOUT into a PDF, Excel file... and send it by Mail.

    2) PC to Mainframe We use FTP Windows or Unix version. You will need to have a user authorized to upload a file to the Mainframe FTP server.
    There is now a tool like Axway which allows two-way exchanges.
    IBM has developed the Z/OS Connect tool which allows you to directly exchange files.


    ------------------------------
    Thierry Potier
    ------------------------------