OPS/MVS

 View Only

 Can OPS/REXX use the Web Enablement Toolkit provided with z/OS

Jump to  Best Answer
Mark Noonan's profile image
Mark Noonan posted Aug 01, 2025 03:38 PM

Hello,

I am trying to use the  z/OS Web Enablement Toolkit to access web servers, and get an error when trying to initialise it under OPS/REXX, the same program works under TSO, and NetView.

z/OS client web enablement toolkit - IBM Documentation

Would these functions be accessible from OPS/REXX?
How could they be accessed?

Thanks

Mark.

Dave Gorisek's profile image
Dave Gorisek  Best Answer

If it runs in TSO, then should work in an OPS server. If running/testing manually, from the OPSLOG trigger to OPS server by issuing 'osfchar%pgmname' where osfchar is of course the value of your OPS server command character. This will run the pgm in TSO/E, as the OI pgmname runs in OPS/REXX. You may need to allocate 'other' DDs to the servers at the beginning of the pgm (or in OSFSTART pgm if you utilize this at OSF start up time). If need to do OPS 'work' in the pgm, access variables, query/update RDF tables including SSM tables, issue WTO, issue cmds, etc use the OPSMVS POI/TSO cmds in the pgm (OPSGETV/OPSSETV,OPSQL,OPSCMD,OPSWTO,etc).  Depending on what 'other' logic you are doing/needed that is only available in OPS/REXX (like Address AOF for rule manipulation/control as there is no POI) there are ways to make this work too. I would expand on that if needed, but I think you get the picture, that you simply run the pgm in TSO/E in the OPS server if the 'work/tool' doesn't execute in OPS/REXX. To trigger from a rule you would of course use Address TSO (or OSF) "%pgmname" or "%pgmname args" if passing arguments.  

Mark Eddy's profile image
Broadcom Employee Mark Eddy

I don't believe hwthttp will work under OPS/REXX only under IBM/REXX.  IBM supplies a sample named HWTHXRX1.
OPS/REXX has a relatively new address USS WEBREQ environment that encapsulates the Web Enablement Toolkit.