> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of John P Kalinich > Sent: Wednesday, May 02, 2007 12:06 PM > To: [email protected] > Subject: Re: SFTP Client for z/OS > > > John Kington wrote on IBM Mainframe Discussion List > <[email protected]> > wrote on 05/02/2007 10:47:41 AM: > > > I misstated. I meant reading an mvs dataset directly > instead of having > > to copy the data to hfs file. I hate to duplicate data and effort. > > From my notes, one of these should work from Unix. > > //dd:ddname > "//'quoted mvs dsname'" > "//unquoted mvs dsname" > > Regards,
Sorry, but they won't. There are two types of "open" functions that can be used by a C program. The "fopen()" function does support the use of UNIX files, MVS dataset names, or DD names. However, the "open()" function only supports the use of UNIX files. I don't know the percentage of UNIX programs which use "open()" vs. "fopen()", but "open()" seems to be more popular. It may be more popular because it returns a "file descriptor" (an integer) instead of a pointer to a FILE structure. Many things other than disk files can be accessed with a "file descriptor", such as pipe, sockets, et al. -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. ---------------------------------------------------------------------- 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

