|
Oops! I screwed that one up. The reply I just posted was to retrieve the Serial Number....Not the system name. Guess I just got excited because of the potential for sending a reply that would generate no controversy! No mention of "other OS's", no talk about new fangled GUI editors, who pays for what or even OOP techniques by procedural programers. Just plain old code. Was kind of refreshing <g> Sorry. But, to get the System Name directly from an RPG program, you will want to use the QWCRNETA API as described in the OS/400 System API Reference. Regards, Bob Crothers Cornerstone Communications -----Original Message----- From: Doug Aarestad [SMTP:aarestad@feist.com] Sent: Tuesday, March 03, 1998 10:32 PM To: MIDRANGE-L@midrange.com Subject: RPG Question << File: Douglas D Aarestad.vcf >> A quick RPG question: (If y'all don't mind!) Is there a way to retrieve the system name in an RPG program? (IE; S10-------) (I didn't see it anywhere in the SDS) Secondarily, I could retrieve it in a CL and parm it in. (Can't you RTVSYSVAL and get the system name?) (Incidentally, we are CISC (obviously by the serial #!) at V3R2) Doug Aarestad aarestad@feist.com http://www.feist.com/~aarestad +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.