skip to main content

Transitioning from MicroFocus : Library routines

Library routines
 
CBL_CHANGE_DIR as implemented by isCOBOL doesn’t actually change the working directory, it just specifies path that the framework must put before relative file names during i/o. External functions like commands run through C$SYSTEM or system API functions don’t use the directory set by CBL_CHANGE_DIR as working directory.
77 proc usage procedure-pointer.
set proc to entry "err-prog"
call "cbl_error_proc" using flag, proc
call "cbl_error_proc" using flag, "err-prog"
 
All the other routines must be replaced with the corresponding isCOBOL routine or with an isCOBOL syntax that has the same effect, if possible.
The following table lists the known solutions to obtain the same effect of Micro Focus routines.
 
use WRITE statement on the print-record[B] with BEFORE and AFTER clauses
[A] print-file is a sequential file defined as follows
SELECT print-file ASSIGN TO PRINT "-P SPOOLER".
[B] print-rec is the record definition for print-file, it's size should match the max number of digits that can be printed on a line. E.g.
FD print-file.
01 print-rec PIC X(80).
 
 
If the routine that you’re looking for doesn’t appear in the above list, contact Veryant’s support to discuss about possible solutions.

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