Override to file in QTEMP deleted on its own?

20 pts.
Tags:
DLTOVR
OVRDBF
QTEMP
We have a job that is run each night during our batch, that has the following functionality: 1. A utility is called, to create a flat file in QTEMP (32766 characters). I'll call this "File A" 2. An OVRDBF command then overrides to this file ("File A") 3. A program is then run, which processes things, and writes the results to "File A" 4. Another program is called, which checks the number of records in "File A". If there are 0 records, this program ends, otherwise the contents of "File A" are copied to the persistant version of this file. 5. The override is then removed. We use this basic process in a number of jobs, without any issue. However, with this one, the job doesn't work properly when run during batch, but when submitted manually (through our scheduling software), it performs as expected. We have verified that there are no object locks. From the logs, it looks as thought the override that was set up to use the file in QTEMP, is somehow being deleted. At the end of our process, the override is to be deleted (see step 5 above). When this step is run, however, the job logs indicate that the override does not exist. Until we get to step 5, there is nothing in place that would delete this override. Does anyone have any idea how this could happen? Note: The job always works fine when submitted manually (through our scheduling software). When run automatically through the same scheduling software, it does not work.
ASKED: September 9, 2008  1:22 PM
UPDATED: September 9, 2008  2:58 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Make sure that the overrides specify
OVRSCOPE(*JOB)
and the DLTOVR
LVL(*JOB)

The default for these values are ACTGRP
Any other job running in the same activation group that issues a DLTOVR(*ALL) will remove the overrides of your job if you haven’t specified *JOB on the OVRSCOPE

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following