Back on V7R1 we had a process fail because there was a ended job with spool files with the same JOB/USER/NUMBER as the new job.
The duplicate job was from a few days prior and it still had spool files.
The new job failed because the commands couldn't figure out which job spool files it needed to deal with.
So, The job/user/number is Not guarantee unique.
It's like winning the lottery. Sometime, somewhere, it's going to happen.
It's just highly unlikely.
If you add Job Date, then you get closer to having no collisions.
If your system is cycling 999999 jobs in the same day, then you might want to find the offending process and rewrite.
Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jim Oberholtzer
Sent: Monday, December 18, 2017 9:24 AM
To: 'Midrange Systems Technical Discussion' <midrange-l@xxxxxxxxxxxx>
Subject: RE: is the Qualified Job ID unique
There can only be one entry for job/user/job number in the job table,
therefore unique.
The internal ID is another thing entirely and is cross referenced as part of
the job table.
--
Jim Oberholtzer
Agile Technology Architects
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Rob
Berendt
Sent: Monday, December 18, 2017 10:07 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: RE: is the Qualified Job ID unique
Jim,
If you look at the message data on
DSPMSGD RANGE(CPFA98C)
you will see they meant
<snip>
the fully qualified job name:
" is the Qualified Job ID (Jobname, User, Jobnumber) unique to the system?"
</snip>
28 characters is
jobnamexxx/userxxxxxx/######
10+1+10+1+6
The internal id is only 16 characters.
CPF0906 is the one returned for simple stuff like ENDJOB jobname or WRKJOB
jobname Telling you to qualify it.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail
to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.dekko.com&d=DwICAg&c=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=GYVfe7k5MogwSsRr94zbPeTDRJYpFK3WOG9BKFEwK1s&m=3vVmRumY3VhKh5fH9vH-69_Acg3-kk8DsQxS7OtKUtk&s=UdLe-G0dd02SdAmQMK9KeR3ntMj6fJORnhRiVm-uDlQ&e=
From: Jim Oberholtzer <midrangel@xxxxxxxxxxxxxxxxx>
To: "'Midrange Systems Technical Discussion'"
<midrange-l@xxxxxxxxxxxx>
Date: 12/18/2017 10:54 AM
Subject: RE: is the Qualified Job ID unique
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
I think the question was about the fully qualified job name:
" is the Qualified Job ID (Jobname, User, Jobnumber) unique to the
system?"
In that case yes it is, with the exception of if you roll over job
numbers,
meaning they get past 99,999, and you have really really old spool files
out
there that might have a job number, then the system will skip that number
and move on to the next one.
--
Jim Oberholtzer
Agile Technology Architects
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Rob
Berendt
Sent: Monday, December 18, 2017 9:32 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Re: is the Qualified Job ID unique
No, the simple job name is not guaranteed to be unique.
DSPMSGD RANGE(CPFA98C)
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail
to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.dekko.com&d=DwICAg&c=2S-2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=GYVfe7k5MogwSsRr94zbPeTDRJYpFK3WOG9BKFEwK1s&m=3vVmRumY3VhKh5fH9vH-69_Acg3-kk8DsQxS7OtKUtk&s=UdLe-G0dd02SdAmQMK9KeR3ntMj6fJORnhRiVm-uDlQ&e=
From: Jan Grove Vejlstrup <jgv@xxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 12/18/2017 10:18 AM
Subject: is the Qualified Job ID unique
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
Hello,
is the Qualified Job ID (Jobname, User, Jobnumber) unique to the system?
Or is the internal Job ID unique?
Best regards
Jan
As an Amazon Associate we earn from qualifying purchases.