Re: More REXX SDSF CGI fun (was: Anybody used SDSF / REXX in HTTPD CGI pgm)

2012-03-07 Thread Dana Mitchell
I have solved this problem. I had to ADDRESS MVS on the EXECIO statement. The RC1 was just a little misleading to me, if EXECIO were not available in the environment I was in I would have expected a different error. Dana --

Re: More REXX SDSF CGI fun (was: Anybody used SDSF / REXX in HTTPD CGI pgm)

2012-03-05 Thread Dana Mitchell
Miklos, I don't really need to see your code, I would like to just verify that it is indeed possible to read SDSF output using EXECIO in a REXX CGI program. My code basically issues SDSF SA command to allocate output datasets, then I try to use EXECIO to read the SDSF output. My REXx progr

Re: More REXX SDSF CGI fun (was: Anybody used SDSF / REXX in HTTPD CGI pgm)

2012-03-02 Thread Miklos Szigetvari
On 3/2/2012 2:23 PM, Dana Mitchell wrote: Thanks Miklos, Perhaps since we are different releases: MVS=z/OS 01.11.00 JES=z/OS1.11 SDSF=HQX7760 explains the different behaivor. But I have worked around this issue. My remaining issue is that I cannot get the REXX to successfully read a sysout

Re: More REXX SDSF CGI fun (was: Anybody used SDSF / REXX in HTTPD CGI pgm)

2012-03-02 Thread Dana Mitchell
Thanks Miklos, Perhaps since we are different releases: > MVS=z/OS 01.11.00 > JES=z/OS1.11 > SDSF=HQX7760 explains the different behaivor. But I have worked around this issue. My remaining issue is that I cannot get the REXX to successfully read a sysout dataset allocated via the SDSF 'SA'

Re: More REXX SDSF CGI fun (was: Anybody used SDSF / REXX in HTTPD CGI pgm)

2012-03-02 Thread Miklos Szigetvari
Hi Dana For me this script: /* REXX */ . say 'Content-type: text/html' . say '' . say '' . say 'test jes interface' . say '' . rc=isfcalls('ON') . . /*/ . /* Issue the WHO command */ . /*/ . Address SDSF "ISFEXEC WHO" . . /*

Re: More REXX SDSF CGI fun (was: Anybody used SDSF / REXX in HTTPD CGI pgm)

2012-03-01 Thread Dana Mitchell
Scott, Not sure how to tell. It's under the z/OS HTTP server, plain vanilla installation, stored in the /usr/lpp/internet/server_root/cgi-bin/ directory. Dana On Thu, 1 Mar 2012 13:28:00 -0500, Scott Ford wrote: >Dana: > >Are you running under tso or rexx cgi ? > > >Sent from my iPad >Scott

Re: More REXX SDSF CGI fun (was: Anybody used SDSF / REXX in HTTPD CGI pgm)

2012-03-01 Thread Scott Ford
Dana: Are you running under tso or rexx cgi ? Sent from my iPad Scott Ford Senior Systems Engineer www.identityforge.com On Mar 1, 2012, at 8:24 AM, Dana Mitchell wrote: > Scott, > > Sorry I didn't see this post until after some of the others. As I said, I > have the userid problem pret

Re: More REXX SDSF CGI fun (was: Anybody used SDSF / REXX in HTTPD CGI pgm)

2012-03-01 Thread Dana Mitchell
Hi Miklos, according to rxenv.sh: _BPX_USERID=dmitche REMOTE_USER=dmitche Whereas ISFEXEC WHO shows: RC from WHO is 0 USERID=WEBSRV PROC=REXX TERMINAL= GRPINDEX=3 GRPNAME=ISFREXX MVS=z/OS 01.11.00 JES=z/OS1.11 SDSF=HQX7760 ISPF=N/A RMF/DA=NOTACC SERVER=YES SERVERNAME=SDSF JESNAM

Re: More REXX SDSF CGI fun (was: Anybody used SDSF / REXX in HTTPD CGI pgm)

2012-03-01 Thread Dana Mitchell
Scott, Sorry I didn't see this post until after some of the others. As I said, I have the userid problem pretty much explained. As it turns out SDSF REXX forces only TSO JCL authority for putposes of assigning groups in ISFPRMxx. It also pluggs REXX as the logon proc, so I can key off of th

Re: More REXX SDSF CGI fun (was: Anybody used SDSF / REXX in HTTPD CGI pgm)

2012-03-01 Thread Miklos Szigetvari
Hi There is a "rxenv.sh" in the samples, it would print out the envars , and I have _BPX_USERID=esa REMOTE_USER=esa so just to see if it is running under the correct USER On 2/29/2012 6:08 PM, Dana Mitchell wrote: On Wed, 29 Feb 2012 16:16:41 +0100, Miklos Szigetvari wrote: You are pro

Re: More REXX SDSF CGI fun (was: Anybody used SDSF / REXX in HTTPD CGI pgm)

2012-02-29 Thread Dana Mitchell
On Wed, 29 Feb 2012 16:16:41 +0100, Miklos Szigetvari wrote: >You are probably running under the HTTP server's userid. >Protect /cgi-bin/* CGI_Admin Miklos, I have this protection setup but my REXX exec still says it is running under the HTTP Server's userid. But I found an answer to the 2nd

Re: More REXX SDSF CGI fun (was: Anybody used SDSF / REXX in HTTPD CGI pgm)

2012-02-29 Thread Miklos Szigetvari
Hi Thank you Kirk It is completely new for me also(i.e. REST), but about the performance. Are you sure that it is faster as SDSF/REXX ? I mean, I have never seen something slower as zOSMF.(We are in z/OS 1.12) On 2/29/2012 4:10 PM, Kirk Wolf wrote: Have you looked at the new "z/OS Jobs RES

Re: More REXX SDSF CGI fun (was: Anybody used SDSF / REXX in HTTPD CGI pgm)

2012-02-29 Thread Miklos Szigetvari
On 2/29/2012 3:27 PM, Dana Mitchell wrote: I'm working on a simple REXX/SDSF/CGI exec to display output from selected STC's via browser and HTTP server on z/OS 1.11. I can get it to partially work, but there seems to be some inconsistencies in the way userid's are handled. If I run a REXX CG

Re: More REXX SDSF CGI fun (was: Anybody used SDSF / REXX in HTTPD CGI pgm)

2012-02-29 Thread Kirk Wolf
Have you looked at the new "z/OS Jobs REST Interface"? If it meets your requirements, I believe that you will find that it far outperforms a REXX/CGI program, which requires a new process (address space) and SDSF startup/initialization for each request. This new web services API is shipped as pa

Re: More REXX SDSF CGI fun (was: Anybody used SDSF / REXX in HTTPD CGI pgm)

2012-02-29 Thread Scott Ford
Dana: It would help us to see your code and a bit of an explanation to what your trying to do .. Regards, Sent from my iPad Scott Ford Senior Systems Engineer www.identityforge.com On Feb 29, 2012, at 9:27 AM, Dana Mitchell wrote: > I'm working on a simple REXX/SDSF/CGI exec to display out

More REXX SDSF CGI fun (was: Anybody used SDSF / REXX in HTTPD CGI pgm)

2012-02-29 Thread Dana Mitchell
I'm working on a simple REXX/SDSF/CGI exec to display output from selected STC's via browser and HTTP server on z/OS 1.11. I can get it to partially work, but there seems to be some inconsistencies in the way userid's are handled. If I run a REXX CGI with the ISFEXEC WHO command it shows as ru