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

Support More Options for Submitting Jobs in Zowe Explorer API #2834

Open
rudyflores opened this issue Apr 11, 2024 · 1 comment
Open

Support More Options for Submitting Jobs in Zowe Explorer API #2834

rudyflores opened this issue Apr 11, 2024 · 1 comment
Labels
enhancement New feature or request priority-low Legit issue but cosmetic or nice-to-have

Comments

@rudyflores
Copy link
Contributor

Is your feature request related to a problem? Please describe.

In Zowe Explorer API when calling submitJCL or submitJob there a none of the options that are supported in the CLI equivalent of this API call to pass in for handling a job. Examples of these are:

  • --volume The volume serial (VOLSER) where the data set resides. The option is required
    only when the data set is not catalogued on the system.
  • --wait-for-active Wait for the job to enter ACTIVE status before completing the command.
  • --wait-for-output Wait for the job to enter OUTPUT status before completing the command.
  • -view-all-spool-content Print all spool output. If you use this option you will wait for the job to
    complete.
  • --directory The local directory you would like to download the output of the job. Creates a
    subdirectory using the jobID as the name and files are titled based on DD names.
    If you use this option you will wait for the job to complete.
  • --extension A file extension to save the job output with. Default is '.txt'.
  • --jcl-symbols A string of JCL symbols to use for substitution. For symbol values with no
    spaces: "symbol1=value1 symbol2=value2 ...". When a value contains spaces,
    enclose the value in single quotes: "symbol1='value 1 with spaces'
    symbol2='value 2 with spaces' ...". To embed a single quote in a value, use two
    single quotes: "NAME=O''Brian".

The CLI command referenced here is: zowe jobs submit ds/lf/in ...

Describe the solution you'd like

The submitJCL and submitJob API's should provide these options as an object that can be passed in, for example can be called jobOptions which would contain all these possible options.

Describe alternatives you've considered

No alternatives, currently the CLI command is the workaround.

Additional context

@rudyflores rudyflores added the enhancement New feature or request label Apr 11, 2024
Copy link

Thank you for raising this enhancement request.
The community has 90 days to vote on it.
If the enhancement receives at least 10 upvotes, it is added to our development backlog.
If it receives fewer votes, the issue is closed.

@JTonda JTonda added the priority-low Legit issue but cosmetic or nice-to-have label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority-low Legit issue but cosmetic or nice-to-have
Projects
Status: Low Priority
Development

No branches or pull requests

2 participants