File overrides within interactive SQL sessions – how are they applied?

5 pts.
Tags:
AS/400
AS/400 SQL
IBM iSeries
iseries v5r4
SQL
SQL Sessions
I have an issue where, in an interactive SQL on an iSeries (V5r4) despite specifying the library and file name for a delete statement, the action deletes from a file listed in the overrides. Is there a way to prevent this from happening?

Software/Hardware used:
iSeries V5R4, 5722ST1 *COMPATIBLE DB2 Query Mgr and SQL DevKit

Answer Wiki

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

Try deleting the file override before issuing the SQL delete statement.

====================================================

Bear in mind that a major point of “overrides” is to exert external control or influence over internal processes. A process might be created using an internal reference (library/object) but may be executed over a different object without needing to alter the encapsulated code.

As far as the system is concerned, this is a management/security mechanism.

What you’re asking is how to defeat it. I’m not sure how appropriate it would be to discuss in a public forum, assuming such an action is possible.

That’s hardly what you want to hear, and I don’t want to suggest that I am discussing your motivation — I think it’s clear that your motivation involves protecting resources.

But you might not get better advice than what WoodEngineer provided.

Tom

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