RESOPEN() Function
For this topic's original documentation, see the RESOPEN() Function - Open Resource File.
BBj-Specific Information
In BBj, the first RESOPEN() function returns a handle value of 1. (In
Visual PRO/5, the first RESOPEN() function returns a handle value of 0.)
This will cause code that depends on a certain handle being returned to fail in BBj. RESGET() functions that use an unassigned variable as the handle will also fail in BBj. Since unassigned numeric variables have a default value of zero, and zero is never a valid handle for RESGET() in BBj, these statements will cause errors.
Remarks
Using Resources from an SSCP
In BBj 25.00 and higher, programs and resources that are added to a JAR file in a classpath can be used by adding a "!!" prefix. Go to Loading Resources from Classpath for more information.