skip to main content

Library Routines : C$RERR

C$RERR
The C$RERR library routine retrieves extended information about the status of a file after an I/O operation.
Syntax:
 CALL "C$RERR" USING extendStat 
Parameters:
In thin client environment, having iscobol.file.lock_manager=com.iscobol.as.locking.InternalLockManager, when a lock timeout error occurs, extendStat is set to a concatenation of the file status and the thread ID of the client holding the lock. Since a thread ID can be up to 10 digits long, it’s suggested to define extendStat as PIC X(12). The thread ID is stored in extendStat(3:).
Examples:
Example - Display extended information on a file error
  call "C$RERR"     using crerr-status
  call "C$RERRNAME" using rerrname
  display message "Error " file-status crerr-status " on " rerrname 

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