×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Hi James
You don't say what release you are on
The system name can be found in positions 396 for 8 of the SDS

https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_73/rzasd/psdsdt9.htm



Alan Shore
E-mail : ASHORE@xxxxxxxx
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
'If you're going through hell, keep going.'
Winston Churchill

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of James H. H. Lampert
Sent: Thursday, July 23, 2020 1:53 PM
To: RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: [EXTERNAL] 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-2026 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.