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

Question - Use of System Symbol in dsnames or get System Symbols #342

Open
FALLAI-Denis opened this issue Mar 30, 2023 · 2 comments
Open

Comments

@FALLAI-Denis
Copy link

Hi,

We would like to use system symbols in the names of our dsnames handled in zAppbuild because our scripts need to be contextual to the z/OS partition it is running on.

zAppbuild, or more specifically the DBB API, makes use of BPXWDYN for file allocations.

We have attempted to allocate files whose dsname includes system symbols, but our attempts so far have failed.

Do you know if this is possible?

If we can't create a file with a system symbol in the dsname, do you know if there is an API to query these system symbols?
We tried to use the JZOS API JesSymbols.extract, but it doesn't return what we expect as information.

Thanks.

@friedhelmmuench
Copy link

Hi Denis,

maybe ZUtil.substituteSystemSymbols(String pattern) from JZOS is what you are looking for, see JavaDoc:
https://www.ibm.com/docs/api/v1/content/SSA3RN_11.0/com.ibm.java.api.11.doc/com.ibm.jzos/ibm.jzos/com/ibm/jzos/ZUtil.html#substituteSystemSymbols(java.lang.String)

@FALLAI-Denis
Copy link
Author

@friedhelmmuench

Thank you very much, this will allow us to move forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants