You might consider executing curl in your rexx to obtain the data from the remote server. You can do that in a batch job.
-- Donald Grinsell, Systems Programmer Enterprise Technology Services Bureau SITSD/Montana Department of Administration 406.444.2983 (D) "When they kick out your front door, how you gonna come? With your hands on your head or on the trigger of your gun?" ~ The Clash > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Mary Kay Tubello > Sent: Thursday, February 08, 2018 7:08 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: REXX say 'location:https://... in a batch job > > Hello, > > I have two REXXs in USS on z/OS that I execute from a URL. The ‘say’ re- > directs to a website. Is it possible to execute these in a batch job? And > if yes, how will I know they worked? > > Thanks, > Mary Kay > > 1. This url: > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmvs.humana.c > om%2FHUMcgi%2Furl1.sh&data=02%7C01%7Cdgrinsell%40MT.GOV%7C2075f0da4bcb49763b8 > a08d56efd5357%7C7310812d67f04445a8babaa08aeae2b1%7C0%7C1%7C636536956677281486 > &sdata=JWfe91dW06v%2FNYmG06eNsDaPyfkV%2BFzvXtkN4Ac1ElE%3D&reserved=0 > executes this REXX to point to another mainframe webserver. > > /* REXX */ > /****************************************************** > /* This is code for transferring to a web page. > /* > /* 02/07/18 this works!! > /****************************************************** > say 'location:https://syss.humana.com/perftune' > say > return 0 > > > 2. This url: > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmvs.humana.c > om%2FHUMcgi%2Furl.sh&data=02%7C01%7Cdgrinsell%40MT.GOV%7C2075f0da4bcb49763b8a > 08d56efd5357%7C7310812d67f04445a8babaa08aeae2b1%7C0%7C1%7C636536956677281486& > sdata=UHp8vZ5VycVESJenCZEBI9qyUQuHuoxxk5cdknVpe3A%3D&reserved=0 > executes this REXX to go to a different server(non-mainframe) > > /* REXX */ > /******************************************************************/ > /* This is code for transferring to a web page. */ > /* > /* 02/07/18 This works!! has to have return 0 */ > /******************************************************************/ > > say 'location:https://dev-odssvcs.humana.com/ods/dbflashlistener/?quer > y=0&propagate=true' > say > return 0 > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send email to > lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN