Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to execute directly job3 in the JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
webxpertin
Warnings : 1

New User


Joined: 05 Apr 2005
Posts: 9
Location: india

PostPosted: Tue Jun 21, 2005 5:19 pm    Post subject: How to execute directly job3 in the JCL
Reply with quote

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
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue Jun 21, 2005 7:11 pm    Post subject: Re: How to execute directly job3 in the JCL
Reply with quote

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
View user's profile Send private message
webxpertin
Warnings : 1

New User


Joined: 05 Apr 2005
Posts: 9
Location: india

PostPosted: Wed Jun 22, 2005 4:57 pm    Post subject: Reframing the question
Reply with quote

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
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Wed Jun 22, 2005 5:17 pm    Post subject:
Reply with quote

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
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Thu Jun 23, 2005 5:59 am    Post subject:
Reply with quote

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. icon_lol.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts execute APP if they are not ADDRESS T... italo_pm CLIST & REXX 3 Fri Aug 12, 2016 2:15 am
No new posts Execute multiple DB2 Load commands in... faizm DB2 4 Wed Aug 03, 2016 12:53 pm
No new posts CEXEC not able to execute if no SLINE... boyti ko CLIST & REXX 2 Wed Apr 13, 2016 4:31 pm
No new posts CALL MACRO EXECUTE FORM - Setting the... sudarshan.srivathsav PL/I & Assembler 7 Tue Feb 09, 2016 10:32 pm
No new posts How steps execute in Job in case of a... richiewalia JCL & VSAM 4 Tue Jan 12, 2016 12:34 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us