cobol1.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CBL_READ_FILE (↑ Library of Routines)
 Key Details                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Routine:      CBL_READ_FILE
 
  Function:     Reads bytes from a file.
 
  Syntax:       CALL "CBL_READ_FILE" USING      file-handle
                                                file-offset
                                                byte-count
                                                flags
                                                buffer
                                     RETURNING  status-code
 
  Parameters:   file-handle            PIC X(4).
                file-offset            PIC X(8) COMP-X.
                byte-count             PIC X(4) COMP-X.
                flags                  PIC X COMP-X.
                buffer                 PIC X(n).
                status-code            See Key
                                    -♦-