skip to main content

Library Routines : C$PRELOAD

C$PRELOAD
The C$PRELOAD routine runs asynchronously and instantiate all the COBOL programs contained in a given jar library or folder. This will speed up subsequent calls to these programs.
Note - only programs with a PROGRAM-ID are considered by this routine. Programs with a CLASS-ID are discarded, instead.
Syntax:
 CALL "C$PRELOAD" USING classesContainer
Parameters:
Return code:
returnCode can be any signed numeric data item and provides additional information:
The following constants are available in the iscobol.def copybook:
Examples:
Example - Load myApp.jar in memory (the jar must be found in the Classpath) to speed up subsequent calls to myApp classes
call "c$preload" using "myApp.jar".

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