Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zowe-api-dev stop supports only java started by Jzos launcher #115

Open
jandadav opened this issue Mar 25, 2020 · 3 comments
Open

zowe-api-dev stop supports only java started by Jzos launcher #115

jandadav opened this issue Mar 25, 2020 · 3 comments

Comments

@jandadav
Copy link
Contributor

jandadav commented Mar 25, 2020

We are trying to use the tool and migrate API Mediation Layer pipeline deployments to zowe-api-dev.
We want to stop the deployed job after we are done with it, for example when pipeline is done, release the resources.
Our job is started with BPXBATCH and the zowe-api-dev is sending stop command, which is not effective for java launched this way. We would like to be able to do something like `zowe-api-dev stop --force' that would also send the cancel command.

We would like to have this in place before we migrate our pipeline to this tool.

@plavjanik
Copy link
Contributor

This is a good idea too!

@plavjanik
Copy link
Contributor

What about having the stop command to be intelligent as in PTG2? Try to stop it using /P, check if it has stopped. If not, /CANCEL it and wait until it is canceled. There would be option --cancel to cancel without trying to stop too. I do not want to call it --force since there is also a FORCE command in z/OS that is stronger than CANCEL but should not be used since it can cause problems to the system.

@jandadav
Copy link
Contributor Author

Good idea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants