Question

I have created a VIEW on IBM i, which works and displays in Crystal Reports, however it is in HEX so I had to change the ODBC manager to translate and this is fine on my pc. however, the crystal server is not making this translation. SO i was thinking, if i create a stored procedure which will take this view, and copy it to a DDS based PF, which those type of files have never been a problem with the crystal server.

Is this a reasonable use of stored proc in ibm I?

Was it helpful?

Solution

Perhaps you can try a more global solution by changing the ODBC connection settings on the crystal server.

You would want to set TRANSLATE to 1 in its connection string settings.

OTHER TIPS

You could do what you propose.

Is it a reasonable use of a stored procedure? Definitely not.

You would end up creating these stored procedure hacks for every possible table you could ever access in the future.

Time would be better invested cleaning up the system in the short and long term.

Usually a CHGPF with the correct CCSID is all that is required. A test environment could easily be created to validate the changes before applying them to the production system.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top