CLIv2 fully supports applications using both 24-bit and 31-bit addressing (64-bit addressing is not supported). CLIv2 can reside in either type of storage and can be passed control in either mode. If called in 24-bit addressing mode, CLIv2 allocates 31-bit storage for internal use; therefore, limited Virtual Storage Constraint Relief occurs for 24-bit applications.
If the application calls CLIv2 in 31-bit addressing mode to initiate various requests, the request and response buffers will be allocated in 31-bit storage. This mode requires that subsequent CLIv2 calls to obtain these responses also be in 31-bit addressing mode so that the previously allocated buffers are accessible.