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

Job Activation using JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Debasis Misra
Warnings : 1

New User


Joined: 16 Sep 2008
Posts: 72
Location: Bangalore

PostPosted: Fri Sep 18, 2009 4:39 pm
Reply with quote

5 jobs are scheduled in the spool in HOLD status by giving the option TYPRUN = HOLD.

We have to activate the job one by one. Each job is dependents on the previous job (2nd job shold run after 1 st job, 3rd job should run after 2 nd job, so on).

Can any one help me out how to implement this using another JCL?
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 Sep 18, 2009 4:43 pm
Reply with quote

From the JCL Language Reference (manuals link at the top of the page), with emphasis added by me:
Quote:
Purpose

Use the TYPRUN parameter to request special job processing. The TYPRUN parameter can tell the system to:

* In a JES2 system, copy the input job stream directly to a sysout data set and schedule it for output processing.

* In a JES2 or JES3 system, place a job on hold until a special event occurs. When the event occurs, the operator, following your directions, must release the job from its hold to allow the system to select the job for processing. Use the JES2 /*MESSAGE statement or the JES3 //*OPERATOR statement to notify the operator to release the job.
All you have to do is figure out how to make a human being function by using JCL. If you cannot do that, then what you are asking cannot be accomplished.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Sep 18, 2009 4:47 pm
Reply with quote

I did mention using INTRDR when you PM'd me about this.

What research have you done, and what problems have you encountered.

It is also possible to use a REXX, or IEBGENER to submit the appropriate JES commands to release a job from HOLD status. The options are there, and all that you need to do is to go away and research the options suggested.
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 Sep 18, 2009 8:46 pm
Reply with quote

Hello,

Why introduce the clutter of multiple jobs on hold?

Is there some reason this is not being done via the scheduling software already in use on the system?

If there is some reason these cannot be properely scheduled, suggest you do as Expat suggests and use the Internal Reader.
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
This topic is locked: you cannot edit posts or make replies. Job Activation using REXX CLIST & REXX 1
Search our Forums:

Back to Top