I have a question whether an idea would be worth entering a RFE.
I would like to enter a RFE to not require literal values in the %DEC BIF.
What I attempted( and failed ) was trying to create a generic parse numeric procedure that would take a the string, length, precision, error and default that you could convert any text to a packed decimal and varying different lengths and precision. for example. I could call the procedure like this
MyCustomer = parsedNumeric( '123456', 0, -1, 8 : 0 ) and it would return a packed decimal allocated only at a 8:0
or I could call it passing
MyCompany = parsedNumeric( '12', 0, -1, 2: 0 ) and it would return a packed decimal allocated only at a 2:0
I have attached what I originally coded the procedure as.
I appreciate any response.