473,802 Members | 2,461 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to create a db2 subsystem and then databases for DB2 V7 for OS/390 ZOS

I come from Oracle background. I am trying to find a script (job)
which creates a db2 subsystem (create all system catalog tables etc),
create necessary "DBA" logins,so I can
create databases and then tables etc.

I am also looking for the required JCL. I have looked at IBM DB2
administration guides, it does not show any JCL for db2 subsystem
creation. Where can I get
this information.

I Know in Oracle, I have one script which creates all the system
catalogs, creates
sys, system users etc. I am looking for something similar in DB2.
Thanks a lot,

Prem
Certified Oracle9i DBA
Nov 12 '05 #1
1 2904
"Prem K Mehrotra" <pr**********@h otmail.com> wrote in message
news:43******** *************** ***@posting.goo gle.com...
I come from Oracle background. I am trying to find a script (job)
which creates a db2 subsystem (create all system catalog tables etc),
create necessary "DBA" logins,so I can
create databases and then tables etc.

I am also looking for the required JCL. I have looked at IBM DB2
administration guides, it does not show any JCL for db2 subsystem
creation. Where can I get
this information.

I Know in Oracle, I have one script which creates all the system
catalogs, creates
sys, system users etc. I am looking for something similar in DB2.
Thanks a lot,

Prem
Certified Oracle9i DBA


Look in the installation guide. You might also be able to find JCL to do
this in installation JCL library. This is usually not considered to be a DBA
function, but is for the DB2 systems programmer or MVS systems programmer.
Nov 12 '05 #2

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

Similar topics

10
2169
by: John A Fotheringham | last post by:
I'm trying to write a procedure that having created a new database, will then create within that new database all the tables and procedures that go with it. In doing this I'm hitting the problem that you can't issue a USE command within a procedure. So my question is either - how do I get around this?
1
3944
by: babak | last post by:
Hi everyone I'm doing a project in Microsoft embedded Visual C++ 4.0 and I get the following error when I try to compile: LINK : fatal error LNK1195: target machine 'ARM' requires '/SUBSYSTEM:WINDOWSCE' Error executing clarm.exe. Creating browse info file... WVPNCECl.exe - 1 error(s), 2 warning(s)
5
3829
by: Prem K Mehrotra | last post by:
I come from Oracle background. In Oracle, when one wants to do a point in time recovery, one can specify recover database until timestmap. Oracle's database maps to a db2 subsystem, i.e., in Oracle database means entire database, i.e.. all tablespaces (including indexes). I see only recover tablespace and recover indexspace (or index) commands in db2. Therefore, one has to specify all the tablespaces and indexspaces and recover them
13
2013
by: Simprini | last post by:
I have a new box that was purchased specificaly as our dedicated db2 server. The drive setup is 1 single ide device holding the filesystem 2 8 disk RAID 5 arrays one for data, one for logging The problem I am having is that if the log directory is on the RAID, database performance is heavily compromised. If I switch the log directory to the single IDE drive perfomance is fine. I have read up on tablespaces and extent/prefetch sizes and...
5
5605
by: Jacob | last post by:
Happy New Year! I'm writing a program that will need to store large amounts of data from several DataSets that I create at runtime (for information like email, calendar, etc...). The trick is that these files will need to be created programmatically. I think saving the DataSets into Access .mdb files is a logical choice, but I'm unable to find any information for creating NEW databases programmatically and I can only find information...
3
5822
by: teddysnips | last post by:
I have a need to create a database, and then populate it. However, the code below doesn't work as I hoped it might (it creates the table in the "master" database, which is Not A Good Thing). I know already (thanks Tony!) that if you use Dynamic SQL for the USE command, then the subsequent operations need to be Dynamic SQL as well, which is a pity since there are over 11,000 lines of it and I don't really fancy debugging it! Does...
0
937
by: Jkaatz | last post by:
I've recently upgraded from SQL 2000 to SQL 2005 and installed the latest service pack for SQL 2005. The issue I'm having is that I created a simple package to move data from a flat file to a SQL table. I've also imported the package into the File System, and it runs fine. I would like to schedule this package as a job. I created a new job and added a step (i.e. "Step1"). I clicked the Type dropdown looking for the subsystem "SQL Server...
15
2691
by: harvey | last post by:
How do I make PHP create a database for mysql please? I can see how to make tables and I have read all the documents I can find but I don't understand how to make the database itself. All the tutorials I can find seem to bypass the issue by ignoring it? Am I missunderstanding something?
2
2711
by: Prasath Ram | last post by:
Hi, I have two database which reside on two different subsystem respectively. I would like to generate a list of matching and non matching tables list, that present in these two databases. Do we have any sql to generate this report from SYSIBM tables. Thank you in advance.
0
9699
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9562
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10536
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10285
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10063
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7598
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6838
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4270
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2966
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.