Skip to main content

Problem:

Earlier COBOL products for both Wiindows and Unix products contained a family  of Call-by-number routines to read and write characters and attributes to and from the screen. These are not available in Server Express

Resolution:

A lot of the call-by-number routines were replaced by call-by-name routines many years ago, but the call-by-number routines were kept in the product to assist migration.  They've now been removed entirely.  The replacements for x'B7' and x'B8' are as follows:

B7 0 cbl_read_scr_chars

B7 1 cbl_write_scr_chars

B7 2 cbl_read_scr_attrs

B7 3 cbl_write_scr_chars

B7 4 cbl_write_scr_n_char

B7 5 cbl_write_scr_n_attr

B8 0 cbl_read_scr_chattrs

B8 1 cbl_write_scr_charrts

Refer to the product documentation for full details of how to use these calls.

Old KB# 7187