A summary of the programs that are supplied for sample batch applications.
The batch application programs are summarized in the following tables:
Table 1. Batch Put and Get samples
Member name |
For language |
Description |
Source file supplied in library |
Executable file supplied in library |
CSQ4BCJ1 |
C |
Get source program |
SCSQC37S |
SCSQLOAD |
CSQ4BCK1 |
C |
Put source program |
SCSQC37S |
SCSQLOAD |
CSQ4BCJR |
C |
Sample run JCL for CSQ4BCJ1 and CSQBCK1 |
SCSQPROC |
None |
CSQ4BVJ1 |
COBOL |
Get source program |
SCSQCOBS |
SCSQLOAD |
CSQ4BVK1 |
COBOL |
Put source program |
SCSQCOBS |
SCSQLOAD |
CSQ4BVJR |
COBOL |
Sample run JCL for CSQBVJ1 and CSQBVK1 |
SCSQPROC |
None |
Table 2. Batch Browse sample
Member name |
For language |
Description |
Source file supplied in library |
Executable file supplied in library |
CSQ4BVA1 |
COBOL |
Source program |
SCSQCOBS |
SCSQLOAD |
CSQ4BVAR |
COBOL |
Sample run JCL for CSQ4BVA1 |
SCSQPROC |
None |
CSQ4BAA1 |
Assembler |
Source program |
SCSQASMS |
SCSQLOAD |
CSQ4BAAR |
Assembler |
Sample run JCL for CSQ4BAA1 |
SCSQPROC |
None |
CSQ4BCA1 |
C |
Source program |
SCSQC37S |
SCSQLOAD |
CSQ4BCAR |
C |
Sample run JCL for CSQ4BCA1 |
SCSQPROC |
None |
CSQ4BPA1 |
PL/I |
Source program |
SCSQPLIS |
SCSQLOAD |
CSQ4BPAR |
PL/I |
Sample run JCL for CSQ4BPA1 |
SCSQPROC |
None |
Table 3. Batch Print Message sample (C language only)
Member name |
Description |
Source file supplied in library |
Executable file supplied in library |
CSQ4BCG1 |
Source program |
SCSQC37S |
SCSQLOAD |
CSQ4BCGR |
Sample run JCL for CSQ4BCG1 |
SCSQPROC |
None |
CSQ4BCL1 |
Browse source program |
SCSQC37S |
SCSQLOAD |
CSQ4BCLR |
Sample run JCL for CSQ4BCL1 |
SCSQPROC |
None |
Table 4. Publish/Subscribe samples
Member name |
For language |
Description |
Source file supplied in library |
JCL in SCSQPROC |
Executable file supplied in library |
CSQ4BCP1 |
C |
Publish to topic source program |
SCSQC37S |
CSQ4BCPP |
SCSQLOAD |
CSQ4BCP2 |
C |
Subscribe to topic and get messages source program |
SCSQC37S |
CSQ4BCPS |
SCSQLOAD |
CSQ4BCP3 |
C |
Subscribe to topic using a user provided destination and get messages source
program |
SCSQC37S |
CSQ4BCPD |
SCSQLOAD |
CSQ4BCP4 |
C |
Subscribe to topic using extended options and get messages source
program |
SCSQC37S |
CSQ4BCPE |
SCSQLOAD |
CSQ4BVP1 |
COBOL |
Publish to topic source program |
SCSQCOBS |
CSQ4BVPP |
SCSQLOAD |
CSQ4BVP2 |
COBOL |
Subscribe to topic and get messages source program |
SCSQCOBS |
CSQ4BVPS |
SCSQLOAD |
Table 5. Other samples
Member name |
For language |
Description |
Source file supplied in library |
JCL in SCSQPROC |
Executable file supplied in library |
CSQ4BCS1 |
C |
Asynchronous consumption source program |
SCSQC37S |
CSQ4BCSC |
SCSQLOAD |
CSQ4BCS2 |
C |
Asynchronous Put, and Check status source program |
SCSQC37S |
CSQ4BCSP |
SCSQLOAD |
CSQ4BCM1 |
C |
Inquire message properties source program |
SCSQC37S |
CSQ4BCMP |
SCSQLOAD |
CSQ4BCM2 |
C |
Set message properties source program |
SCSQC37S |
CSQ4BCMP |
SCSQLOAD |