Know the OS version using a TSO command.
Moderator: mickeydusaor
-
- New Member
- Posts: 7
- Joined: Sat Jan 23, 2016 11:34 am
Know the OS version using a TSO command.
We have been told that our shop is upgraded zOS 2.1. As a programmer I feel dumb that what is in it for me. At minimum I would like to know where the version informationis stored. What is the way to find out the version we are using of operating system?
Thanks!
Thanks!
- Robert Sample
- Global Moderator
- Posts: 1896
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Know the OS version using a TSO command.
1. Talk to your site support group -- they installed it, they know it.What is the way to find out the version we are using of operating system?
2. If you can issue console commands (not many application programmers can), D IPLINFO will give you the z/OS version.
3. If you have access to a CICS region, and can use the CECI transaction (not all sites allow application programmers access to CECI), you can do CECI INQUIRE SYSTEM and one of the returned variables has the z/OS level.
I don't know of any TSO command that will return the z/OS version. There are some third-party software that can be used in TSO to get this information, but since they cost money not all sites use them. That being said, you can (indirectly) find out by looking at the primary menu panel of ISPF. If your STATUS is Session, on the right side of the primary menu panel will be displayed various values. The final value is RELEASE. If the value is ISPF 7.1, you are on a z/OS 2.1 system. The ISPF release varies by z/OS version.
However, the bottom line is that your BEST source for this information or any other information like it is your site support group.
- Akatsukami
- Global Moderator
- Posts: 122
- Joined: Tue Oct 20, 2015 3:20 am
- Location: Bloomington, IL
- Contact:
Re: Know the OS version using a TSO command.
The Rexx external function MVSVAR will return this information in variable SYSOPSYS.
"I come to the conclusion that, men loving according to their own will and fearing according to that of the prince, a wise prince should establish himself on that which is in his own control and not in that of others." -- Niccolò Machiavelli
-
- Global Moderator
- Posts: 826
- Joined: Wed Sep 11, 2013 3:57 pm
Re: Know the OS version using a TSO command.
and knowing it, will it make Your work better ?
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
-
- Global Moderator
- Posts: 490
- Joined: Sun Aug 25, 2013 7:24 pm
Re: Know the OS version using a TSO command.
And if it doesn't have to be an actual TSO command, WHO in SDSF has been pointed out to me.
- Robert Sample
- Global Moderator
- Posts: 1896
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Know the OS version using a TSO command.
This is why you REALLY need to communicate with your site support group. As with most operating system upgrades, z/OS 2.1 doesn't have that much for application programmers directly. For example, health checker went from an optional component to being started during IPL with 2.1 -- but application programmers will not (usually) be aware of health checker. The only significant change for application programmers that I can think of is that JES2 job classes can be up to 8 characters with 2.1 (which matches JES3 now), but your site support group decided how to implement this change. It is possible that your site runs JES3, or that they did not add any 8-character job classes to your system, in which case this change means nothing to you.As a programmer I feel dumb that what is in it for me.
Over time, operating system upgrades will change the way application programmers do things (instream data in PROC, 8-character job classes, MEMLIMIT for 64-bit memory are examples) but many such features have to be implemented by the site support group. And some of these changes can have big impacts on the system, hence are generally carefully implemented over time to assess the impact.
- prino
- Registered Member
- Posts: 68
- Joined: Sun Jun 01, 2014 4:15 am
- Location: Vilnius, Lithuania
- Contact:
-
- New Member
- Posts: 7
- Joined: Sat Jan 23, 2016 11:34 am
Re: Know the OS version using a TSO command.
Thanks for the reply Robert. I have some view about them. Written them below-
For CICS, we don't have access to CECI but will that tell the information about CICS release or the zOS release?
Site support group is not very supportive and they don't tell answer to such questions.1. Talk to your site support group -- they installed it, they know it.
No I can't issue console commands (what are they, in the first place?).2. If you can issue console commands (not many application programmers can), D IPLINFO will give you the z/OS version.
3. If you have access to a CICS region, and can use the CECI transaction (not all sites allow application programmers access to CECI), you can do CECI INQUIRE SYSTEM and one of the returned variables has the z/OS level.
For CICS, we don't have access to CECI but will that tell the information about CICS release or the zOS release?
STATUS, session was helpful. Thanks again for all your replies.I don't know of any TSO command that will return the z/OS version. There are some third-party software that can be used in TSO to get this information, but since they cost money not all sites use them. That being said, you can (indirectly) find out by looking at the primary menu panel of ISPF. If your STATUS is Session, on the right side of the primary menu panel will be displayed various values. The final value is RELEASE. If the value is ISPF 7.1, you are on a z/OS 2.1 system. The ISPF release varies by z/OS version.
However, the bottom line is that your BEST source for this information or any other information like it is your site support group.
-
- New Member
- Posts: 7
- Joined: Sat Jan 23, 2016 11:34 am
Re: Know the OS version using a TSO command.
Thanks, I have studied about it and found this:Akatsukami wrote:The Rexx external function MVSVAR will return this information in variable SYSOPSYS.
This helps and used the following REXX for now:Using the MVSVAR Function
The MVSVAR function retrieves information about MVS™, TSO/E, and the current session, such as the symbolic name of the MVS system, or the security label of the TSO/E session. The information retrieved depends on the argument specified.
To retrieve the information, use the MVSVAR function immediately followed by an argument value enclosed in parentheses. For example, to find out the APPC/MVS logical unit (LU) name, use the MVSVAR function with the argument SYSAPPCLU.
appclu = MVSVAR('SYSAPPCLU')
The MVSVAR function is available in any MVS address space. Compare this to the SYSVAR function which also retrieves system information but can only be used in REXX execs that run in the TSO/E address space.
Many of the MVSVAR arguments retrieve the same information as do CLIST control variables.
The following table lists the items of information that are available for retrieval by MVSVAR.
Argument Value Description
SYSAPPCLU the APPC/MVS logical unit (LU) name
SYSDFP the level of MVS/Data Facility Product (MVS/DFP)
SYSMVS the level of the base control program (BCP) component of z/OS®
SYSNAME the name of the system your REXX exec is running on, as specified in the SYSNAME statement in SYS1.PARMLIB member IEASYSxx
SYSSECLAB the security label (SECLABEL) name of the TSO/E session
SYSSMFID identification of the system on which System Management Facilities (SMF) is active
SYSSMS indicator whether DFSMS/MVS is available to your REXX exec
SYSCLONE MVS system symbol representing its system name
SYSPLEX the MVS sysplex name as found in the COUPLExx or LOADxx member of SYS1.PARMLIB
SYMDEF symbolic variables of your MVS system
Code: Select all
/*REXX*/
Say 'zOS version:' MVSVAR('SYSOPSYS')
-
- New Member
- Posts: 7
- Joined: Sat Jan 23, 2016 11:34 am
Re: Know the OS version using a TSO command.
That is a good question but I shall be looking at correct manuals in future, if I knew that.enrico-sorichetti wrote:and knowing it, will it make Your work better ?
-
- New Member
- Posts: 7
- Joined: Sat Jan 23, 2016 11:34 am
Re: Know the OS version using a TSO command.
Thanks but I am not sure where do I look for it. But I have also usedprino wrote:Dialog test variables, ZOS390RL
Code: Select all
TSO ISPVCALL STATUS
This also tells what I was looking.
- Robert Sample
- Global Moderator
- Posts: 1896
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Know the OS version using a TSO command.
A z/OS system has a console, which is where system messages are listed and where operators can issue commands to control the system (varying drives online / offline, checking the status of jobs / subsystems, and so forth.No I can't issue console commands (what are they, in the first place?).
The CECI INQ SYSTEM command returns such information asFor CICS, we don't have access to CECI but will that tell the information about CICS release or the zOS release?
Code: Select all
< CICSTslevel( '040100' ) >
< OSlevel( '020100' ) >
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute