-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: add submit uss across the board #184
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Fernando Rijo Cedeno <[email protected]>
Signed-off-by: Fernando Rijo Cedeno <[email protected]>
Signed-off-by: Fernando Rijo Cedeno <[email protected]>
Signed-off-by: Fernando Rijo Cedeno <[email protected]>
Signed-off-by: Fernando Rijo Cedeno <[email protected]>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Fernando for adding this and spotting the submit JCL bug 🙏 I have one request regarding trimming spaces but nothing major
result = jobs.SubmitUssResponse{ | ||
Success: true, | ||
Path: request.Path, | ||
JobId: strings.TrimSpace(string(out)), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is fine, but ideally we could use the output as-is from zowex 😋
|
||
string only_jobid(result.get_option("--only-jobid")->get_value()); | ||
if ("true" == only_jobid) | ||
cout << jobid << endl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that I'm reading the handler logic, can we remove the trim from the Go code since we don't print any spaces?
What It Does
Added submit to the CLI plug-in 😋
How to Test
Deploy and run
zowe zssh submit ds|uss|lf
Note: local-file (as well as stdin) depend on
submitJcl
which may not work until we fix:zowex job submit-jcl
#183Review Checklist
I certify that I have:
Additional Comments
Again, just trying to complete the table 😋