|
A coworker is having problems with a stored procedure which uses an RPGIV program.
In the job log for the job which is servicing the requests from the VB.Net program, the following error messages are appearing
(my notes in parentheses):
User XXXXXXXXX from client xxx.xx.xxx.xxx connected to server.
Library xxxxxxxxxx added to library list. (data library)
Library yyyyyyyyy added to library list. (object library)
Column WLQMTO not in specified tables. (it is!)
Cursor SOQ not open.
See his email message below...
<<SNIP>>
Something has happened between September and now that has
caused this issue.
I created the stored procedure using the following command:
Create Procedure QGPL/Proc_AutoMill_Lens_Data
(In Parm1 Char(8))
Result Set 1
Language RPGLE
Not Deterministic
Reads SQL Data
External Name ATM001R
Parameter Style General
The actual SQL that is executed is embedded in an RPG program
(ATM001R) and the following is the statement executed:
Select Substr(WALITM,1,6) As Style,
ConCat(Trim(WAWR03),
Substr(WALITM,8,3))
As Power,
WAUORG As Started,
WAUORG - WLQMTO As Rejects
From F4801
Join
F3112
On WADOCO = WLDOCO
Where WALOTN = :LotNumber
And WLQMTO <> 0
<<SNIP>>
As an Amazon Associate we earn from qualifying purchases.
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.