Install the IBM® MQ samples
Before you begin
If you have not already done so, sign on to the system with
a user profile that has *ALLOBJ special authority,
for example QSECOFR.
About this task
Install the samples.
After following the optional step to pre-agree the license, the RSTLICPGM command runs without requiring any interactive input. Otherwise the license agreement is displayed for you to accept. See License requirements.
Procedure
-
Optionally pre-agree the license terms and conditions by running the command,
CALL PGM (QSYS/QLPACAGR) PARM ('5724H72' 'V8R0M0' '0001' 0)
Where
the parameters of
PARM are,
- 5724H72
- The product identifier for IBM i.
- V9R0M0
- The version, release, and modification level.
- 0001
- The option number for the samples.
- 0
- Unused error structure.
-
Install the samples using the command:
RSTLICPGM LICPGM (5724H72) DEV (installation device) OPTION (1) OUTPUT (*PRINT)
Where
the parameters of
RSTLICPGM are,
- LICPGM (5724H72)
- The product identifier for IBM i.
- DEV (installation device)
- The device from which the product is to be loaded, typically an optical drive, for example,
OPT01
.
- OPTION (1)
- Install the samples for IBM i.
- OUTPUT (*PRINT
- The output is printed with the spooled output of the job.