Sample Post Processor - Email when a file loads

Previous topic - Next topic

jsquizz

Hi all.

We got a request for when a file loads - to drop an email.

In the past this is simple, since we use shell scripts to dual load. Since we use to Z/OS - We don't dual load.. We use daemons.

We also have limited access to "arslog" since it runs on our Z/Os box- and that'd require getting our mainframe folks - Which is--needless to say, difficult.

Does anyone have a suggestion as to a post processor script - That I can create/execute at the application level that basically will dispatch an email and say - Hey! This file loaded.

Even if its something simple-

#!/usr/bin/bash

mailx -something blah blah File.ARD - loaded


Thanks!
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Justin Derrick

Two options that I can see...

A wrapper around arsload that checks the output for successful load message numbers, or arslog. 

-JD.
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Webinars:  https://CMOD.Training/
IBM CMOD Professional Services: https://CMOD.cloud

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR