There's a program you can call the clean up the associated space of embedded SQL programs and service programs called QSQCMPGM, this might help. We occasionally need to run it after moving SQL objects from one system to another to fix mysterious SQL internal errors that spontaneously occur. It seems to be an issue with new access plans being created but the old ones not being cleaned up (or something like that). Maybe it will help.

Tim.

https://www.ibm.com/support/pages/information-qsqcmpgm
Information on QSQCMPGM - IBM<https://www.ibm.com/support/pages/information-qsqcmpgm>
Content. Programs have a 16 Meg size limit for the Program Associated Space (PAS). This space is used to store SQL information and access plans of the SQL statements in the program.
www.ibm.com


________________________________
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of Dean Eshleman <Dean.Eshleman@xxxxxxxxxxxx>
Sent: 29 July 2020 16:26
To: midrange-l@xxxxxxxxxxxxxxxxxx <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: SQL error after applying PTF's

Over the weekend, we applied PTF's to our system and now one of our SQL statements is failing. It had been over 2 years since we had applied PTF's. The errors I see in the job log are:

QDT Array List maximum exceeded!.
Internal failure occurred in query processor.
SQL system error.
Environment prevented creation of one or more SQL service dump spooled
files. Reason code 1.

The SQL statement covers about 300 lines in the RPG program. Anyone else see anything like this? I have opened a case with IBM.

Dean Eshleman
Software Development Architect
Everence

1110 North Main Street
PO Box 483
Goshen, IN 46527
(800) 348-7468 ext. 3528
(574) 533-9515 ext. 3528
[Join our Talent Network]<http://www.everence.com/careers>


Confidentiality Notice: This information is intended only for the individual or entity named. If you are not the intended recipient, do not use or disclose this information. If you received this e-mail in error, please delete or otherwise destroy it and contact us at (800) 348-7468 so we can take steps to avoid such transmission errors in the future. Thank you.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.