System concatenation utilities functionality overview
Get a temporary data set name
With ZOAU, you can first generate a valid MVS data set name that is suitable for use as a temporary data set and then create a data set with it in the following ways:
- Issuing a shell command:
temporary_name=$(mvstmp $(hlq))
dtouch $temporary_name
- Calling an API in Python programs:
temporary_name = datasets.temp_name(datasets.get_hlq())
datasets.create(temporary_name)
Find a member in a concatenation
With ZOAU, you can search for a member, for example ZFSALLOC
, within a data set concatenation, for example IBMUSER1.JCL:IBMUSER2.JCL:IBMUSER3.JCL
, in the following ways:
- Issuing a shell command:
dwhence "ZFSALLOC" "IBMUSER1.JCL:IBMUSER2.JCL:IBMUSER3.JCL"
- Calling an API in Python programs:
datasets.find_member("ZFSALLOC", "IBMUSER1.JCL:IBMUSER2.JCL:IBMUSER3.JCL")
Display the active link list
With ZOAU, you can display the active link list concatenation in the following ways:
- Issuing a shell command:
pll
- Calling an API in Python programs:
print(zsystem.list_linklist())
Search link list for a member
With ZOAU, you can search for the data set, for example IXZXIT01
, in the link list that a module comes from in the following ways:
- Issuing a shell command:
llwhence IXZXIT01
- Calling an API in Python programs:
print(zsystem.find_linklist(member="IXZXIT01"))
Display the active parmlib
With ZOAU, you can display the active parmlib in the following ways:
- Issuing a shell command:
pparm
- Calling an API in Python programs:
print(zsystem.list_parmlib())
Search parmlib for a string
With ZOAU, you can search for a string, for example NODSI
, across the parmlib concatenation in the following ways:
- Issuing a shell command:
parmgrep "NODSI"
- Calling an API in Python programs:
print(zsystem.search_parmlib("NODSI"))
Search parmlib for a member
With ZOAU, you can search for the data set that a member, for example ZSCHED00
, comes from in the parmlib concatenation in the following ways:
- Issuing a shell command:
parmwhence ZSCHED00
- Calling an API in Python programs:
print(zsystem.find_parmlib("ZSCHED00"))
Display the active proclib
With ZOAU, you can display the active proclib in the following ways:
- Issuing a shell command:
pproc
- Calling an API in Python programs:
print(zsystem.list_proclib())
Search proclib for a string
With ZOAU, you can search for a string, for example IEFRDER
, across the proclib concatenation in the following ways:
- Issuing a shell command:
procgrep IEFRDER
- Calling an API in Python programs:
print(zsystem.search_proclib("IEFRDER"))
Search proclib for a member
With ZOAU, you can find the data set that a member, for example XWTR
, comes from in the proclib concatenation in the following ways:
- Issuing a shell command:
procwhence XWTR
- Calling an API in Python programs:
print(zsystem.find_proclib("XWTR"))