473,387 Members | 1,532 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to get a list of the db2 subsystems on a S/390 system?

Hi
all,
I'd like to know if there is a way (via JCL / TSO command / filesystem
structure
or something other) to get the list of all the db2 subsystems
installed on a generic
s/390 system.
For example, in the system I have acces one can guess this information
by
the presence of datasets of the form:
XXXX.ARCHLOG1.D06217.T0949376.B0050465
XXXX.DSNDBD.<A_DB_NAME>.TEMPTS.I0001.A001
XXXX.LOGCOPY1.DS01
where XXXX is the db2 subsystem, but I suppose that this is not a
general
rule (I suppose that the DBA can install the logs everywhere he
prefers
and can also change the prefix of those files...)
I need this information in order to ease the installation process of
an
open source application I'm writing (not everyone that installs it
know
what is a subsystem is).

By the way... what is the more generic way to refer to a system that
runs an
IBM z/OS Communications Server and have DB2 installed?
Is an s/390 system, an MVS, an OS390 or what?

Thank you in advance.
Clemente Biondo.

May 8 '07 #1
4 9310
On May 8, 1:36 pm, clemente.bio...@gmail.com wrote:
Hi
all,
I'd like to know if there is a way (via JCL / TSO command / filesystem
structure
or something other) to get the list of all the db2 subsystems
installed on a generic
s/390 system.
For example, in the system I have acces one can guess this information
by
the presence of datasets of the form:
XXXX.ARCHLOG1.D06217.T0949376.B0050465
XXXX.DSNDBD.<A_DB_NAME>.TEMPTS.I0001.A001
XXXX.LOGCOPY1.DS01
where XXXX is the db2 subsystem, but I suppose that this is not a
general
rule (I suppose that the DBA can install the logs everywhere he
prefers
and can also change the prefix of those files...)
I need this information in order to ease the installation process of
an
open source application I'm writing (not everyone that installs it
know
what is a subsystem is).

By the way... what is the more generic way to refer to a system that
runs an
IBM z/OS Communications Server and have DB2 installed?
Is an s/390 system, an MVS, an OS390 or what?

Thank you in advance.
Clemente Biondo.
Every DB2 subsystem has at least 3 address spaces associated with it,
the names of which all start with the subsystem-id (SSID):
<SSID>MSTR = system services address space
<SSID>DBM1 = database services address space
<SSID>DIST = DDF (distributed data facility) address space

(next to these, you might have others, like the Stored Procedures
address space and the IRLM (Integrated Resource Lock Manager) address
space, but naming for these is not fixed)

You should be able to identify your SSID's via SDSF's "Status
Display" (option ST on SDSF's Primary Option Menu).
Use the following subcommands to show the various types of fixed
address spaces:
SELECT *MSTR
SELECT *DBM1
SELECT *DIST
from which you can deduct your SSID's.

Regarding your question on s/390, MVS, OS390 and such:

_Hardware_ used to be called S/390 (and S/370, S/360 before that), is
now called zSeries (containing a number of different machines like
z800, z890, z900, z990, z9).
See: http://en.wikipedia.org/wiki/ZSeries
The Operating System used to be called MVS, which via many flavors
evolved into OS/390 and now has become z/OS.
See: http://en.wikipedia.org/wiki/Z/OS

HTH

--
Jeroen

May 8 '07 #2
Thank you for your prompt and professional answer to my questions.
Unfortunately SDSF is not an option, I am limited to a vt100 terminal
emulator so i can't use SDSF or ISPF
but only tso commands and tso status command does not support
wildcards (what a shame!), but thank you
anyway.

May 8 '07 #3
Clemente Biondo wrote:
Thank you for your prompt and professional answer to my questions.
Unfortunately SDSF is not an option, I am limited to a vt100 terminal
emulator so i can't use SDSF or ISPF
but only tso commands and tso status command does not support
wildcards (what a shame!), but thank you
can you access the MVS console and issue an "d a,l"? That would also give
you the list of started tasks, including the 3 (or 4) mentioned DB2 address
spaces.

--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
May 9 '07 #4
A couple of points:
- you can't rely on *MSTR being DB2, MQ also uses them
- you can't rely on *DDF, not all DB2 subsystems have communications.
If your package requires communications, then this will be available.
- the only one that you can rely on is *DBM1

It is possible to run an SDSF session in a batch job and in native TSO.
But this will only tell you which ones are active. You'd need to look
at the SSVT to see which one are "installed".

Using a VT100 on an MVS type system is like using a teletype on a Unix
system. Can you get something like s3270 working (part of x3270) to do
the wrapping?

James Campbell

Jeroen van den Broek <nl****@baasbovenbaas.demon.nlwrote in
news:11**********************@p77g2000hsh.googlegr oups.com:
On May 8, 1:36 pm, clemente.bio...@gmail.com wrote:
>Hi
all,
I'd like to know if there is a way (via JCL / TSO command /
filesystem
>structure
or something other) to get the list of all the db2 subsystems
installed on a generic
s/390 system.
For example, in the system I have acces one can guess this
information
>by
the presence of datasets of the form:
XXXX.ARCHLOG1.D06217.T0949376.B0050465
XXXX.DSNDBD.<A_DB_NAME>.TEMPTS.I0001.A001
XXXX.LOGCOPY1.DS01
where XXXX is the db2 subsystem, but I suppose that this is not a
general
rule (I suppose that the DBA can install the logs everywhere he
prefers
and can also change the prefix of those files...)
I need this information in order to ease the installation process of
an
open source application I'm writing (not everyone that installs it
know
what is a subsystem is).

By the way... what is the more generic way to refer to a system that
runs an
IBM z/OS Communications Server and have DB2 installed?
Is an s/390 system, an MVS, an OS390 or what?

Thank you in advance.
Clemente Biondo.

Every DB2 subsystem has at least 3 address spaces associated with it,
the names of which all start with the subsystem-id (SSID):
<SSID>MSTR = system services address space
<SSID>DBM1 = database services address space
<SSID>DIST = DDF (distributed data facility) address space

(next to these, you might have others, like the Stored Procedures
address space and the IRLM (Integrated Resource Lock Manager) address
space, but naming for these is not fixed)

You should be able to identify your SSID's via SDSF's "Status
Display" (option ST on SDSF's Primary Option Menu).
Use the following subcommands to show the various types of fixed
address spaces:
SELECT *MSTR
SELECT *DBM1
SELECT *DIST
from which you can deduct your SSID's.

Regarding your question on s/390, MVS, OS390 and such:

_Hardware_ used to be called S/390 (and S/370, S/360 before that), is
now called zSeries (containing a number of different machines like
z800, z890, z900, z990, z9).
See: http://en.wikipedia.org/wiki/ZSeries
The Operating System used to be called MVS, which via many flavors
evolved into OS/390 and now has become z/OS.
See: http://en.wikipedia.org/wiki/Z/OS

HTH

--
Jeroen
May 15 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Hank Skalka | last post by:
I need to programatically determine if an MVS DB2 subsystem is define and, if is defined, is it active. I can do this easily for local DB2 subsystem names by looping through MVS system control...
3
by: BobTheDatabaseBoy | last post by:
can't find in the RedBook, or scouring this NG, a simple yes/no answer to the question: given mountains of existing COBOL programs which have read/written to multiple schemas, but in one...
4
by: dougjrs | last post by:
Good Evening All, I am working on a program that well need to get data via a UDF from multiple DB2 subsystems then make make some updates to the date and then do a "select col1 from SESSION.tmp...
25
by: prabhat143 | last post by:
Hi, Given a singly linked, null terminated list, how can it be converted to tree? Each node in the list has three attributes: it's ID, it's parent ID and of course, the next node it's pointing...
11
by: Zorpiedoman | last post by:
The problem is this: I have a list box. I set an array list as the datasource. I remove an item from the array list. I set the listbox datasource to nothing. I set the listbox datasource to...
0
by: Brian Henry | last post by:
Here is another virtual mode example for the .NET 2.0 framework while working with the list view. Since you can not access the items collection of the list view you need to do sorting another...
2
by: Dave A | last post by:
I am stuggling with databinding a drop down list, hooking into the SelectedIndexChanged and attempting to avoid using the viewstate. The drop down list is quite large so I would prefer to avoid...
10
by: AZRebelCowgirl73 | last post by:
This is what I have so far: My program! import java.util.*; import java.lang.*; import java.io.*; import ch06.lists.*; public class UIandDB {
0
by: etk2 | last post by:
Hi, Does anyone know any mainframe vendor product that will split DB2 user data from every table (may be 2000) in the subsystem based on user criteria and load them to a different subsystem? I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.