To start the BCM Web API server, use one of the following methods:
-
Create a new procedure, and then use the procedure to start the BCM Web API server.
- Change the login procedure, and then directly start the BCM Web API server.
Creating a new procedure, and then using the procedure to start the BCM Web API server
Create the following procedure (procedure name: YKAPIPRC), and link the dataset storing YKAPIPRC to the DD name SYSPROC of the login procedure.
PROC 3 PRM1 PRM2 PRM3 ALLOC F(SYSEXEC) SHR REU DA('REXX-execlibrary-dataset-name') -----(1) ALLOC F(YKLOG01) SHR REU DA('BCM-log-dataset-name') -----(2) ALLOC F(YKLOG02) SHR REU DA('BCM-log-dataset-name') -----(2) ALLOC F(CLIDFLTS) SHR REU DA('default-parameter-dataset-name') -----(3) YKAPISRV &PRM1 &PRM2 &PRM3 -----(4) FREE F(CLIDFLTS) FREE F(YKLOG02) -----(5) FREE F(YKLOG01) -----(5)
The following explains each line of the procedure.
- (1)
-
Link the REXX Exec library to the DD name SYSEXEC to enable running Business Continuity CLI commands. For REXX-execlibrary-dataset-name, specify the dataset name of the Business Continuity Manager REXX Exec library. For details about the REXX Exec library, see the Hitachi Business Continuity Manager Installation Guide.
- (2)
- Allocate the BCM log dataset to the DD names YKLOG01 and YKLOG02. If BCM logs are output to the system logger service, this specification is not necessary.
- (3)
- Allocate the default parameter dataset created in Creating a default parameter dataset to the DD name CLIDFLTS.
Changing the login procedure, and then directly starting the BCM Web API server
Add the following DD statements to the login procedure. If SYSEXEC is already defined in the login procedure, link it.
//SYSEXEC DD DISP=SHR,DSN=HDSYK.Vnnnnnn.HDSYEXET -----(1) //CLIDFLTS DD DISP=SHR,DSN=USERID.BCMAPI.CLIDFTLS -----(2)
The following explains each line of the procedure.
- (2)
- For the DD name CLIDFLTS, allocate the dataset created in Creating a default parameter dataset.
You cannot share the BCM log dataset. Therefore, if you want to share the login procedure, we recommend that you use the system logger service for BCM logs.