I am creating a new database which has a large amount of text field information. I have experimented with using VARCHAR fields which has reduced the size of the database by 65%. The problem I am running into is when I attempt to use this database within an RPG program. I receive a compiler error indicating that I need to internally define varying fields. Does anyone have information on how to use VARCHAR fields within traditional RPG programs and are there any issues when attempting to update/add information to these types of fields ?
Unconfigured Ad Widget
Collapse
Announcement
Collapse
No announcement yet.
Using VARCHAR fields with ILE RPG
Collapse
X
-
Using VARCHAR fields with ILE RPG
Using ILE RPG starting in V3R7, using varying length fields is quite straightforward. Prior to V3R7, or using RPG III, you have to do some extra coding. A few questions:- [*]What release are you on?[*]Are you specifying anything in the CVTOPT compile parameter? (you shouldn't be)[*]What is the specific error message? Can you show us the relevant bits of the listing?[/list]
Comment