× 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.



Duh!! What a great idea.  After we heard your idea, we also thought that
maybe there was a better language for parsing the fields out than RPGIV.
 So I'm now looking for a parsing routine API or C function.  Thanks
again.
 
Dave Boettcher

>>> Matt.Haas@xxxxxxxxxxx 03/25/2004 5:02:23 PM >>>

Dave,

If you're going to the trouble of reading the PC file before calling
CPYFRMSTMF, why not just skip that command altogether and update your
file in the program you're working on now?

Matt

-----Original Message-----
From: Dave Boettcher [mailto:DBoettch@xxxxxxxxxxxxxxxx] 
Sent: Thursday, March 25, 2004 5:56 PM
To: rpg400-l@xxxxxxxxxxxx 
Subject: Re: IFS File - Code Page (second try)


Thanks Scott.

I seem to have skipped a couple steps in my thorough explanation.  (I
should also say that my original question has been answered as you did
below, with the open close open sequence.  Not all of my posts seem to
get out.)

<snip> Okay, I'm going to just forget your previous statement that
you're reading
the file and assume that you're writing the file ;) <snip>

I am reading a  file and writing out to a second file.  The second
file
contents should be the same as the first except for the negative
numbers.  (When I changed this using Word Pad, CPYFRMSTMF then
correctly
interpreted the number and copied to our iSeries file.)

Once I made changes suggested by Rick and jlingga, I can get the file
to be written. 

Now, however, my record with the negative number is not copied.  Maybe
the translation does something to the negative.  I will look at your
article as soon as I can.

I am still working on it and will get back to it tomorrow.

thanks, 

Dave Boettcher






As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.