|
Do you have STRSQL? If so, the only issue you might have is the dot versus the slash (V40BPCSF.ITHL15) or (V40BPCSF/ITHL15). You can change this in STRSQL, F13=Services, 1. Change session attributes, Naming convention (read the help on that field). If no STRSQL, you can test this by using iNav. Drill down into Databases, system name, Schemas. Once you open up schemas, you can select "Run an SQL script" from the window at the bottom. Wait. I just tried that for you. You are using variables. That's a little trickier to test in STRSQL or iNav. You'll have to put values in there for testing. Or you can whip up a little imbedded sql rpgle program (providing you have CRTSQLRPGI). In imbedded sql you have to replace the & with a colon. And, since you'll be retrieving multiple rows, use a cursor. Need some samples? Rob Berendt
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.