Preparing and running sample applications for the batch environment on z/OS
To prepare a sample application that runs in the batch environment, perform the same steps that you would when building any batch IBM MQ for z/OS application.
These steps are listed in Building z/OS batch applications.
Alternatively, where we supply an executable form of a sample, we can run it from the thlqual.SCSQLOAD load library.
Note: The assembler language version of the Browse sample uses data control blocks (DCBs), so you must link-edit it using RMODE(24). The library members to use are listed in Table 1, Table 2, Table 3, and Table 4. We must edit the run JCL supplied for the samples that we want to use (see Table 1, Table 2, Table 3, and Table 4 ). The PARM statement in the supplied JCL contains a number of parameters that we need to modify. To run the C sample programs, separate the parameters by spaces; to run the assembler, COBOL, and PL/I sample programs, separate them by commas. For example, if the name of our queue manager is CSQ1 and we want to run the application with a queue named LOCALQ1, in the COBOL, PL/I, and assembler-language JCL, your PARM statement should look like this:PARM=(CSQ1,LOCALQ1)In the C language JCL, your PARM statement should look like this:
PARM=('CSQ1 LOCALQ1')
You are now ready to submit the jobs.
- Names of the sample batch applications on z/OS
A summary of the programs that are supplied for sample batch applications.
Parent topic: Use the sample programs for z/OS