Q
Evaluate Weigh the pros and cons of technologies, products and projects you are considering.

Compile a program in RPGIV

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


This was last published in November 2003

Dig Deeper on DB2 UDB (universal databases)

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close