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



Rtvneta will get the system name.
RTVSYSVAL SYSVAL(QSRLNBR) will get the system name
Or APIs if you wish.

SQL services will do it as well.

--
Jim Oberholtzer
Agile Technology Architects

-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of James H.
H. Lampert
Sent: Thursday, July 23, 2020 12:53 PM
To: RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Retrieving system name, serial, or OS version from RPG?

This may be something I used to know, but have forgotten.

I've retrieved information to identify a box via MI, and/or via system API
calls, but is there an *easy* way to retrieve at least one of the three
above-mentioned pieces of information (any one of them will tell me what I
need to know) from ILE RPG?

--
JHHL

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.