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

JOBNAMES and JOBUMBER


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

New User


Joined: 01 Jun 2010
Posts: 63
Location: India

PostPosted: Thu Nov 29, 2012 5:51 pm
Reply with quote

Hi ,
I have one doubt. Is there any possibility of same jobnumber is assigned to same job over a period of time??

My job is running every friday.Is there any possibility to get the same jobnumber which is assigned previously( last week ,last month,last year or any time)??

Please help.
Back to top
View user's profile Send private message
David Robinson

Active User


Joined: 21 Dec 2011
Posts: 199
Location: UK

PostPosted: Thu Nov 29, 2012 6:06 pm
Reply with quote

Absolutely. Once a job with a given number has been purged from the spool, that number is available for re-use.

JES does not keep a record of which jobs have previously been allocated which numbers.
Back to top
View user's profile Send private message
Arunkumar Chandrasekaran

New User


Joined: 01 Jun 2010
Posts: 63
Location: India

PostPosted: Thu Nov 29, 2012 6:11 pm
Reply with quote

Hi David Thanks for the reply.
Actually my jobs are stored in JHS(Job History System).Once it ran it will be moved to JHS.

Can I find same jobnumber for my job for more than once in JHS??
Back to top
View user's profile Send private message
David Robinson

Active User


Joined: 21 Dec 2011
Posts: 199
Location: UK

PostPosted: Thu Nov 29, 2012 6:23 pm
Reply with quote

I'm not familiar with JHS. I assume it's some type of job output / archiving / distribution / print utility such as CA's Dispatch.

In which case, JES sends it's output to JHS and that's it. JES does not consult JHS when allocating a new job number.

But, I'm making assumptions here as I've never heard of JHS.
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: Thu Nov 29, 2012 6:26 pm
Reply with quote

It is entirely possible. JES has an initialization parameter that tells it the highest job number it can assign. After it assigns that job number, the next assigned job number will be 1, then 2, then 3, etc. So depending upon your site configuration parameter, and how many jobs enter the system every day, it is entirely possible for the same number to wind up being used for the same job. It may not be very likely, but the probablility is definitely greater than zero.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Thu Nov 29, 2012 8:17 pm
Reply with quote

Note that if the job runs with a frequency such that JES number assignment is essentially random, then the number may be infrequently repeated. On our development sysplex, job numbers range from 1 to 99,999, and "wrap" every couple of days. A weekly job will probably have two runs with the same number every millennium or so.
Back to top
View user's profile Send private message
Arunkumar Chandrasekaran

New User


Joined: 01 Jun 2010
Posts: 63
Location: India

PostPosted: Thu Nov 29, 2012 8:44 pm
Reply with quote

Hi Thanks.

Can you please explain "wrap every couple of days" more??

Is it mean the jobnumbers reset to 00001 for every 2 days even it is not attained 99,999 ???
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: Thu Nov 29, 2012 8:51 pm
Reply with quote

No, it means that Mr Akatsukami is very busy and they run 100,000 jobs in two days. If you search here for "baked" and "dog" you'll find one reason why....
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Thu Nov 29, 2012 8:56 pm
Reply with quote

Hey, other people besides my team lead submit jobs! icon_biggrin.gif
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Thu Nov 29, 2012 9:16 pm
Reply with quote

FTR, the last wrap was about 16:26 CST yesterday (a job submitted then was assigned number 4). A job number at 09:00 CST today was assigned number 61507. Judge the activity in my shop from this, and keep in mind that this is only the primary development sysplex.
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

 


Search our Forums:

Back to Top