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
 

 

Job Activation using JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Job Activation using JCL
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: 7932
Location: Bellevue, IA

PostPosted: Fri Sep 18, 2009 4:43 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri Sep 18, 2009 4:47 pm    Post subject:
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

Site Director


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

PostPosted: Fri Sep 18, 2009 8:46 pm    Post subject:
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    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
This topic is locked: you cannot edit posts or make replies. Job Activation using REXX Debasis Misra CLIST & REXX 1 Fri Sep 18, 2009 2:33 pm


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