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

Migrate the TSO issueTsoCommand SDK to use the newer APIs (in z/OS 2.4) #2144

Open
zFernand0 opened this issue May 16, 2024 · 3 comments
Open
Labels
enhancement New feature or request priority-medium Not functioning - next quarter if capacity permits v3 prospective changes for v3
Milestone

Comments

@zFernand0
Copy link
Member

Is your feature or enhancement request related to a problem or limitation? Please describe

Since the inception of the CLI and the issueTsoCommand feature, we've been using APIs introduced in z/OS 2.2 which require proper handling of the TSO Address Spaces (AS). That means starting the AS, sending the TSO command, collecting responses from the AS, and ultimately closing the AS. With the newer APIs (introduced in z/OS 2.4), we can send the TSO command to the REST API, and z/OSMF will manage start an AS and manage it with similar configuration and retention parameters as it manages the AS used for other z/OSMF related operations (e.g. listing datasets, submitting jobs). The configuration and retention parameters mentioned above refer to when to start a new AS or when to terminate/close the AS after X minutes of inactivity.

Describe your enhancement idea

Migrate the TSO issueTsoCommand SDK to use the newer APIs (introduced in z/OS 2.4)

Describe alternatives you've considered

Continue using the old z/OS 2.2 APIs to operate (e.g. start, send-to, collect-from, close) the AS

Provide any additional context

This is related to:

@zFernand0 zFernand0 added enhancement New feature or request new The issue wasn't triaged yet labels May 16, 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 5 upvotes, it is added to our development backlog.
If it receives fewer votes, the issue is closed.

@zFernand0 zFernand0 changed the title Migrate the TSO issueTsoCommand SDK to use the newer APIs (introduced in z/OS 2.4) Migrate the TSO issueTsoCommand SDK to use the newer APIs (in z/OS 2.4) May 16, 2024
@dkelosky
Copy link
Contributor

I'm sure this will come up if/when this is taken on, but a quick note on "migrate". It may need to be an additional flag to request the new behavior to maintain backwards compatibility for users that are back-level, haven't configured the new API behavior, or if there is some unexpected limitation within the new API.

@zFernand0 zFernand0 added the v3 prospective changes for v3 label May 16, 2024
@zFernand0 zFernand0 added this to the Zowe V3 milestone May 16, 2024
@JTonda JTonda added priority-low Legit issue but cosmetic or nice-to-have and removed new The issue wasn't triaged yet labels May 20, 2024
@JTonda JTonda added priority-medium Not functioning - next quarter if capacity permits and removed priority-low Legit issue but cosmetic or nice-to-have labels Jul 17, 2024
@zFernand0
Copy link
Member Author

After some discussion, we decided to implement this as an optional parameter in the SDK functions. That way it can be easily consumed by Zowe Explorer.

The other alternative discussed was to implement this functionality and have it be enabled via an environmental variable (ENV), but this way might be more cumbersome for Zowe Explorer users to leverage, and having a VSCode setting for Zowe Explorer would be preferable over ENV.

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-medium Not functioning - next quarter if capacity permits v3 prospective changes for v3
Projects
Status: Medium Priority
Development

No branches or pull requests

3 participants