|
Hi James, Just to give you the results of your question: cat /qsys.lib/mylib.lib/mysrcf.file/mysrc.mbr works just fine, displaying the source member on the display. Both cat /qsys.lib/mylib.lib/myfile.file and cat /qsys.lib/mylib.lib/myfile.file/myfile.mbr where myfile is a data physical file, get an "Operation not supported." error when trying to open the file. Peter Dow Dow Software Services, Inc. 909 793-9050 voice 909 522-3214 cellular 909 793-4480 fax ----- Original Message ----- From: "James Rich" <james@eaerich.com> Sent: Tuesday, November 19, 2002 12:05 AM Subject: Re: Question Re: Piping and Redirection > I think a lot of what happens has to do with the underlying file system > structure. Since you ask about files specifically and not stdin/stdout > the issue revolves around what the open() and read() functions do. You > could write a little program to test these out yourself. An easier test > is to try from the QSHELL command prompt: > > cat /QSYS.LIB/MY.LIB/MYFILE.FILE/MEMBER.MBR > > and see what you get. I don't have a machine to test with right now so > please post your results, I'd like to know what you get.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.