× 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: Mon, 15 Jun 1998 08:16:40 -0000
  • Organization: Cornerstone Communications, LLC

Al & David,

I wonder if retrieving the QSYS SYSLVL works by accident?  In which 
case, it would probably be dangerous to use in a product install.

What API do you use to get the release?  I looked in the V3R1 API Ref 
manual but did not see anything.

Bob

-----Original Message-----
From:   Al Barsa, Jr. [SMTP:barsa2@ibm.net]
Sent:   Sunday, June 14, 1998 7:00 PM
To:     MIDRANGE-L@midrange.com
Subject:        Re: How to Tell what version of OS/400 running under?

At 04:24 PM 6/14/98 -0500, you wrote:
>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)"
>
>
Hi David and Bob,

Well, I agree (from trial and error) that you are correct.  However 
this is
not what I would have predicted.

Clearly when you install a new release, individual objects are 
restored
into QSYS.  The library is neither deleted nor cleared.  You can prove 
this
to your self by creating a rogue object in QSYS (e.g.: something that 
you
are not supposed to create like a program or an data area), it will 
survive
a release upgrade.  (Valid user objects to create in QSYS include
libraries, user profiles, configuration libraries, authorization 
lists,
etc.)  Never the less your solution seems to be correct.

I normally use the API (a pain in the ass to code, but I always clone 
the
code), or else I create a trivial object in QTEMP, and get back it's
creation level.

Al



Al Barsa, Jr. - Account for Midrange-L
Barsa Consulting, LLC.  
400 > 390

Phone:  914-251-9400
Fax:    914-251-9406





Private mail should be sent to barsa@ibm.net
+---
| 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.