Open FALLAI-Denis opened 1 year ago
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)
@friedhelmmuench
Thank you very much, this will allow us to move forward.
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.