Good points. Design desire on my part is to get "line mode" data from z/OS to Linux. Like what I would get if I did SDSF XD to put a SPOOL dataset into a dataset so that I could then read that data into another program, as if I had originally put the data into a dataset and ftp'ed the dataset to Linux. Again, I don't much care, personally, about PAGE mode data. Or data going to some other page oriented output device like a Xerox printer with fonts and forms and overlays. I am not looking to make a SYSOUT archival or Web access to SYSOUT type arrangement. I'm going for my own, rather simple, needs.
-- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * john.mck...@healthmarkets.com * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM > -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:ibm-m...@bama.ua.edu] On Behalf Of Mike Schwab > Sent: Monday, December 13, 2010 8:07 PM > To: IBM-MAIN@bama.ua.edu > Subject: Re: ftp'ing SYSOUT - binary data? > > You have the M for machine control codes. And you have APF Advanced > Print Functions that print images on laser printers. And Xerox > printers have their language, and a couple of other graphic printing > standards. > > On Mon, Dec 13, 2010 at 6:05 PM, John McKown > <joa...@swbell.net> wrote: > > Maybe not the clearest Subject:, sorry. But I'm wondering > if anybody ftp > > downloads SYSOUT data which contains non-printable characters and so > > would be "ruined" if a normal EBCDIC->ASCII translation is done? > > > > I'm looking at the possibility of maybe considering try to > see (<grin> > > if I can write a UNIX based SAPI application which can copy > SYSOUT from > > a job on the JES SPOOL to "stdout". Now, for doing this within z/OS > > itself, it is no problem. Just copy the data. Oh, but wait, > if the data > > can contain binary (non printable) data, should there be a BINARY > > option? Hum, if so, what about "line endings"? Perhaps I need three > > options: TEXT, BINARY, and the new "RECORD" as defined by > IBM which has > > a prefix of 0x00LLLLLL (four byte length field with first > byte forced to > > be 0x00). > > > > Now, a problem arises. I also want to use ssh from a Linux > desktop to > > z/OS to copy this data from the SPOOL to Linux similar to Dovetailed > > Technologies' "fromdsn" command. Which means that if > anything other than > > TEXT is allowed, I must write a ssh subsystem to do a > binary transport > > of the data from z/OS to Linux because the normal z/OS ssh interface > > does an automatic translation between EBCDIC and ASCII. The plus of > > using a subsystem would also be total control of the > translate table for > > non-US languages, again like fromdsn. The minus is the need > to actually > > write and debug the code. And to write a Linux (and perhaps other OS > > flavored version) command to talk to z/OS via this subsystem. > > > > I had considered two possible commands: "jesls" which > basically does an > > "ls" type operation, but accesses the SPOOL. And a "jesout" > which would > > copy one or more SPOOL entries for a job to "stdout". > > > > I have not yet really done any design. I plan to crib ideas from > > Dovetailed Technologies documentation of their "fromdsn" > command as well > > as their enhanced sftp server. Is that valid? I'm actually sortof > > "stealing" their design ideas. I do feel some moral qualms > about that. > > But I don't know if a UI of something that basic is really > > copyright-able. I guess I should ask them for permission. > But what if > > they say "No"? > > > > -- > > John McKown > > Maranatha! <>< > > > > > ---------------------------------------------------------------------- > > For IBM-MAIN subscribe / signoff / archive access instructions, > > send email to lists...@bama.ua.edu with the message: GET > IBM-MAIN INFO > > Search the archives at http://bama.ua.edu/archives/ibm-main.html > > > > > > -- > Mike A Schwab, Springfield IL USA > Where do Forest Rangers go to get away from it all? > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html