Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.
Hi,
I am trying to execute below command through SQLRPGLE I get below error
Data mapping error on member SRC1.
C EVAL W0STAMT = 'CREATE ALIAS QTEMP/TEMPFILE1 FOR ' C + %TRIM(MLLIBN) + '/' + %TRIM(MLSFIL) C + ' (' + %TRIM(MLNAME) + ')'
In Debug mode once the above command is executed, I go to STRSQL and do a Runqry in TEMPFILE1 I see above error message.
What I notice is for other source SRCDAT has some value while for the source in error the value of SRCDAT = ++++++ as seen above.
Can some one help to know why I am getting Data Mapping Error for this source(SRC1)? For other sources it is working file.