Export Job to run on MainFrame Scheduler

Moderators: chulett, rschirm

Post Reply
reg6148
Participant
Posts: 3
Joined: Tue Aug 19, 2003 10:28 am

Export Job to run on MainFrame Scheduler

Post by reg6148 »

New to this.

However I have created a job and how need to create a script so our scheduler on the mainframe will execute it.

Has anyone ever done this?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

That's exactly what DataStage mainframe jobs do. On the DataStage server you generate the COBOL, and the JCL to compile and run it, then upload same to the mainframe.
The most difficult part is the politics of getting permission to compile and run on the mainframe machines; their guardians are (properly) paranoid about letting anyone or anything touch their babies!
Once the program has been compiled, the run JCL is typically fired from some form of scheduler. It is rare that mainframe jobs (whether DataStage or not) are initiated manually.

If you've created a server job or a parallel job, and want a mainframe-based scheduler to trigger their execution, this is trickier. You could, I suppose, have the mainframe DataStage job generate a file and FTP that to the DataStage server machine, where a job sequencer is executing a WaitForFile activity.
Post Reply