(You can download NEWS/400 code for this issue, click here.) Sometimes a program needs to know the size of a field before it can perform the required task. For example, to load fields into a character string to produce a table, a program needs to know the length of each field. To use the OS/400 APIs to edit a numeric field, a program needs to know the length of the entire field and the number of decimal places within the field. You could simply hard code these values in your programs, ...

REGISTER NOW TO ACCESS THIS ARTICLE

All registered users get access to premium content on iPro Developer for free.