Hello,
I copied a data source and used Valence AI to modify the existing script that added a "with" section. It looked great but when I click next, I get "ERROR" Expected Semicolon or end of input but "(" found. I told the AI that the code had an error and it gave me a new version... The new verison of the SQL script gave me this "ERROR" SQL0104 - Token + was not valid Valid tokens:,FROM INTO.. I tried this two more time and still received errors each time. When I copy the code and run it directly on the IBMi thru Run SQL Scripts all four versions run without any errors. How can I fix this?
Thanks,
Bruce
I copied a data source and used Valence AI to modify the existing script that added a "with" section. It looked great but when I click next, I get "ERROR" Expected Semicolon or end of input but "(" found. I told the AI that the code had an error and it gave me a new version... The new verison of the SQL script gave me this "ERROR" SQL0104 - Token + was not valid Valid tokens:,FROM INTO.. I tried this two more time and still received errors each time. When I copy the code and run it directly on the IBMi thru Run SQL Scripts all four versions run without any errors. How can I fix this?
Thanks,
Bruce

Comment