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 submitted goes on HOLD even without TYPRUN=HOLD?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: JOB submitted goes on HOLD even without TYPRUN=HOLD?
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Mon Feb 27, 2012 2:04 pm    Post subject: Reply to: JOB submitted goes on HOLD even without TYPRUN=HOL
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Mon Feb 27, 2012 2:09 pm    Post subject: Reply to: JOB submitted goes on HOLD even without TYPRUN=HOL
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

Senior Member


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

PostPosted: Mon Feb 27, 2012 5:13 pm    Post subject:
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: 208
Location: Cochin/Kerala/India

PostPosted: Tue Feb 28, 2012 12:13 pm    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Tue Feb 28, 2012 7:31 pm    Post subject:
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: 175
Location: UK

PostPosted: Tue Feb 28, 2012 9:50 pm    Post subject: Reply to: JOB submitted goes on HOLD even without TYPRUN=HOL
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Tue Feb 28, 2012 10:51 pm    Post subject:
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: 175
Location: UK

PostPosted: Wed Feb 29, 2012 2:15 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Wed Feb 29, 2012 2:17 pm    Post subject: Reply to: JOB submitted goes on HOLD even without TYPRUN=HOL
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    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. Get a job submitted itself every time... arunsoods JCL & VSAM 3 Tue Nov 22, 2016 4:05 pm
No new posts How LOAD PROGRAM and LOAD on HOLD is ... pkmurali CICS 4 Tue May 03, 2016 6:26 pm
No new posts How to hold a daily job for a monthly... anandgbe CA Products 8 Mon Mar 07, 2016 12:59 pm
No new posts RFE for SuperC submitted prino TSO/ISPF 0 Wed Apr 29, 2015 3:11 pm
No new posts RFE for ISREMSPY submitted Pedro TSO/ISPF 2 Sat Feb 14, 2015 3:58 am


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