Hi, I'm new in Mainframe Jobs and I have a question: How to run a mainframe job?
I already made a job, generate a code(3 files - one COBOL, one JCL compile and one JCL run) and the code is in my personal machine,
but the job does not appear in Director, I don't know if I need to put the files in the mainframe machine?, And I'm completely lost.
Can anybody help me?
Regards
Fernando
How to run a mainframe job
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 142
- Joined: Wed Mar 24, 2004 10:51 am
- Location: Brazil
dls / Fernando,
before you take the class, the documentation does detail the procedure and that might give you a broad overview; but I would highly recommend taking the training before doing any work.
before you take the class, the documentation does detail the procedure and that might give you a broad overview; but I would highly recommend taking the training before doing any work.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
Fernando,
After generating the code, click on upload job and transfer these files to mainframe. Login to mainframe and open the compile JCL file in edit mode. Check the job for errors by typing !jck <enter> in command line. If the return code is 0 or 4, you can submit the job but typing sub <enter> in command line. When the job is finished, check for return code, if it 0 or 4 open the Run JCL file in edit mode and the same (!jck and sub).
Later I will write details on each step.
Hopefully this will work.
Anil
After generating the code, click on upload job and transfer these files to mainframe. Login to mainframe and open the compile JCL file in edit mode. Check the job for errors by typing !jck <enter> in command line. If the return code is 0 or 4, you can submit the job but typing sub <enter> in command line. When the job is finished, check for return code, if it 0 or 4 open the Run JCL file in edit mode and the same (!jck and sub).
Later I will write details on each step.
Hopefully this will work.
Anil
-
- Participant
- Posts: 142
- Joined: Wed Mar 24, 2004 10:51 am
- Location: Brazil
How to run a mainframe job
Thank you and I would like to take a training but I don't have time, I'm in the midle of the project and if I ask to take a training my manager will say to me "bye bye friend!".
I'm not the one in Mainframe Jobs but with your help I hope to make these jobs.
Best Regards
Fernando
I'm not the one in Mainframe Jobs but with your help I hope to make these jobs.
Best Regards
Fernando
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Right below the Generate button in Designer is another button called Upload. This is how you get the COBOL and JCL to the mainframe.
After that, it's someone else's problem; DataStage does not - can not - control execution on the mainframe.
And the politics of getting permission to compile and run on the mainframe can be awesome!
After that, it's someone else's problem; DataStage does not - can not - control execution on the mainframe.
And the politics of getting permission to compile and run on the mainframe can be awesome!
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.