×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> wrote on 10/02/2019
01:25:29 PM:
I have a situation where I have a key field that was defined by mistake
as
a variable length field. This is not a problem for ILE programs but it
is
not allowed for a OPM RPG program where we need to add a new file to the
RPG code.

I am trying to see if its possible to convert the field to a fixed
length
field in a logical file?

Does anyone have some feedback?


You can create an SQL VIEW that CASTs the VARCHAR column as CHAR.


Sincerely,

Dave Clark

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.