Sample REXX execs
This appendix contains source REXX execs that are used in the z/OS file system (zFS) aggregate backup and recovery scenario as described in Chapter 9, “Using DFSMShsm fast replication in an environment outside of DB2” on page 185.
A sample REXX for time of day (TOD) clock conversion is also provided.
Sample REXX RXZFS
Example A-1 is the RXZFS REXX that is used when performing quiesce and unquiesce on zFS aggregates.
Example A-1 Sample REXX RXZFS
Call Syscall_Cmd "seteuid 0", noexit_on_error, no_msgs
If OK Then Do
If foreground ...
Get DFSMShsm Fast Replication Technical Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.