We have a third-party software on the iSeries, and I am trying to compile a program in RPGIV using one of the third-party tables that has a field that is 31 0P, but it gives me an error and takes the filed back to 30 positions. How can I get around this? We are currently on V5R1.
I would declare the field as alpha numeric and overlay the field in a data structure with your numeric field for use internally. You will also have to check the first character to insure it does not overflow.
MORE INFORMATION ON THIS TOPIC
Search400.com's targeted search engine: Get relevant information on DB2/400.
The Best Web Links: tips, tutorials and more.
Check out this Search400.com Featured Topic: Database issues resolved