OnDemand User Group
Support Forums => MP Server => Topic started by: jsquizz on January 10, 2023, 07:46:49 AM
-
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!
-
Two options that I can see...
A wrapper around arsload that checks the output for successful load message numbers, or arslog.
-JD.
-
You could also use ODFProcessDist exit.
https://www.ibm.com/docs/en/cmofm/10.5.0?topic=facility-odf-user-exits