zowe / zss

Zowe System Services Server for enabling low-level microservices
Eclipse Public License 2.0
13 stars 45 forks source link

Question: How to update a dataset with ZSS when open in ISPF browse #562

Closed 1000TurquoisePogs closed 1 month ago

1000TurquoisePogs commented 1 year ago

A question came in that I need help with so posting it here:

I was using dataset APIs of ZSS and could notice that update dataset request failed and returns ‘busy response’ if DSN is in browse mode at ISPF or DSN is allocated in started task DD(enqueue DISP=SHR) and zss dataset API do not allow to update. On the other hand we could see for same scenario ZOSMF dataset api allow to update DSN.Any one could please help me to understand above stated behaviour of zss or do we have any header which we can include for above operation to succeed.

It involves the function https://github.com/zowe/zss/blob/298ea08b0a8b7bc759e49ee696d7b14736a92e8e/c/datasetjson.c#L903.

They also asked:

I am also looking for API or way to execute console command in mainframe using zss.

I don't think it exists currently but did we have a prototype of this ever?

1000TurquoisePogs commented 1 year ago

We raised questions for investigation including:

some editors hold exclusive locks and some dont, and on certain conditions. what does ispf do? do we use the same locks as ispf to be a good citizen to ispf? why doesnt this happen to zosmf?

Lets check a tool like SDSF to see which locks are held, when?

~can you edit when someone elses read, while both are in ispf?~

could it have been that there was someone in ispf edit instead?

hosathota commented 1 year ago

Hi, is there any update on this? We are in the process of building set of APIs and this is a critical API support. Any update is appreciated.

Thanks and regards Vishwa

github-actions[bot] commented 10 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, but can be reopened if needed. Thank you for your contributions.

hosathota commented 10 months ago

Can this issue be looked into in near future?

github-actions[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, but can be reopened if needed. Thank you for your contributions.

github-actions[bot] commented 1 month ago

This issue has been automatically closed due to lack of activity. If this issue is still valid and important to you, it can be reopened.