Re: PUT Method of z/os HTTP Web Server
On my non-z/OS web server I have a web page with a form using the methed=post option. The action points to a CGI program that has to be smart enough to store the incoming data. You can set up your web server to use datasets but you might find using a file (z/OS UNIX Services) is easier on the web server. On Fri, 18 Jul 2008 14:59:01 -0400, Mary Kay Tubello [EMAIL PROTECTED] wrote: To all, I am looking into having a server application send data to the mainframe via the z/OS HTTP web server PUT method. I want to store the data in a dataset so that a batch job can process it. I have used HTTP for a server app to retrieve mainframe files. This is pretty easy. But, writing to the mainframe seems to be much more complicated. Anyone out there who can advise? Thanks, Mary Kay -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: PUT Method of z/os HTTP Web Server
You're right. I didn't even notice that it said HTTP instead of FTP. My answer was for FTP. You might see this twice. I think my last response may have gone only to the newsgroup and not the mail list. Roger Bolan IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU wrote on 07/18/2008 02:14:07 PM: Interesting. That's the FTP PUT command, not the HTTP PUT method. But, maybe that will work for her too. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
PUT Method of z/os HTTP Web Server
To all, I am looking into having a server application send data to the mainframe via the z/OS HTTP web server PUT method. I want to store the data in a dataset so that a batch job can process it. I have used HTTP for a server app to retrieve mainframe files. This is pretty easy. But, writing to the mainframe seems to be much more complicated. Anyone out there who can advise? Thanks, Mary Kay The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: PUT Method of z/os HTTP Web Server
Mary Kay Tubello wrote: To all, I am looking into having a server application send data to the mainframe via the z/OS HTTP web server PUT method. I want to store the data in a dataset so that a batch job can process it. I have used HTTP for a server app to retrieve mainframe files. This is pretty easy. But, writing to the mainframe seems to be much more complicated. Anyone out there who can advise? Thanks, Mary Kay Mary Kay, We have a couple of courses that might help. Introduction to CGIs on z/OS - 1 day, no labs This lecture / discussion class covers the main issues in writing various kinds of CGIs for the z/OS HTTP web server, including sample code written in Assembler, PL/I, C, COBOL, and REXX. details: http://www.trainersfriend.com/UNIX_and_Web_courses/uc01descr.htm Writing z/OS CGIS in Assembler - 1 very full day, hands on labs This class covers the details required to handle GET and POST processing from CGIs written in Assembler, including working with VSAM files and DB2 databses for GET and saving files for PUT, along with hidden controls, cookies, and submitting jobs from a CGI. details: http://www.trainersfriend.com/UNIX_and_Web_courses/uc06descr.htm The above class was intended to be the first of a series of courses that cover the same content but in different languages. But no one has requested any, so I have not put any effort into developing alternatives. Both courses assume some familiarity working with z/OS UNIX, either from omvs or telnet or both, and some familiarity with HTML or XHTML. If necessary, we can provide the prerequisite training too. For both pages, there are links to very detailed topical outlines, so be sure to check those out too. Kind regards, -Steve Comstock The Trainer's Friend, Inc. 303-393-8716 http://www.trainersfriend.com z/OS Application development made easier * Our classes include + How things work + Programming examples with realistic applications + Starter / skeleton code + Complete working programs + Useful utilities and subroutines + Tips and techniques == Check out the Trainer's Friend Store to purchase z/OS == == application developer toolkits. Sample code in four== == programming languages, JCL to Assemble or compile, == == bind and test. == == http://www.trainersfriend.com/TTFStore/index.html== -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: PUT Method of z/os HTTP Web Server
The application can send data to CICS via SOAP and the CICS transaction can write to files (VSAM, SEQ, databases). -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Mary Kay Tubello Sent: Friday, July 18, 2008 2:59 PM To: IBM-MAIN@BAMA.UA.EDU Subject: PUT Method of z/os HTTP Web Server To all, I am looking into having a server application send data to the mainframe via the z/OS HTTP web server PUT method. I want to store the data in a dataset so that a batch job can process it. I have used HTTP for a server app to retrieve mainframe files. This is pretty easy. But, writing to the mainframe seems to be much more complicated. Anyone out there who can advise? Thanks, Mary Kay The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: PUT Method of z/os HTTP Web Server
You'll need to use the SITE command for specifying the allocation parameters. If you are on the mainframe FTP client and doing a get use LOCSITE, from the other side use SITE. For example, SITE RECFM=FB LRECL=80 BLKSIZE=0 TRACKS PRIMARY=10 SECONDARY=10 put jcl.file Roger Bolan IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU wrote on 07/18/2008 12:59:01 PM: To all, I am looking into having a server application send data to the mainframe via the z/OS HTTP web server PUT method. I want to store the data in a dataset so that a batch job can process it. I have used HTTP for a server app to retrieve mainframe files. This is pretty easy. But, writing to the mainframe seems to be much more complicated. Anyone out there who can advise? Thanks, Mary Kay The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: PUT Method of z/os HTTP Web Server
Roger Bolan wrote: You'll need to use the SITE command for specifying the allocation parameters. If you are on the mainframe FTP client and doing a get use LOCSITE, from the other side use SITE. For example, SITE RECFM=FB LRECL=80 BLKSIZE=0 TRACKS PRIMARY=10 SECONDARY=10 put jcl.file Roger Bolan Interesting. That's the FTP PUT command, not the HTTP PUT method. But, maybe that will work for her too. IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU wrote on 07/18/2008 12:59:01 PM: To all, I am looking into having a server application send data to the mainframe via the z/OS HTTP web server PUT method. I want to store the data in a dataset so that a batch job can process it. I have used HTTP for a server app to retrieve mainframe files. This is pretty easy. But, writing to the mainframe seems to be much more complicated. Anyone out there who can advise? Thanks, Mary Kay Kind regards, -Steve Comstock The Trainer's Friend, Inc. 303-393-8716 http://www.trainersfriend.com z/OS Application development made easier * Our classes include + How things work + Programming examples with realistic applications + Starter / skeleton code + Complete working programs + Useful utilities and subroutines + Tips and techniques == Check out the Trainer's Friend Store to purchase z/OS == == application developer toolkits. Sample code in four== == programming languages, JCL to Assemble or compile, == == bind and test. == == http://www.trainersfriend.com/TTFStore/index.html== -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html