Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in joblog of submitted job for exporter #35

Open
bdietz400 opened this issue Apr 20, 2024 · 2 comments
Open

Error in joblog of submitted job for exporter #35

bdietz400 opened this issue Apr 20, 2024 · 2 comments

Comments

@bdietz400
Copy link

-- Interface name: IBM Toolbox for Java
-- Interface version: V7R5M0 PTF 3

SELECT REPLACE(UPPER(Heading), ' ', '') AS Heading
,BIGINT( TRIM( TRANSLATE( Value, ' ',
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz(+-*/%=
&"''()<>,.:;?) ')))
AS Val
FROM Qtemp.Qdbop00003

The above is what I could find from visual explain
in the joblog I get these msgid's repeated: CPD5036 CPF5029 CPF5029 SQL0420

Message ID . . . . . . : CPD5036
Message . . . . : Data mapping error on member QDBOP00003.
Cause . . . . . : A data mapping error occurred on field
Cast(Translate(Strip(Translate(QDBOP00003_1.VALUE, *UNNAMED Table), Both,'
'), *UNNAMED Table) AS BigInt) in record number 1, record format *FIRST,
member number 1, in member QDBOP00003 file QDBOP00003 in library QTEMP,
because of error code 26. The error codes and their meanings follow:
26 -- For the CAST operation, a source character was found that is not valid.

IBM i is on V7.5 and really current on PTF's

assuming a change in one of the SQL services, not sure which one.

@bdietz400
Copy link
Author

for now I have changed to "enabled": false

@krka01
Copy link

krka01 commented Aug 13, 2024

@bdietz400 I have also experienced this.

I notice that Scott Forstie have created a PR for the readme section with another SQL that seems to work better, at least no data mapping error when i try it in ACS RSS. Seems like you have to edit it to remove one of the columns named value if you going to use it in Prometheus: c3c3cdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants