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


  • Subject: RE: How to Tell what version of OS/400 running under?
  • From: Bob Crothers <bob@xxxxxxxxxxxxxx>
  • Date: Sun, 14 Jun 1998 17:14:05 -0000
  • Organization: Cornerstone Communications, LLC

David,

Tried what you suggested and it does return what I expected 
(V03R07M00).  But, that is what our machine was originally installed 
with.  Do you know if this works on ALL as/400's?

Could a few of you out there type in the below program and tell me a) 
What it returns and b) What release of OS/400 you are on?  Do they 
agree?

PGM
DCL        VAR(&SYSLVL) TYPE(*CHAR) LEN(9)
RTVOBJD    OBJ(QSYS/QSYS) OBJTYPE(*LIB) SYSLVL(&SYSLVL)
SNDPGMMSG  MSG(&SYSLVL)
ENDPGM

Thanks,
Bob

-----Original Message-----
From:   David Gibbs [SMTP:david@midrange.com]
Sent:   Sunday, June 14, 1998 4:24 PM
To:     MIDRANGE-L@midrange.com
Subject:        Re: How to Tell what version of OS/400 running under?

At 10:53 AM 6/14/98 , Bob Crothers wrote:
>How can I retrieve the current OS/400 version out of a program?

Try "RTVOBJD OBJ(QSYS) OBJTYPE(*LIB) SYSLVL(&SYSLVL)"


--
| Internet: david@midrange.com
| WWW:      http://www.midrange.com/david
|
| ... A man can move mountains, a world can be turned,
| and the greatest of distances easily spanned,
| When the strength that's invested in making a fist
| is transformed into shaking a hand.
|
|                       - DMRoth
|
| Fight Spam! Join CAUCE! == http://www.cauce.org/

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@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
+---

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@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 thread ...

Follow-Ups:

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.