skip to main content

Library Routines : CBL_READ_SCR_CHATTRS

CBL_READ_SCR_CHATTRS
The CBL_READ_SCR_CHATTRS library routine reads a string of characters and their corresponding attributes from the screen.
This routine is implemented for compatibility with other COBOLs in order to facilitate migrations. Using this routine in new programs is not suggested; you should rely on DISPLAY and ACCEPT verbs instead.
Syntax:
 CALL "CBL_READ_SCR_CHATTRS" USING screenPosition 
Parameters:
01  screenPosition.
    03  rowNumber      PIC X COMP-X.
    03  columnNumber   PIC X COMP-X.
It returns the characters read from the screen. It must be at least the length specified by stringLength. Positions in it beyond that length are unchanged.
Return code:
returnCode can be any numeric data item and provides additional information:

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left