Thank you Cheryll and all else who responded!
-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On
Behalf Of Cheryll Ganzel
Sent: Friday, February 02, 2007 8:29 AM
To: [log in to unmask]
Subject: Re: [HP3000-L] How to script jobs to recover from an error
Jeff,
You need to modify the account level UDC (UDCS.UDCS) as
follows:
Change:
IF FINFO ("SGSUDC.PUB.SYS",0) THEN
INPUT SGASERIAL < SGSUDC.PUB.SYS
ELSE
To:
IF FINFO ("SGSUDC.PUB.SYS",0) THEN
FILE SGSUDC.PUB.SYS;SHR
INPUT SGASERIAL < *SGSUDC.PUB.SYS
ELSE
The above makes the file sharable to the logon user or job. The file
must be modified when no users are jobs are accessing the account.
Let me know if you have any questions.
Cheryll Ganzel
Client Services
Escalate Retail
-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On
Behalf Of Jeff Cox
Sent: Friday, February 02, 2007 8:14 AM
To: [log in to unmask]
Subject: [HP3000-L] How to script jobs to recover from an error
Good morning all!
Sorry to interrupt the usual banter with an on topic question, but I
have something that is vexing me. I have had some critical jobs fail
due to the following:
INPUT SGASERIAL < SGSUDC.PUB.SYS
EXCLUSIVE VIOLATION: FILE ACCESSED EXCLUSIVELY (FSERR 91)
INPUT SGASERIAL < SGSUDC.PUB.SYS
Couldn't open input redirection file, command failed. (CIERR 9427)
REMAINDER OF JOB FLUSHED.
CPU sec. = 1. elapsed min. = 1. FRI, FEB 2, 2007, 1:30 AM.
This is called as part of the UDCs on the system and is required by our
software vendor. Their explanation has been that another job is running
at the exact same time and already accessing the file. They have been
unable to guide me around it, other than to tell me not to have jobs run
at the exact same time...how helpful!
I was hoping that someone here could assist me, guide me, direct me to
be able to add to the jobs a way to check for this error condition and
auto restart the same job in some time frame (30 seconds, one minute,
etc.)
I appreciate any assistance you guys can provide!
Jeff
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|