Focal Point
Mainframe JCL to Trigger a Unix Job to Execute a Webfocus Report ::?

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1291028662

January 18, 2008, 04:11 PM
SauPa
Mainframe JCL to Trigger a Unix Job to Execute a Webfocus Report ::?
Hi,
I want to create a mainframe job that needs to execute a schedule on the Unix Server.

Basically, my Unix Webfocus reports, need to be triggered upon completion of a mainframe job.

Can someone point in the right direction, as to how to go about doing this ?

Thanks,
Saurabh

WebFocus v7.6 on Unix


Saurabh Palkar
January 18, 2008, 04:28 PM
GinnyJakes
Lots of folks at our site do this. The mainframe job writes some sort of flag file and ftp's it to the WebFOCUS server upon completion.

The Report Caster job wakes up every once in awhile and checks for the flag file. If it is there and has the right stuff in it, it runs the schedule. Otherwise it sets the &KILL_RPC switch.

Another way would be to write a Unix shell or perl script that runs under crontab and checks for the flag file. When it arrives, use the RC API to fire off the schedule.

Just a couple of ideas for you ...


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
January 19, 2008, 01:44 AM
Leah
What system do you use for your batch processing on the mainframe. We have Trivoli and have a job which sends a script to the windows server where the caster job is kicked off via a VB script. Don't have all the ins and outs, we used to kick of dstrun with a dos script but version 7.6.x doesn't let us, so the new procedure. The job then becomes part of the nightly schedule including return codes.


Leah
January 21, 2008, 04:45 PM
newtofocus
We do this by updating the botsched file on the report caster repository, however IBI does not recommend this.


WF7.1.4 Prod/Test, MRE, self serve, DM
January 22, 2008, 09:31 AM
jgelona
We use the mainframes remote shell process. We have lots of "Interface" jobs that run nightly and transfer/update our Oracle data base on Linux and IMS databases on the mainframe. For example a mainframe job might have the following steps:



In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.