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 call particular steps of JCL from other JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
pradyutonnet
Currently Banned

New User


Joined: 13 Nov 2005
Posts: 29
Location: pune,mumbai

PostPosted: Thu Jan 21, 2010 11:59 pm    Post subject: How to call particular steps of JCL from other JCL
Reply with quote

I have 2 jcl, in 1st job i have total 3 step and i want to execute 2nd step from other job....can any one help me to resolve the issue???
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7905
Location: Bellevue, IA

PostPosted: Fri Jan 22, 2010 12:08 am    Post subject:
Reply with quote

Copy the step into the other job.
Back to top
View user's profile Send private message
pradyutonnet
Currently Banned

New User


Joined: 13 Nov 2005
Posts: 29
Location: pune,mumbai

PostPosted: Fri Jan 22, 2010 12:18 am    Post subject:
Reply with quote

or i can want ...how to schedule job if i don't have scheduler.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1738
Location: Bloomington, IL

PostPosted: Fri Jan 22, 2010 12:54 am    Post subject:
Reply with quote

In brief: if you can and will write your own scheduler, we can't stop you; if you can't or won't, we won't help you...for less than USD1000/day, at any rate.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Fri Jan 22, 2010 12:58 am    Post subject: Reply to: How to call particular steps of JCL from other JCL
Reply with quote

Quote:
or i can want ...how to schedule job if i don't have scheduler.

without a scheduler You do not schedule jobs, You submit them:D
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Jan 22, 2010 12:59 am    Post subject:
Reply with quote

Hello,

Create 2 jobs that each have the required steps. . . The second could be submitted as the last step of the first job.

If you really have heartburn about having the same jcl in both jobs, make this "common" step a PROCedure and invoke it from both jobs.
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Fri Jan 22, 2010 1:37 am    Post subject:
Reply with quote

pradyutonnet wrote:
or i can want ...how to schedule job if i don't have scheduler.


Try an alarm clock!
Back to top
View user's profile Send private message
pradyutonnet
Currently Banned

New User


Joined: 13 Nov 2005
Posts: 29
Location: pune,mumbai

PostPosted: Fri Jan 22, 2010 5:52 am    Post subject:
Reply with quote

its seems no buddy knw much...icon_smile.gif..well what if i use this??


http://publib.boulder.ibm.com/infocenter/zos/v1r9/index.jsp?topic=/com.ibm.zos.r9.ieae200/writown.htm


this is to write your own master scheduler JCL
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1238
Location: Richfield, MN, USA

PostPosted: Fri Jan 22, 2010 6:16 am    Post subject:
Reply with quote

The master scheduler JCL referenced in your link is not what you want to do. Did you read and understand it?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7905
Location: Bellevue, IA

PostPosted: Fri Jan 22, 2010 6:32 am    Post subject:
Reply with quote

Quote:
ts seems no buddy knw much...icon_smile.gif..well what if i use this??
Or maybe we know enough not to suggest something that won't do what you think it will? Notice that this JCL is in the MVS Initialization and Tuning manual -- not a place for a mainframe trainee to be looking for JCL to execute!

Personally, I think you ought to try running the JCL in your link. I'm not sure if running a second master scheduler job stream will abend the LPAR or not; I suspect so but it would be nice to know for sure. But be aware that many shops will immediately take action, up to and including termination of the employee, when an unauthorized person attempts to use the master scheduler JCL.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Jan 22, 2010 8:44 am    Post subject:
Reply with quote

Hello,

Quote:
its seems no buddy knw much...

Opinions vary and you are demonstrating that yours does not much matter. . .

You have been told how to accomplish what you want to do. Now it is time for you to stop flailing about and implement the simple solutions you have already been given.

It is most doubtful that any of the contributors will be concerned that the operating system was not implemeted to suit you icon_confused.gif

Somewhere along the line you need to understand that what you want to do is both quite common and trivial.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Fri Jan 22, 2010 12:25 pm    Post subject: Reply to: How to call particular steps of JCL from other JCL
Reply with quote

Quote:
its seems no buddy knw much..

there's the pot calling the kettle black
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 Cobol EZASOKET call to SETSOCKOPT fails Andi1982 COBOL Programming 6 Thu Oct 06, 2016 7:12 pm
No new posts Strange EXEC function call in z/VM Willy Jensen CLIST & REXX 3 Wed Oct 05, 2016 2:07 pm
No new posts COBOL DB2 - CALL statement - high CPU... TS70363 DB2 15 Sun Sep 11, 2016 6:07 am
No new posts Is possible to call subprogram from c... cmsmoon COBOL Programming 3 Fri Aug 05, 2016 6:46 pm
No new posts PCOMM macro to call another PCOMM macro boyti ko All Other Mainframe Topics 4 Tue Jul 12, 2016 4:30 pm


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