Gentlemen,
Again I'm in need of your wisdom. I could not find my old tapes which has all my cobol utilities such as date/time routines, various math computation(calculus & trigonometry) etc and I'm trying to re-create them from the start(wish I knew I would be doing cobol again). If you know SQR(sql language but better) there is a function called CEIL and FLOOR. CEIL converts a numeric value into the next highest given variable and FLOOR converts it into the next smaller value. Example any number converted into the next highest in increment of 1000 or any value, 500 becomes 1000, 1100 becomes 2000 etc.
I'm wondering if there is an equivalent function in cobol. Any help is greatly appreciated.
Again I'm in need of your wisdom. I could not find my old tapes which has all my cobol utilities such as date/time routines, various math computation(calculus & trigonometry) etc and I'm trying to re-create them from the start(wish I knew I would be doing cobol again). If you know SQR(sql language but better) there is a function called CEIL and FLOOR. CEIL converts a numeric value into the next highest given variable and FLOOR converts it into the next smaller value. Example any number converted into the next highest in increment of 1000 or any value, 500 becomes 1000, 1100 becomes 2000 etc.
I'm wondering if there is an equivalent function in cobol. Any help is greatly appreciated.