zowe-cli
zowe-cli copied to clipboard
Provide a CLI command to change a job class
z/OSMF REST API supports changing the job class
https://www.ibm.com/docs/en/zos/2.4.0?topic=interface-change-job-class
A customer asked for this to be available as a CLI command. Their scenario was to run a job with MSGCLASS=H (held output) then release it to MSGCLAS A. Sample CLI command could be something like zowe jobs msgclass change -jobName XXXXXXXX -jobID XXXXXXXX -msgClass XXXXXXXX
Should we change verb around?
Quick suggestion: zowe jobs change [msgclass | class]
It appears zOSMF does not allow for changing the msgclass and only class can be changed. What if we were to instead offer an alternative way of holding/releasing a job along with the ability to change class category.
@zFernand0
Hi @ATorrise , an alternative way could work. What is the sort of syntax you're suggesting ?
Hi @Joe-Winchester, since zOSMF doesn't support the changing of msgclass property, would it be helpful to instead manage the delayed processing of a job via this hold/release mechanism? I imagine the commands would look similar to what Fernando suggested:
zowe jobs manage holdStatus ["release"|"hold"]
andzowe jobs manage class ["A"|"B"...]
Where holdStatus would be defaulted to "release" rather than "hold" For this idea, would you prefer the hold property to be a boolean?
zowe jobs manage hold [True|False]
Where the default value is false
Hi @ATorrise , sorry for the late reply. I really like this design !!!