1 WWW.IDUGDB2-L.ORG /home/listserv/home/db2-l October 2002, week 2 2 94 41_Re: db2relocatedb command - Mark Horrocks14_Julie Horrocks22_agentlease@HOTMAIL.COM30_Tue, 8 Oct 2002 08:32:47 +0000393_- Hi,

I have gone through the same pain as you but managed to get it to work.

Are you using EEE ? If you are check your NODENUM=1 in the relocate config file.

PS : Are you getting this error,

db2 "catalog database flashsrc on /flash/database/flashsrc" SQL6028N Catalog database failed because database "flashsrc" was not found in the local database directory. [...] 97 99 32_Re: Conditional Restart question17_Dr. Michael Ebert18_mebert@AMADEUS.NET30_Tue, 8 Oct 2002 11:06:10 +0200639_us-ascii Hello Christophe,

this is correct. STARTRBA means that DB2 will consider the log to start with this RBA, i.e. everything before is ignored. Similar with ENDRBA (everything after is ignored). Specifying STARTRBA may make it impossible for DB2 to back out uncommited UOWs, if they started before STARTRBA. I am not aware of any situation where you would want to specify STARTRBA, except for a Cold Start, where DB2 doesn't do any log apply: STARTRBA=ENDRBA>highest RBA written. Specifying ENDRBA will cause DB2 to backout all UOWs that are uncommitted at this RBA, leaving the database consistent. You specify ENDRBA if [...] 197 35 36_DB2 UDB on NT - Control Center Probs16_Aurora Dell'Anno26_aurora_dellanno@CANDLE.COM30_Tue, 8 Oct 2002 04:04:07 -0500341_- Hi List,

the problems always seem to multiply when you don't know what you're on about.

The most recent one is - I upgraded my clients' DB2 on NT to DB2 V 7.2, to be more precise it says Version 7 Release 1 Modification 6 (???), Service Level WR21299, and I am having terrible problems with the java for Control Center. [...] 233 27 16_Restart question17_Christophe Radier17_c300501@YAHOO.COM30_Tue, 8 Oct 2002 04:10:20 -0500465_- Hi all ,

I have some questions with the Conditional Restart options : STARTRBA and ENDRBA Suppose that u
If i code STARTRBA=x , does it mean that every thing before x is ignored in the Backward Log apply process ? Same question : If i code ENDRBA=y , does it mean that every thing after y is ignored in the Forward Log apply process ? I've read that the reply is Yes , and the log after "y" is set to NEW ..but it is not clear in my mind [...] 261 37 19_DB2 Dataset Extents0_28_Srinivas.Reddy@IN.EFUNDS.COM30_Tue, 8 Oct 2002 15:08:10 +0530353_us-ascii Hi List,

Each partition tablespace / indexspace dataset goes for a maximum 251 extends.

When it comes to NPI (non-partitioned index) it keep on creating new datasets though each one not going upto 251 extents. I noticed like each dataset after reaching ~232 extents(though not a standard) , another dataset is being created. [...] 299 51 30_Clustering IX on DB2 UDB on NT16_Aurora Dell'Anno26_aurora_dellanno@CANDLE.COM30_Tue, 8 Oct 2002 04:32:02 -0500461_- Hello list,

remember my neverending query?

The one that went as follows:

SELECT T1.ELAPSED, T1.RESPONSE, T1.TYPE, T1.TIMEZONE, T1.APPLICATION, T1.CLIENTTIME, T1.NTIME, T1.APPTIME, T2.SITE, T2.OFFICE, T2.CITY, T2.STATE FROM MYDB.T1 INNER JOIN MYDB.T2 MAPPINGS ON T1.IPNET = T2.IP WHERE T1.ELAPSED >= 1031011200 AND T1.ELAPSED <= 1031184000 AND T1.APPLICATION = 'myapp' AND T1.RESPONSE <= 300000

The indices on this tables are: [...] 351 79 23_Re: DB2 Dataset Extents17_Dr. Michael Ebert18_mebert@AMADEUS.NET30_Tue, 8 Oct 2002 12:08:22 +0200426_us-ascii A new dataset gets created for NPIs (or non-partitioned tablespaces) when the current dataset reaches its size limit, which is normally 2GB (or 4GB for NPIs on LARGE or DSSIZE>=4GB tablespaces) or specified via the PIECESIZE option. The number of extents and the creation of a new DS are completely unrelated; DB2 won't create a new DS just because the old one reached 251 extents (you'll get an error instead). [...] 431 48 23_Re: DB2 Dataset Extents14_James Campbell25_jacampbell@ACSLINK.NET.AU30_Tue, 8 Oct 2002 20:03:30 +1000570_US-ASCII PIECESIZE

James Campbell

On 8 Oct 2002 at 15:08, Srinivas.Reddy@IN.EFUNDS.COM wrote:

> Hi List, > > Each partition tablespace / indexspace dataset goes for a maximum 251 > extends. > > When it comes to NPI (non-partitioned index) it keep on creating new > datasets > though each one not going upto 251 extents. I noticed like each dataset > after > reaching ~232 extents(though not a standard) , another dataset is being > created. > > Can someone explain on what basis DB2 decides to go for a new dataset ? > > regards, > Srini > > > [...] 480 200 21_Re: UDF on mainframe.14_James Campbell25_jacampbell@ACSLINK.NET.AU30_Tue, 8 Oct 2002 20:03:30 +1000431_US-ASCII Do you really want to, as you would have to, have a separate UDF definition for each input data type/length? Well, if you do, you could have something like:

CREATE FUNCTION MYUDF(P1 CHAR(1)) RETURNS CHAR(1) SPECIFIC MYUDF_C1 EXTERNAL NAME MYPROG PARAMETER STYLE DB2SQL ... ;

CREATE FUNCTION MYUDF(P1 VARCHAR(1)) RETURNS VARCHAR(1) SPECIFIC MYUDF_V1 EXTERNAL NAME MYPROG PARAMETER STYLE DB2SQL ... ; ... [...] 681 223 40_Re: DB2 UDB on NT - Control Center Probs14_Davage, Marcus29_Marcus.Davage@LLOYDSTSB.CO.UK30_Tue, 8 Oct 2002 10:53:49 +0100574_iso-8859-1 Aurora,

How did you upgrade? Did you apply Fixpak 3 then Fixpak 7 (WR21311 - the latest, recommended level)?

What level of JRE are you running?

Ciao!

Marcus Davage CEng MBCS IBM Certified Solutions Expert DB2 UDB V7.1 Database Administration for UNIX, Linux, Windows and OS/2 DB2 UDB V7.1 Database Administration for OS/390



-----Original Message----- From: Aurora Dell'Anno [mailto:aurora_dellanno@CANDLE.COM] Sent: 08 October 2002 10:04 To: DB2-L@LISTSERV.YLASSOC.COM Subject: DB2 UDB on NT - Control Center Probs [...] 905 26 40_Re: DB2 UDB on NT - Control Center Probs13_Marcus Davage29_marcus.davage@LLOYDSTSB.CO.UK30_Tue, 8 Oct 2002 05:00:53 -0500481_- Aurora,

How did you upgrade? Did you apply Fixpak 3 then Fixpak 7 (WR21311 - the latest, recommended level)?

What level of JRE are you running?

Ciao!

Marcus Davage CEng MBCS IBM Certified Solutions Expert DB2 UDB V7.1 Database Administration for UNIX, Linux, Windows and OS/2 DB2 UDB V7.1 Database Administration for OS/390

(Reposted via website, as the listserver has been rejecting my emails of late, complaining that they are too big!) [...] 932 77 23_Re: DB2 Dataset Extents12_Boone, Henry16_HBoone@GEICO.COM30_Tue, 8 Oct 2002 06:23:54 -0400412_iso-8859-1 This would depend upon what you specified (or allowed DB2 to default) for the PIECESIZE of the NPI.

The default (and largest) for NPIs that are backed by table spaces created without the LARGE or DSSIZE option is 2 GB (2,913 3390 cylinders). For NPIs that are backed by table spaces created with the LARGE or DSSIZE option, the default PIECESIZE is equal to the DSSSIZE or 4 GB for LARGE. [...] 1010 46 40_Re: DB2 UDB on NT - Control Center Probs16_Aurora Dell'Anno26_aurora_dellanno@CANDLE.COM30_Tue, 8 Oct 2002 05:28:24 -0500395_- Hi Marcus,

yes I applied the FP3 and FP7 sequence, but my level is WR21299. This stuff was sent by IBM a full 28 days ago. growl.

I am on JRE 1.3 - 1.3.1_02 to be precise.

I am trying to contact IBM but they seem uninterested for the moment :-S

ciao.

Aurora

On Tue, 8 Oct 2002 05:00:53 -0500, Marcus Davage wrote: [...] 1057 14 61_Re: To delete/insert or update columns - that is the question33_Walter Jani=?ISO-8859-1?Q?=DFen?=27_walter.janissen@VICTORIA.DE30_Tue, 8 Oct 2002 05:50:01 -0500478_- Bob

The only situation I know where it is better to insert a row than to update it, is, when you update a column which is part of a partitioning index and that change will store the row into a different partition.

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://listserv.ylassoc.com. The owners of the list can be reached at DB2-L-REQUEST@listserv.ylassoc.com. 1072 103 26_Re: Alter - S04E ? Fixed ?9_Tim Simon15_tsimon@TSYS.COM30_Tue, 8 Oct 2002 07:15:17 -0400506_us-ascii The problem we were having was with 12 orphaned rows in SYSPACKDEP. After runing CHECK DATA utility against tablespace DSNDB06.SYSPKAGE, all was well. IBM did state that there is a bug and will be addressing it. We are at version 6 of DB2 running OS/390.

















Max Scarpa Sent by: DB2 Data Base Discussion List 09/20/2002 03:48 AM Please respond to DB2 Data Base Discussion List [...] 1176 55 32_FW: Conditional Restart question13_Barb Milligan25_Barb_Milligan@CARGILL.COM30_Tue, 8 Oct 2002 06:40:28 -0500308_ISO-8859-1 I use the conditional restart record when we are doing disaster recovery tests. I set X higher than any database recovery could be and Y equal to x or higher. You can then restore any database to a point before X.

We don't use the backward log apply process so I can't speak for that. [...] 1232 69 61_Re: To delete/insert or update columns - that is the question16_Jeff A L'Italien25_jeff.a.l'italien@AEXP.COM30_Tue, 8 Oct 2002 04:40:12 -0700362_iso-8859-1 Bob,

As usual with DB2, it depends. Especially in situations where you are dealing with compressed tablespaces or tables having VARCHAR type columns since update operations could potentially cause row relocation which in their own right will cause performance degradation not to mention the same effect on subsequent access to those rows. [...] 1302 212 29_Re: DPROP: To be or not to be15_Neff, Stephen R16_NeffSR@STATE.GOV30_Tue, 8 Oct 2002 07:47:35 -0400464_iso-8859-1 I agree with Paul. We use DPROP to pass and receieve data from ORACLE TO OS/390 and back. To get it to behave as our requirments specified took some time and understanding of the product. However now it runs and propagates consistently. We are now begining another project to use it that will pass data from one subsystem to another so as to load share queries to our mainframe systems. DPROP has alot of capability and a good size learning curve. [...] 1515 132 23_Re: DB2 Dataset Extents0_28_Srinivas.Reddy@IN.EFUNDS.COM30_Tue, 8 Oct 2002 17:52:31 +0530368_us-ascii Thanks for the replies send by you all.

As I understand from the manual,PIECESIZE depends upon the number of datasets we desired to have for that NPI . But there should be some significance for deciding the desired number of datasets.

And where are the Primary & Secondary quantities coming into picture during dataset allocation for NPIs? [...] 1648 20 15_New to Triggers15_Michael Rennick31_Michael_Rennick@TAX.STATE.NY.US30_Tue, 8 Oct 2002 09:13:02 -0400335_us-ascii We have moved to V7 from V5 and now looking at using Triggers. Could someone send me the SYNTAXs for creating a simple trigger for TBL A row insert with a single condition then triggers a one table row insert intoTBLB for only a few columns of TABA . The trigger will only insert 5 of 20 columns of the TBL A into TBL B. [...] 1669 31 24_Codepage upgrade problem0_19_mike.holmans@BT.COM30_Tue, 8 Oct 2002 14:53:43 +0100351_iso-8859-1 Hi all,

Last week, my DB2 Control Center using DB2 Connect PE could happily connect to my mainframe DB2 subsystem.

Over the weekend, the mainframe subsystem was upgraded from V5 to V7.

Now, when I try to sign on, I get the message that there is no available conversion from source CCSID 1146 to target CCSID 1208. [...] 1701 70 40_Re: DB2 UDB on NT - Control Center Probs14_Sinha, Abhijit20_Abhijit.Sinha@GS.COM30_Tue, 8 Oct 2002 09:48:26 -0400343_iso-8859-1 Aurora,

Your DB2 level WR21299 indicates Fixpak 6. Fixpak 7 should be WR21311, which has been available from IBM since Sept 9. When you say you are on JRE 1.3.1_02, you mean JDK 1.3.1_02, right ? Did you also set your DBM cfg parameter JDK11_PATH to the directory where your JDK resides ? Also, db2set DB2_USE_JDK12=1 ? [...] 1772 25 12_UDB question11_Richard Yan23_dhspa3f@DHS.STATE.IL.US30_Tue, 8 Oct 2002 08:46:53 -0500364_- Hi List,

We have 2 different production databases residing on 2 different database instances, they are all running UDB/AIX v7.2 fixpack 7.

Table1 is in DB1 and table2 is in DB2.

We have a requirement to do this: Inserting a row to table 1 on instance 1 should trigger an insert to table 2 on instance 2 with the data from that new row. [...] 1798 44 19_Re: New to Triggers33_Walter Jani=?ISO-8859-1?Q?=DFen?=27_walter.janissen@VICTORIA.DE30_Tue, 8 Oct 2002 09:04:42 -0500141_- Michael

For instance using DSNTEP2 (but I don't know if that is a simple one):

--#SET TERMINATOR # SET CURRENT SQLID = 'DB2'# 1843 25 23_Freezing LOAD utilities16_Regin Torkilsson17_regin@ELEKTRON.FO30_Tue, 8 Oct 2002 15:15:25 +0100423_us-ascii Hi listers,

We are running DB2 V5 on OS/390. Our problem is that load-utilities are freezing in the UTILINIT phase. The problem occurs "a periodically". We solve the problem by canseling the batch-jobs and the DB2 (C IRLM1) and then restart. This problem does not have an influence on query's running on the DB2 system. There are no messages from DB2 or batch-jobs to indicate that there is a problem. [...] 1869 43 40_Repost : DB2 Connect Client sluggishness22_Ramesh Balasubramanyan15_RAMBAL@SAIF.COM30_Tue, 8 Oct 2002 07:19:30 -0700677_iso-8859-1 Listers, I am reposting this since I did not get any repsonse. We are noticing a queer sluggishnes on some DB2 Clients on Fixpack 3 . Please help! Ramesh

-----Original Message----- From: Ramesh Balasubramanyan Sent: Sunday, October 06, 2002 10:20 PM Subject: DB2 Connect Client sluggishness



Gurus, we are noticing a bizarre sluggishness on some DB2 runtime clients in a Powerbuilder 8 application. The clients are Win2K workstation Fixpack 2. The DB2 Client is "DB2 v7.1.0.41","n010426","WR21254" (Fix pack 3) . DB2 is V7.1 The problem sporadically manifests when opening the Client Config assistant(CCA) , where it takes about 90 seconds [...] 1913 196 23_Re: DB2 Dataset Extents12_Boone, Henry16_HBoone@GEICO.COM30_Tue, 8 Oct 2002 10:29:01 -0400600_iso-8859-1 Most of this information is in the V7 Administration Guide - Chapter 4. Creating storage groups and managing DB2 data sets - Extending DB2-managed data sets:

The primary allocation is always used when a data set is created. The secondary allocation is always used for any extension: This is regardless of whether the extension is to a new volume or not. There are instances when DB2 may extend less than the secondary allocation: There may not be sufficient space to take a full secondary extent, or a full secondary extent would put the data set past its DSSIZE or PIECESIZE. [...] 2110 67 44_Re: Repost : DB2 Connect Client sluggishness14_Manas Dasgupta22_dasgupta@BELLSOUTH.NET30_Tue, 8 Oct 2002 10:37:00 -0400677_iso-8859-1 Ramesh: Can you post your db2set settings? Run a db2set -all. Thanks, Manas. ----- Original Message ----- From: "Ramesh Balasubramanyan" Newsgroups: bit.listserv.db2-l To: Sent: Tuesday, October 08, 2002 10:19 AM Subject: Repost : DB2 Connect Client sluggishness



> Listers, I am reposting this since I did not get any repsonse. We are > noticing a queer sluggishnes on some DB2 Clients on Fixpack 3 . Please help! > Ramesh > > -----Original Message----- > From: Ramesh Balasubramanyan > Sent: Sunday, October 06, 2002 10:20 PM > Subject: DB2 Connect Client sluggishness > > > Gurus, we are noticing [...] 2178 29 16_Active Log size?13_Wolf, Melissa26_Wolf.Melissa@PRINCIPAL.COM30_Tue, 8 Oct 2002 10:19:00 -0500559_iso-8859-1 Good Morning Listservers!

We are looking at resizing our active logs for DB2 V7. Just wondering how the other shops out there have theirs sized and what did they look at to determine the size of them. We are an 8-way datasharing shop and currently we are dual logging the actives. There are 8 active datasets per DB2 (or 16 with the dual) with each of them being a 1000 cyls. I should add that we are planning on adding more actives since we don't really have all that many. Any suggestions/hints/tips about how much to add and what to [...] 2208 70 55_Space Allocation questions - DB2 UDB V7.10 OS/390 V2.1022_Venkatesh Mokshagundam21_Vmokshagun@CSEDGE.COM30_Tue, 8 Oct 2002 10:10:41 -0500610_- Dear Listeners,

DB2 UDB V7.1 OS/390 V2.10

We're in the process of converting Datacom Databases to DB2. One of our biggest challenges so far has been testing the process of converting our largest Datacom tables (50M - 500M records). We have about 20 of them and we're partitioning them in DB2.

We have a need to create descending indexes on some of these large tables and they're taking 3-4 times more space than the ascending indexes. DB2 Estimator calculations (which works fine for pretty much everything else) is giving the same values for both indexes and because of this we're [...] 2279 76 13_Cancel Thread10_Grace Chen22_gchen@CUCENTRAL-AB.COM30_Tue, 8 Oct 2002 09:29:21 -0600293_iso-8859-1 Hi List, We have Data Warehouse database running on the DB2 for OS/390 V7. Sometime after they submit the query, it might be a big query, they want to cancel it. They don't want to wait. Is there any way that we can allow them to cancel only their own query(thread) on OS/390. [...] 2356 102 40_Re: DB2 UDB on NT - Control Center Probs16_Aurora Dell'Anno26_aurora_dellanno@CANDLE.COM30_Tue, 8 Oct 2002 10:33:08 -0500305_- Hi Abhijit,

I found out about the Fixpack 6 - 7 saga in the meantime, and although the paperwork said FP7, since it was sent on 11.09 and IBM Europe still do not have a master CD, I was sent FP6 instead.

Considering that this was replaced on 8 September because of errors, not bad... [...] 2459 28 20_Re: Active Log size?10_Max Scarpa16_mscarpa@CESVE.IT30_Tue, 8 Oct 2002 18:15:49 +0200454_us-ascii Good morning to you Melissa

In Red Book

'Storage Management with DB2 for OS/390' SG245462-00

at page 117 (DB2 I/O operations) there is a method to calculate quick and easily using DB2PM (or equivalent) statistic report active log size. AFAIK it works fine and it worth a look.

HTH and best regards

Max Scarpa

Bip Bip Specialist - Certified spare tyre Poor devils bank Padua - Italy (South America) [...] 2488 154 40_Re: DB2 UDB on NT - Control Center Probs12_tim malamphy20_timalamphy@YAHOO.COM30_Tue, 8 Oct 2002 09:18:06 -0700566_us-ascii I remember having to "update" the administration server software as well as the instance after an upgrade, but I'll be darned if I can find the admin server equivalent of db2uipdt in any manual. Perhaps someone else remembers as well? And there's also an issue with the release of Contol Center on your client workstation which will have to be at least at least at 6.1 to talk to a 7.2 admin server. tim --- Aurora Dell'Anno wrote: > Hi Abhijit, > > I found out about the Fixpack 6 - 7 saga in the > meantime, and although [...] 2643 29 17_Re: Cancel Thread12_Jim Harrison17_jharrison@GMX.NET30_Tue, 8 Oct 2002 12:21:53 -0400 2673 63 20_Re: Active Log size?16_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM30_Tue, 8 Oct 2002 11:56:45 -0400325_iso-8859-1 If your archive logs are on real tape, you might consider making an active log the size which would occupy about 90-95% of a tape.

If you do not mirror DASD but instead send tapes offsite, make the actives small enough that they archive frequently enough to satisfy your offsite recovery requirements. [...] 2737 43 73_Stored procedure builder naming convention for executable on DB2 for Z/OS0_34_L-IS.Kirkpatrick@MUTUALOFOMAHA.COM30_Tue, 8 Oct 2002 11:33:24 -0500595_us-ascii I am in the process of rolling out stored procedure builder for use by our application programmers. As I do this, I would like for the executable that is generated by stored procedure builder to have a naming convention that will not get anyone into trouble. In essence, I would like for each DB2 development platform to have their own (three position) prefix for the executable. In other words, I would like for development platform number 1 to deliver an executable with a name of SQAxxxxx, and development platform #2 to deliver an executable name of SQBxxxxx ...(etc.). I have [...] 2781 18 26_Re: Runtstats and sampling9_Jim Ruddy18_jaruddy@US.IBM.COM30_Tue, 8 Oct 2002 11:40:35 -0500303_- When we measured the improvements before V5 went GA we saw up to a 28% improvement in elapsed time and up to a 50% improvement in CPU time. In our testing we saw no access path changes down to 15% sampling. We have heard some customers run with a sampling rate of 1% with no access path changes. [...] 2800 32 59_DB2 7.2 recovery and loading table with recoverable option.11_Mike Fatula22_mfatula@AESSUCCESS.ORG30_Tue, 8 Oct 2002 12:53:16 -0400570_us-ascii Our Disaster recovery procedures promise that we will restore the DataBase to the day before at 21:30. This is done by simply restoring a full database backup taken on a Saturday and then using the logs to rollforward to the day before a disaster would happen.

This works fine.

We discovered two tables that get loaded every night using the nonrecoverable parameter. I want all the tables to be restored to the promised time. We tested loading the tables without the nonrecoverable parameter and DB2 makes us perform a backup after the load. [...] 2833 16 18_automated response17_Dominique Lambert36_dominique.lambert@FR.CDBSOFTWARE.COM30_Tue, 8 Oct 2002 19:31:09 +0200518_- Dominique Lambert has a new email account: dominique.lambert@cdbsoftware.com. Please use this new address in the future.

Your email has been forwarded to the new email and does not need to be resent.

Thank you for your help.

The Postmaster

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://listserv.ylassoc.com. The owners of the list can be reached at DB2-L-REQUEST@listserv.ylassoc.com. 2850 50 23_When is long, too long?15_Smith, Dennis J22_dennis.j.smith@EDS.COM30_Tue, 8 Oct 2002 12:28:17 -0500516_- I would like to know when is a RID chain for a duplicate index too long? I have heard lots of different answers that really don't seem to answer the question.

Given that FULLYKEYCARD and CARD are the only things we have to go on. I was thinking that if FULLKEYCARD is greater than 1% of CARD, then this was too long. However, I also think that if the RID chain can be contained in a single page, then this is ok, as long as the chain has to be contiguous. If the chain spans pages, do those pages have [...] 2901 49 20_Re: Active Log size?17_Dr. Michael Ebert18_mebert@AMADEUS.NET30_Tue, 8 Oct 2002 19:50:32 +0200541_us-ascii Good evening Melissa,

your sizings seem very generous (but you did not specify your logging rate). On all of our systems except the legacy PRD and the DBA playground one, we have 2 x 5 logs, each 665 CYLs (2 x 1 3390-3 volume). On the legacy PRD system, I am about to change that to 2 x 6 logs, 1110 CYLs each (2 x 2 volumes). This translates to one archive about every 80 minutes. Originally all our logs were much smaller which caused the MSTR log to be flooded with offload messages, which was a nuisance; also there [...] 2951 65 17_Re: Cancel Thread11_Suresh Sane21_data_arch@HOTMAIL.COM30_Tue, 8 Oct 2002 13:13:03 -0500612_- Grace,

I don't think the authorization for CANCEL can be controlled at that level. You could perhaps use an ISPF fron-end to issue the cancel in the background after verifying the right auth. But have you considered:

1. Using RLF for reactive governing so that you can limit the total cpu a a query can use? 2. Using different groups (e.g. novice, intermediate, expert) of users that are allowed different amounts of cpu(via RLF as above)? 3. Using predictive governing where the "obviously gross" queries (e.g missing a join or two) can be killed right away, the "questionable" queries can [...] 3017 169 40_Re: DB2 UDB on NT - Control Center Probs12_Myron Miller22_myronwmiller@YAHOO.COM30_Tue, 8 Oct 2002 13:17:15 -0700567_us-ascii To update the admin server software use the command dasiupdt adminservname

--- tim malamphy wrote: > I remember having to "update" the administration > server software as well as the instance after an > upgrade, but I'll be darned if I can find the admin > server equivalent of db2uipdt in any manual. Perhaps > someone else remembers as well? > And there's also an issue with the release of > Contol Center on your client workstation which will > have to be at least at least at 6.1 to talk to a 7.2 > admin server. > tim [...] 3187 92 43_DB2 390 V6: Weird resource Usage (DSN32K02)13_Phil Sevetson26_Phil.Sevetson@WAKEFERN.COM30_Tue, 8 Oct 2002 16:54:36 -0400520_us-ascii We are experiencing strange resource usage by a query which runs in our Data Warehouse environment; it uses _both_ DSN32K02 and DSN4K05 datasets (tablespaces) for storage.

The query is shown below. It runs as ten threads. V1 is a table in a LARGE tablespace with 255 partitions and 5Bn rows, partitioned on date. The query would use data from fifty-two partitions. The other two tables are in segmented tablespaces. None of these tables and none of their indexes are assigned to any 32K Bufferpool. [...] 3280 163 32_Re: DSNU518I on DSNDB01.SYSLGRNX13_David S Waugh16_dsw-dba@JUNO.COM28_Tue, 8 Oct 2002 21:53:56 GMT318_- I had a feeling that somebody was going to call me on something in all of my rantings on the subject... This is what I get for running off at the mouth without doing the research beforehand.

Thank you, Dr. E -- you are excruciatingly correct, as usual. My apologies to Steve for complicating the matter. [...] 3444 35 32_Re: DSNU518I on DSNDB01.SYSLGRNX13_David S Waugh16_dsw-dba@JUNO.COM28_Tue, 8 Oct 2002 21:58:04 GMT526_- You're right Max -- my bad!

David

---------- Max Scarpa writes:

From: Max Scarpa To: DB2-L@LISTSERV.YLASSOC.COM Subject: Re: DSNU518I on DSNDB01.SYSLGRNX Date: Mon, 7 Oct 2002 09:25:53 +0200

David



'2. COPY places information about image copies of SYSCOPY, SYSUTILX and SYSLGRNX in SYSLGRNX, not in SYSCOPY.'

But some times ago a little birdie said that for DBD01,SYSUTILX & SYSCOPY recovery infos are placed in the log....or not ? [...] 3480 20 41_Stored Procedure Internal / External Name0_14_DPetro@AOL.COM28_Tue, 8 Oct 2002 19:52:08 EDT464_US-ASCII Hi,

We are developing standards for Stored Procedures and want to make the internal name the same as the external name. Are there any reasons we would not want to do this?

Thanks. Dave.

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://listserv.ylassoc.com. The owners of the list can be reached at DB2-L-REQUEST@listserv.ylassoc.com. 3501 63 50_=?iso-8859-7?Q?=C1=D0=3A_Freezing_LOAD_utilities?=19_Alekos Papadopoulos13_apapad@NBG.GR30_Wed, 9 Oct 2002 08:31:20 +0200535_iso-8859-7 It seems that 'somebody' does not allow load to drain your objects, i.e. holds locks in either the tablespace of the table to be loaded, or its indexes. You can find the bad guy, by issuing -DIS DATABASE(xxx) SPACENAM(yyy) CLAIMERS (where yyy must be the tablespace and the indexspaces of your table to be loaded) when your load is frozen in the utilinit phase. You can then decide either to cancel the job that locks your table or to wait (I think cancelling the IRLM was much more than what was needed in this case). [...] 3565 119 47_Re: DB2 390 V6: Weird resource Usage (DSN32K02)17_Dr. Michael Ebert18_mebert@AMADEUS.NET30_Wed, 9 Oct 2002 09:48:04 +0200419_us-ascii Your query references V1 and V2. But you say "the other two tables..." - looks like there is something missing somewhere. Also, V1 and V2 sound like Views, not tables. A 32K BP would be used if any intermediate result (say, from a Join) would have a row length > (approx.) 4000 bytes (possibly less if a sort with a long key is required). Check the EXPLAIN and try to determine what exactly DB2 is doing. [...] 3685 29 32_Re: DSNU518I on DSNDB01.SYSLGRNX10_Max Scarpa16_mscarpa@CESVE.IT30_Wed, 9 Oct 2002 10:59:26 +0200448_us-ascii Hi David and all listerz

It came in my mind that twice we had broken pages that DB2 online recovery wasn't able to recover and later we dsiscovered, looking the EREP, that there was a DASD alert and probably it was due to some DASD error recovered by RAID-5 disks but that induced some 'logical' errors in DB2. It was DB2 V4 however and (as I think it's normal) in the test LPAR we had the worst pedal-DASDs with sparks plugs. [...] 3715 10 32_Re: Conditional Restart question17_Christophe Radier17_c300501@YAHOO.COM30_Wed, 9 Oct 2002 04:29:45 -0500302_- Thank you for your explanation Doctor Ebert.

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://listserv.ylassoc.com. The owners of the list can be reached at DB2-L-REQUEST@listserv.ylassoc.com. 3726 33 17_rf_mode parameter11_Manoj Veedu16_mveedu@QWEST.NET30_Wed, 9 Oct 2002 15:30:13 +0530367_iso-8859-1 Hi All,

Following Error messages are resulted when try to restore DB2 database. SQL2032N The "rf_mode" parameter is not valid.

Details of the Db2 database: AIX 4.3 , Db2 UDB 7.1 FP6 What is this parameter rf_mode and how can I proceed with the restore command without getting this error?

Any response will be greatly appreciated. [...] 3760 127 59_Re: Space Allocation questions - DB2 UDB V7.10 OS/390 V2.1011_Chris Bowen22_Chris.Bowen@MACRO4.COM30_Wed, 9 Oct 2002 11:36:29 +0100534_iso-8859-1 Hello Venkatesh,

I'm certain that there are people out there on the list much better qualified than me to take a shot at this but here goes:-

Your description suggests that the Datacom to DB2 conversion process is using SQL INSERT rather than DB2 LOAD.

If this is true, then it seems possible that the sequence that the data is being inserted in is causing wasted space in your descending indexes. A guess would be all data being pushed into the front of the index causing many index page splits. [...] 3888 36 45_Re: Stored Procedure Internal / External Name17_Walter Trovijo Jr18_wtrovijo@IG.COM.BR30_Wed, 9 Oct 2002 08:14:02 -0300620_iso-8859-1 Hi Dave,

We are using different names so we can bind same package on different collections and access a distinct set of tables (all programs do access using synonyms). Real table names are resolved at bind time using OWNER keyword.

HTH, Walter Trovijo.

> Hi, > > We are developing standards for Stored Procedures and want to make the > internal name the same as the external name. Are there any reasons we would > not want to do this? > > Thanks. > Dave. > > ================================================ > To change your subscription options or to cancel your subscription visit [...] 3925 96 40_Re: DB2 UDB on NT - Control Center Probs16_Aurora Dell'Anno26_aurora_dellanno@CANDLE.COM30_Wed, 9 Oct 2002 06:03:51 -0500369_- Abhijit,

coming back to this note: I am on DB2 UDB 7.2 on Windows NT. I have no DB2_USE_JDK12, also I had a good read through the manuals and I seem to understand that JDK is really for Development, it should not be interesting to Control Center.

Is this wrong? Since I freely admit my ignorance, I am asking to try and understand things better... [...] 4022 56 45_Re: Stored Procedure Internal / External Name12_Myron Miller22_myronwmiller@YAHOO.COM30_Wed, 9 Oct 2002 04:55:42 -0700354_us-ascii Walter, Maybe I'm missing something here. But why have different names for the packages? Why not different Schema/Owners for the same SP/package? You can still have the exact same stored procedure in different collections that way and access different distinct sets of tables. But you don't have to remember that abc SP is the same as XYZ. [...] 4079 43 36_Re: UDB and NT domain authentication0_15_bufes@YAHOO.COM30_Wed, 9 Oct 2002 07:18:53 -0500598_- Hi Scott, just an idea - did you set db2 variable DB2_GRP_LOOKUP ? It worked for me - but that was long time ago and I don't remember the details. Good luck, Daniel

On Fri, 4 Oct 2002 10:04:38 -0500, Scott Goodell wrote:

>Does anyone out there have UDB Personal Developer Edition (PDE) installed >on a workstation that has gotten domain level authentication with Groups to >work? > >I cannot get this to work. > >If I have DBM CFG authentication as SERVER is requires my userid and >password defined on my local machine. If I update the authentication [...] 4123 16 36_Platinum Database Analyzer: question18_Di Franco Vincenzo22_difrancov@ISIDE.BCC.IT30_Wed, 9 Oct 2002 15:15:38 +0200414_iso-8859-1 Hi, There is someone that know how to search a db2 resource utilized in a Platinum database analyzer extract procedure ? Thank you in advance. Bye.

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://listserv.ylassoc.com. The owners of the list can be reached at DB2-L-REQUEST@listserv.ylassoc.com. 4140 131 40_Re: DB2 UDB on NT - Control Center Probs14_Sinha, Abhijit20_Abhijit.Sinha@GS.COM30_Wed, 9 Oct 2002 10:04:04 -0400599_iso-8859-1 Hi Aurora,

I believe the Control Center itself is a Java application, and hence uses the JDK. When you install DB2 V7, 2 versions of JDK are already supplied and installed with it in the following directories: \sqllib\java\jdk (JDK 1.1.8 version) or \sqllib\java\java12\jdk (JDK 1.2 version) Either of these JDK versions is used by the Control Center, plus the directory: \sqllib\bin (automatically placed in your System CLASSPATH during DB2 installation) which actually contains the db2cc.bat file which opens up the Control Center. [...] 4272 70 45_Re: Stored Procedure Internal / External Name17_Robert J. Milonas20_XRJMBOB@NETSCAPE.NET30_Wed, 9 Oct 2002 09:59:41 -0400656_iso-8859-1 Are you suggesting different prefixes for the same stored procedure. ABCD1234 and WXYZ1234 or PROD1234 would all be the same stored procedure but each could connect to a different set of synonyms pointing to different sets of tables?

Myron Miller wrote:

>Walter, > Maybe I'm missing something here. But why have different names for the >packages? Why not different Schema/Owners for the same SP/package? You can >still have the exact same stored procedure in different collections that way >and access different distinct sets of tables. But you don't have to remember >that abc SP is the same as XYZ. [...] 4343 41 28_Re: Codepage upgrade problem0_15_bufes@YAHOO.COM30_Wed, 9 Oct 2002 09:10:25 -0500645_- Mike, try setting disableunicode=1 in db2cli.ini file. Cheers, Daniel

On Tue, 8 Oct 2002 14:53:43 +0100, mike.holmans@BT.COM wrote:

>Hi all, > >Last week, my DB2 Control Center using DB2 Connect PE could happily connect >to my mainframe DB2 subsystem. > >Over the weekend, the mainframe subsystem was upgraded from V5 to V7. > >Now, when I try to sign on, I get the message that there is no available >conversion from source CCSID 1146 to target CCSID 1208. > >I've tried inserting a row into SYSIBM.SYSSTRINGS with an INCCSID=1146, >OUTCCSID=1208, TRANSTYPE=SS, IBMREQD=N (and one with the INCCSID and >OUTCCSID reversed), [...] 4385 174 59_Re: Space Allocation questions - DB2 UDB V7.10 OS/390 V2.1022_Venkatesh Mokshagundam21_Vmokshagun@CSEDGE.COM30_Wed, 9 Oct 2002 09:27:07 -0500481_- Chris, we're using DB2 Load utility during conversion.

But, I took a closer look at the actual space being used and it looks like its not as off as I thought it was from our original estimates.

The problem was probably because we had almost 4GB of Primary and it actually couldn't find a MOD-9 device to create the subsequent datasets. I was under the impression that we have enough DASD, but, most volumes that were remaining when the Job failed were MOD-3s. [...] 4560 124 40_Re: Platinum Database Analyzer: question14_Grainger, Phil20_Phil.Grainger@CA.COM30_Wed, 9 Oct 2002 15:38:01 +0100441_iso-8859-1 Vincenzo,

I am sorry, but I don't really understand your question.

However, I CAN put you in touch with our local DB2 field expert in Italy - drop an eMail to Amadeo Pierangelini at Amadeo.Pierangelini@ca.com, you can ask him the question in Italian

Phil Grainger Computer Associates Product Manager, DB2 Tel: +44 (0)161 928 9334 Fax: +44 (0)161 941 3775 Mobile: +44 (0)7970 125 752 phil.grainger@ca.com [...] 4685 20 37_DB2 SUBSYSTEM CLONING Training Course17_Necessary, Cheryl31_Cheryl.Necessary@INGRAMBOOK.COM30_Wed, 9 Oct 2002 09:47:18 -0500382_iso-8859-1 > I have seen reference a couple of times now to a "DB2 subsystem cloning" course. I am very interested in this course but have not > been able to find a reference to it on IBM's web site. Could someone provide a course number and vendor (if it is not IBM). > Thanks in advance for any information. > > Thanks, > Cheryl L. Necessary > IT DBA > Ingram Book Company > [...] 4706 114 40_Re: Platinum Database Analyzer: question16_Rasmussen, Steen22_Steen.Rasmussen@CA.COM30_Wed, 9 Oct 2002 15:35:43 +0100469_iso-8859-1 Hello Vincenzo,

The report you are looking for is described in Chapter 5 in teh PDA Reference Guide. You can find a sample job In your highlvl.SRCLIB(RALUPBY).



Kind regards Steen Rasmussen Computer Associates Senior Consultant



-----Original Message----- From: Di Franco Vincenzo [mailto:difrancov@ISIDE.BCC.IT] Sent: 9. oktober 2002 15:16 To: DB2-L@LISTSERV.YLASSOC.COM Subject: Platinum Database Analyzer: question [...] 4821 116 45_Re: Stored Procedure Internal / External Name12_Myron Miller22_myronwmiller@YAHOO.COM30_Wed, 9 Oct 2002 07:48:47 -0700392_us-ascii Yes Robert, For example say you have stored procedure biggetd, and you have the schemas TEST1, TEST2 and TEST3 as environments, then you would have TEST1.BIGGETD, TEST2.BIGGETD and TEST3.BIGGETD respectively. With the owner on the bind of the SP, the different schema name can be set. In fact, if you use unqualified tablenames, this owner/schema name would be the table owner. [...] 4938 123 45_Re: Stored Procedure Internal / External Name12_John Maenpaa24_john_maenpaa@YLASSOC.COM30_Wed, 9 Oct 2002 10:02:37 -0500601_iso-8859-1 We use aliases. But, yes, that is the concept. Calling programs use CURRENT PACKAGESET and/or CURRENT PATH, depending on what we're doing.

You have a lot of control this way.

If multiple stored procedures (or UDFs) run in the same WLM environment, then they'll use the same executable module.

If you want to run TEST and QUAL environments in the same subsystem with different tables and different executable modules, you only have to change the DDL to use different WLM environments and set up TEST and QUAL WLM environments with different Steplib specifications. [...] 5062 36 45_Re: Stored Procedure Internal / External Name17_Walter Trovijo Jr18_wtrovijo@IG.COM.BR30_Wed, 9 Oct 2002 12:07:03 -0300525_iso-8859-1 Myron,

We donīt have different names for packages, but just different procedure names and collections. One reason is that we are still at v5.1 and another one is that procedure names are not so different as ABC and XYZ; there is only 1 letter that changes from one procedure name to another and itīs used to identify to which company data belongs to. I know this is not the only one nor the best way, I was just trying to contribute with a suggestion to Dave and others that may be interested on this. [...] 5099 18 80_How do we retrieve multiple result sets from a Microfocus cobol stored procedure11_Mike Fatula22_mfatula@AESSUCCESS.ORG30_Wed, 9 Oct 2002 11:29:15 -0400495_us-ascii How do we retrieve results sets from a Cobol stored procedure? Our procedure and calling program is written in MF Object Cobol Developer suite 4.1.

This version seems to not support the usage SQL type is RESULT-SET-LOCATOR.

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://listserv.ylassoc.com. The owners of the list can be reached at DB2-L-REQUEST@listserv.ylassoc.com. 5118 55 45_Re: Stored Procedure Internal / External Name11_Suresh Sane21_data_arch@HOTMAIL.COM30_Wed, 9 Oct 2002 10:43:59 -0500360_- Dave,

The external name defaults to the internal name, in any case. For Java, I think it can be longer than 8 char but all others, it must be up to 8 chars due to the load module restriction. Assuming you are limited to 8 chars, it makes sense to keep them same. We use SPnnnnn where nnnn is a sequential number assigned by an internal facitliy. [...] 5174 193 45_Re: Stored Procedure Internal / External Name15_Jackson Reavill18_damcon2@US.IBM.COM30_Wed, 9 Oct 2002 11:59:01 -0400586_us-ascii This thread brings to mind a question I've wondered about periodically. We are OS/390 DB2 V7 non-WLM.

Without having to constantly juggle loadlib concatenation in the SPAS, how would one handle multiple development environments (one loadlib per) working on different versions of the same procedure (program)?

Granted, schemas give us flexibility on the DB2 side, but when the SP is called it's going to search the loadlib concatenation for the associated program. Depending on the concatenation it could get a hit in the wrong environment and throw an -805. [...] 5368 216 45_Re: Stored Procedure Internal / External Name12_Myron Miller22_myronwmiller@YAHOO.COM30_Wed, 9 Oct 2002 09:12:16 -0700635_us-ascii Jackson, Quick answer - You're missing WLM :=)

Actually, to the best of my knowledge without WLM, I think you're stuck on the loadlib concatentation. I think this is one of the limitations of SPAS. Either rename the loadmodule per version or convert to WLM.

Myron --- Jackson Reavill wrote: > This thread brings to mind a question I've wondered about periodically. We > are OS/390 DB2 V7 non-WLM. > > Without having to constantly juggle loadlib concatenation in the SPAS, how > would one handle multiple development environments (one loadlib per) > working on different versions of the [...] 5585 18 18_automated response14_andy lankester33_andy.lankester@FR.CDBSOFTWARE.COM30_Wed, 9 Oct 2002 18:33:15 +0200598_- You have sent an email to andy.lankester@fr.cdbsoftware.com

Please note that Andy Lankester has a new email account: andy.lankester@cdbsoftware.com. Please use this new address in the future.

Your email has been forwarded to the new mailbox and does not need to be resent.

Thank you for your help.

The Postmaster

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://listserv.ylassoc.com. The owners of the list can be reached at DB2-L-REQUEST@listserv.ylassoc.com. 5604 42 41_Re: DB2 SUBSYSTEM CLONING Training Course17_Dr. Michael Ebert18_mebert@AMADEUS.NET30_Wed, 9 Oct 2002 18:17:45 +0200652_us-ascii Hi Cheryl,

in Germany the course number is 25KA31DE. Apparently the course is not (yet) available outside of Germany. The course is noticeably still "under construction" (I think it was given just for the second time, and it had just been extended from 1.5 to 2.5 days which still didn't have any slack), but I can recommend it highly. You learn lots of things about the DB2 startup process, and also some useful dirty tricks that Roger Miller probably would like to see banned. Check http://www-5.ibm.com/services/learning/de/ta-iris.nsf/(ExtCourseNr)/25KA31DE. As I've just seen, the version 8 of Control Center has a wizard for [...] 5647 214 45_Re: Stored Procedure Internal / External Name38_Hilton, Tina, arvato systems - NMI -PM29_Tina.Hilton@ARVATOSYSTEMS.COM30_Wed, 9 Oct 2002 11:21:30 -0500334_iso-8859-1 You can't do what you want with DB2 SPs. You need to use WLM established stored procedures. If you have WLM in goal mode in your operating system, then most of the work is already done for you. If you're in compatibility mode, you can still use WLM SPs, you'll just have to manually start and stop the address spaces. [...] 5862 44 32_Path used by a Trigger operation11_David Nance16_DWNance@FHSC.COM30_Wed, 9 Oct 2002 13:08:18 -0400559_US-ASCII Hey all, We are having a little trigger problem. System OS/390 2.8 DB2 V6

I've asked our support folks to open a ticket with IBM, but thought I'd run by you all as well. We are in the processing of setting up some BEFORE insert triggers. One of the items we were taking into account was to be able to use stored procedures and make it look in different schemas was to use the current path of the package that fired the trigger. However, things aren't working for us according to IBM's documentation. Was wondering if anyone has seen this [...] 5907 62 45_Re: Stored Procedure Internal / External Name13_Lockwood Lyon24_Lockwood.Lyon@MEIJER.COM30_Wed, 9 Oct 2002 13:28:10 -0400414_US-ASCII List,

It gets worse. Apparently, our shop allows applications to invoke stored procedures not only through the SQL CALL statement but also through the Cobol CALL 'xxxxxxx' USING. (Of course, this applies to local applications only, such as batch jobs, not to web apps).

Why? I am told that the "overhead is less". In any case, this method sets a max limit on the name of the procedure. [...] 5970 71 27_Re: Freezing LOAD utilities12_Isaac Yassin20_yassini@BEZEQINT.NET30_Wed, 9 Oct 2002 19:32:55 +0200269_- Hi, Another venue: How many utilities calls do you have in the sysin ? Long time ago (on V5) I had ~800 utility commands in one invocation of DSNUTILB And it took eons for the UTILINIT to work. There was an APAR for that, but it's out of my reach at the moment. [...] 6042 92 45_Re: Stored Procedure Internal / External Name15_Jackson Reavill18_damcon2@US.IBM.COM30_Wed, 9 Oct 2002 13:38:36 -0400484_us-ascii Thanks Myron, I had a feeling that was the answer. Seems I read somewhere that V8 will require WLM. Do you know if that's true?

Thanks again, Jay



Jay Reavill damcon2@us.ibm.com IBM Global Services Tampa, Florida Tel: (813) 356-5317, Tie Line 8-697-5317

----------------------------------------------------- Happiness is not around the corner. Happiness is the Contour (SVT) of the road. ----------------------------------------------------- [...] 6135 37 33_Implicit vs Explicit transactions9_Dan Lamas22_DLamas@DUKE-ENERGY.COM30_Wed, 9 Oct 2002 12:41:12 -0500574_us-ascii Hello Listers,

I have been searching the archives for answers to my question but found nothing. So hopefully some of you may have some insight to my problem.

We are currently on OS390 / 2.10 and DB2 v6. We are converting to v7 this weekend so all sugguestions would be great. I have been asked by our JAVA arch team if there is a way to specify an Explicit transaction with DB2 using JAVA. They are processing many read-only transactions and would like to focus only on those transactions that need commit and rollback logic so as to avoid locks [...] 6173 116 45_Re: Stored Procedure Internal / External Name12_Myron Miller22_myronwmiller@YAHOO.COM30_Wed, 9 Oct 2002 10:44:30 -0700424_us-ascii I don't know any more than you do, maybe less about V.Next. But I've seen lots of indications that one of the next versions, maybe not v8, but v9 or v10 will absolutely require WLM.

But from what I've seen, I personally don't understand why shops don't go to WLM. Its relatively easy to implement with minimal cost. And the benefits are tremendous. Understand that you can't use UDFs on V7 without WLM. [...] 6290 16 13_Re: DDF Hangs16_Jaiwant Jonathan16_jjaiwant@AOL.COM30_Wed, 9 Oct 2002 12:53:28 -0500466_- Hi, Is your DDF THREADS (CMTSTAT) parm set to INACTIVE and IDLETHREAD TIMEOUT set to a low value (like 300 secs)? These two should help to clear the hanging thread, theoretically at least.

HTH. Jaiwant

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://listserv.ylassoc.com. The owners of the list can be reached at DB2-L-REQUEST@listserv.ylassoc.com. 6307 15 33_SPUFI with different DB2 Versions14_Nicholas Treis30_Nicholas_Treis@TAX.STATE.NY.US30_Wed, 9 Oct 2002 14:23:24 -0400314_us-ascii We currently have two versions of DB2 installed at our site. The problem we are experiencing is that when we setup our logon procs to use the version 5 libraries our programmers can not access through SPUFI the version 7 DB2. Other than having multiple logon procs is there something that we can do? [...] 6323 23 53_Control Center V7.2 FP4 and DB2 V7.1 on ZOS -00c1221612_BOB JEANDRON21_BOB.JEANDRON@USDA.GOV30_Wed, 9 Oct 2002 13:30:00 -0400474_- We are in the process of migrating from V6.1 to V7.1 on ZOS. Control Center stopped working for differnt reasons. After getting past several problems we are now getting C12216 (Error because of no connection) whenever I attempt to do a display (BPs, DBs etc.). I am connected. The error: *------------------------------ IFI Command Execution Failed: IFI Return code: 8. IFI reason code c12216. IFI excess bytes 0. No results returned. *------------------------------ [...] 6347 43 16_Re: UDB question10_John Lantz23_john.lantz@ZURICHNA.COM30_Wed, 9 Oct 2002 13:44:39 -0500384_- You can use Federated databases to do this. As long as you are not going to some other vendor database (like Oracle or SQL Server), it should work. If you want to be able to get to an other vendor, then you would need to purchase Relational Connect and buy the driver you need. To use Federated databases, you have to set up some stuff (like a nickname, user mappings, etc...) [...] 6391 104 37_Re: SPUFI with different DB2 Versions15_Robert Lawrence21_rlawrence@BOSCOVS.COM30_Wed, 9 Oct 2002 15:13:28 -0400441_iso-8859-1 Nicholas, You can do this by libdef, and altlibs. This is our routine for starting DB2I:



DSUB is the subsystem id passed in the ISPF profile pool from our DB2 panel

DSN510G is our version 5 hilevel qualifier DSN710A.TECH is our version 7 hilevel qualifier The select statement sets the hilevel qualifier based on the subsystem desired. This removes the need to have the DB2 libraries in the logon proc. [...] 6496 17 16_Re: UDB question11_Richard Yan23_dhspa3f@DHS.STATE.IL.US30_Wed, 9 Oct 2002 14:17:02 -0500466_- Thank you, John !

But I think the federated database won't allow update or delete to remote system until DB2 v8 which has not been officially released yet.

Richard Yan IL Dept of Human Services.

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://listserv.ylassoc.com. The owners of the list can be reached at DB2-L-REQUEST@listserv.ylassoc.com. 6514 72 16_Re: UDB question18_Gert van der Kooij16_gkooij@XS4ALL.NL30_Wed, 9 Oct 2002 21:33:22 +0200649_iso-8859-1 Hi John,

As far I know federated databases with V7.2 can only be used in read-only mode. V8 should allow updates to federated databases.

----- Original Message ----- From: "John Lantz" Newsgroups: bit.listserv.db2-l To: Sent: Wednesday, October 09, 2002 8:44 PM Subject: Re: UDB question



> You can use Federated databases to do this. As long as you are not going > to some other vendor database (like Oracle or SQL Server), it should work. > If you want to be able to get to an other vendor, then you would need to > purchase Relational Connect and [...] 6587 118 16_Re: UDB question18_Richard McCutcheon32_Richard_McCutcheon@HCM.HONDA.COM30_Wed, 9 Oct 2002 16:05:48 -0400481_us-ascii I just jumped into this conversation, so forgive me if it was already mentioned, but why not use Replication?

It can be setup to 'Capture' changes from one table and then 'Apply' them to another. This includes between 2 servers, and even between db2 versions if you need to.

Regards. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Richard McCutcheon DBA - Tech Support - ISD Honda of Canada Mfg. (705) 435-5561 ext.2259 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [...] 6706 100 37_Re: SPUFI with different DB2 Versions19_Murari Selvakesavan22_MSelvakesavan@FHSC.COM30_Wed, 9 Oct 2002 16:22:08 -0400693_US-ASCII The alternative to what you are trying to accomplish is, use plan DSNTEP2 to execute the SQL and in the JCL override the SDSNLOAD and SDSNEXIT libraries to the V7 libraries. This should work by all means.









Murari Selvakesavan. Data Resource Management. First Health Services Corp. 804.965.7601





>>> Nicholas_Treis@TAX.STATE.NY.US 10/09/02 02:23PM >>> We currently have two versions of DB2 installed at our site. The problem we are experiencing is that when we setup our logon procs to use the version 5 libraries our programmers can not access through SPUFI the version 7 DB2. Other than having multiple logon procs is [...] 6807 134 16_Re: UDB question14_Sinha, Abhijit20_Abhijit.Sinha@GS.COM30_Wed, 9 Oct 2002 17:04:06 -0400583_iso-8859-1 DB2 DataJoiner product (ships separate from DB2 product) can be used.

-----Original Message----- From: Richard McCutcheon [mailto:Richard_McCutcheon@HCM.HONDA.COM] Sent: Wednesday, October 09, 2002 4:06 PM To: DB2-L@LISTSERV.YLASSOC.COM Subject: Re: UDB question



I just jumped into this conversation, so forgive me if it was already mentioned, but why not use Replication?

It can be setup to 'Capture' changes from one table and then 'Apply' them to another. This includes between 2 servers, and even between db2 versions if you need to. [...] 6942 167 27_Re: DB2 Connect Maintenance10_Vinson Lee19_vlee@SDCCD.CC.CA.US30_Wed, 9 Oct 2002 14:38:11 -0700438_iso-8859-1 Kraig,

I looked in IBMLINK and it looks like UQ64008 has already been superseded by UQ67918 from APAR PQ59120. I have ordered the PTF and will test to see if it fixes the problem.

Thanks for the info.

Vince

-----Original Message----- From: Kraig Shipman [mailto:shipmak1@NATIONWIDE.COM] Sent: Friday, October 04, 2002 6:00 AM To: DB2-L@LISTSERV.YLASSOC.COM Subject: Re: DB2 Connect Maintenance [...] 7110 18 17_Tool comparisojns13_John Davidson21_jdadmin@IDATATECH.NET30_Wed, 9 Oct 2002 17:43:18 -0400435_us-ascii Listers:

Are there any articles/websites/reports comparing various DBA tools, especially IBM vs CA-Platinum vs. BMC.?



Thanks in advance for any help

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://listserv.ylassoc.com. The owners of the list can be reached at DB2-L-REQUEST@listserv.ylassoc.com. 7129 90 27_Re: DB2 Connect Maintenance10_Vinson Lee19_vlee@SDCCD.CC.CA.US30_Wed, 9 Oct 2002 14:51:45 -0700698_iso-8859-1 The userid and password are both coded in uppercase. I verified this when I saw an issue on IBMLINK regarding uppercase translation failing in certain situations.

Vince

-----Original Message----- From: Danny [mailto:dcreed@CABLEONE.NET] Sent: Thursday, October 03, 2002 9:48 PM To: DB2-L@LISTSERV.YLASSOC.COM Subject: Re: DB2 Connect Maintenance



I believe that I have seen this when the hardcoded password is lowercase. Behind the scene the password will get folded to uppercase and work anyway. The expiration would occur if some web application or multiple connections come in all at once and get past the number of invalid tries. Again, just look to [...] 7220 21 16_Re: UDB question11_Richard Yan23_dhspa3f@DHS.STATE.IL.US30_Wed, 9 Oct 2002 16:46:09 -0500352_- Yes, I think the IBM Dprop should do it.

But using Dprop requires some work, like you have to register a table, define a subscription and also need some maintenance work like keeping capture and apply program runing on the system. Plus, Dprop is asynchrous, not synchrous.

I'm wondering if someone can come up with an easier way ? [...] 7242 46 21_Re: Tool comparisojns14_Essy Nokhodian24_ENOKHODIAN@AUSTIN.RR.COM30_Wed, 9 Oct 2002 17:26:58 -0500489_iso-8859-1 Hi John,

I'm certain just from experience as a DBA and working with BMC's products, their product and their product support are far superior than many other companies.

Number to call 800-841-2031

Best of luck!

-Essy





----- Original Message ----- From: John Davidson Newsgroups: bit.listserv.db2-l To: Sent: Wednesday, October 09, 2002 4:43 PM Subject: Tool comparisojns [...] 7289 39 19_Db2 UDB NT Question22_arun shyam panchagnula28_arun_panchagnula@HOTMAIL.COM30_Wed, 9 Oct 2002 18:31:48 -0400291_- Hi All,

Back with a doubt once again. I am running Db2 UDB v 7.1 in NT and offlate when I check up my Event Log on NT (Application log) I see bunch of DB2 errors and the event detail is

--> Location : oper_system_services sqlofica --> Identifier : 10.2055 --> Symptom : [...] 7329 44 18_MIN and MAX on AIX0_24_William_O'Black@FFIC.COM30_Wed, 9 Oct 2002 15:44:43 -0700534_us-ascii I've got the following query running on DB2 UDB 7.2 on AIX going against a 50,000 row table. The table has several indexes. Several of them has EFFDT as one of the columns. It is stored in ascending order in each. If I specify the MIN function, the query comes back immediately. If I specify the MAX function, the query takes a couple of minutes. I thought that the MAX function had been modified to use the index like the MIN. Is there something I can do to speed this query up when MAX is specified instead of MIN? Do [...] 7374 99 37_Re: Implicit vs Explicit transactions12_Myron Miller22_myronwmiller@YAHOO.COM30_Wed, 9 Oct 2002 16:39:48 -0700349_us-ascii Dan, What I say following applies only to READ-ONLY "transactions".

As long as your JAVA folks use beans or servlets that do the following, they don't have to issue explicit commits: OPEN CONNECTION

issue SQL - prepare statement open statement open result set (rs) fetch close result set close statement close connection [...] 7474 47 57_Re: Control Center V7.2 FP4 and DB2 V7.1 on ZOS -00c1221612_Myron Miller22_myronwmiller@YAHOO.COM30_Wed, 9 Oct 2002 16:42:08 -0700327_us-ascii During the process of migration from V6 to V7, did you redo all of the special stored procedures that Control Center uses? The V7 versions seem to be different. And its not an automatic part of the V7 migration path as I found out the hard way. Its another job in the SAMP library that you must manually convert. [...] 7522 50 22_Re: MIN and MAX on AIX10_Teldb2kals22_teldb2kals@TELSTRA.COM30_Wed, 9 Oct 2002 18:32:08 -0500428_- Hi Bill,

Have you defined your index with the ALLOW REVERSE SCAN parameter ? That will only allow you to do a reverse scan.

Also, you might be able to simplify the query as

SELECT A.SETID, A.TREE_NAME, MIN(A.EFFDT) FROM PSTREENODE A WHERE A.TREE_NAME = 'FF_TREE_DEPTID' GROUP BY A.SETID, A.TREE_NAME

assuming you have only one row with the mininum EFFDT. I am not aware of your other indexes. [...] 7573 27 53_David A Winiecki/GL/KSC/KeyCorp is out of the office.13_Dave Winiecki28_David_A_Winiecki@KEYBANK.COM30_Wed, 9 Oct 2002 20:12:42 -0400727_us-ascii I will be out of the office from 10/09/2002 until 10/15/2002.

If you need immediate assistance, please contact Brett Uytiepo at 518-391-1903. Otherwise, I will respond to your message when I return. ================================================== This communication may contain privileged and/or confidential information. It is intended solely for the use of the addressee. If you are not the intended recipient, you are strictly prohibited from disclosing, copying, distributing or using any of this information. If you received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. This communication may contain [...] 7601 44 16_Trigger question19_Murari Selvakesavan22_MSelvakesavan@FHSC.COM30_Wed, 9 Oct 2002 21:25:10 -0400599_US-ASCII Hello, DB2V6.1 OS/390 2.8 Is there any way that I can create a Trigger to call similar stored procedures after dynamically changing schema names at run time. Here is the work that I did so far, created two similar stored procedures with different schema names A1.PROC and B1.PROC returning values A1 and B1 respectively as output. In the Create trigger statement I did not qualify the stored procedure call. I am not successful in creating the stored procedure, received sqlcode -440, pretty sure the reason for this error message is DB2 tries to use the trigger package path to check [...] 7646 229 33_Implicit vs Explicit transactions12_Rodney Krick30_rk@HAENCHEN.SOFTWAREZENTRUM.DE31_Thu, 10 Oct 2002 09:33:48 +0200316_iso-8859-1 Myron,

I agree with you, they don't need to do commits. But I prefer to "explicitly" code what I want. Maybe DB2 changes its behavior in the future? (connections concentration and so on...) For read only transactions, where I can accept dirty reads, I would also set my isolation level to UR: [...] 7876 59 20_Re: Trigger question10_Teldb2kals22_teldb2kals@TELSTRA.COM31_Thu, 10 Oct 2002 03:09:30 -0500312_- Hi Murari,

Is there any particular reason you want to call different SPs from the trigger ?

One option (not tested) may be to call an intermediate SP, passing the schema as parameter, which can then set the packageset and call the desired SP, and then return the output back to the trigger. [...] 7936 210 45_Re: Stored Procedure Internal / External Name14_James Campbell25_jacampbell@ACSLINK.NET.AU31_Thu, 10 Oct 2002 19:46:39 +1000349_US-ASCII Each version of the procedure (qualifier.spname) needs a unique program name. You may need some fancy JCL to compile FRED into a library, decide that the compile is for the TEST environment, and copy the load module into a SPAS STEPLIB library as TFRED, but its quite doable.

(but, to repeat everyone else, why bother - go WLM) [...] 8147 27 24_DB2 Utilities Comparison18_Di Franco Vincenzo22_difrancov@ISIDE.BCC.IT31_Thu, 10 Oct 2002 12:22:43 +0200440_iso-8859-1 Hi All, My boss ask me to write him a sheet about DB2 Utilities(shop with DB2 v5 soon V7) from Computer Associates compared to IBM. The utilities offered for sale by CA are: Fast Check Fast Index Fast Load Fast Unload Online Reorg Qcopy RC/Extract What are corresponding IBM utilities and someone is able to give me a clue about a technical differences about CA products mentioned above and IBM ? Thank you in advance. Bye. [...] 8175 16 36_Non-recoverable load and rollforward11_Mike Fatula22_mfatula@AESSUCCESS.ORG31_Thu, 10 Oct 2002 07:48:21 -0400541_us-ascii Does anyone know how (or if) a table that has been loaded with the non-recoverable parameter and marked invalid after a rollforward operation can be made accessible again other than dropping the table?

All I want to do at this point is load zero records into the table?

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://listserv.ylassoc.com. The owners of the list can be reached at DB2-L-REQUEST@listserv.ylassoc.com. 8192 56 28_SQL30020N Reason code "124C"15_Donnie Woodruff19_dwoodruff@NNGOV.COM31_Thu, 10 Oct 2002 07:52:52 -0400469_iso-8859-1 We are running the following: OS/390 2.10 DB2 v6.1 for OS/390 DB2 Connect v 7.2 FixPack 7 Personal Edition

Our problem is when we execute a Stored Procedure from a DB2 Connect client I am receiving the following:

[IBM][CLI Driver][DB2] SQL30020N Execution failed because of a Distributed Protocol Error that will affect the successful execution of subsequent commands and SQL statements: Reason Code "124C". SQLSTATE=58009 [...] 8249 31 45_Re: Stored Procedure Internal / External Name13_Seibert, Dave26_Dave_Seibert@COMPUWARE.COM31_Thu, 10 Oct 2002 07:58:39 -0400303_iso-8859-1 Hi Jay, As I believe has been stated elsewhere, you can't create a non-WLM Stored Procedure in v8. Existing SPAS procedures will work but no new ones can be created.

This was stated at the DB2 Tech Conference a month ago in Anaheim CA. I believe Peggy Abelite made the statement. [...] 8281 229 37_Re: Implicit vs Explicit transactions12_Myron Miller22_myronwmiller@YAHOO.COM31_Thu, 10 Oct 2002 05:03:55 -0700605_us-ascii Rodney, Thanks for the better JAVA code than mine. It describes the sequence much better than I did. I'm not a JAVA programmer. Just learning it thru school of hard knocks.

My exception to issuing commits for read only transactions is based upon two things. First, its an extra SQL statement and transmission thru the network that is unnecessary overhead. Secondly from the IBM SQL reference manual: "The COMMIT statement ends a unit of recovery and commits the relational database changes that were made in that unit of recovery." And later on the same page a key statement: "In all [...] 8511 154 45_Re: Stored Procedure Internal / External Name0_19_mike.holmans@BT.COM31_Thu, 10 Oct 2002 13:18:17 +0100357_iso-8859-1 I expect the main reason why people haven't gone to WLM is that their MVS sysprogs and their WLM people make such a to-do about it and get all resistant. Because of them, it's taken me over a year and I've only just about got an environment properly started.

Mike Holmans Database Consultant BT Computing Partners mike.holmans@bt.com [...] 8666 170 28_Re: DB2 Utilities Comparison14_Grainger, Phil20_Phil.Grainger@CA.COM31_Thu, 10 Oct 2002 14:11:29 +0100513_iso-8859-1 Vincenzo,

Obviously I am bound to give you biased advice about "which is best", so I will just stick to answering your questions about IBM equivalents:

Fast Check - IBM Check Data and Check Index Fast Index - No direct IBM equivalent Fast Load - IBM Load Utility Fast Unload - IBM Unload Utility Online Reorg - IBM Reorg utility (note that from our next release, On-Line Reorg will become part of the Rapid Reorg product) Quick Copy - IBM Copy utility RC/Extract - No IBM equivalent [...] 8837 74 45_Re: Stored Procedure Internal / External Name0_15_bufes@YAHOO.COM31_Thu, 10 Oct 2002 07:59:03 -0500515_- Hi, we use different names for the package and corresponding SP. If you choose to have them same then you're stuck with 8 chars which means none of them will have a meaningful name. Our SPs are nested a lot, so it makes perfect sense to have descriptive name of the SP - C source code is much more readable. I don't see the difference between UDFs and SPs in that manner. Anyway you choose, you'll need a sheet with name mappings - so why not name the SPs with meaningful name ? Just my opinions Bye, Daniel [...] 8912 23 62_SQL0567N "" is not a valid authorization ID.6_Daniel15_bufes@YAHOO.COM31_Thu, 10 Oct 2002 08:25:44 -0500412_- DB2 gurus, for years I struggle with same error - 567. You basically cannot use a username beginning with SYS, IBM or SQL. SYSADM is supposed to be the highest authority on the DB2 for OS/390 and yet he cannot log in from DB2 client on PC. 1.) Any workaround ? Please tell me there is a hidden switch ... 2.) Is there a reason why IBM coded this restriction into DB2 on Windows ? What do we get by this ? [...] 8936 21 26_Moving DB2 to another Lpar11_mike murphy26_murphym@FAATCRL.TC.FAA.GOV31_Thu, 10 Oct 2002 09:35:55 -0400382_iso-8859-1 We are running v6 on os390v2.9 on lpar a as production. We have os390v2.10 on lpar b which we want to make production at a point in time.

How do we get DB2v6 on lpar b short of installing and redefining all the data?

I don't see much in the manuals on this and I looked at the DB2 Cloning Redbook but that involves SAP and identical operating systems. [...] 8958 73 45_Re: Stored Procedure Internal / External Name15_Jackson Reavill18_damcon2@US.IBM.COM31_Thu, 10 Oct 2002 09:52:30 -0400612_us-ascii Thanks Dave, the memory bell is ringing clearer now.

Jay Reavill damcon2@us.ibm.com IBM Global Services Tampa, Florida Tel: (813) 356-5317, Tie Line 8-697-5317

----------------------------------------------------- Happiness is not around the corner. Happiness is the Contour (SVT) of the road. -----------------------------------------------------







"Seibert, Dave" cc: Sent by: DB2 Data Subject: Re: Stored Procedure Internal / External Name Base Discussion List [...] 9032 133 30_Re: Moving DB2 to another Lpar14_Grainger, Phil20_Phil.Grainger@CA.COM31_Thu, 10 Oct 2002 15:13:49 +0100296_iso-8859-1 The VERY VERY simplest way would be to define your subsystem to LPAR b (in the usual way) and then "arrange" for the DASD to be "moved" from LPAR a to LPAR b (with the subsystem DOWN of course!)

If you have shared DASD between LPARs than you are already more than half way [...] 9166 70 30_Re: Moving DB2 to another Lpar17_Dr. Michael Ebert18_mebert@AMADEUS.NET31_Thu, 10 Oct 2002 16:06:41 +0200427_us-ascii Hello Mike,

Just make all the disks with DB2 stuff on them (Cat/Dir, Logs, Userdata, Loadlibs etc.) available on LPAR B, stop DB2 on LPAR A, start it on LPAR B (you may need to do some MVS parmlib member updates for that, like IEFSSNxx - check the installation guide for info). We do this regularly when one of our LPARs needs to be IPLed (the disks are shared, which takes care of the first point above). [...] 9237 23 60_FYI --New Feature DB2 Recover tape retain without DDs in JCL12_BOB JEANDRON21_BOB.JEANDRON@USDA.GOV31_Thu, 10 Oct 2002 09:35:00 -0400427_- There is an article "What's new in DB2" in Nov. "IDUG Solutions Journal" By Roger Miller which describes a new feature added to V7.1 by APAR. The article describes a long overdue feature which will allows DB2 to recover without DDs for stacked Image Copies and without a tape mount for each TBSP. So far, Initial testing proved claims correct. New parms on recover, PARALLEL TAPEUNITS(1), worked so far for our testing. [...] 9261 68 30_Re: Moving DB2 to another Lpar12_Paul Packham26_paul.packham@CONSIGNIA.COM31_Thu, 10 Oct 2002 15:41:51 +0000537_us-ascii Mike,

If you have shared DASD between Lpars, get your DB2 system entries defined in the IEFSSN for lpar b, stop DB2 on a and start on b. If your DASD is not shared, you will have to make it available to lpar b during a maintenance slot.

REgards, Paul



|--------+----------------------------> | | mike murphy | | | | | | Sent by: DB2 Data | | | Base Discussion | | | List | | | | | | | | | | | | 10/10/2002 13:35 | | | Please [...] 9330 34 13_Re: DDF Hangs13_Jeremiah Eden28_JEREMIAH.EDEN@RADIOSHACK.COM31_Thu, 10 Oct 2002 09:57:23 -0500400_- CMTSTAT=INACTIVE and IDTHTOIN=900. 15 minutes seems like a long time, but the hangs we have had exceeded several hours before action was taken. I would think the thread should cancel by LUWID regardless IDTHTOIN.

-----Original Message----- From: Jaiwant Jonathan [mailto:jjaiwant@AOL.COM] Sent: Wednesday, October 09, 2002 12:53 PM To: DB2-L@LISTSERV.YLASSOC.COM Subject: Re: DDF Hangs [...] 9365 66 30_Re: Moving DB2 to another Lpar15_John C. Lendman20_John_Lendman@FPL.COM31_Thu, 10 Oct 2002 11:11:42 -0400511_us-ascii I am not sure of your question. But that never stopped me from answering.

So here it goes. If you are just moving the DB2 from one LPAR to another, it is a simple matter of taking it down on one side and bring it up on the other. Of course this assumes that you have all the current maintenance on that is required by DB2 on OS. This also assumes that you can share the DASD between LPARs' If this is not the case then you could do a system cloning as you mention. This would copy all your [...] 9432 178 20_Re: Trigger question19_Murari Selvakesavan22_MSelvakesavan@FHSC.COM31_Thu, 10 Oct 2002 11:10:57 -0400544_US-ASCII Kals, Yes, there is a reason, this is one of the ideas that we are trying to experiment. Your idea would work if we know before hand what the schema name for the SP, in our case we do not. Here is some prelude, we defined a table that contains records for multiple clients, created a dynamic view (we call it) to select all columns but for the id for a particular client by having a where clause to filter out records based on specific characters from special register current path. This we get from the package Bind option, also [...] 9611 141 30_Re: Moving DB2 to another Lpar50_Knight, Robert A. (Cameron of Pittsburgh at Alcoa)23_Robert.Knight@ALCOA.COM31_Thu, 10 Oct 2002 11:13:49 -0400551_iso-8859-1



We just moved a db2 subsystem from 1 lpar to another

I am trying to use the same db2 panels for the newly moved subsystem

The problem I am having is:

The newly moved subsystem does not recognize the sysadm ids. Can't do any grants, display threads, etc

Appreciate any ideas

Bob Knight

-----Original Message----- From: Dr. Michael Ebert [mailto:mebert@AMADEUS.NET] Sent: Thursday, October 10, 2002 10:07 AM To: DB2-L@LISTSERV.YLASSOC.COM Subject: Re: Moving DB2 to another Lpar [...] 9753 56 15_New to Triggers15_Michael Rennick31_Michael_Rennick@TAX.STATE.NY.US31_Thu, 10 Oct 2002 11:37:42 -0400294_us-ascii I a trying to create a trigger that when a row that meets a certain criteria is inserted into TAB1, the trigger inserts into TAB2 a few columns from TAB1. The following gets syntax errors is SQLCODE = -104, ERROR: ILLEGAL SYMBOL "". It doesn't like the periods?? Any suggestions? [...] 9810 225 30_Re: Moving DB2 to another Lpar12_michael bell24_mbell11@WORLDNET.ATT.NET31_Thu, 10 Oct 2002 10:38:54 -0500283_iso-8859-1 Assuming the SYSADM id's are RACF secondary id's - check that your RACF is the same on both LPAR's. From command panel (6) TSO LU will give you your secondary id's. The install ID's are in ZPARM but you need a tso logon or RACF secondary to do the set current sqlid. [...] 10036 92 30_Re: Moving DB2 to another Lpar0_24_lightsey@ITS.STATE.MS.US31_Thu, 10 Oct 2002 10:41:06 -0500434_us-ascii Had a similar problem that turned out to be the RACF database(s) on the 2 LPARs didn't match. Cured that by sharing the prod RACF with the new lpar on its next ipl.







"Knight, Robert A. (Cameron of To: DB2-L@LISTSERV.YLASSOC.COM Pittsburgh at cc: Alcoa)" Subject: Re: Moving DB2 to another Lpar Sent by: DB2 Data Base Discussion List [...] 10129 194 30_Re: Moving DB2 to another Lpar14_Grainger, Phil20_Phil.Grainger@CA.COM31_Thu, 10 Oct 2002 17:02:52 +0100341_iso-8859-1 This sounds more like an external security issue.

Make sure that when you log on to the "new" TSO, you get attached to the same RACF groups (or whatever) that you were attached to before. It's possibly THESE that have the SYSADM authorities granted to them

or you are logging on with a different ID altogether! [...] 10324 65 64_Re: FYI --New Feature DB2 Recover tape retain without DDs in JCL12_Rohn Solecki19_rohn.solecki@MTS.CA31_Thu, 10 Oct 2002 11:11:09 -0500458_us-ascii Oohhh goody (you just gotta love this list)!

Bob, thanks for the heads up. I am just looking into solutions for that very problem that we had during our recent DR test. I took a look at the APAR, PQ56293, and see no mention of a similar patch for V6. Oh well, I guess I'll have to wait till we upgrade. I look forward to seeing Roger's article when it is posted at the IDUG website http://www.idug.org/journal/index.cfm (not there yet). [...] 10390 123 19_Re: New to Triggers16_Blumenthal, Gary21_GBlument@UNCH.UNC.EDU31_Thu, 10 Oct 2002 12:20:33 -0400341_iso-8859-1 Michael,

When listing the fields in your insert statement, it functions just like a regular insert statement, i.e. you list the fields of the table being inserted into. Do not put the N. 's there.

Also on an INSERT trigger there are no values for OLD. I believe these only exist on an UPDATE or DELETE trigger. [...] 10514 150 20_CICS/DB2 definitions10_Grace Chen22_gchen@CUCENTRAL-AB.COM31_Thu, 10 Oct 2002 10:28:39 -0600418_iso-8859-1 Hi List, We just start coding the CICS transaction program that access DB2 tables. We are DB2 for OS/390 V7 and CICS TS 1.3. We have CICS program and transaction like this : Transaction ICX1 calls program OBSKX01, also transaction ICX2 calls programs OBSKX01.

OBSKX01 will check Transaction Id: if Tran-Id = 'ICX1' then XCTL Program ('OBSMX05') if Tran-Id = 'ICX2' then XCTL Program ('OBSMX06') [...] 10665 34 40_Re: Non-recoverable load and rollforward14_Glen Sanderson26_glen.sanderson@SAFEWAY.COM31_Thu, 10 Oct 2002 11:29:27 -0500615_us-ascii If I'm not mistaken a Load Replace with the input (SYSREC) as DUMMY can be run against such tablespaces. Hopefully the table is the only one in the tablespace.

Mike Fatula wrote:

> Does anyone know how (or if) a table that has been loaded with the > non-recoverable parameter and marked invalid after a rollforward operation > can be made accessible again other than dropping the table? > > All I want to do at this point is load zero records into the table? > > ================================================ > To change your subscription options or to cancel your subscription visit [...] 10700 88 19_Re: New to Triggers12_Mark Buzzard21_Mark_Buzzard@ARIC.COM31_Thu, 10 Oct 2002 11:57:25 -0500722_us-ascii Try taking the BEGIN ATOMIC and END off of the statement and rerunning it.

Buzz







Michael Rennick cc: Subject: New to Triggers Sent by: DB2 Data Base Discussion List



10/10/2002 10:37 AM Please respond to DB2 Data Base Discussion List











I a trying to create a trigger that when a row that meets a certain criteria is inserted into TAB1, the trigger inserts into TAB2 a few columns from TAB1. The following gets syntax errors is SQLCODE = -104, ERROR: ILLEGAL SYMBOL "". It doesn't like the periods?? Any suggestions? [...] 10789 97 22_Re: MIN and MAX on AIX0_24_William_O'Black@FFIC.COM31_Thu, 10 Oct 2002 11:08:19 -0700364_us-ascii Thanks Kals, I recreated my primary index with the ALLOW REVERSE SCAN and the MAX query ran as quick as the MIN. Does anyone know if there is a downside to ALLOW REVERSE SCAN on a UDB index? Does the index take more DASD? Bill









Teldb2kals @LISTSERV.YLASSOC.COM> on 10/09/2002 04:32:08 PM [...] 10887 29 29_Db2 EE 7.2 on AIX 4.3 scripts13_Murali Kanaga19_murali@EPIPHANY.COM31_Thu, 10 Oct 2002 11:08:31 -0700393_iso-8859-1 Hi,

We are using DB2 7 (EE) FP6 on AIX for our development. I create the db2 instance, & let the user create the db's. Most of the users create the db's & leave it there. If they don't need it, they don't drop theses db.

My question:

1. Is there any way that can be used to find out when a particular db was accessed, & delete anything older than 30 days? [...] 10917 60 33_Re: Db2 EE 7.2 on AIX 4.3 scripts18_Gert van der Kooij16_gkooij@XS4ALL.NL31_Thu, 10 Oct 2002 20:33:37 +0200524_iso-8859-1 (1) If your databases are not activated you can check the last-updated date for the log files.

(2) You can set the database manager variable DFTDBPATH to the mount point you want. After that all db's are created within the \\ directory.





----- Original Message ----- From: "Murali Kanaga" Newsgroups: bit.listserv.db2-l To: Sent: Thursday, October 10, 2002 8:08 PM Subject: Db2 EE 7.2 on AIX 4.3 scripts [...] 10978 61 49_DB2 Connect - DB2AUTOSTART - How to start sooner?11_Chuck Kosin24_chuck.kosin@EXPERIAN.COM31_Thu, 10 Oct 2002 13:50:37 -0500474_- I'm looking for ways to get DB2 Connect started sooner. Is it as simple as moving up the DB2 Connect line in the inittab file? Or, changing a value in the DB2 Connect line in the inittab file?

Today, DB2AUTOSTART is set to TRUE. The webapp instances are started under rc0. When the machine is starting, the webapp instances are starting first. One result is that the webapp instances fail to open connection pools, since DB2 Connect has not been started, yet. [...] 11040 13 26_Moving DB2 to another Lpar11_mike murphy26_murphym@FAATCRL.TC.FAA.GOV31_Thu, 10 Oct 2002 14:54:09 -0400324_iso-8859-1 Thanks to all that responded. Comments were very helpful.

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://listserv.ylassoc.com. The owners of the list can be reached at DB2-L-REQUEST@listserv.ylassoc.com. 11054 44 24_UDB Stored PROc question9_Rajib Ray16_Rajib.Ray@KP.ORG31_Thu, 10 Oct 2002 11:25:26 -0700419_us-ascii All,

How should I handle passing a list of dynamic integer values as a parameter to a STOR PROC in UDB which I would then pass to a IN clause predicate as shown below.

SQL in the STOR PROC needs to be :

Select Col1, Col2, Col3 From Table where Col1 IN (); Col 1 is defined as INTEGER. I have tried the following: CREATE PROCEDURE PROC1( IN parm_list VARCHAR (20) ) ... ... [...] 11099 18 3_SNA0_24_db46@DAIMLERCHRYSLER.COM31_Thu, 10 Oct 2002 15:29:28 -0400431_US-ASCII How are the sysibm.locations and sysibm.lunames used with SNA to make remote connections from a unix server?



Dean J. Burchill 248-576-8319 (8) 776-8319

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://listserv.ylassoc.com. The owners of the list can be reached at DB2-L-REQUEST@listserv.ylassoc.com. 11118 79 28_Re: UDB Stored PROc question0_22_BRIAN_GOLDBERG@QVC.COM31_Thu, 10 Oct 2002 15:52:29 -0400457_us-ascii Two ways occur to me off the top of my head.

1) Load your parm list into another table (declared global table, dynamically created table) and use that table as a sub-query. 2) Create your cursor as dynamic SQL.





Rajib Ray cc: (bcc: BRIAN GOLDBERG/QVC) Ext: NA Subject: UDB Stored PROc question Sent by: DB2 Data Base Discussion List [...] 11198 15 53_Has anyone had success interfacing with XML via Rexx?0_54_Shan_Leatherman/MO/americancentury@AMERICANCENTURY.COM31_Thu, 10 Oct 2002 17:12:04 -0500512_us-ascii Has anyone developed REXX code to interface to the XML extenders? We are just trying out the sample job and find using the OMVS or batch OMVS difficult to manage. This is for the admin functions like calling dxxenablecollection or dxxenablecolumn.

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://listserv.ylassoc.com. The owners of the list can be reached at DB2-L-REQUEST@listserv.ylassoc.com. 11214 77 21_Re: Tool comparisojns10_Trinh Linh24_ltrinh@WOOLWORTHS.COM.AU31_Fri, 11 Oct 2002 10:20:32 +1000504_- Hi,

I am one of the lucky DBAs that had a chance to use both CA and BMC's products. To be honest I can't say which company is superior from which , you have to compare tool by tool. But I have to give more credits to BMC on their product support. I can't say much about CA's support because I only used the products when they were Platinum and not since they are CA and we were a bit fustrated with the support back then. But some of CA's products are easier to use and more user friendly. [...] 11292 37 39_SQL1131N error while creating SP on AIX10_Teldb2kals22_teldb2kals@TELSTRA.COM31_Thu, 10 Oct 2002 23:28:35 -0500465_- I have a feeling this is a very simple error, but I am not able to find it, and I would appreciate any response.

I am trying to create a SQL procedure on Aix (DB2 v7.1), and getting the following error. I initially tried to use the SPB to build it. When I got the error there, I tried it again from the command line in Aix, and got the same error. It is a very simple sample proc. I have also tried various other SQLs as well in the body. Same error. [...] 11330 115 19_Re: New to Triggers10_Hessel Rus13_H.Rus@OTRA.NL31_Fri, 11 Oct 2002 09:37:13 +0100612_us-ascii Sounds familiar; we had the same problem when we weren new to triggers.

Creation of a trigger with SPUFI or DSNTEP2 differs. Since the statement is between BEGIN ATOMIC and END and must end with the standard SQL statement terminator ';'. But the trigger statement itself is also an SQL statement and must also end with a SQL statement terminator. So we need two different terminator otherwise the trigger definition stops at the first terminator and ends with an error. How to realise? Assume '#' as SQL statement terminator voor Triggers. In SPUFI: CHANGE DEFAULTS ===> YES and specify '#' [...] 11446 116 19_Re: New to Triggers10_Hessel Rus13_H.Rus@OTRA.NL31_Fri, 11 Oct 2002 09:41:35 +0100610_us-ascii Sounds familiar; we had the same problem when we start with triggers.

Creation of a trigger with SPUFI or DSNTEP2 differs. The SQL statement is between BEGIN ATOMIC and END and must end with the standard SQL statement terminator ';'. But the trigger statement itself is also an SQL statement and thus must also end with a SQL statement terminator. So we need two different terminator otherwise the trigger definition stops at the first terminator and ends with an error. How to realise? Take e.g. # as SQL statement terminator voor Triggers. In SPUFI: CHANGE DEFAULTS ===> YES and specify [...] 11563 46 30_bufferpool tuning - an inquiry18_Blumer Hans-Ulrich32_Hans-Ulrich.Blumer@WINTERTHUR.CH31_Fri, 11 Oct 2002 12:34:49 +0200342_ISO-8859-1 Inquiry on the relevance of bufferpool tuning in a professional sense

As client from an outsource service (IBM!) we expect that the outsource company gives us a good service in bufferpool tuning. However, the outsourcer refuses to use its own tool saying that this is luxury and that we have to pay extra money for it. [...] 11610 123 76_"Constructing WebSphere Architectures" Webcast, Oct.22, 9 a.m. PDT, Noon EDT16_Aurora Dell'Anno28_Aurora_E_DellAnno@CANDLE.COM31_Fri, 11 Oct 2002 13:00:30 +0100650_us-ascii Dear DB2 Experts,

Candle are sponsoring a webcast with the messaging middleware website ebizQ titled "Best Practices for Constructing WebSphere Architectures." The purpose of the webcast is to highlight our PathWAI solutions for our customers and prospects. The webcast will feature Candle expert Peter Rhys Jenkins, plus one of his customers. Jenkins, Candle senior architect, will present a real-world case study on architectural issues related to core system interfaces with MQSeries and WebSphere MQ Integrator, including metadata, error handling, API abstraction, publish/subscribe and distributed transaction coordination. [...] 11734 125 28_Re: UDB Stored PROc question9_Rajib Ray16_Rajib.Ray@KP.ORG31_Thu, 10 Oct 2002 18:20:37 -0700322_us-ascii All,

Thanks for your note, Brian. I did consider building a Temporary table but gave up since I would have to be able to parse the input parm of the Stored PROC (declared as VARCHAR that is comma delimited) before I am able to insert into the temp table. Also, the length of this input parm can vary. [...] 11860 105 34_Re: bufferpool tuning - an inquiry23_Pendlebury-Bowe, Leslie34_Leslie.Pendlebury-Bowe@EU.SONY.COM31_Fri, 11 Oct 2002 13:44:07 +0100328_iso-8859-1 hi answers below :

Our company uses a bufferpool analysis tool (yes or no):

>yes - bufferpool tool (and we have no plans to change)

We analyse our bufferpools on a regular basis, we use some simple tools like REXX (yes or no):

>yes - we use rexx to analyse our GBP aswell as our BPs. [...] 11966 55 41_Stored Procedure Overloading on OS390 DB211_Joe Luthman22_jluthma@BGNET.BGSU.EDU31_Fri, 11 Oct 2002 08:34:22 -0400302_us-ascii I'm using V7 DB2 for OS390 and attempting to define an overloaded stored procedure. The first stored procedure has one OUT parm and 3 IN parms, while the second differs only in that it has 2 IN parms.

I believe this should work, but we receive -601 SQL code and sqlstate of 42710. [...] 12022 94 34_Re: bufferpool tuning - an inquiry14_Joel Goldstein29_joel_goldstein@COMPUSERVE.COM31_Fri, 11 Oct 2002 08:52:08 -0400479_ISO-8859-1 Hansueli,

Unfortunately this is a typical outsourcer response. They do not understand that they will benefit, as well as you, from tuning, and I have a short white paper that explains this Win/Win Tuning Scenario. As the creator of the Buffer Pool Tool (the industry standard for pool tuning), I can tell you that clients in general achieve an average of a 15% reduction for transaction elapsed times, and large reductions for the batch processes as well. [...] 12117 167 34_Re: bufferpool tuning - an inquiry13_Martin Packer24_martin_packer@UK.IBM.COM31_Fri, 11 Oct 2002 14:18:05 +0100307_us-ascii Note: IBM does offer a buffer pool tuning service - part of PMDB2 - obviously not free.

I should know as I am one of the developers and deliverers of this service. :-)

As others have noted: you get what you negotiate for in outsourcing contracts - no matter with whom, probably. [...] 12285 109 45_Re: Stored Procedure Overloading on OS390 DB214_Picou, Michael33_picou.michael@MAIL.DC.STATE.FL.US31_Fri, 11 Oct 2002 09:24:19 -0400380_- Could this be your problem? THE NAME OF THE OBJECT TO BE CREATED OR THE TARGET OF A RENAME STATEMENT IS IDENTICAL TO THE EXISTING NAME name OF THE OBJECT TYPE obj-type

-----Original Message----- From: Joe Luthman [mailto:jluthma@BGNET.BGSU.EDU] Sent: Friday, October 11, 2002 8:34 AM To: DB2-L@LISTSERV.YLASSOC.COM Subject: Stored Procedure Overloading on OS390 DB2 [...] 12395 60 45_Re: Stored Procedure Overloading on OS390 DB212_Simon George21_Simon.George@UBSW.COM31_Fri, 11 Oct 2002 14:28:40 +0100578_iso-8859-1 I don't think you can write overloaded Stored Procedures. You can write overloaded User Defined Functions in the way you describe.

Regards Simon

-----Original Message----- From: Joe Luthman [mailto:jluthma@BGNET.BGSU.EDU] Sent: 11 October 2002 13:34 To: DB2-L@LISTSERV.YLASSOC.COM Subject: Stored Procedure Overloading on OS390 DB2



I'm using V7 DB2 for OS390 and attempting to define an overloaded stored procedure. The first stored procedure has one OUT parm and 3 IN parms, while the second differs only in that it has 2 IN parms. [...] 12456 32 45_Re: Stored Procedure Overloading on OS390 DB213_Seibert, Dave26_Dave_Seibert@COMPUWARE.COM31_Fri, 11 Oct 2002 09:39:59 -0400438_iso-8859-1 Hello Joe, Aren't you confusing Stored Procedure with User Defined Function? SPs must be unique by Schema and Name. It's a UDF which can be overloaded as you're trying to define.

Or am I missing something?

> David Seibert > Compuware Corporation Database Product Architect > Dave.Seibert@compuware.com > (I can't say Go Falcons! anymore. Your rugby team beat up on my son's UofM team last week pretty good). [...] 12489 17 21_Re: Tool comparisojns16_Michael Gurganus25_mgurganus@OIT.STATE.NJ.US31_Fri, 11 Oct 2002 08:45:42 -0500412_- Thank you for your responses. The original question still remains, tho. Are there any articles/websites/reports comparing various DBA tools, especially IBM vs CA-Platinum vs. BMC.? We are looking for hard cold facts. Reports or articles or charts that compare various DBA tools, preferably a pros/cons or side-by-side comparisons of features/functions. Does anyone know of any documentation of this type? [...] 12507 54 45_Re: Stored Procedure Overloading on OS390 DB211_Joe Luthman22_jluthma@BGNET.BGSU.EDU31_Fri, 11 Oct 2002 10:44:21 -0400373_us-ascii Hello Dave, UDFs are able to be overloaded both by using differing numbers of parameters, and/or differing datatypes. But we're supposed to be able to overload stored procedures, only insofar as the numbers of parameters are different. Example: 1 IN 2 OUTs; 2 INs 2 OUTs, etc.

In other words, UDFs have the added capability of overloading by datatype. [...] 12562 150 21_Re: Tool comparisojns14_Grainger, Phil20_Phil.Grainger@CA.COM31_Fri, 11 Oct 2002 16:01:46 +0100408_iso-8859-1 Michael,

There ARE no "hard cold fact" only opinions.

What you also need to be wary of is that many of the articles purporting to cover the facts have actually been 'sponsored' by one of the vendors and could therefore hardly be called impartial

Sorry to appear not altogether helpful, but it would help the rest of us to understand your reasons for asking the question. [...] 12713 23 33_multiple index access during join33_Walter Jani=?ISO-8859-1?Q?=DFen?=27_walter.janissen@VICTORIA.DE31_Fri, 11 Oct 2002 09:44:31 -0500489_- Hi

I'm just wondering, if DB2 is able to use multiple index access in a join, for instance in a nested loop join. Here is an example to show what I mean: SELECT ... FROM T1 INNER JOIN T2 ON T1.col1 = T2.col1 AND T1.col2 = T2.col2

Assumption: There are 2 indexes on T2, on with Col1 the other with Col2. Is it possible to get an intersection of those two indexes. I must admit, I never saw such an access path and I looked at many explain outputs. (May be Terry knows) [...] 12737 53 37_Re: multiple index access during join11_David Nance16_DWNance@FHSC.COM31_Fri, 11 Oct 2002 11:27:12 -0400329_US-ASCII Yes, there is. Take a look at Chapter 7.4.3.2.5 Multiple index access (ACCESSTYPE is M, MX, MI, or MU) in the Application Programming and SQL guide. I typically try to stay away from it, except in the case of what I know will be long running batch jobs.

Dave Nance First Health Services, Corp. (804)527-6841 [...] 12791 31 21_Re: Tool comparisojns12_Paul Packham26_paul.packham@CONSIGNIA.COM31_Fri, 11 Oct 2002 16:23:43 +0000545_us-ascii Michael,

I have been through this process a few times during my career when software contracts are up for renewal. I never found an independent comparison of the three vendors tools you mentioned. and even if I did I'm not sure I would trust them. If you are looking for some tools my advise to you is to talk to the different vendors, get the software installed on you site on a trial basis and run your own benchmarks. Only you can make a decision what is the best for you. You might be willing to trade speed for certain [...] 12823 17 26_error handling in triggers12_Bud Greenman21_BudGreenman@ONGOV.NET31_Fri, 11 Oct 2002 11:26:24 -0400325_us-ascii Is there a way to handle sqlerrors in a trigger. Specifically I have an insert trigger on a table that will update a field in another table. There is a possibility that the row to be updated does not exist so if this is the case the trigger should then insert the necessary row. Bud Greenman Programmer Analyst [...] 12841 14 28_dynamic caching in Version 720_Joseph T. Murray Jr.18_joe.murray@SSA.GOV31_Fri, 11 Oct 2002 10:35:24 -0500498_- I am trying to turn on dynamic caching in DB2 version 7 for a particular application. I do not want the entire subsystem to use dynamic caching, just a handful of plans/packages.

Does anyone have any info on how this is accomplished?

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://listserv.ylassoc.com. The owners of the list can be reached at DB2-L-REQUEST@listserv.ylassoc.com. 12856 29 28_DataPropagator Compatibility10_Frank.John21_John.Frank@FTB.CA.GOV31_Fri, 11 Oct 2002 08:56:23 -0700526_iso-8859-1 > We are planning to upgrade DB2 on OS/390 from V6 to V7. We are also planning to go to z/OS 1.3 a few weeks later. > > We are currently running DataPropagator 5.1 (Apply only), which is no longer supported by IBM. > > Is there anyone who runs DB2 OS/390 V7 with DataPropagtor 5.1 (Apply), or is there anyone who knows it can't be done or has other information? > > Also, is there anyone running DataPropagator 5.1 (Apply) under z/OS 1.3, or any other version of z/OS? > > Thanks for your help. > > John Frank [...] 12886 66 30_Re: error handling in triggers22_Killen, Martin W - CNF21_Killen.Martin@CNF.COM31_Fri, 11 Oct 2002 09:11:51 -0700558_- We do something similar on an update. I imagine you could use the same logic on an insert. At least it should give you and idea on what to play with. HTH..

CREATE TRIGGER CTSDB2.CIS03A03 AFTER UPDATE ON CTSDB2.CIS_INVC_TYPE REFERENCING NEW AS N OLD AS O FOR EACH ROW MODE DB2SQL WHEN (N.TYPE_OF_INVC_CD = 'S') BEGIN ATOMIC INSERT INTO CTSDB2.CIS_INVC_TYPE_S SELECT N.KEY_NBR, N.TYPE_OF_BILL_CD, N.TYPE_OF_INVC_CD , N.EFF_START_TMST , N.EFF_END_TMST, N.INVC_ADDR_CD, N.HIST_RMKS, N.CRTE_TMST , N.CRTE_BY_ID, N.BIL2_CUST_NBR1, N.BIL2_CUST_NBR2 , [...] 12953 32 18_db2 connect issues10_John Lantz23_john.lantz@ZURICHNA.COM31_Fri, 11 Oct 2002 11:29:40 -0500551_- We have an VB application that connects to the mainframe. Through the app, 25 - 30 connections will be made up to the host. After the application is finished and shutdown, we still see the connections that were made. We've done tests where these connections will sit out there for days. We can see them on the mainframe side (-dis thread(*) type (inactive)), as well as on the DB2 connect server (list dcs applications). Our problem is that they are hanging around and using up agents on the UDB box. If the app runs a second time later in the [...] 12986 124 23_Re: bufferpool tuning -14_Joel Goldstein29_joel_goldstein@COMPUSERVE.COM31_Fri, 11 Oct 2002 12:52:19 -0400591_ISO-8859-1 Hi Martin, It's been a while since I heard from you, hope you are well. Yes, Buffer Pool Tool uses a buffer manager trace, since a full trace (usually 30-60 minutes) is necessary to provide accuracy when simulating/predicting the effect of pool size changes, and moving objects into different pools. Predicting the I/O rate/sec is the primary tuning metric, since it's more indicitive of performance than a hit ratio. We also have another product, DASD/Xpert, that uses the SMF 42-6 records to highlight dasd performance problems both at the volume level, and dataset level. [...] 13111 60 22_Re: db2 connect issues12_Myron Miller22_myronwmiller@YAHOO.COM31_Fri, 11 Oct 2002 10:37:27 -0700542_us-ascii DB2 Connect should be cleaning these up. I have a similar VB app that sets up about 15-20 threads and starts and stops those connections many times during the day.

I have a few questions: 1) What release of DB2 OS/390 are you running? If V6, are you relatively recent on maintenance? 2) Are you using DB2 Connect EE or PE? From what you've written, I would assume its EE. Is the app actually closing the connections in the VB code? Do you have QUERYTIMEOUTINTERVAL=0? 3) On the mainframe, do you set threads to INACTIVE? [...] 13172 58 36_EDM Pool Shortage on PT's - 00C9008915_Jackson Reavill18_damcon2@US.IBM.COM31_Fri, 11 Oct 2002 14:12:35 -0400387_us-ascii Hello everyone,

We're getting -904 reason code 00C90089 when repeatedly calling a stored procedure in our development environment. It is basically the only thing running at the time. The EDM pool is blowing out on PT's. It steadily increases from empty as calls are made until no more resources. Both the calling program and SP have the following characteristics... [...] 13231 47 11_CLOB Column10_muthu samy23_muthu_samy1@HOTMAIL.COM31_Fri, 11 Oct 2002 13:14:53 -0500121_iso-8859-1 RE: Re: [DB2-L] Tool comparisojnsHi all, Could you please give me syntax for CLOB column?

Thanks, Muthu 13279 27 56_Re: Installing DB2 BMC Tools using OS/390 z/OS Installer11_Ale Eba/CGI15_Ale.Eba@CGI.COM31_Fri, 11 Oct 2002 13:56:51 -0400479_us-ascii Hello Everyone,

I am installing DB2 BMC Tools using OS/390 and z/OS installer. The installer generates installation JCL members. The problem is that the Installer is generating JCL with missing components. For example I have selected Recovery Manager for DB2 but the installer hasn't generated JCL to install the product.

I would like to know if anyone has used the Installer. If I am the only one having problems it means I am doing something wrong. [...] 13307 126 36_EDM Pool Shortage on PT's - 00C9008915_Jackson Reavill18_damcon2@US.IBM.COM31_Fri, 11 Oct 2002 14:50:48 -0400276_us-ascii Well, the images got trashed. Should've known. Anyway, here's the info...

Pool Usage Pages Pct ----------- ------- ---- In Use 5913 100% DBDs 34 1% CTs 18 0% PTs 5861 99% Available 1 0% SKCTs 0 0% SKPTs 1 0% SQL CACHE 0 0% Free 0 0% Total Pages 5914 100% [...] 13434 36 27_DB2 Connect code page error16_Orndorff, Joseph24_Joseph.Orndorff@NIKE.COM31_Fri, 11 Oct 2002 11:43:31 -0700627_iso-8859-1 I am receiving the following error while trying to view information on a table via the Control Center:

[IBM][CLI Driver][DB2] SQL0332N There is no available conversion for the source code page "500" to the target code page "943". Reason Code "1". SQLSTATE=57017

1. On my Windows 2000 workstation, I have set db2codepage=943 2. Current Application Encoding Scheme on the mainframe is 930 3. SYSIBM.SYSSTRINGS contains rows for 930 to 943 (EBCDIC mixed to ASCII mixed) conversion & 943 to 930 (ASCII mixed to EBCDIC mixed) conversion, but not 500 to 943 conversion. 4. We are on DB2 Connect EE V7.2 [...] 13471 34 26_Replacement for DB Attach?15_Gary Fahrlander28_gary.fahrlander@ZURICHNA.COM31_Fri, 11 Oct 2002 14:06:49 -0500502_us-ascii Greetings Venerable Listers! Right now we're using two products to attach to DB2, TSO Attach and Softbases' DB Attach. Our cost for DB Attach has risen significantly so we're looking for a replacement.

About 8 years ago we used IBM's sample program Call Attach Facility (CAF) but ran into a problem. When a main DB2 program started (creating a thread) and then called a DB2 subroutine say, 1,000 times, every call to the subroutine created another thread (1,000 opens and closes). [...] 13506 62 39_Fixed - DB2 Connect Client sluggishness22_Ramesh Balasubramanyan15_RAMBAL@SAIF.COM31_Fri, 11 Oct 2002 12:21:50 -0700506_iso-8859-1 Hello folks, Due to the timely help from a fellow lister I was able to fix the problem with the Client Sluggishness . The problem disappeared when I set the DB2_ENABLE_LDAP=NO (from YES). Question- Has anybody else (other than Manas Dasgupta) experienced the same problem? Does anybody have an explanation as to why LDAP would be a problem on some clients and not others? Wondering if this is a problem only with Fixpack3 (WR21254) ? Any help, discussion is appreciated Thanks! Ramesh Bala [...] 13569 27 30_Parse a VARCHAR into elements?9_Rajib Ray16_Rajib.Ray@KP.ORG31_Fri, 11 Oct 2002 12:18:57 -0700544_us-ascii Hello All,

Has anyone got a 'slick way' of parsing a string (VARCHAR) into its elements for it to be used in a STORE PROC.

e.g. Input String (3,8,12,211, 56) is of variable length delimited by commas. Output element required : 3 8 12 211 56

Thanks, Rajib Ray

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://listserv.ylassoc.com. The owners of the list can be reached at DB2-L-REQUEST@listserv.ylassoc.com. 13597 103 22_Re: db2 connect issues13_Shapiro, Dave26_Shapiro.Dave@PRINCIPAL.COM31_Fri, 11 Oct 2002 14:31:21 -0500486_iso-8859-1 John,

What Myron said. Plus, what is your idle thread timeout zparm set to?

Dave



-----Original Message----- From: Myron Miller [mailto:myronwmiller@YAHOO.COM] Sent: Friday, October 11, 2002 12:37 PM To: DB2-L@LISTSERV.YLASSOC.COM Subject: Re: db2 connect issues



DB2 Connect should be cleaning these up. I have a similar VB app that sets up about 15-20 threads and starts and stops those connections many times during the day. [...] 13701 62 31_Re: DB2 Connect code page error13_Walter Davies26_wdavies@CO.EL-DORADO.CA.US31_Fri, 11 Oct 2002 12:37:38 -0700516_iso-8859-1 Hi Joe: I am currently going from OS/390 DB2 V5 to V7. In the Application Programming defaults panel 1 install panel I had 500 from version 5 which is International Latin 1. I am changing to 37 which is US English. I need to do this because I am using Data Directs driver and the newer versions of the driver are expecting codepage 37 from the mainframe. I am not sure how you change this since you have already installed V7. Someone on the list will probably have more information on changing this. [...] 13764 104 30_Re: error handling in triggers12_Bud Greenman21_BudGreenman@ONGOV.NET31_Fri, 11 Oct 2002 15:36:05 -0400587_us-ascii Thanks Marty this shoud do it.

Bud Greenman Programmer Analyst





"Killen, Martin W - CNF" To: DB2-L@LISTSERV.YLASSOC.COM Subject: Re: error handling in triggers Sent by: DB2 Data Base Discussion List



10/11/2002 12:11 PM Please respond to DB2 Data Base Discussion List











We do something similar on an update. I imagine you could use the same logic on an insert. At least it should give you and idea on what to play with. HTH.. [...] 13869 46 56_Re: Installing DB2 BMC Tools using OS/390 z/OS Installer11_Tina Hilton29_Tina.Hilton@ARVATOSYSTEMS.COM31_Fri, 11 Oct 2002 14:40:56 -0500435_iso-8859-1 I did just a few weeks ago. They have a few bugs with the installer not doing things right, but I was able to install Copy Plus and Recover Manager with only a few, minor problems (the 2 Recovery Manager problems were an incorrect skelton used to generate the jcl, and a generated member with alter statements was incorrect). I'd go through the install clist again and make sure you've selected the products correctly. [...] 13916 50 34_Re: Parse a VARCHAR into elements?14_Sinha, Abhijit20_Abhijit.Sinha@GS.COM31_Fri, 11 Oct 2002 15:43:11 -0400545_iso-8859-1 Rajib,

If your SP language is Java, you can use: 1. String parsing using StringTokenizer 2. XML parsing using SAXParser.

If you need code examples, let me know.

Abhijit



-----Original Message----- From: Rajib Ray [mailto:Rajib.Ray@KP.ORG] Sent: Friday, October 11, 2002 3:19 PM To: DB2-L@LISTSERV.YLASSOC.COM Subject: Parse a VARCHAR into elements?



Hello All,

Has anyone got a 'slick way' of parsing a string (VARCHAR) into its elements for it to be used in a STORE PROC. [...] 13967 111 22_Re: db2 connect issues14_Manas Dasgupta22_dasgupta@BELLSOUTH.NET31_Fri, 11 Oct 2002 15:53:59 -0400474_iso-8859-1 Irrespective of what the settings are, should the threads not terminate after the application closes the connection and terminates?

We're having a similar problem - only in our case, "list dcs applications" do not show any application on the gateway. We however see the thread in Omegamon on the mainframe even though the application was successfully ended in the client. We're on 7.2 FP 3 on gateway and client and 7.1 on os/390 with CMTSTAT=ACTIVE. [...] 14079 165 40_Re: EDM Pool Shortage on PT's - 00C9008913_Martin Packer24_martin_packer@UK.IBM.COM31_Fri, 11 Oct 2002 20:55:59 +0100390_us-ascii Can't answer your question but can someone tell me where Omegamon gets these package-level EDM Pool storage occupancy numbers from? I'd like to get below the simple page counts at the category level that SMF 100 gives me.

Thanks, Martin

Martin Packer, MBCS Martin Packer/UK/IBM 020-8832-5167 in the UK (+44) (MOBX 273643, Internal 7-325167, Mobile 07802-245584) [...] 14245 154 23_Re: bufferpool tuning -13_Martin Packer24_martin_packer@UK.IBM.COM31_Fri, 11 Oct 2002 20:54:53 +0100539_us-ascii Hi Joel! I hope you'll make it over to UKCMG next year. It's in a very nice part of the world - near where I live in Oxfordshire. :-)

I'm sure you won't be surprised to know I too favour miss rates (I/Os) over hit ratios.

I have to say that 42-6's are getting "a little dodgy" these days due to things like PPRC screwing up the hit ratio. However I still think they're very valuable. I haven't yet played with IFCID 199s but think the two together could be quite interesting. Oh well, a project to keep me busy [...] 14400 72 31_Re: DB2 Connect code page error22_Killen, Martin W - CNF21_Killen.Martin@CNF.COM31_Fri, 11 Oct 2002 13:01:45 -0700447_- Hi Joe,

Hi Joe,

I found this in the Admin guide for performance:

A DB2 Product or Platform that does not have a supported conversion function to, or from EUC(extended unix code) or UCS-2 installed will receive an SQLCODE -332 (sqlstate 57017) when running your application. Page 81.. This may be related to DBCS on some of the tables that you guys have.. Not sure if the table you are trying to look at is DBCS.. HTH.. [...] 14473 65 30_Re: Replacement for DB Attach?10_Todd Burch22_tburch@CDBSOFTWARE.COM31_Fri, 11 Oct 2002 15:01:20 -0500353_iso-8859-1 Hi Gary. I'm work for a vendor, but not in that market, so I'm answering in the capacity of a fellow programmer - been there, done that.

You can fix this with programming on the application side. Create a subtask for attaching to DB2 that is the funnel through which all other tasks that need to communicate with DB2 communicate. [...] 14539 56 30_Re: Replacement for DB Attach?16_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM31_Fri, 11 Oct 2002 15:58:48 -0400602_iso-8859-1 We run hundreds (perhaps thousands) of CAF programs per day and have not experienced problems like you describe.

Regards, Eric Pearson NS ITO DB2 support



-----Original Message----- From: Gary Fahrlander [mailto:gary.fahrlander@ZURICHNA.COM] Sent: Friday, October 11, 2002 3:07 PM To: DB2-L@LISTSERV.YLASSOC.COM Subject: Replacement for DB Attach?



Greetings Venerable Listers! Right now we're using two products to attach to DB2, TSO Attach and Softbases' DB Attach. Our cost for DB Attach has risen significantly so we're looking for a replacement. [...] 14596 24 19_CA-Platinum Install24_Leblanc, Francis C - CNF23_Leblanc.Francis@CNF.COM31_Fri, 11 Oct 2002 13:29:32 -0700434_- Hi!

We're currently in the process of installing the CA-Platinum utilities into a new DB2 version 7 subsystem on Z/OS. We have not purchased the IBM utilities suites, and have no plans to do so.

The problem we've encountered is that the install process for the CA utilities executes some IBM utilities like LOAD and RUNSTATS. I'd like to know if other sites have encountered this and if so, how they resolved it. [...] 14621 65 30_Re: Replacement for DB Attach?12_michael bell24_mbell11@WORLDNET.ATT.NET31_Fri, 11 Oct 2002 15:49:38 -0500337_iso-8859-1 The only way I know to create that behavior is to use multiple TCB's and create and delete subtask's. Create/term thread is only a little more expensive in CPU than MVS ATTACH, etc. I don't know what would happen if one module was TSO attach and another was call attach - My guess would be an abend of some S04E variety. [...] 14687 13 30_Re: Replacement for DB Attach?11_Ramon Rivas15_RIVASWS@AOL.COM29_Fri, 11 Oct 2002 17:00:14 EDT275_US-ASCII
fyi -

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://listserv.ylassoc.com. The owners of the list can be reached at DB2-L-REQUEST@listserv.ylassoc.com. 14701 37 32_Re: dynamic caching in Version 715_Shields Michael28_ShieldsMichael@JOHNDEERE.COM31_Fri, 11 Oct 2002 16:07:56 -0500410_iso-8859-1 I would appreciate any feedback on this as well. I have been told that this is an parm at the system level and not configurable at any finer level. I'd love to hear otherwise.

Thanks, Mike

-----Original Message----- From: Joseph T. Murray Jr. [mailto:joe.murray@SSA.GOV] Sent: Friday, October 11, 2002 10:35 AM To: DB2-L@LISTSERV.YLASSOC.COM Subject: dynamic caching in Version 7 [...] 14739 16 3_FYI12_Isaac Yassin20_yassini@BEZEQINT.NET31_Sat, 12 Oct 2002 10:37:02 +0200331_- ORACLE CRM PLAN GOES SOUTH, COSTS LEXMARK | ZDNet Oracle is making big, bad news today. A CRM project Oracle was handling for Lexmark went so far south that the client will be forced to eat a $15 million price tag. Lexmark would apparently rather suffer the loss than go forward with the remainder of their Oracle contract. [...] 14756 99 54_DB2 UDB on NT - Control Center Probs - thanks for now!16_Aurora Dell'Anno28_Aurora_E_DellAnno@CANDLE.COM31_Sat, 12 Oct 2002 17:55:50 +0200457_us-ascii Hello list,

just a quick note to thank the people who so kindly tried to help me with my waking nightmare ;-)

Thanks a lot to Marcus, Abhijit, Tim, Myron, and Bruno for all your input and I'm afraid you might be on my list of helpers :-D

I have done all my tasks and I am safely out of Switzerland (let's hope nothing nasty happens) and I think all in all I'll stick with the mainframe where I am not so totally ignorant. [...] 14856 96 14_List of lists?16_Aurora Dell'Anno28_Aurora_E_DellAnno@CANDLE.COM31_Sat, 12 Oct 2002 19:35:12 +0200422_us-ascii Hello there,

for quite a while I had been using my "List of Lists" at http://www.knutson.org/internet.htm as a reference point without too many bookmarks. It now seems to be dead, but maybe it's just moved!

Any ideas where I could find it nowadays? Please note that I already have another link to http://www.nauticom.net/www/softwise/mfdisc.htm - but I should like to know about the first one! [...] 14953 68 30_Re: Replacement for DB Attach?16_Roland Schiradin28_SchiradinR@ALTE-LEIPZIGER.DE31_Sun, 13 Oct 2002 00:25:53 +0200420_- Gary,

we use CAF for some years and switch to RRSAF last year. I haven't seen this behaviour for CAF nor RRSAF.

All the application programs are compiled without any specific precompile option for CAF/TSO or whatever. Just the binder include is changed from DSNALI to DSNRLI. This means the application itself can't run without an interface to do the connect or whatever is needed to open a thread. [...] 15022 44 32_Re: dynamic caching in Version 716_Roland Schiradin28_SchiradinR@ALTE-LEIPZIGER.DE31_Sun, 13 Oct 2002 00:36:48 +0200660_iso-8859-1 Joseph,

the dynamic cache doesn't require so much, so why would you like to turn it off for some applicationsß

Roland



> -----Original Message----- > From: Joseph T. Murray Jr. [SMTP:joe.murray@SSA.GOV] > Sent: Friday, October 11, 2002 5:35 PM > To: DB2-L@LISTSERV.YLASSOC.COM > Subject: dynamic caching in Version 7 > > I am trying to turn on dynamic caching in DB2 version 7 for a particular > application. I do not want the entire subsystem to use dynamic caching, > just a handful of plans/packages. > > Does anyone have any info on how this is accomplished? > > ================================================ [...] 15067 118 22_Re: db2 connect issues10_John Lantz23_john.lantz@ZURICHNA.COM31_Sat, 12 Oct 2002 19:37:47 -0500531_- Some answers to your questions... We are at V7 on the mainframe... We are using DB2 Connect EE, We see the same thing in two different gateways though. One is a server just running DB2 Connect EE. The other gateway actually runs a local UDB database as well. They hang out there as well. On the mainframe we hae the thread set to go inactive. We also have tried playing around with leaving them active and letting them timeout after 5 minutes. If we do this, then we do see them go away after 5 minutes. So we are wondering [...] 15186 65 18_Re: List of lists?11_Mark Ediger22_MEDIGER@TRANSUNION.COM31_Sun, 13 Oct 2002 03:48:54 -0500477_US-ASCII Hi Aurora, You are right. That link is no longer valid but Sam's home page link is still there. Instead of the old one, try this one: http://www.cbttape.org/links.phtml

Mark Ediger

>>> Aurora_E_DellAnno@CANDLE.COM 10/12/02 12:35PM >>> Hello there,

for quite a while I had been using my "List of Lists" at http://www.knutson.org/internet.htm as a reference point without too many bookmarks. It now seems to be dead, but maybe it's just moved! [...] 15252 44 57_Re: Has anyone had success interfacing with XML via Rexx?14_James Campbell25_jacampbell@ACSLINK.NET.AU31_Sun, 13 Oct 2002 23:58:12 +1000492_US-ASCII Frank Lindenblatt posted a link to some REXX-XML code: "At http://www.geocities.com/flrx67/files/ there are two files:

xml.zip and xml.txt (this is in tso xmit format, but geocities does'nt all= ow .xmit !!!)

Both files contain a small $readme with some infos. At this time, the documentation is very small (not to say there is nothing= )... But I'm on the way to complete it, and when it's ready and you still find the tools usefull, I'll put it to the CBT tape. [...] 15297 44 45_Re: Stored Procedure Overloading on OS390 DB214_James Campbell25_jacampbell@ACSLINK.NET.AU31_Sun, 13 Oct 2002 23:58:13 +1000482_US-ASCII Joe,

I'm not sure what has given you the idea that you can overload stored procedures but, as several have said, you can't.

The thing that (at least in the current versions of DB2) stops you overloading is that DB2 uses the SPECIFICNAME to distinguish between overloaded routines. For UDFs DB2 will happily create a unique SPECIFICNAME for each overloading; for procedures it uses the procedure name as the SPECIFICNAME - hence sps are not overloadable. [...]