|
Scott, in your tutorial you have a procedure called die() and it works (i just completed your errno_h file), but I don't understand how it works... how does it actually end my running program? Just by calling this sub-procedure. I see the return command, but doesn't that just return control back to the main program? just curious, tim > -----Original Message----- > From: Scott Klement [SMTP:klemscot@xxxxxxxxxxxx] > Sent: Friday, June 27, 2003 1:28 PM > To: RPG programming on the AS400 / iSeries > Subject: Re: rpg <-> ifs sample... > > > There have been a lot of examples posted to the list over the years, > you could try the archives. > > Also, I've got an RPG IV IFS tutorial on my web page: > http://www.scottklement.com/rpg/ifs.html > > > On Fri, 27 Jun 2003, Hatzenbeler, Tim wrote: > > > Does anybody have a sample rpg program or url, that has the basic ifs > > functions? Does a file exist? Create/Append/Overwite exisiting file, > write > > a few lines of data, and then close the file... > > > > And of course, a way to iter through an ifs directory (recursive > sublevel > > wouldn't be needed), so i can retrieve the filenames, so I could use > them to > > open and read an ifs file would be very helpful also... > > > > Any help would be greatly appreciated, > > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l. This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential or privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy the message.
As an Amazon Associate we earn from qualifying purchases.
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.