View previous topic :: View next topic
|
Author |
Message |
webxpertin Warnings : 1 New User
Joined: 05 Apr 2005 Posts: 9 Location: india
|
|
|
|
My jcl contains 3 joblib and each joblib contains around 24steps. what i
want to know is how to directly execute the job3 (3rd joblib ) and 5th and 8th
step under job3 without creating a seperate JCL for that. Is it possible to use
restart command in this case if it is, could you please get me the code? Or else
is there any other way out please let me know. Please help me in thie regard.
Thanks
Greetings
Sandeep |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
First of all, you are not allowed to post your email address, so you need to remove that from your signature.
Your question is rather confusing. Let me try to break it down, and then you can fill in the missing information.
Quote: |
My jcl contains 3 joblib's...
|
Just to be clear as to the definition of a JOBLIB:
Quote: |
Use the JOBLIB DD statement to identify a private library that the system is to search for the program named in each EXEC statement PGM parameter in the job. A private library is a partitioned data set or partitioned data set extended on a direct access device. Each member is an executable, user-written program.
|
next
Quote: |
and each joblib contains around 24 steps
|
Do you mean than each JOBLIB contains around 24 programs? They wouldn't contain steps, whatever you mean by that term.
next
Quote: |
what I want to know is how to directly execute the job3 (3rd joblib ) and 5th and 8th step under job3 without creating a seperate JCL
|
Do you mean you want to execute STEP3, STEP5, and STEP8 without executing the steps in-between (i.e. STEP4, STEP6 and STEP7)? |
|
Back to top |
|
|
webxpertin Warnings : 1 New User
Joined: 05 Apr 2005 Posts: 9 Location: india
|
|
|
|
The fact is i have 2 joblibs in my jcl e.g. job1 and job2, can i directly execute step 4 and step5 without executing the step1,2,3 and step6 in job2?
Also i want to know how many restart and condition parameters can be coded in one jobcard.
Thanks
sandeep |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
I think that you confuse the joblib with jobcard....
If you have a JCL within 2 JOBLIB separated from one step you will have a error and in particular with this description:
Quote: |
STMT NO. MESSAGE
x IEFC019I MISPLACED JOBLIB STATEMENT |
where x is the line(in JESJCL) of second joblib specified.
So I suppose that you have two JOBCARD that you can view as:
Code: |
//MYJOB123 JOB (ACC_NUMBER),DESCRIPTION,CLASS=X,MSGCLASS=X(... and so on.) |
In this forum you question is well answered and if you search in this thread you will find what you need(I suppose IEBEDIT or CONDitional execution)
For your question about the restart in jobcard I think that the link below will help you very well. This will explain check id and restart parameter:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/IEA1B640/20.21?DT=20000718114500 |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
If your JOB streams are being accessed through one PDS member under ISPF, you can enter the member using view (V).
Then delete all the JCL stmts you're not interested in and "sub" the resulting JCL. Then exit the PDS member. PF3===>PF3.
If that's not what you wanted to do, you've got some explaining to do. |
|
Back to top |
|
|
|