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

Can a executing Job be put on HOLD ??


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
aajakashif

New User


Joined: 22 Mar 2008
Posts: 27
Location: New Delhi

PostPosted: Tue Aug 02, 2011 5:15 am
Reply with quote

Question: If a Job is executing is SDSF and we try to issue JES2 command $HJ'Jobname' or in SDSF beside the Jobname type H in order to HOLD it.

Will it really be HELD and stops executing ??
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Tue Aug 02, 2011 5:35 am
Reply with quote

aajakashif wrote:
Question: If a Job is executing is SDSF and we try to issue JES2 command $HJ'Jobname' or in SDSF beside the Jobname type H in order to HOLD it.

Will it really be HELD and stops executing ??


Are you saying, "If, using SDSF, I can see a job executing, can I use the $HJ'Jobname' JES2 command or put an H next to it in SDSF in order to HOLD it. Will it reeally be HELD and stop executing?"?

I guess you should look up $HJ in the JES2 manual, ask your production control, sysprogs, OPS.

What is the reason for asking? Might lead to a more specific answer from someone.

Edit: How is this a TSO/ISPF question?
Back to top
View user's profile Send private message
aajakashif

New User


Joined: 22 Mar 2008
Posts: 27
Location: New Delhi

PostPosted: Tue Aug 02, 2011 5:53 am
Reply with quote

Well at our shop we HOLD the Jobs thru scheduling packages like CA7 or TWS, but when we hold those Jobs in the scheduling package it does not allow them to submit on MF.

There was a instance when the Job was supposed to be held but it was not held and it got submitted to JES, so is there any way we could have held this Job in SDSF by typing H beside the Job name ???

If the Job is in Input queue it can be held (by H) and then later released (by A - beside the Job name) but if the Job is ACTIVE (executing) then Im not sure whether it can be really HELD ??? Please clarify..this option
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Tue Aug 02, 2011 6:36 am
Reply with quote

Hi,

once the job has started executing you may be able to quiesce the job, holding will not stop it from executing unless the job has not started yet.

A job waiting for an initiator can be held and released at a later time.


A better option is to get your CA7 or TWS in order.


Gerry
Back to top
View user's profile Send private message
aajakashif

New User


Joined: 22 Mar 2008
Posts: 27
Location: New Delhi

PostPosted: Tue Aug 02, 2011 7:03 am
Reply with quote

Thank You gcicchet you clarified my doubt... :-)
Back to top
View user's profile Send private message
kchidambara2

New User


Joined: 23 Nov 2011
Posts: 6
Location: chennai

PostPosted: Sun Dec 18, 2011 10:32 pm
Reply with quote

No u can't, once the job start executing you can not hold it....in SDSF.

You can't do it in Ca7 before job's get execute.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Sun Dec 18, 2011 11:53 pm
Reply with quote

kchidambara2, after 4 and 1/2 months I doubt there's much reason to add anything to the replies already posted.
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts executing XCTL command in COBOL witho... CICS 10
No new posts Receiving RC 5 when executing REXX pr... CLIST & REXX 3
No new posts Issues with executing a REXX MACRO th... TSO/ISPF 4
No new posts Get name of Subsystem routine is exec... All Other Mainframe Topics 2
This topic is locked: you cannot edit posts or make replies. Control-m JOB executing even when the... Compuware & Other Tools 6
Search our Forums:

Back to Top