The READYCL function is used to allow linkages to a connection library. No APPROVAL procedure, CHANGE procedure, or exported procedure of the connection library can be invoked until the READYCL function is called.
── READYCL ── ( ─┬─<connection library identifier>─┬─ ) ───────────────┤
└─<thiscl intrinsic>──────────────┘The values returned by the READYCL function and their meanings are as follows:
|
Value |
Meaning |
|
0 |
No error. |
|
1 |
The parameter passed to the READYCL function is not a connection library. |
|
3 |
The connection library does not have the INTERFACENAME attribute defined. |
|
5 |
The INTERFACENAME attribute is already in use by another connection library in this program. |
|
7 |
The compiler control option SHARING for this codefile is set to PRIVATE, and the task that initiated this codefile has already terminated. |
|
11 |
The compiler control option SHARING for this codefile is set to PUBLIC, and another copy of this same codefile is already running and has readied a connection library. This error could also occur if the other copy of this codefile was initiated by another task linking to it. |
|
13 |
The compiler control option SHARING for this codefile is set to SHAREDBYRUNUNIT. |

