Solved

Using UNIX to submit a Mainframe Job

Posted on 2004-10-13
5
602 Views
Last Modified: 2013-12-26
I am looking for a way to submit jobs from my UNIX system and execute them on an OS/390 Mainframe.  Anyone have any ideas?
0
Comment
Question by:tobey1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 14

Expert Comment

by:chris_calabrese
ID: 12299434
I've seen this done in many ways at different companies:
o Purchase a Unix/Mainframe gateway product that does this. I think Tivoli, for example, has a module that does this.
o Drop JCL to a specific directory on the mainframe and have a job on the mainframe that checks that directory every few minutes and runs anything it finds there
o Use IBM Message Queue (MQ) and write a queue-handler that does this
0
 
LVL 20

Accepted Solution

by:
dsacker earned 400 total points
ID: 12300790
ftp it to the mainframe, to the JES reader. It has been a long time since I've done that, but you can probably google those key words (JES reader, submitting, etc), and find examples.
0
 
LVL 20

Assisted Solution

by:dsacker
dsacker earned 400 total points
ID: 12300823
Somewhere in the back of my mind, you will want to ftp it to the equivalent of the JCL statement:

     //OUTPUT  DD SYSOUT=(,INTRDR)

And the mainframe has such an equivalent. I've done this many times, but it has been about 15 years ago or more.  And I've slept since then. :)
0
 
LVL 3

Assisted Solution

by:hweber
hweber earned 100 total points
ID: 12356331
If you have the JCL in a file on your UNIX system:

Connect with ftp.
Enter "SITE filetype=JES"
Enter "PUT <name_of_the_JCL_file>"

To watch the job queue you can use the ls command.
To retrieve the results of the job you can use the get command.

To get more help on what you can do enter "SITE help" or "SITE commands", if I remember correctly.
0
 
LVL 20

Expert Comment

by:dsacker
ID: 12357593
That's it, hweber; it had been awhile, but yes, that's how I used to do it.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question