Solved

Using UNIX to submit a Mainframe Job

Posted on 2004-10-13
5
590 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
mixString challenge 36 134
Question regarding Copy/Paste 16 98
iSeries FTP Exit Program 8 163
Making an alias 7 114
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

733 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