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

JOB submitted goes on HOLD even without TYPRUN=HOLD?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shobam

New User


Joined: 18 Jul 2005
Posts: 34
Location: CN

PostPosted: Mon Feb 27, 2012 1:59 pm
Reply with quote

Hi,

I am creating a job using skeleton and submitting the created job.

The JOB card is as follows

Code:
//MUTHAS1@ JOB (F-ZZZZZ-NUSP-ZZZ),       
//             'ENDV',                   
//             CLASS=P,                   
//             MSGCLASS=X,NOTIFY=&SYSUID,
//            USER=MUTHAS1   

as you can see there is no HOLD option. Yet on submission of the job, it goes on HOLD and only on releasing the job its running.

Am I missing something here. Any idea towards this will help. Thanks.
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: Mon Feb 27, 2012 2:04 pm
Reply with quote

Find out from your own technical support what CLASS=P means at your site.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Feb 27, 2012 2:09 pm
Reply with quote

since today is Monday and psychic day is in Wednesday,
since we do not belong to Your organization

just looking at the JOB statement nobody will be able to diagnose what is going on

Quote:
Am I missing something here.

just the good judgement of asking somebody inside Your organization
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Feb 27, 2012 5:13 pm
Reply with quote

Sounds like it's "test-job", is it? Then there can be many reasons behind for your job to be on hold - such as you've kept some file open in view/edit using ISPF 3.4, did you check that?

Was somehting flagged in JESMSGLG?
Back to top
View user's profile Send private message
bipinpeter

Active User


Joined: 18 Jun 2007
Posts: 213
Location: Cochin/Kerala/India

PostPosted: Tue Feb 28, 2012 12:13 pm
Reply with quote

May be the input files for your job is migrated or already in use,.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Feb 28, 2012 12:31 pm
Reply with quote

when a file/resource has had an exclusive issued
thus preventing other jobs accessing that file/resource

don't the jobs normally going into a WAIT and not a HOLD.

jobs go into HOLD from JES. i would think the class parm is your problem.

JOBS in HOLD, have not started executing.

as a result, there is no jesmsg to interrogate.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Feb 28, 2012 7:31 pm
Reply with quote

Thanks dbz... icon_redface.gif
Back to top
View user's profile Send private message
David Robinson

Active User


Joined: 21 Dec 2011
Posts: 199
Location: UK

PostPosted: Tue Feb 28, 2012 9:50 pm
Reply with quote

This will happen if you run TWS and have the EWTROPTS parm set to HOLDJOB(YES)
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Feb 28, 2012 10:51 pm
Reply with quote

The TS is using a skeleton, and then im thinking about ISPF services, and submitting the job. As far as i can see thats outside TWS.

HOLDJOB(YES) is the least preferred of the three options. Consider HOLDJOB(YES) only if you have Tivoli Workload Scheduler for z/OS-planned jobs that both:

1.Cannot be submitted by Tivoli Workload Scheduler for z/OS
2.Do not have TYPRUN=HOLD specified on their job cards.
Back to top
View user's profile Send private message
David Robinson

Active User


Joined: 21 Dec 2011
Posts: 199
Location: UK

PostPosted: Wed Feb 29, 2012 2:15 pm
Reply with quote

With HOLDJOB(YES), all jobs get submitted on hold, not just TWS ones.

TWS will then release those that are non-TWS jobs, but it's possible that if his job name matched one in the current plan, it would remain held.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Feb 29, 2012 2:17 pm
Reply with quote

as usual the TS has disappeared
without more details from the TS everything is just speculation and waste of forum resources
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 Process file after 7 days of hold All Other Mainframe Topics 4
No new posts JCL to get submitted once dataset has... JCL & VSAM 17
This topic is locked: you cannot edit posts or make replies. Get a job submitted itself every time... JCL & VSAM 3
No new posts How LOAD PROGRAM and LOAD on HOLD is ... CICS 4
No new posts How to hold a daily job for a monthly... CA Products 8
Search our Forums:

Back to Top