If the CLI command does not finish within the time limit or another CLI command is running (true is returned for the timeout key), wait a while and then run the following BCM Web API request to get the CLI execution results.
Request line
GET https://IP-address-of-the-z/OSMF-server/zosmf/tsoApp/app/servletKey/YKAPI
Request body
None
Response body
When this request is run, if CLI execution has finished, false will be returned for the timeout key and the CLI execution results are returned for the appData key. When this request is issued, if a CLI command does not finish or another CLI command is running, true will be returned again for the timeout key. Retry this request until false is returned for the timeout key.
The format of the response body is the same as that of the response body when a CLI command is run from the BCM Web API. See the description of the response body in Running Business Continuity Manager CLI commands by using the BCM Web API.