New CUM Level 8305 is giving me SQL Headaches

200 pts.
Tags:
AS/400
AS/400 upgrades
CUM PTFs
iseries v5r4
SQL
We recently upgraded to a new machine at OS Level V5R4 CUM 8305. Our old machine was also at V5R4 but the CUM level was only 8057. Ever since the upgrade, I have been having SQL Problems. My latest problem involves trying to update a QTEMP File that was built using CRTPF and specifying a record length. When my CLLE tries to update the temporary file, the system issues a message indicating the file is journaled and therefore the update action is invalid. I have commitment control set to *NONE on the RUNSQLSTM. To correct the issue I added a SET Statement to the SQL Source Member. (SET TRANSACTION ISOLATION LEVEL NO COMMIT) This also caused the CLLE to abort with a message indicating the Commit level was not at a break point. I have been surfing the net in search of an answer, but have had no luck. Any suggestions or ideas would be greatly appreciated.

Answer Wiki

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

Hi,

My first thought goes to libraries and library lists – I’m sure I read somewhere that there were changes in how libraries and lists were handled with regard to SQL. Do you have the library name specified in your SQL statement? Is it possible that there is indeed a file with the same name in another library with journalling active?

Regards,

Martin Gilbert.

The SQL does have the Library Name specified for the File. I search the entire system looking for another file of the same name but found none. For now I gave in and Added a STRJRNPF statement for the file prior to applying the SQL to it. I hope to eventually find out however why the functionality changed. Thanks for you input Martin.

Frank Carpenter

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