Requesting DFSMShsm service from your applications
DFSMShsm has macros available that allow you to request DFSMShsm service from your application programs. You provide information to the macro and execute it from your application program. The macro builds the required DFSMShsm control information and issues the request for DFSMShsm service.
Related reading
For more information about the macros, see z/OS DFSMShsm Managing Your Own Data.