A very general question:
If I have a Unix script on a unix machine that calls dsjob to run a Datastage job, is it possible to launch the unix script from an IBM mainframe ?
The launch would happen after a bunch of mainframe sequential files have all been sent to the unix server.
Instead of having a unix process or datastage process wait for a final file, we would like the mainframe to actively kick off the datastage job.
What is the command or utility to call on the mainframe that would do this?
Thanks
Question: launching unix script from IBM mainframe
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 1
- Joined: Thu Oct 19, 2006 12:06 pm
Its not possible to execute dsjob in mainframe server, unless you have Datastage serever installed in that server. But you can explore some option, of triggering the script (which actually kicks off the datastage job) available in unix from Mainframe.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
I'm not 100% certain, but there are 3rd party tools that will let you do "rsh" or similar command from a host to UNIX box to let you trigger off jobs.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 3593
- Joined: Thu Jan 23, 2003 5:25 pm
- Location: Australia, Melbourne
- Contact:
You can put a WaitForFile stage into your sequence jobs and get them to wait for a status file to arrive. The status file tells the job that the source files have been fully transferred and can even include audit information such as file names, row counts and dates.
Certus Solutions
Blog: Tooling Around in the InfoSphere
Twitter: @vmcburney
LinkedIn:Vincent McBurney LinkedIn
Blog: Tooling Around in the InfoSphere
Twitter: @vmcburney
LinkedIn:Vincent McBurney LinkedIn