IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to call particular steps of JCL from other JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Jan 22, 2010 12:08 am
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
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: 1788
Location: Bloomington, IL

PostPosted: Fri Jan 22, 2010 12:54 am
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Jan 22, 2010 12:58 am
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

Moderator Emeritus


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

PostPosted: Fri Jan 22, 2010 12:59 am
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
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
Reply with quote

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


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: 1249
Location: Richfield, MN, USA

PostPosted: Fri Jan 22, 2010 6:16 am
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Jan 22, 2010 6:32 am
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

Moderator Emeritus


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

PostPosted: Fri Jan 22, 2010 8:44 am
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Jan 22, 2010 12:25 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts CA7 deleting files in steps after job... CA Products 4
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Call program, directly from panel CLIST & REXX 9
No new posts Batch call online program, EXCI task ... CICS 3
No new posts CSQBGET - Call giving completion code... COBOL Programming 3
Search our Forums:

Back to Top