Brutha,

note: take this with a grain of salt. My mainframe experiences were over ten years ago on an IBM 360 runing MVS, TSO and M204.

I've done stuff like this in the past follwing the outline you've given. The local script would create a JCL stream that would be submitted, via FTP, to the mainframe. The JCL would contain the appropriate calls to FTP the data back to the local PC. Unfortunately, its the mainframe side of things that is most difficult. In my case, I knew some old mainframe programmers that were more than happy to write the PL1 code I could use in the JCL stream. You need to talk to the mainframe admins about how to set up and use a remote job execution.

-derby


In reply to Re: Access Mainframe from PC via Perl by derby
in thread Access Mainframe from PC via Perl by Brutha

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.