× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This should probably be addressed to one of Scott's email groups to better 
address this. Also, this email list strips off attachments.



"Peter Manners" <Peter.Manners@xxxxxxxxxx> 
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
01/09/2007 10:44 PM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
<rpg400-l@xxxxxxxxxxxx>
cc

Subject
Reading a stream file from the IFS







_______________________________________________________________________________________

Note: This e-mail is subject to the disclaimer contained at the bottom of 
this message.
_______________________________________________________________________________________


I have a need to automatically download data that has been placed on the
IFS into an iSeries file. This is very much a new playing area for me,
so I decided to read Scott Klement's excellent work "Working with the
IFS in RPG IV"

I have cut and paste the source statements he provides for CH2ERRNO
(Example of writing & reading data to a Stream File) but when I compile,
I get the error 
*RNF7542  Parameter cannot be passed by reference when it can be changed
during the call. 

Attached is the compile listing. Perhaps someone could steer me in the
right direction. This is the first time I have played with
sub-procedures and prototypes, so I would really appreciate some
feedback.

Regards,
Peter Manners






_______________________________________________________________________________________

The information transmitted in this message and its attachments (if any) 
is intended 
only for the person or entity to which it is addressed.
The message may contain confidential and/or privileged material. Any 
review, 
retransmission, dissemination or other use of, or taking of any action in 
reliance 
upon this information, by persons or entities other than the intended 
recipient is 
prohibited.

If you have received this in error, please contact the sender and delete 
this e-mail 
and associated material from any computer.

The intended recipient of this e-mail may only use, reproduce, disclose or 
distribute 
the information contained in this e-mail and any attached files, with the 
permission 
of the sender.

This message has been scanned for viruses with Symantec Scan Engine and 
cleared by 
MailMarshal.
_______________________________________________________________________________________

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.