H06.18 Release Version Update Compendium
3 Application Development Products
New HP COBOL Intrinsic Functions
HP COBOL supports two new intrinsic functions, TEST-NUMVAL and TEST-NUMVAL-C.
These functions test whether a given argument string is a valid input to the existing instrinsic
functions NUMVAL and NUMVAL-C, respectively, and return a numeric indicator giving the
character position of the first invalid character, or zero to indicate a valid input string. This allows
the COBOL programmer to easily verify whether an input string is correctly formed, without
risking the premature termination of the program.
New eNOFT Commands
eNOFT supports two new commands:
Displays a list of file numbers and file names of all open files.• LISTFOPEN
Closes a file.• CLOSE
New HP COBOL Intrinsic Functions 13