This directory contains a number of sample scripts that use ZOAU in various ways.
See one-liners.md for a number of short examples that accomplish different tasks. There are also longer scripts that can be useful:
Name | Purpose |
---|---|
chkptf.sh | Print out what PTFs have been applied to a particular CSI/Target Zone. |
create_sysin.py | Create a file for sysin input. Used for mvscmd calls. |
das.sh | Disassemble a dataset member. Wrapper script around ASMDASM. |
dcat.sh | Cat sequential datasets or PDS members (supports wildcards in dataset and member). |
dmerge.sh | Merge two datasets into one dataset. Wrapper script around SORT. |
dump_and_filter_racf.sh | Dump and Filter RACF database for two record types. |
edcdsect | Create a C structure from an assembler DSECT, using ZOAU, the Assembler, and EDCDSECT batch utility. |
listdirinfo | Use IEHLIST to get the directory information for a data set. |
rcvptf.sh | Receive a PTF that you have uploaded to the Unix System Services zFS file system from ShopZ. |
ispfcmd.sh | Run an ISPF command from Unix System Services. |
mps.sh | Display active MVS processes. |
zcx_versions.py | Check running zCX instances to see if any can be upgraded. |
smpe_list.py | Sample code showing how to convert from JCL to Python using the list feature of SMPE. |
SMPElistDefaults.yaml | Definitions that smpe_list.py needs. Must be put in the same directory as smpe_list.py . Changes need to be made to match the user's system. |
console.sh | Run opercmd interactively. |
member_copy.py | Copy members from one data set to another |
runjcl.py | Submit a JCL job and print job status. |
runrexx.py | Run a Rexx program in IKJEFT01 and return the data for processing |