From: Noeth, J. <jm...@ag...> - 1999-12-06 16:08:47
|
I am currently working on the run time routines that perform move related functions. I have run into a few situations that I would like input on. It appears that the decimals field of the fld_desc structure is being used as a boolean value to indicate whether or not there are digits to the right of the decimal point. If this field contained the number of digits to the right of the decimal point instead and an indicator was added to the structure as to whether or not this was a signed field, the runtime routines could be made much more efficient, as they would not have to decode the picture clause, except for editted fields. The 'all' field of the fld_desc structure (which is documented in the info section as occurs) is used to signify that the data associated with the field, when moved to another field will be repeated until the length of the receiving field is satisfied. Which definition is correct, or do we need both? How do we want to handle run time errors, such as moving non numeric data into a numeric field? Thanks, Jim Noeth |