Using Core-to-Core (CRCR) and Storage Queue (STOQ)

Core-to-core (CRCR) and storage queue (STOQ) are two methods of transmitting EBCDIC text between processes. The primary difference between these two methods is that CRCR communicates data synchronously, while STOQ communicates data asynchronously. Another difference is that CRCR data is always received in the order that it is sent, while STOQ data can optionally be received in a different order.

COBOL85 programs can use CRCR or STOQ by using special forms of the SEND and RECEIVE statements in that language. Programs written in other languages can use CRCR or STOQ through calls on procedures in the EVASUPPORT library.

This section emphasizes the use of CRCR through EVASUPPORT procedure calls, but also gives examples of the corresponding COBOL85 statements. For complete details on the COBOL85 syntax, refer to the COBOL ANSI-85 Programming Reference Manual, Volume 1: Basic Implementation.

This section first describes the CRCR and STOQ features separately. This section then describes procedure result values and operations interfaces that apply to both CRCR and STOQ.