Focal Point Banner

As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at and provide your corporate email address, company, and name.

Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Mainframe JCL to Trigger a Unix Job to Execute a Webfocus Report ::?

Read-Only Read-Only Topic
Mainframe JCL to Trigger a Unix Job to Execute a Webfocus Report ::?
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 ?


WebFocus v7.6 on Unix

Saurabh Palkar
Posts: 18 | Registered: April 20, 2007Report This Post
posted Hide Post
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 ...

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
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
posted Hide Post
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.

Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Platinum Member
posted Hide Post
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
Posts: 176 | Location: Desplaines | Registered: August 05, 2004Report This Post
posted Hide Post
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:
  • Run Remote Shell to collect data from Oracle (this is WebFOCUS)
  • FTP collected data to mainframe
  • Update IMS
  • Collect data from IMS
  • FTP IMS data to Linux
  • Run Remote Shell to Update Oracle (again, this is WebFOCUS)

In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Mainframe JCL to Trigger a Unix Job to Execute a Webfocus Report ::?

Copyright © 1996-2020 Information Builders