1 WWW.IDUGDB2-L.ORG /home/listserv/home/db2-l March 2001, week 4 2 197 36_Re: CCSID Error on trigger creation.15_Mallett, Steven31_Steven.Mallett@TEAM.TELSTRA.COM31_Thu, 22 Mar 2001 17:55:18 +1100501_iso-8859-1 Actually we're getting away with just ALTER TABLESPACE CCSID 37; in several of our non-Production environments (but only until the fix is implemented as it's not the recommended approach).

We do have a Trigger in a development environment where we instead did an ALTER DATABASE CCSID 37; and this has worked also. The Tablespace is still CCSID=0 so apparently either can be used in creating the Trigger, although the manual seems to recommend both be altered. [...] 200 47 33_Re: Rebalancing Partitioning Keys12_Cianci, Nick28_Nick.Cianci@TEAM.TELSTRA.COM31_Thu, 22 Mar 2001 15:38:31 +1100475_- How accurate do you want to be?

Runstats collecting appropriate info with a suitable sampling frequency may give that info to you.

If you don't want the stats updated (& have BMC) BMCSTATS have the option to update BMC tables and not DB2, and you can then query off the BMC tables which have a history, so that you can see how things have gone over time. OR You can run vanilla RUNSTATS with "REPORT YES UPDATE NONE", and dig the info out of the report. [...] 248 78 19_Re: Reduce CPU Time0_18_mebert@AMADEUS.NET31_Thu, 22 Mar 2001 09:27:45 +0100434_us-ascii Hi Tony,

1) remove the OPTIMIZE FOR 1 ROW clause, since you're actually fetching 3.6 M rows. 2) consider using WITH UR. 2) apart from that, you're fetching 11.000 rows per CPU second (8000 per elapsed), which sounds perfectly ok to me (even without knowing your machine, and the amount of data you're fetching for each row). The way to go is indeed to find out whether you really need all those millions of rows. [...] 327 16 68_Re: DB2-OS/390- Statistical Analysis of Tablespaces and Indexspaces.11_Qinghua Cao20_cao_qh@HISUNTECH.COM31_Thu, 22 Mar 2001 17:24:36 +0800145_iso-8859-1 Please add me to the list.

Thanks

Best regards, Lily Zhang

Engineer, Hisun International Software Limited

344 74 11_Re: DSNDB0714_Vassie, Edward21_Edward_Vassie@BMC.COM31_Thu, 22 Mar 2001 04:08:57 -0600310_iso-8859-1 One point I have not yet seen raised is:

Why are you allowing secondary extents on DSNDB07 objects? This is bad news.

If you allow secondary space on DSNDB07, it will ALWAYS grow to max extents, regardless of if DB2 really needs the space. This is down to the way that DB2 works. [...] 419 78 19_Re: DB2 SQl Tunning16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Thu, 22 Mar 2001 15:56:01 +0530451_iso-8859-9 For only SQL, use Visual Explain and some good SQL and Application Tuning books. After a while, once someone is comfortable with the meaning of each and every column of PLAN_TABLE, visual explain will look tough. Explaining the plan and identifying the BAD Sqls, running the explain for individual BAD sql is the best tunning technique from my point of view. Application monitoring can still be done from Omegamon or some other tools. [...] 498 112 19_Re: Reduce CPU Time16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Thu, 22 Mar 2001 16:06:05 +0530379_- It seems i am two days back in the mailing list. Mails of 20th and 21st reached to me today. That's really nice.

Anyway, Responses have already been given by Terry and Dr. M, who have explained all the things(I am not sure why Terry has written "Hope this gives you a start", again having lots of things to explain). I understand as he mentioned Buffering as well. [...] 611 40 57_Moving Data/Files from Mainframe, AS/400, & NT to RS/600011_Endy Lambey27_endyl@MITRAINFOSARANA.CO.ID29_Thu, 22 Mar 2001 10:35:05 GMT543_ISO-8859-1 Dear all,

I don't know if this topic is suitable in this list, but hopefully it is. I have a very big problem with moving files from Mainframe, AS/400, and NT to our AIX box. In our DW pilot project, I need to move some files from Mainframe, AS/400, and NT directories into an AIX directory. The problem is that I know nothing about Mainframe and AS/400. I can use ftp application on NT to make a scheduled file moves to AIX, but how about Mainframe and AS/400? Can we do a scheduled batch job to do that from Mainframe [...] 652 33 11_Re: DSNDB0116_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Thu, 22 Mar 2001 16:37:20 +0530688_- DB2 Diagnosis Guide and Reference. This explains that very nicely.

Regards, Sanjeev

> -----Original Message----- > From: Dempsey, Michael [SMTP:MDempse@UNCH.UNC.EDU] > Sent: Wednesday, March 21, 2001 9:06 PM > To: DB2-L@RYCI.COM > Subject: DSNDB01 > > Hey Folks.. > Can anyone tell me where I can find a schematic of DSNDB01... > Tablespaces and associated indexes? Thanks.... > > Michael Dempsey > UNC Health Care System > > ================================================ > To change your subscription options or to cancel your subscription visit > the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can > be reached at DB2-L-REQUEST@RYCI.COM. [...] 686 79 80_Re : Query Help (-RE: Cost of using DATA CAPTURE (CHANGES) ?) (Ch anged Subject)16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Thu, 22 Mar 2001 16:51:57 +0530404_- First of all i have changed the subject of your e-mail. Probably this is the reason why many experts didn't reply to your queries.

Regarding the performance problem you have, please let us know the indexes on the tables, cardinality of the columns you have mentioned in the WHERE clause. As per your restrictions of not being able to create new index, it looks difficult to avoid the sort. [...] 766 43 84_Re: Lightbulbs and DB2-OS/390- Statistical Analysis of Ta blespaces and Indexspaces.14_Grainger, Phil20_Phil.Grainger@CA.COM31_Thu, 22 Mar 2001 11:48:08 -0000334_iso-8859-1 I've been trying to resist this, but I'm sorry

This is something I saw on a newsgroup some time ago, so apologies to those of you who have the original (and probably funnier) version that what I remember. It goes like this:

QUESTION - How many listserv users does it take to change a lightbulb? ANSWER - [...] 810 112 11_Re: DSNDB0714_Scott Trometer22_scott.trometer@RCI.COM31_Thu, 22 Mar 2001 07:00:26 -0500636_iso-8859-1 Edward,

First, Good Idea for the spare DSNDB07 Tablespaces...

Second, to dig a little deeper into this issue...are the DSNDB07 tablespaces really only used as an overflow from sorts that cannot be completed in memory?

If this is true, should you also check the Bufferpool size and/or the Zparm SRTPOOL? My understanding of SRTPOOL: it's the maximum sort pool size 'in-memory' for each user. If this were small, wouldn't that force an application/user to the work files??? Not that it would help in this particular scenario as the sort space required seemed to be extremely large. But, could it help [...] 923 24 84_Re: Lightbulbs and DB2-OS/390- Statistical Analysis of Ta blespaces and Indexspaces.10_Max Scarpa16_mscarpa@CESVE.IT31_Thu, 22 Mar 2001 13:01:27 +0100559_us-ascii Hi Phil, nice jokes....as you're living in the future (here is THURSDAY) can you tell me next lottery numbers ?

In Italy the prize is 16.666.666.666 pounds more or less...

Sorry , today is an hard & lousy off-day.....

Max Scarpa

'E intanto vuoga....'

Giacomo Casanova

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 948 20 11_Re: DSNDB0710_Max Scarpa16_mscarpa@CESVE.IT31_Thu, 22 Mar 2001 13:10:54 +0100424_us-ascii HI Scott....

Take a look at

'DB2 Access path by the numbers' by Chuck Hoover, among other things there's a good description of DB2 sort .

HTH Max Scarpa

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 969 22 0_14_Grainger, Phil20_Phil.Grainger@CA.COM31_Thu, 22 Mar 2001 12:19:55 -0000569_iso-8859-1 I know I'm wasting bandwidth, but PLEASE stop telling me it's not Friday yet.

I have had a VERY stressful week - I just WISH it was Friday!!



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

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 992 44 84_Re: Lightbulbs and DB2-OS/390- Statistical Analysis of Ta blespaces and Indexspaces.10_Chris Kern23_Chris_Kern@VANGUARD.COM31_Thu, 22 Mar 2001 07:25:19 -0500484_us-ascii Hey - you're wasting bandwidth!!!







Max Scarpa on 03/22/2001 07:01:27 AM Please respond to DB2 Data Base Discussion List

To: DB2-L@RYCI.COM cc: (bcc: Chris Kern/IT/VGI) Subject: Re: Lightbulbs and DB2-OS/390- Statistical Analysis of Ta blespaces and Indexspaces.





Hi Phil, nice jokes....as you're living in the future (here is THURSDAY) can you tell me next lottery numbers ? [...] 1037 96 11_Re: DSNDB0726_Johnson, Bill (Pittsburgh)26_bjohnson@RUSSELLMELLON.COM31_Thu, 22 Mar 2001 04:25:51 -0800549_iso-8859-1 While working with an IBM DB2 gold consultant at a client site a few years ago, his recommendation on the DSNDB07 objects was to allow secondary extents on the last object in the string. For example, we had 6 DSNDB07 objects defined, the first 5 of which did NOT allow secondary extents and the last one did. This worked very well for us. It allowed the occasional large sort to get the space that it needed, but did not allow each of the objects to grow out of control. Also if needed, we could always delete and redefine that last [...] 1134 43 33_Re: Rebalancing Partitioning Keys15_Billings, Linda30_linda.billings@DOA.STATE.WI.US31_Thu, 22 Mar 2001 06:42:17 -0600413_- We have just purchased a product by CDB Software called Repart that does that automatically. I haven't used it yet personally but a colleague has. She says it is pretty slick.

Linda Billings Enterprise Systems Programmer State of Wisconsin Department of Administration Info-Tech Services

"Insanity: Doing the same thing over and over again and expecting different results." - Albert Einstein [...] 1178 78 25_Central PA DB2 User Group12_Terry Gawlas25_terry.gawlas@HIGHMARK.COM31_Thu, 22 Mar 2001 07:43:08 -0500731_iso-8859-1 Central Pennsylvania Regional DB2 User Group Date: Thursday, April 19, 2001 Place: Camp Hill Corporate Center, Building 300, Large Auditorium Cost: FREE Reservations: Email or call: Cathy.Peck@highmark.com (717) 975-7396 or Terry.Gawlas@highmark.com (717) 763-3844 For more information on our user group activities: www.db2parug.org Agenda for April 19, 2001 8:00 to 8:45 Breakfast, Compliments of BMC Software 8:45 to 9:00 Opening Remarks 9:00 to 10:15 Tuning Access Paths to Beat Synchronous I/O Presenter: Joseph Burns, Highmark Blue Cross/Blue Shield Tuning SQL involves understanding the access path selected by the optimizer. This presentation will provide insight into several common access paths that avoid [...] 1257 15 85_Re: Lightbulbs and DB2-OS/390- Statistical Analysis of Ta blespac es and Indexspaces.14_Clayton, Colin21_Colin_Clayton@BMC.COM31_Thu, 22 Mar 2001 06:34:27 -0600321_iso-8859-1 Phil - what's it like in the future ?

Its only Thursday here.

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 1273 25 68_Re: DB2-OS/390- Statistical Analysis of Tablespaces and Indexspaces.15_Leonardo Zrycki21_lzrycki@BIYCSA.COM.AR31_Thu, 22 Mar 2001 09:40:51 -0300454_iso-8859-1 Please add me to the list. Thanks Best regards,



Leonardo ZRYCKI INDRA - BAPRO Bartolomé Mitre 430 - P. 4º Tel: 5166-7831 Fax: 5166-7805 Celular: (15) 4405-0200 Email: lzrycki@biycsa.com.ar

===============================================To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 1299 71 42_Re: Cost of using DATA CAPTURE (CHANGES) ?13_Lockwood Lyon19_Lockwool@MEIJER.COM31_Thu, 22 Mar 2001 07:51:32 -0500484_US-ASCII I'd suggest a WHERE clause predicate for the Join between Table1 and Table2. You really didn't want a cartesian product, did you?

- - LL

Lockwood Lyon -- Meijer Technical Support (616) 735-7553 (office) (616) 791-5131 (fax)

Copyright (c) 2001 by Lockwood Lyon. All rights reserved. These opinions are mine and not necessarily those of my employer, Meijer, Inc. "Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?" [...] 1371 31 56_Problem with FETCH FIRST n ROWS ONLY and ORDER BY clause19_Philip Nelson (DBA)21_teamdba@ATTGLOBAL.NET31_Thu, 22 Mar 2001 06:47:14 -0600344_us-ascii I have a query of the form -

SELECT lots_of_columns FROM table ORDER BY column1 DESC FETCH FIRST 10 ROWS ONLY;

on a table containing 3 million rows

I try to run this and it just never replies despite the fact column1 has a descending index on it.

I remove the order by clause and it returns instantly. [...] 1403 26 34_Multiple datasets for a tablespace14_Craig McKellar26_craig.mckellar@BIGPOND.COM31_Fri, 23 Mar 2001 00:21:08 +1100553_us-ascii Just a quick question following a problem I just had. Is there somewhere in the catalog tables that would tell you wether a tablespace uses more than one dataset. ie exceeds the 2GB limit in this case. I just had an interesting problem where an ISV image copy of a tablespace failed as it could not locate the second dataset. This was in fact true as it did not exist due to a failure earlier trying to allocate the dataset due to lack of space. The applications kept running I presume filling up any remaining free space. What would have [...] 1430 104 21_Re: SAS/DB2 and V6/V720_Pillay, Venkat (PCA)20_venkat_pillay@ML.COM31_Thu, 22 Mar 2001 08:28:22 -0500609_us-ascii Lately, there was a PTF, which tolerates missing colon for SQLDA (just for descriptor) and this lets you bind/rebind SAS in V6. I have tested it.

-Venkat Pillay



> -----Original Message----- > From: Pearson, Eric L, [SMTP:Eric.Pearson@NSCORP.COM] > Sent: Wednesday, March 21, 2001 9:55 AM > To: DB2-L@RYCI.COM > Subject: Re: SAS/DB2 and V6/V7 > > Bill, > Have you done a BIND or REBIND of the plan since going to V6? > There was a thread earlier which said if you had existing plans/packages > with the 'colon deficiency' they would continue to execute under > V6 but could [...] 1535 125 21_Re: SAS/DB2 and V6/V716_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM31_Thu, 22 Mar 2001 08:44:03 -0500493_iso-8859-1 Venkat, That is great news. Do you (or anyone) know the PTF number?

regards,

eric pearson NS ITO Database Support



-----Original Message----- From: Pillay, Venkat (PCA) [mailto:venkat_pillay@ML.COM] Sent: Thursday, March 22, 2001 8:28 AM To: DB2-L@RYCI.COM Subject: Re: SAS/DB2 and V6/V7



Lately, there was a PTF, which tolerates missing colon for SQLDA (just for descriptor) and this lets you bind/rebind SAS in V6. I have tested it. [...] 1661 57 27_Simultaneous RO & RW system14_Davage, Marcus29_Marcus.Davage@LLOYDSTSB.CO.UK31_Thu, 22 Mar 2001 13:35:36 -0000355_iso-8859-1 In a system running OS/390 2.8, CICS 4.1, DB2 5.1 with 700 or so tables, 7000 packages pushing 400K transactions a day, in a 14hr online day, the batch processing window takes 6hr+ and the DB2 housekeeping (which is all SHRLEVEL CHANGE) takes just over an hour.

The users have now asked for RO availability during the batch window. [...] 1719 112 22_Re: Java & DB2 (again)12_Myron Miller22_myronwmiller@YAHOO.COM31_Thu, 22 Mar 2001 05:50:40 -0800557_us-ascii Donna, When I bring UDB V7 up, it doesn't prompt me for any passwords at all. I am able to start the various services, including Control Center without passwords. I can do this on Windows 2000 and windows 95 and window 98.

Myron --- Donna O'Connell wrote: > I would be interested in receiving the information for UDB Version 7 > for Windows ME. > I had tried to install UDB Version 6 under Windows 98 SE- and could > not get the control center to work. > I was told that this was a security issue - because [...] 1832 88 39_Re: Is the best reorg the one not done!14_Davage, Marcus29_Marcus.Davage@LLOYDSTSB.CO.UK31_Thu, 22 Mar 2001 13:57:40 -0000595_iso-8859-1 Cincom's SUPRA database has never needed REORGing. I've always said that DB2 is VSAM with knobs on! ;-)



-----Original Message----- From: James Szabo [mailto:jim.szabo@CORE.COM] Sent: 22 March 2001 03:46 To: DB2-L@RYCI.COM Subject: Is the best reorg the one not done!



Dear list,

Looking for a discussion on this point.

Much is made about the issues re: DB2 for OS/390 V6 online reorg - long BUILD2 phase, inability to reorg NPI partitions, etc. Some of this may be fixed in V7, but I would proceed with caution using all that new code. [...] 1921 21 31_Re: Simultaneous RO & RW system11_Rolf Loeben17_loeben@DE.IBM.COM31_Thu, 22 Mar 2001 15:00:00 +0100453_iso-8859-1 Marcus,

if you do IC with sharelevel change, where is the problem reading anything with UR? It will never interfere with the ICs.

With kind regards - mit freundlichen Grüßen Rolf S. Loeben

===============================================To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 1943 176 19_Re: Reduce CPU Time11_Moore, Tony15_TMoore@IKON.COM31_Thu, 22 Mar 2001 08:57:01 -0500402_iso-8859-1 Terry, Dr. Ebert and Sanjeev, Thanks a lot for the info!! I just wanted to make sure I wasn't missing anything.

The SQL statements come from "I/O modules" created by a code generator product called Sapiens. I asked the Sapiens guru here if there is any way to selectively "turn off" the generation of the OPTIMIZE FOR 1 ROW statement, but he was not aware of any way to do this. [...] 2120 42 11_Re: DSNDB0711_Hayden, Lee18_Lee_Hayden@CSX.COM31_Thu, 22 Mar 2001 09:01:12 -0500414_iso-8859-1 One way is to stop dsndb07, del/define with more space, start dsndb07. For this you must keep same number and name of datasets.

A better way is to keep a custom version of job sdsnsamp(DSNTIJTM). This job does all you need and also gives you the flexibility to add resize workfiles. We do not allocate DSNDB07 workfiles with secondary extents. If we need more space we add another workfile. [...] 2163 54 38_AW: Multiple datasets for a tablespace12_Thomas Weber23_thomas.weber@LDS.NRW.DE31_Thu, 22 Mar 2001 15:03:45 +0100636_iso-8859-1 Craig,

DSNUM in SYSCOPY tells you the dataset # within the (non-partitioned) TS.

HTH

Thomas

> -----Ursprüngliche Nachricht----- > Von: Craig McKellar [mailto:craig.mckellar@BIGPOND.COM] > Gesendet am: Donnerstag, 22. März 2001 14:21 > An: DB2-L@RYCI.COM > Betreff: Multiple datasets for a tablespace > > Just a quick question following a problem I just had. > Is there somewhere in the catalog tables that would tell you wether a > tablespace uses more than one dataset. ie exceeds the 2GB > limit in this > case. > I just had an interesting problem where an ISV image copy of a > tablespace [...] 2218 108 39_Re: Is the best reorg the one not done!15_Lankester, Andy22_Andy_Lankester@BMC.COM31_Thu, 22 Mar 2001 08:20:02 -0600488_iso-8859-1 A more accurate analogy might be a set of root only IMS HIDAM databases with field level sensitivity turned on for all segments - YUK!

Andy Lankester



-----Original Message----- From: Davage, Marcus [mailto:Marcus.Davage@LLOYDSTSB.CO.UK] Sent: 22 March 2001 13:58 To: DB2-L@RYCI.COM Subject: Re: Is the best reorg the one not done!



Cincom's SUPRA database has never needed REORGing. I've always said that DB2 is VSAM with knobs on! ;-) [...] 2327 155 21_Re: SAS/DB2 and V6/V720_Pillay, Venkat (PCA)20_venkat_pillay@ML.COM31_Thu, 22 Mar 2001 09:20:54 -0500683_iso-8859-1 Check the following two APARs.

ABSTRACT: PQ26922: SQLCODEM104 (-104) OCCURED DURING BIND IN DB2 V6 WHEN DESCRIPTOR-NAME DOES NOT HAVE A COLON IN FRONT

ABSTRACT: PQ30390: CORRECT RECORD AND COLUMN NUMBER OF DSNH104I MESSAGE ISSUED FROM DSNHSM2V MODULE. REMOVE REDUNDANT CODE FOR HOST VARIABLE PROCESS



Regards, -Venkat Pillay





> -----Original Message----- > From: Pearson, Eric L, [SMTP:Eric.Pearson@NSCORP.COM] > Sent: Thursday, March 22, 2001 8:44 AM > To: DB2-L@RYCI.COM > Subject: Re: SAS/DB2 and V6/V7 > > Venkat, > That is great news. Do you (or anyone) know the > PTF number? > > regards, > > eric pearson > NS [...] 2483 129 21_Re: SAS/DB2 and V6/V716_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM31_Thu, 22 Mar 2001 09:26:12 -0500281_iso-8859-1 Thanks. I found it. It is for APAR PQ26922. There is a PTF for V6. No mention in IBMLINK of a V7 PTF. I hope the fix will be part of the V7 code base. If not, our upgrade will be considerably delayed as both SAS and XPEDITER 6.8 contain descriptors without colons. [...] 2613 52 37_Using an index with the REORG command17_Marcius D. Moraes22_marcius@GOLDNET.COM.BR31_Thu, 22 Mar 2001 11:29:35 -0300506_us-ascii Hi, guys!

I'm not a DBA, but I need to reorg some tables of a database using indexes, but I'm in doubt in how to choose the most suitable ones, or even if it's really necessary do a reorg! The DB2 manuals recommend using the most frequently used index in order to do a reog. But if a table has indexes used approximately in the same frequency, what should it the priority, unique indexes, non unique indexes, or primary keys? I'll give you a example, obtained from a REORGCHK command: [...] 2666 113 39_Re: Is the best reorg the one not done!16_RICHARD E MOLERA25_RICHARD.E.MOLERA@SLMA.COM31_Thu, 22 Mar 2001 09:32:47 -0500544_us-ascii Total sites licensed to run cincom's supra database: Three (including the college in timbuktoo)











"Davage, Marcus" on 03/22/2001 08:57:40 AM

Please respond to DB2 Data Base Discussion List

To: DB2-L@RYCI.COM cc: (bcc: RICHARD E MOLERA/SallieMae) Subject: Re: Is the best reorg the one not done!





Cincom's SUPRA database has never needed REORGing. I've always said that DB2 is VSAM with knobs on! ;-) [...] 2780 43 31_Re: Simultaneous RO & RW system14_Davage, Marcus29_Marcus.Davage@LLOYDSTSB.CO.UK31_Thu, 22 Mar 2001 14:34:52 -0000380_iso-8859-1 True, but we want to use the existing programs against a RO subsystem. If the dumb user tries to update during RO mode, and gets an error, so be it.

Marcus -----Original Message----- From: Rolf Loeben [mailto:loeben@DE.IBM.COM]

if you do IC with sharelevel change, where is the problem reading anything with UR? It will never interfere with the ICs. [...] 2824 27 21_Re: SAS/DB2 and V6/V716_Friemel, Norbert24_Friemel@RRZ-KARLSRUHE.DE31_Thu, 22 Mar 2001 15:45:33 +0100299_iso-8859-1 > > Thanks. > I found it. It is for APAR PQ26922. > There is a PTF for V6. No mention in > IBMLINK of a V7 PTF. I hope the fix > will be part of the V7 code base. If not, > our upgrade will be considerably delayed as both > SAS and XPEDITER 6.8 contain descriptors without colons. > [...] 2852 24 24_Stored Procedure Builder11_Carl Newton30_newtonc@INNOVATION-GROUP.CO.UK31_Thu, 22 Mar 2001 14:41:01 -0000334_- All,

Our problem with the stored procedure builder is progressing with IBM. We can now run DSNTPSMP, however it fails when trying to execute a LISTDSI, we think that this is because there is no TSO environment available (i.e. via an ADDRESS TSO). Before we start changing the REXX exec direct can anyone shed any light? [...] 2877 15 9_Clob-ODBC23_Luis Paulo Soares Dutra31_luispaulo@FABRICADIGITAL.COM.BR31_Thu, 22 Mar 2001 12:17:57 -0300479_iso-8859-1 I am trying to insert a text in an DB2 CLOB field through odbc with the standard sql command: insert into mytable values... My question is: "Is there any limitation with the ODBC with the CLOB field in the insertion of values?

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 2893 21 9_Clob-ODBC23_Luis Paulo Soares Dutra31_luispaulo@FABRICADIGITAL.COM.BR31_Thu, 22 Mar 2001 12:19:56 -0300522_iso-8859-1 Hi,

I am trying to insert a text in an DB2 CLOB field through odbc with the standard sql command: insert into mytable values... My question is: "Is there any limitation with the ODBC with the CLOB field in the insertion of values?

Tanks,

Luis Paulo

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 2915 65 39_Re: WLM-managed stored procedures & RRS16_Aurora Dell'Anno28_Aurora_E_DellAnno@CANDLE.COM31_Thu, 22 Mar 2001 14:11:44 +0000336_us-ascii Just a little bit of extra feedback on this, from IBM consultant Dougie Lawson on IMS-L (I posted this there because I followed a very nice presentation the GSE IMS Group hosted a few days ago).

Knowing Dougie, he will not mind at all being contacted for further details, either at his address or through IMS-L :-) [...] 2981 103 86_Fw: SQL GURUs HELP NEEDED (Re: Cost of using DATA CAPTURE (CHANGES) ?) CHANGED SUBJECT16_Aurora Dell'Anno28_Aurora_E_DellAnno@CANDLE.COM31_Thu, 22 Mar 2001 14:13:33 +0000421_us-ascii Just changed the subject for you, since I almost deleted it without reading I assume others may do the same.

I am a busy body today......

Ciao!

Aurora Emanuela Dell'Anno Systems Engineer Candle Service Ltd.

Office: +44 (0) 1276 414 4752 Mobile: +44 (0) 7881 818 867 email: aurora_dellanno@candle.com

* std. disclaimer * MY OPINIONS ARE MY OWN AND NOT THOSE OF MY EMPLOYER [...] 3085 115 61_Re: The 2001 GSE Nordic Region, IMS/DB2 Conference in Iceland16_Aurora Dell'Anno28_Aurora_E_DellAnno@CANDLE.COM31_Thu, 22 Mar 2001 14:26:47 +0000338_us-ascii Well stated Stephen,

although this event being for the Nordic region lots of people from the UK will be attending (there is also a CICS conference during the previous week, which is well attended).

Anyway, I'll be there and will be pleased to meet any listers for a drink (strictly non-alcoholic of course ;-) [...] 3201 23 55_DB2 & IBM Technical Conference Attendees - Hamburg 20010_29_paul.packham@POSTOFFICE.CO.UK31_Thu, 22 Mar 2001 15:44:41 +0000354_us-ascii Hi,

Has anybody out there who has attended the DB2 & IBM Tech Conference in Hamburg earlier this month been able to access the conference proceedings on the deepblue learning space website. I have registered, but when I try to access the materiel I get "Error 500 HTTP Web Server: Application Exception - Couldn't find design note". [...] 3225 73 47_Re: Using Identity_Val_Local() function in SQLJ10_Roger Hecq19_Roger.Hecq@MSDW.COM31_Thu, 22 Mar 2001 10:52:15 -0500647_us-ascii That for the prompt response. That technique does work, which reinforces my thought that the Set statement is not supported.

James Campbell wrote:

> Just as a bypass, does > > SELECT IDENTITY_VAL_LOCAL() INTO :identity FROM SYSIBM.SYSDUMMY1 > > work? > > /* standard disclaimer */ > James Campbell > Hansen Corporation > -----Original Message----- > From: Roger Hecq [mailto:Roger.Hecq@MSDW.COM] > Sent: Thursday, 22 March 2001 10:03 > To: DB2-L@RYCI.COM > Subject: [DB2-L] Using Identity_Val_Local() function in SQLJ > > We have an SQLJ program which is doing an insert of a row with an > identity column. After doing [...] 3299 65 31_Re: Simultaneous RO & RW system10_Roger Hecq19_Roger.Hecq@MSDW.COM31_Thu, 22 Mar 2001 10:55:25 -0500595_us-ascii Unless you specify Isolation (UR), R/O processing can still disrupt your batch update processing. Are they willing to risk that or have they strengthened the batch programs to handle contention?

"Davage, Marcus" wrote:

> In a system running OS/390 2.8, CICS 4.1, DB2 5.1 with 700 or so tables, > 7000 packages pushing 400K transactions a day, in a 14hr online day, the > batch processing window takes 6hr+ and the DB2 housekeeping (which is all > SHRLEVEL CHANGE) takes just over an hour. > > The users have now asked for RO availability during the batch window. > > [...] 3365 53 60_Re: Problem with FETCH FIRST n ROWS ONLY and ORDER BY clause20_Dr. Matthias Wehrens29_matthias.wehrens@AM-GRUPPE.DE31_Thu, 22 Mar 2001 09:49:33 -0600454_- If you have no appropriate index, DB2 has to sort all 3 millions rows. This sort can be avoided only by an index - or omitting "order by". The "optimize clause" is merely a hint for the optimizer, which may be used or not used in some situations.

Perhaps you can add to the SQL some predicate to reduce the number of rows to be sorted - predicates are evaluated first, before sort. But this predicate will require an appropriate index too! [...] 3419 31 17_DBM1 Service Wait19_CHRISTOPHER STARNES14_b05cxs@FDS.COM31_Thu, 22 Mar 2001 11:02:38 -0500617_us-ascii Help list,

I have a CICS transaction executing on DB2 V6.1 for OS/390 in a Data Sharing environment. The first execution of the transaction has a DB2 Elapsed of 1:28.4875 with 1:03.6201 and 14.1998 of open/close and DBM1 Service respectively. The second execution of the transaction has a DB2 Elapsed of 31.9510 with 9.7284 and 20.8839 of open/close and DBM1 Service respectively. While the open/close numbers seem to me to be astronomical, my first question focuses on the DBM1 Service time. When I looked the field up in the monitor manual, it said DBM1 Service included: data set define, data [...] 3451 85 61_Re: Problem with FETCH FIRST n ROWS ONLY and ORDER BY cla use14_Grainger, Phil20_Phil.Grainger@CA.COM31_Thu, 22 Mar 2001 16:19:52 -0000362_iso-8859-1 I know that this is NOT OS390 DB2, but just a random thought

Does FETCH FIRST n ROWS also trigger OPTIMISE FOR n ROWS??

If it DOESN'T then DB2 will be assuming you want all the rows and may be choosing a sort over the use of an index.

On OS390, specifying FIRST n ROWS does make the optimiser assume OPTIMISE FOR the same n. [...] 3537 45 31_Re: Simultaneous RO & RW system11_Mike Turner29_Michael_Turner@COMPUSERVE.COM31_Thu, 22 Mar 2001 11:27:05 -0500604_ISO-8859-1 Marcus

Re Data Sharing. If you mean starting a tablespace RO on one member, it cannot be done. Restrictive states apply to all members of the Data Sharing Group.

Regards Mike Turner Email: michael_turner@compuserve.com Web: www.michael-turner.ltd.uk

Message text written by DB2 Data Base Discussion List >In a system running OS/390 2.8, CICS 4.1, DB2 5.1 with 700 or so tables, 7000 packages pushing 400K transactions a day, in a 14hr online day, the batch processing window takes 6hr+ and the DB2 housekeeping (which is all SHRLEVEL CHANGE) takes just over an hour. [...] 3583 96 19_Re: Reduce CPU Time19_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Thu, 22 Mar 2001 10:28:49 -0600546_iso-8859-1 Tony, All good responses so far, especially getting rid of the optimize clause. One other thing that can help, and I'm reluctant to recommend this in a CICS environment, RELEASE(DEALLOCATE) on the package may be helpful too. This will allow index look-aside that could speed your fetch times. It might not be appropriate based on any concurrency you may or may not need for this tran. and others. Also, once things get rolling correctly, DB2 will build a Select Procedure (SPROC) which will further reduce your cost by about 30%. [...] 3680 217 37_Re: Load question from prod. to test.17_ravi kumar hassan18_ravibh@HOTMAIL.COM31_Thu, 22 Mar 2001 10:33:41 -0600630_- Hello Folks,

Thanks for your help, i could able to load the data from prod. to test table by using the method send by all of you. Thank you very much.

Kumar.







>From: Tim.Lowe@STPAUL.COM >Reply-To: DB2 Data Base Discussion List >To: DB2-L@RYCI.COM >Subject: Re: Load question from prod. to test. >Date: Wed, 21 Mar 2001 17:00:55 -0600 > >Kumar, >If you unload your production table using DSNTIAUL with the SQL parm, using >a sysin statement like this: > SELECT A.*, 0 AS C3 FROM T1 A ; >Then,your production unload file would now contain 3 columns(C1 and C2 from [...] 3898 50 31_Re: Simultaneous RO & RW system14_Davage, Marcus29_Marcus.Davage@LLOYDSTSB.CO.UK31_Thu, 22 Mar 2001 16:55:15 -0000380_iso-8859-1 Oh, well.

I've heared another suggestion: 1 x CICS, 2 x DB2 (one RO, one RW) a DPROPR copying changes from the RW to RO, bouncing CICS when the batch starts, pointing it to the RO version during the batch run.

Sounds a bit of an overkill to me.

Marcus

-----Original Message----- From: Mike Turner [mailto:Michael_Turner@COMPUSERVE.COM] [...] 3949 64 21_AW: DBM1 Service Wait16_Roland Schiradin28_SchiradinR@ALTE-LEIPZIGER.DE31_Thu, 22 Mar 2001 17:56:49 +0100641_iso-8859-1 Chris,

GRS-Mode STAR or RING?

Roland

> -----Ursprüngliche Nachricht----- > Von: CHRISTOPHER STARNES [SMTP:b05cxs@FDS.COM] > Gesendet am: Donnerstag, 22. März 2001 17:03 > An: DB2-L@RYCI.COM > Betreff: DBM1 Service Wait > > Help list, > > I have a CICS transaction executing on DB2 V6.1 for OS/390 in a Data > Sharing environment. The first execution of the transaction has a DB2 > Elapsed of 1:28.4875 with 1:03.6201 and 14.1998 of open/close and DBM1 > Service respectively. The second execution of the transaction has a DB2 > Elapsed of 31.9510 with 9.7284 and 20.8839 of open/close and DBM1 Service > [...] 4014 117 47_Re: Using Identity_Val_Local() function in SQLJ14_Sinha, Abhijit20_Abhijit.Sinha@GS.COM31_Thu, 22 Mar 2001 12:06:18 -0500350_iso-8859-1 Roger,

We had the same issue here, i.e trying to get the just-inserted identity-value. The SET does not work; gives the same error. So I did the following and it works great:

#sql { INSERT INTO MYTAB1 (COL1, COL2) VALUES (:colval1, :colval2) };

COL1 and COL2 are other columns, not the identity column of course. [...] 4132 79 31_Re: Simultaneous RO & RW system12_tim malamphy20_timalamphy@YAHOO.COM31_Thu, 22 Mar 2001 09:20:25 -0800598_us-ascii Using Sharelevel Change implies that other jobs can still read and update the table during the Image Copy (but the image copy takes longer to finish). Sharelevel Reference implies other jobs could still read the table. Unless your job (especially an old job) is executing some other statements which put the table in UTIL or some other unshareable status, you're probably already there as far as the DB2 housekeeping jobs. If the other jobs in the batch window are keeping you from accessing the tables, my first guess would be a locking problem, where the whole table gets locks due [...] 4212 105 41_Re: Using an index with the REORG command11_Scott Hayes34_faster.databases@DATABASE-GUYS.COM31_Thu, 22 Mar 2001 12:19:44 -0500623_us-ascii Proper REORG Clustering reduces CPU consumption by 70% or more.

Marcius,

You will reorg to either restore free space or restore cluster sequence for table data according to an index. Which index?

The presumption of the DB2 Manuals is that reorg by the most frequently used index will result in lowest overall execution costs. Application/SQL sort requirements must also be considered. Your indexes #3 and #4 may be the most frequently used due to equal predicates on the keys, but not have an order by clause. You want your data clustered according to the indexes that match SQL order by [...] 4318 17 25_PDSNAME in SYSIBM.SYSDBRM15_Stephen Poulsen36_stephen.r.poulsen@CO.MULTNOMAH.OR.US31_Thu, 22 Mar 2001 11:01:19 -0600450_- What are the ramifications of copying DBRMs to a new PDS library? Specifically with regards to the name of the PDS stored at BIND time in SYSIBM.SYSDBRM (PDSNAME) column.

We currently have application DBRMs in a PDS library that has a software version number in the name. Some of our staff want to copy the DBRMs to a PDS library with a "generic" name. Is this possible without reBINDing all the application DBRMs? Thanks for any help. [...] 4336 57 33_Re: Rebalancing Partitioning Keys11_Jeff Faughn22_Jeff_Faughn@MAY-CO.COM31_Thu, 22 Mar 2001 11:51:55 -0600488_us-ascii If you are DB2 version 6.1 you can do the following: ALTER INDEX yourindexname PART1 VALUES('DALLAS'), PART2 VALUES('LA'), PARTn VALUES('ZZZ');

Caution: according to the book it will put the index REORG pending status! Then you must do a REORG. Try this first on a test system... : )







John Piccoli cc: Sent by: DB2 Subject: Rebalancing Partitioning Keys Data Base Discussion List [...] 4394 92 39_Re: WLM-managed stored procedures & RRS11_Tina Hilton21_Tina.Hilton@BMSUS.COM31_Thu, 22 Mar 2001 13:10:12 -0500392_iso-8859-1 Thanks to everyone who answered. After wading through several manuals, we finally found all the parts and have it up and running. It works even when you're not a monoplex!

Tina

-----Original Message----- From: Aurora Dell'Anno [mailto:Aurora_E_DellAnno@CANDLE.COM] Sent: March 22, 2001 9:12 AM To: DB2-L@RYCI.COM Subject: Re: WLM-managed stored procedures & RRS [...] 4487 52 29_Re: PDSNAME in SYSIBM.SYSDBRM15_Billings, Linda30_linda.billings@DOA.STATE.WI.US31_Thu, 22 Mar 2001 12:33:04 -0600250_- If you copy the DBRMs to a new PDS, it won't hurt anything but if you are parking new DBRMs there when the developers do a precompile then you need to make sure that their bind JCL points to the new DBRM library or they will get -818 or -805. [...] 4540 97 29_Re: PDSNAME in SYSIBM.SYSDBRM0_22_BILL_GALLAGHER@PHL.COM31_Thu, 22 Mar 2001 13:53:17 -0500570_us-ascii One clarification: autobind will do a REBIND of the package or plan, using the information in the SYSSTMT and SYSPACKSTMT tables as input, rather than a BIND, which would use the DBRM as input.

My experience is that the PDSNAME column in SYSPACKAGE and SYSDBRM serve only as documentation of where the source DBRM resided at bind time. Once the package or plan has been bound, DB2 doesn't care where the source DBRM came from, or even if the PDSNAME is still valid. The only concern you should have is if you rely on the contents of PDSNAME to keep [...] 4638 87 18_Re: DB2 SQl Tuning14_Ulrich, Deanna21_Deanna_Ulrich@BMC.COM31_Thu, 22 Mar 2001 12:51:53 -0600733_iso-8859-1 BMC Software has two robust products that can help you with your SQL tuning.





The SQL Explorer(tm) for DB2 product enables DBAs and application developers to identify, model and correct problematic SQL statements throughout the application life cycle. Analyzes SQL statements and database structures on local or remote subsystems, and supplies recommendations to optimize application performance. Can be used as an ad hoc tuning tool for programmers developing SQL statements Provides proactive correction of performance problems before an application reaches production Allows what-if analysis to model changes to SQL statements Takes the guesswork out of simulating production conditions in a [...] 4726 206 39_Re: Is the best REORG the one not done!64_Todd Burch *****************************************************22_tburch@CDBSOFTWARE.COM31_Thu, 22 Mar 2001 13:05:56 -0600607_ISO-8859-1 Jim, great topic. I'll jump in here.

I propose that the only DB2 database (read: table or tablespace) that you can design that will never need a REORG is one that will never be updated. Ever.

End user wait time is not the name of the game in today's business climate. Quick response. That's the ticket. Let's face it. DB2's goal today is to maintain a leadership position via throughput, and not cleaning up after itself or looking forward so that the next SQL SELECT, INSERT, UPDATE or DELETE encounters pristine conditions (although those two are very connected). And that's [...] 4933 121 25_Re: AW: DBM1 Service Wait19_CHRISTOPHER STARNES14_b05cxs@FDS.COM31_Thu, 22 Mar 2001 14:20:19 -0500483_iso-8859-1 Thanks for the reply.

The answer I was given is, neither. Supposedly, we use an alternative solution called MIMS. Where were you headed with the GRS-mode Star vs. Ring?

Thanks,

Chris





Roland Schiradin cc: Sent by: DB2 Data Subject: AW: DBM1 Service Wait Base Discussion List



03/22/01 11:56 AM Please respond to DB2 Data Base Discussion List [...] 5055 170 47_Re: Using Identity_Val_Local() function in SQLJ14_Richard Yevich17_ryevich@YAHOO.COM31_Thu, 22 Mar 2001 11:37:09 -0800313_us-ascii All,

SQLJ is not IBM DB2 SQL, but an OPEN SQL Standard that MUST be compatible across vendors. There are a few SQL constructs that are not supported, even though they are part of the ANSI SQL Standard. It is fully documented in the IBM manuals as to what SQL is part of SQLJ and what is not. [...] 5226 25 12_explain info8_joe cool20_coldronald@YAHOO.COM31_Thu, 22 Mar 2001 11:27:48 -0800366_us-ascii Is there a way to get explain info for a plan without re-binding that plan (i.e. on initial bind, EXPLAIN(NO) was used) ? I want to have a before picture of what paths a bunch of plans are taking due to a massive re-bind effort for COBOL II to COBOL LE conversion. I did printout SYSPLANDEP info for the affected plans, but that's not detailed enough. [...] 5252 43 17_ABEND code = S04E14_Grantham, John24_GRANTHAJ@DOE.STATE.FL.US31_Thu, 22 Mar 2001 14:49:45 -0500790_iso-8859-1 After running a RECOVER TABLESPACE and CHECK DATA on related tablespaces, we are getting the following error when accessing the recovered tablespace with Princeton Softech Relational Tool:

LSCX041 **** ERROR **** ABEND occurred in DSQLFTCH(DSQLDB2),offset 000106 Program terminated by operating system. ABEND code = S04E A non-C or system routine was running at the time of ABEND Calling trace: Function Line Offset Context DSQLFTCH(DSQLDB2) ---- 000106 @@587369(DSQL) == "DSQL_Fetch" 1074 000A06 ATFETCH(DMFETCH) 562 002456 @@548692(EDDRIV) == "Initialize" 2245 004EB0 EDEDITAD(EDDRIV) 302 0007B0 MNGORUN(PDPCALL) 1066 000470 @@136064(PDPTLST) == "LC_SelTbl" 381 00029C @@285403(ISPLIST) == "ExecLineCmds" 771 000B96 CMISPFL(ISPLIST) 321 000C6C MNTBSLS(PDPTLST) 305 [...] 5296 32 16_Large OAM tables15_Tonmoy Dasgupta32_tonmoy.dasgupta@MAIL.STATE.AR.US31_Thu, 22 Mar 2001 13:54:02 -0600626_iso-8859-1 DB2 V6.1/OS390 2.6

We are a user of OAM/ImagePlus. To alleviate response time problems we are considering moving a sizable chunk of our optical data to DB2 tables on DASD. I am thinking of creating super-sized GROUP** databases using large partitioned tablespaces for the 32K table. The table is likely to be 105 GB. I was considering using the existing unique index keys towards the partitioning key exactly as they are (OTCLID integer,OTNAME varchar(44), OTSEG smallint). Has anyone out there done this before? This topic was discussed on the list during Nov 1999 but but none of the respondents were [...] 5329 58 16_Re: explain info13_Derez D. Lusk20_ddlusk@HOUSEHOLD.COM31_Thu, 22 Mar 2001 14:09:43 -0600671_us-ascii if you have platinum's plan analyzer..... gets the info from your dbrm





joe cool cc: Sent by: DB2 Subject: explain info Data Base Discussion List



03/22/01 01:27 PM Please respond to DB2 Data Base Discussion List











Is there a way to get explain info for a plan without re-binding that plan (i.e. on initial bind, EXPLAIN(NO) was used) ? I want to have a before picture of what paths a bunch of plans are taking due to a massive re-bind effort for COBOL II to COBOL LE conversion. I did printout SYSPLANDEP info for [...] 5388 62 16_DSN1COPY problem0_22_Rohn.Solecki@MTS.MB.CA31_Thu, 22 Mar 2001 14:24:53 -0600542_iso-8859-1 I'm in the middle of a DR Test, and it's come to a standstill because of a DSN1COPY problem. We have 4 tables that we have to DSN1COPY to load at the DR site (in production they are on a DB2 subsystem that is not part of the DR).

(DB2 V6.1, OS390 2.8) Problem Description: create tables at DR site, using DDL generated in production at time of last table change(s). Change DDL to use new DB name and stogroups do a DSN1PRNT of the full image copy files to get DBID, OBID & PSID select from SYSIBM.SYSTABLESPACE for new [...] 5451 55 16_Re: explain info12_Stone, Lynda29_Lynda.Stone@LIBERTYMUTUAL.COM31_Thu, 22 Mar 2001 15:35:18 -0500416_- Yes, you can do a BINDCOPY to a different collection and have EXPLAIN(YES) on to capture the access paths. We have a "fake" collection ID out there we use frequently to evaluate access paths without interfering with the "live" packages.

You can execute a BINDCOPY from the DB2I panel for one package at a time by specifying COPY on the new bind package panel and filling in the appropriate parameters. [...] 5507 15 39_Re: Is the best reorg the one not done!13_Shauna Hadden24_shauna.hadden@BCBSKS.COM31_Thu, 22 Mar 2001 14:22:35 -0600294_- Been there done that. I prefer DB2.

I can still remember the number of hours spent coding unload and load cards and changing schemas....only to change them back again. Not to mention the number of times programmers messed up the lock bytes and we had to pull our magic to fix it. [...] 5523 64 21_Re: ABEND code = S04E11_Robert Jans26_robert_jans@ALBERTSONS.COM31_Thu, 22 Mar 2001 13:40:08 -0700475_iso-8859-1 Would you by chance be running OS/390 V2R10, very recently applied with DB2 V6.1? Also, does DNSTEP2 and SPUFI also fail? We have a similar problem at one of our data centers. IBM is currently working on it....

Robert Jans Albertsons, Inc.



-----Original Message----- From: Grantham, John [mailto:GRANTHAJ@DOE.STATE.FL.US] Sent: Thursday, March 22, 2001 12:50 PM To: DB2-L@RYCI.COM Subject: ABEND code = S04E [...] 5588 58 42_Re: AW: Multiple datasets for a tablespace14_Craig McKellar26_craig.mckellar@BIGPOND.COM31_Fri, 23 Mar 2001 07:47:01 +1100299_iso-8859-1 Thanks for the reply. In my situation, the second dataset has never existed and as such would not be registered in syscopy. The 2nd dataset was trying to be created by an application UOW but failed due to space constraints yet the imagge copy job expected there to be a 2nd dataset. [...] 5647 81 42_Re: AW: Multiple datasets for a tablespace10_Bill Disch23_bill.disch@GENMILLS.COM31_Thu, 22 Mar 2001 15:24:03 -0600571_iso-8859-1 Craig, Here's my guess as I have had problems recovering from an INCREMENTAL copy after a successful recovery of a FULLCOPY when the INCREMENTAL copy includes the first rows written to the 2nd/3rd/4th dataset. The log contains records in sequence of SUBTYPE (DATASET OPEN) ... (FORMAT PAGE OR MODIFY SPACE MAP) ... (INSERT IN A DATA PAGE) ... etc. The RBA and LSRN are written for each record and since this is an update to the table, SYSLGNRX is also updated with the RBA. Even though the dataset did not exist, the log and the catalog will have the RBA [...] 5729 78 21_Re: ABEND code = S04E14_Grantham, John24_GRANTHAJ@DOE.STATE.FL.US31_Thu, 22 Mar 2001 16:41:44 -0500485_iso-8859-1 We are running DataBase 2 Version 5 for OS/390. Yes, SPUFI fails.

-----Original Message----- From: Robert Jans [mailto:robert_jans@ALBERTSONS.COM] Sent: Thursday, March 22, 2001 3:40 PM To: DB2-L@RYCI.COM Subject: Re: ABEND code = S04E



Would you by chance be running OS/390 V2R10, very recently applied with DB2 V6.1? Also, does DNSTEP2 and SPUFI also fail? We have a similar problem at one of our data centers. IBM is currently working on it.... [...] 5808 80 20_Re: DSN1COPY problem16_RICHARD E MOLERA25_RICHARD.E.MOLERA@SLMA.COM31_Thu, 22 Mar 2001 16:48:29 -0500733_us-ascii Rohn,

You need to extract the OBID value from SYSIBM.SYSTABLES not SYSIBM.SYSTABLESPACE.

Only DBID and PSID come from SYSTABLESPACE.

Try that and re-run your DSN1COPY.

Rick Molera











Rohn.Solecki@MTS.MB.CA on 03/22/2001 03:24:53 PM

Please respond to DB2 Data Base Discussion List

To: DB2-L@RYCI.COM cc: (bcc: RICHARD E MOLERA/SallieMae) Subject: DSN1COPY problem





I'm in the middle of a DR Test, and it's come to a standstill because of a DSN1COPY problem. We have 4 tables that we have to DSN1COPY to load at the DR site (in production they are on a DB2 subsystem that is not part of the DR). [...] 5889 20 45_Remote DB2 OS/390 grant to DB2 on NT in batch13_Kurt Sahlberg26_Kurt.Sahlberg@EXPERIAN.COM31_Thu, 22 Mar 2001 15:50:00 -0600324_US-ASCII Greetings esteemed list, Is any one on the list doing remote DB2 grants in batch ?. I'm able to do the grants via SPUFI or QMF but have not found a way to do this in batch. When I bind a package to the remote server in batch I would like to also do the grant execute. Any and all suggestions welcome. TIA Kurt [...] 5910 58 33_Re: Rebalancing Partitioning Keys16_Rasmussen, Steen22_Steen.Rasmussen@CA.COM31_Thu, 22 Mar 2001 21:50:18 -0000297_- Sorry folks - but since CDB is mentioned, I cant resist.

Partition Expert from CA/PLATINUM can give you the LIMITKEYS too. You just have to tell the size or number of records or number of partitions - and you're done. Partition Experts does more than this - but thats another story. [...] 5969 72 20_Re: Large OAM tables15_Billings, Linda30_linda.billings@DOA.STATE.WI.US31_Thu, 22 Mar 2001 15:52:27 -0600545_iso-8859-1 Hi, Tonmoy,

Been there, done that. We are DB2V6.1. Read the OAM PISA guide. IBM says that you can either use the OTCLID column OR the OTNAME as the partitioning key. I chose the OTNAME since we only have one collection per group. Adding the OTCLID to the partitioning key would buy us nothing since it has a cardinality of 1. I have them defined as LARGE tablespaces right now but want to use DSSIZE > 4G. See APARs OW41955 and OW43750. I think they have been resolved but am not sure. I haven't had the chance to work on [...] 6042 23 16_group by clause.17_ravi kumar hassan18_ravibh@HOTMAIL.COM31_Thu, 22 Mar 2001 15:43:06 -0600361_- Hi Folks,

We are using db2 v6, on os390. i was trying to run a query using group by clause. but some one saying that i can use GROUP BY 1,2,3... instead of using selected column names..... but when i tryt to use GROUP BY 1,2,3 it is kicking me out. can anybody confirm this. can i use it or not.... or is there anyway i can use GROUP BY 1,2,3.... [...] 6066 115 29_Re: PDSNAME in SYSIBM.SYSDBRM15_Billings, Linda30_linda.billings@DOA.STATE.WI.US31_Thu, 22 Mar 2001 15:53:40 -0600534_- Thanks for the clarification. I wasn't sure what was involved with autobind but thought it was worth a mention.

Linda

-----Original Message----- From: BILL_GALLAGHER@PHL.COM [mailto:BILL_GALLAGHER@PHL.COM] Sent: Thursday, March 22, 2001 12:53 PM To: DB2-L@RYCI.COM Subject: Re: PDSNAME in SYSIBM.SYSDBRM



One clarification: autobind will do a REBIND of the package or plan, using the information in the SYSSTMT and SYSPACKSTMT tables as input, rather than a BIND, which would use the DBRM as input. [...] 6182 38 11_DB2 connect12_Le BD Nguyen20_lnguyen@AHOLDUSA.COM31_Thu, 22 Mar 2001 16:48:26 -0500368_us-ascii Hello all,

I installed db2 connect (v6) on NT and used the client configuration assistant to configure a remote connection to OS/390. Everything went well, ie. I was able to test the connection and bind the utilities packages on the DB2 OS/390. Then I used the command center to test if I am able to pull data from the mainframe. No problem here. [...] 6221 24 16_clob limitation-23_Luis Paulo Soares Dutra31_luispaulo@FABRICADIGITAL.COM.BR31_Thu, 22 Mar 2001 19:13:40 -0300339_iso-8859-1

Hi, I am trying to insert a text in an DB2 CLOB field through odbc with the standard sql command: insert into mytable values... My insertion works fine up to 33kb. Above 33kb of text a mistake occurs. My question is: "Is there any limitation with the ODBC with the CLOB field in the insertion of values above 33kb? [...] 6246 90 38_Re: Multiple datasets for a tablespace15_Murley, Michael22_Michael_Murley@BMC.COM31_Thu, 22 Mar 2001 16:16:51 -0600540_iso-8859-1 The data set number will only show up in the SYSCOPY entry if you are making data set level image copies.

I'm not sure if the ISV copy utility you're referring to is ours, but since that's the only one I know anything about, I'll answer as though you're using it. BMC COPY PLUS for DB2* will recognize that there should be another data set based on the last space map in the first data set. If it indicates that there are more pages active than would fit on the current data set, we'll expect to see another one when [...] 6337 21 39_Track vs Cylinder allocation threashold0_22_scott.goodell@WCOM.COM31_Thu, 22 Mar 2001 16:21:22 -0600311_us-ascii Hey listers....

Anyone out there know the rules DB2 OS/390 uses to determine how to allocate the underlying VSAM dataset? Tracks or Cylinders. Seems like I have read this before but I don't recall where. I thought it has something to do with the size of the SECQTY but I just don't recall. [...] 6359 89 16_Re: explain info16_Aurora Dell'Anno28_Aurora_E_DellAnno@CANDLE.COM31_Thu, 22 Mar 2001 22:19:43 +0000383_us-ascii Ron,

or should it be Joe? well I like Snoopy too....

you can either do it yourself (different ways, from DB2I if you're looking at one package at a time or with the BIND PACKAGE xxxxxx playing with the collid value in the package for whole collections)

or, you can use 3rd party tools about which lots of our colleagues might tell you a lot about. [...] 6449 106 61_Re: Problem with FETCH FIRST n ROWS ONLY and ORDER BY cla use14_Michael Hannan24_mhannan@C031.AONE.NET.AU31_Fri, 23 Mar 2001 09:13:21 +1000581_us-ascii Phil,

The manuals indicate that FETCH FIRST n ROWS will trigger the OPTIMIZE clause on OS/390 platform. I would assume same is true for non OS/390.

Michael Hannan

>From: "Grainger, Phil" >Subject: Re: Problem with FETCH FIRST n ROWS ONLY and ORDER BY cla use >To: DB2-L@RYCI.COM > >I know that this is NOT OS390 DB2, but just a random thought > >Does FETCH FIRST n ROWS also trigger OPTIMISE FOR n ROWS?? > >If it DOESN'T then DB2 will be assuming you want all the rows and may be choosing a sort over the use of an index. [...] 6556 51 56_Problem with FETCH FIRST n ROWS ONLY and ORDER BY clause14_Michael Hannan24_mhannan@C031.AONE.NET.AU31_Fri, 23 Mar 2001 09:27:21 +1000581_us-ascii Philip,

Try to force the use of your index using OPTIMIZE FOR 1 ROW.

Michael Hannan

>From: "Philip Nelson (DBA)" >Subject: Problem with FETCH FIRST n ROWS ONLY and ORDER BY clause >To: DB2-L@RYCI.COM > >I have a query of the form - > >SELECT lots_of_columns FROM table ORDER BY column1 DESC FETCH FIRST 10 ROWS ONLY; > >on a table containing 3 million rows > >I try to run this and it just never replies despite the fact column1 has a descending index on it. > >I remove the order by clause and it returns instantly. > >I [...] 6608 52 23_L.A. Area Quest Seminar10_Deb Jenson20_deb.jenson@QUEST.COM31_Thu, 22 Mar 2001 16:28:39 -0600549_- Please join Quest Software on Tuesday, April 10th for a free DB2 technical seminar and lunch on board the Queen Mary in Long Beach, CA. The subject matter focuses on the differences between DB2 on the mainframe and DB2 UDB running on Unix/NT. The seminar content is designed to be appropriate for developers, DBAs and IT managers. This information presented will also be very useful for non-DB2 shops that are considering the introduction of DB2 into their environment and are curious about the requirements for managing this new technology. [...] 6661 107 80_Re : Query Help (-RE: Cost of using DATA CAPTURE (CHANGES) ?) (Ch anged Subject)14_Michael Hannan24_mhannan@C031.AONE.NET.AU31_Fri, 23 Mar 2001 09:23:20 +1000467_us-ascii Sanjeev & Demetris,

Really should sort out the simple obvious problem first. BETWEEN is not to be used with other than constants (Stage 2 on OS/390).

Change: WHERE table2.CUSTAGE BETWEEN FROM_AGE AND TO_AGE to WHERE table2.CUSTAGE >= FROM_AGE AND table2.CUSTAGE <= TO_AGE

This is called a theta join in theoretical terms (a partial cartesian or cross product). It can still work with nested loop join but can't use merge scan join. [...] 6769 107 20_Re: DSN1COPY problem0_22_Rohn.Solecki@MTS.MB.CA31_Thu, 22 Mar 2001 16:40:20 -0600530_us-ascii Bingo! Thanks Richard

PS: talk about "not seeing the trees for the forest"









RICHARD E MOLERA @RYCI.COM> on 2001/03/22 03:48:29 PM

Please respond to DB2 Data Base Discussion List

Sent by: DB2 Data Base Discussion List



To: DB2-L@RYCI.COM cc: Subject: Re: DSN1COPY problem



Rohn,

You need to extract the OBID value from SYSIBM.SYSTABLES not SYSIBM.SYSTABLESPACE. [...] 6877 47 20_Re: group by clause.11_Moore, Tony15_TMoore@IKON.COM31_Thu, 22 Mar 2001 17:06:09 -0500355_iso-8859-1 Kumar, I'm a bit behind on DB2 releases, but at least on V4, you can use the column number on the ORDER BY statement but not on the GROUP BY statement.

HTH, Tony

-----Original Message----- From: ravi kumar hassan [mailto:ravibh@HOTMAIL.COM] Sent: Thursday, March 22, 2001 4:43 PM To: DB2-L@RYCI.COM Subject: group by clause. [...] 6925 39 49_Re: Remote DB2 OS/390 grant to DB2 on NT in batch14_Manas Dasgupta25_manas.dasgupta@PFSFHQ.COM31_Thu, 22 Mar 2001 17:56:35 -0500348_iso-8859-1 Kurt:

You can bind DSNTEP2 to your NT box and then use DSNTEP2 . You have to CONNECT to the NT location before you do the grants.

OR

When you installed QMF tables in NT you probably used DSQEXSQL proc to run the DDLs. I have not tried it but I don't see any reason why you can't use the same to do your grants. [...] 6965 25 16_Re: explain info12_Gerald Hodge20_ghodge@ATTGLOBAL.NET31_Thu, 22 Mar 2001 16:58:25 -0600367_iso-8859-1 The access path used by a package or plan is stored in the DB2 directory and there is no method to extract it and then to produce an explain. This is because all of the information in the plan table is not need to execute the access path. Binding again will tell you what the access path will be if the bind is done at that time with those resources. [...] 6991 52 49_Re: Remote DB2 OS/390 grant to DB2 on NT in batch13_Kurt Sahlberg26_Kurt.Sahlberg@EXPERIAN.COM31_Thu, 22 Mar 2001 17:22:26 -0600490_US-ASCII Thanks Manas, I will give DSNTEP2 a try and look into the DSQEXSQL proc Regards, Kurt

>>> manas.dasgupta@PFSFHQ.COM 03/22/01 04:56PM >>> Kurt:

You can bind DSNTEP2 to your NT box and then use DSNTEP2 . You have to CONNECT to the NT location before you do the grants.

OR

When you installed QMF tables in NT you probably used DSQEXSQL proc to run the DDLs. I have not tried it but I don't see any reason why you can't use the same to do your grants. [...] 7044 119 61_Re: Problem with FETCH FIRST n ROWS ONLY and ORDER BY cla use19_Philip Nelson (DBA)21_teamdba@ATTGLOBAL.NET31_Thu, 22 Mar 2001 17:27:44 -0600625_us-ascii Seems like the family still has some differences .

Adding the OPTIMIZE clause as well makes all the difference.

Phil N

On Fri, 23 Mar 2001 09:13:21 +1000, Michael Hannan wrote:

>Phil, > >The manuals indicate that FETCH FIRST n ROWS will trigger the OPTIMIZE >clause on OS/390 platform. I would assume same is true for non OS/390. > >Michael Hannan > >>From: "Grainger, Phil" >>Subject: Re: Problem with FETCH FIRST n ROWS ONLY and ORDER BY cla use >>To: DB2-L@RYCI.COM >> >>I know that this is NOT OS390 DB2, but just a random thought >> >>Does FETCH FIRST [...] 7164 46 24_Re: location of DSNTPSMP12_Robert Mills30_robert.mills@CENTRELINK.GOV.AU31_Fri, 23 Mar 2001 11:03:46 +1100402_us-ascii Hi Carl,

The REXX routine DSNTPSMP should be in the library referenced by SYSEXEC in your WLM Proc. See the sample member DSN8WLMP in SDSNSAMP

I have only just got the SPB working with DB2 OS/390 V6 a few weeks ago. The best way to resolve the -430 errors is to look at the error messages displayed in the WLM Proc output, it should give you some clues as to what is wrong. [...] 7211 24 19_Re: Reduce CPU Time15_Bell, Raymond W31_Raymond.W.Bell@TEAM.TELSTRA.COM31_Fri, 23 Mar 2001 11:44:55 +1100385_- Boonie Baker? Presumably that's Bonnie's lesser-known sister.



Raymond PS. Sorry Sanjeev, couldn't resist. ;o)

> -----Original Message----- > From: S, Sanjeev (CTS) [SMTP:SSanjeev@CAL.COGNIZANT.COM] > Sent: Thursday, 22 March 2001 9:36 pm > To: DB2-L@RYCI.COM > Subject: Re: Reduce CPU Time > ...Apart from this, also look at the article by Boonie Baker... [...] 7236 49 28_Re: Stored Procedure Builder12_Myron Miller22_myronwmiller@YAHOO.COM31_Thu, 22 Mar 2001 17:11:44 -0800561_us-ascii I'm not sure what a LISTDSI is. We're not running DSNTPSMP in TSO. We run it in a WLM managed address space that is connected to RRS. And the WLM region has the datasets where DSNTPSMP is located in the list of datasets. Plus all the other datasets listed in the documentation for running DSNTPSMP are also included. Works just fine. Are you sure you have WLM setup correctly and all of the datasets you need included, including a dataset that contains the REXX. At this point in time, I don't have available the DDNAME that contains the REXX but [...] 7286 91 41_Re: Using an index with the REORG command14_James Campbell29_James.Campbell@HANCORP.COM.AU31_Fri, 23 Mar 2001 12:20:34 +1100397_iso-8859-1 Marcius,

look at sequential access. If an index is used only for random access, then there is little gain in making it the cluster sequence; if it is used for sequential access there can be great gains.

For example: when accessing the table through P_SHIPTO, what is the liklihood that, having retrieved a row you will then access the row next in the index sequence? [...] 7378 48 43_Re: Track vs Cylinder allocation threashold14_James Campbell29_James.Campbell@HANCORP.COM.AU31_Fri, 23 Mar 2001 12:20:49 +1100292_iso-8859-1 My memory is that if both PRIQTY and SECQTY are at least a cylinder (720 on 3390's) then VSAM allocation will be in cylinders. Of course, we always use multiples of 720 when we want cylinder allocation so I don't remember what happens if you used, say, PRIQTY 800 SECQTY 800. [...] 7427 52 20_Re: group by clause.14_James Campbell29_James.Campbell@HANCORP.COM.AU31_Fri, 23 Mar 2001 12:21:41 +1100522_iso-8859-1 GROUP BY col-number is not documented as valid in V6. Nor is it documented as valid in V7.

The only way I think you CAN use column numbers is to rename the columns:

SELECT "1", COUNT(*) FROM (SELECT some_column AS "1" FROM ... WHERE ... ) GROUP BY "1"



/* standard disclaimer */ James Campbell Hansen Corporation -----Original Message----- From: ravi kumar hassan [mailto:ravibh@HOTMAIL.COM] Sent: Friday, 23 March 2001 8:43 To: DB2-L@RYCI.COM Subject: [DB2-L] group by clause. [...] 7480 40 28_Java and DB2 (one last time)15_Bell, Raymond W31_Raymond.W.Bell@TEAM.TELSTRA.COM31_Fri, 23 Mar 2001 13:04:39 +1100374_- Apologies up front for this again, which no doubt some of you are finding tedious. (by way of compensation, imagine how I feel).

My greatest thanks to those of you who have responded, both publicly and privately, with help. Especially those of you who provided dbm cfg output etc. From comparing their details with mine, I can't see anything that's different. [...] 7521 38 49_Major problem with LOAD utility and DB2 for Linux16_Dylan Vanderhoof20_DylanV@SEMAPHORE.COM31_Thu, 22 Mar 2001 18:42:40 -0800468_iso-8859-1 Hello All, I don't see a lot of Linux admins on here, but I wanted to hit the list with this anyways. I've seen this behavior on all patchlevels of DB2 V7+ for Linux, and there's no APAR for it yet.

It looks like the LOAD command is broken, on two boxes now, when I attempt to do a LOAD with fileoptions IDENTITYOVERRIDE, it will kill the DBM. Not sure if its the identity option of what, but I've tried new installs, other servers, everything. [...] 7560 137 84_Re: Re : Query Help (-RE: Cost of using DATA CAPTURE (CHANGES) ?) (Ch anged Subject)16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Fri, 23 Mar 2001 10:11:05 +0530310_iso-8859-1 Good to see you back Michael after a long time. I think you took those time to explore theta join...just joking.

Thanks for the clarification. I saw one more mail which states that the join condition is missing, if at all it is required.

Thanks again for coming up with new thing [...] 7698 74 20_Re: group by clause.16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Fri, 23 Mar 2001 10:19:19 +0530590_- Good new trick James just for the sake of showing number in GROUP BY clause. I think its good convincing capability.

Thanks!!

Regards, Sanjeev

> -----Original Message----- > From: James Campbell [SMTP:James.Campbell@HANCORP.COM.AU] > Sent: Friday, March 23, 2001 6:52 AM > To: DB2-L@RYCI.COM > Subject: Re: group by clause. > > GROUP BY col-number is not documented as valid in V6. Nor is it > documented > as valid in V7. > > The only way I think you CAN use column numbers is to rename the columns: > > SELECT "1", > COUNT(*) > FROM (SELECT some_column AS "1" [...] 7773 150 32_Re: Java and DB2 (one last time)18_Bruce W Williamson26_Bruce.Williamson@NT.GOV.AU31_Fri, 23 Mar 2001 15:52:39 +0930365_us-ascii Howzit Raymond?

You're obviously not having a lot of joy and I'm not sure that I can help you but I'll try anyway.

I'm using DB2 UDB v7.1 but hopefully I can point you in the right direction.

To find the JDK and JRE that were installed with DB2 (assuming they were) have a look in the following subdirectories at the readme file: [...] 7924 14 55_Daryl G Spletzer/Pr/Consumers/CMS is out of the office.16_Daryl G Spletzer24_dgspletzer@CMSENERGY.COM31_Fri, 23 Mar 2001 02:17:16 -0500365_us-ascii I will be out of the office from 03/23/2001 until 03/26/2001.

I will respond to your message when I return.

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 7939 15 44_Pamela Harris/IT/SEARS is out of the office.0_17_pharri1@SEARS.COM31_Fri, 23 Mar 2001 01:26:33 -0600447_us-ascii I will be out of the office from 03/23/2001 until 03/26/2001.

If you need assistance with DB2, use PIN # 7270526, for informix/sqlserver use PIN # 7270525, network issues use PIN # 7270063.

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 7955 17 41_Sharon Fields/PCSHS is out of the office.0_23_Sharon.Fields@PCSHS.COM31_Fri, 23 Mar 2001 00:56:04 -0700520_us-ascii I will be out of the office starting 03/22/2001 and will not return until 03/27/2001.

I will respond to your message when I return. If you require DBA support in the interim, you may contact Debra Kopecky (x2376), Ben Richardson (x8553), Myron Perlmutter (x8506)

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 7973 115 20_Re: Large OAM tables14_Ruediger Kurtz28_ruediger.kurtz@HUK-COBURG.DE31_Fri, 23 Mar 2001 10:42:47 +0100666_iso-8859-1 Tonmoy,

we're currently in the process of partitioning our oam-tablespaces. Just like Linda we chose OTNAME as the partitioning key because OTCLID has cardinality of 1. We set out to eventually have 26 partitions, partitioning from 'A9999...' (part 1) to '99999...' (part 26). In our test-environment we successfully partitioned our oam-tablespaces and will have a go at one of the minor production ones sometime in the near future; what we dread however is the amount of sort-space in the 32k-sort-tablespaces (the oam-tablespaces are currently clustered by OTCLID, OTNAME, OTSEG, but the new clustering will be by OTNAME, OTSEG, OTCLID) and [...] 8089 92 32_Re: Java and DB2 (one last time)14_Graham Hollick27_Graham.Hollick@SWISSCOM.COM31_Fri, 23 Mar 2001 10:33:42 +0100605_iso-8859-1 Hi Raymond,

I haven't been following this thread, so I'm not sure if you already know this, but assuming that DB2 is using the same route to java as everything else. This is how it is on an NT machine. It can't be that different on a W98 one. From a DOS window run "java -version" this will tell you what version you are using. This is generally being found via the %CLASSPATH% variable. "echo %CLASSPATH%" The normal way for setting environment variables such as CLASSPATH is from the %SystemRoot%\system32\winmsd.exe command, Environment tab. On W98 it could be the autoexec.bat. [...] 8182 180 41_BSDS Resizing for new BPs in DB2 V6 OS39012_Aedan Molony20_Aedan.Molony@PSIR.IE31_Fri, 23 Mar 2001 10:04:22 +0000307_iso-8859-1 Hello fellow DB2-ers from a LISTSERV first-time submitter (I've learnt a lot since I've joined in last few days & I've worked as a DB2/DBA for all of 7 years!).

Anyway to the point...can anyone assist me with the following please (we've looked at the manuals and are none the wiser): [...] 8363 103 21_Re: ABEND code = S04E12_Isaac Yassin20_yassini@BEZEQINT.NET31_Fri, 23 Mar 2001 12:43:35 +0200695_iso-8859-1 Hi, Did you try repair levelid on that TS ?

Isaac Yassin DBMS & IT Consultant yassini@bezeqint.net isaacyassin@yahoo.com ----- Original Message ----- From: "Grantham, John" Newsgroups: bit.listserv.db2-l To: Sent: Thursday, March 22, 2001 11:41 PM Subject: Re: ABEND code = S04E



> We are running DataBase 2 Version 5 for OS/390. Yes, SPUFI fails. > > -----Original Message----- > From: Robert Jans [mailto:robert_jans@ALBERTSONS.COM] > Sent: Thursday, March 22, 2001 3:40 PM > To: DB2-L@RYCI.COM > Subject: Re: ABEND code = S04E > > > Would you by chance be running OS/390 V2R10, very recently applied with DB2 > [...] 8467 78 20_Re: DSN1COPY problem12_Isaac Yassin20_yassini@BEZEQINT.NET31_Fri, 23 Mar 2001 12:51:50 +0200538_iso-8859-1 Hi, 1. Repair levelid. 2. Check obid (for tables) again - from systables not systablespace. 3. Look for changes of table definitions ! - I once encountered a table in production that someone has added a column to , without doing the same at test before. - When doing dsn1copy I got the same symptoms. Few months ago I put in the document a REXX to do DSN1COPY easier. I plan on puting a new version (with IBM REXX-DB2), but this will take some time. Meanwhile you can look for the logic in there of what I check and which [...] 8546 71 11_Re: DSNDB0714_Vassie, Edward21_Edward_Vassie@BMC.COM31_Fri, 23 Mar 2001 05:07:23 -0600390_iso-8859-1 DSNDB07 gets used for two things: 1) 'Overflow' for sorts that cannot complete in memory 2) Materialisation space for intermediate result sets, for those queries that need intermediate results.

It is indeed true that to tune sort usage you should also look at the bufferpool used for DSNDB07, the SRTPOOL ZPARM, and also RMF records from a Performance class 9 trace. [...] 8618 219 19_Re: Reduce CPU Time12_Isaac Yassin20_yassini@BEZEQINT.NET31_Fri, 23 Mar 2001 13:23:29 +0200299_iso-8859-1 Hi, If my memory serves me right, you can go to SAPIENS form 227201 (if they didn't change the number) which defines the table attributes and fix it there (under "row optimization") . By default SAPIENS gives "optimize for 1 row" on online i/o modules but not for batch i/o modules. [...] 8838 31 22_CICS and FOR UPDATE OF22_Claudio Meluzzi Mendes18_p000002@BEG.COM.BR31_Fri, 23 Mar 2001 08:51:47 -0300465_iso-8859-1 Craig Mullin's DB2 Developer's Guide, page 213 states: "The FOR UPDATE OF clause causes a lock to be taken on the data page when it is fetched, ensuring that no other process can modify the data before your program processes it." However, on the same page a CAUTION box says: "When programming pseudo-conversation CICS transactions, FOR UPDATE OF is not sufficient to ensure integrity. A save and compare must be done prior to any update activity". [...] 8870 64 43_Re: Track vs Cylinder allocation threashold14_Scott Trometer22_scott.trometer@RCI.COM31_Fri, 23 Mar 2001 07:01:55 -0500653_iso-8859-1 I have tested this at our shop...680 seems to be the magic number here (on 3390). Anything less on primary or secondary allocated in tracks.

-----Original Message----- From: James Campbell [mailto:James.Campbell@HANCORP.COM.AU] Sent: Thursday, March 22, 2001 8:21 PM To: DB2-L@RYCI.COM Subject: Re: Track vs Cylinder allocation threashold



My memory is that if both PRIQTY and SECQTY are at least a cylinder (720 on 3390's) then VSAM allocation will be in cylinders. Of course, we always use multiples of 720 when we want cylinder allocation so I don't remember what happens if you used, say, PRIQTY 800 SECQTY 800. [...] 8935 104 48_DB2 UDB V7.1 Installation Path on UNIX (Solaris)12_Peter Horner27_peter.horner@JULIUSBAER.COM31_Fri, 23 Mar 2001 13:26:56 +0100374_us-ascii Hi List

this question is on V7.1 on the SUN Solaris OS 5.8

Is there a way to change the installation-path ? (default is /opt/IBMdb2 ....)

Since you are able to set the directory for the instance(s), I assume there must be a way to set the path by the installation ....

As of now I move all the files and use a softlink (ln -s ....) [...] 9040 73 26_Re: CICS and FOR UPDATE OF13_Terry Purcell25_Terry_Purcell@YLASSOC.COM31_Fri, 23 Mar 2001 06:36:17 -0600386_iso-8859-1 Claudio,

In psuedo-conversational CICS, the data is retrieved (with FOR UPDATE OF), displayed on the screen to the user and the transaction completes releasing all locks.

Therefore between the time the data is displayed on the screen and the user updates the data, CICS had released all locks, and thus any other process could sneak in and update the row. [...] 9114 57 21_DB2 Connect to DB2 V613_Kathy Czepiel30_KathleenCzepiel@GROCERYBIZ.COM31_Fri, 23 Mar 2001 06:46:56 -0600309_us-ascii For those DB2 Connect Gurus out there, I would appreciate any help you can throw my way. I have 3 DB2 OS/390 subsystems V6 running on a 2.9 system, two of which can talk to DB2 Connect from a unix box, one which cannot.

For the one that cannot:

The mainframe side looks like this: [...] 9172 115 45_Re: BSDS Resizing for new BPs in DB2 V6 OS39012_Jeff Frazier26_Jeffrey_Frazier@WENDYS.COM31_Fri, 23 Mar 2001 08:22:21 -0500424_iso-8859-1 We did not resize our BSDS's and had no problems. As far as how to doi would use IDCAM's define new BSDS's with new size, Repro from current to new, then Idcam's rename.







Aedan Molony @RYCI.COM> on 03/23/2001 05:04:22 AM

Please respond to DB2 Data Base Discussion List

Sent by: DB2 Data Base Discussion List [...] 9288 120 47_Re: Using Identity_Val_Local() function in SQLJ10_Roger Hecq19_Roger.Hecq@MSDW.COM31_Fri, 23 Mar 2001 08:38:48 -0500568_us-ascii Thanks. We opted to do a Select from SysDummy1, which accomplished the purpose.

"Sinha, Abhijit" wrote:

> Roger, > > We had the same issue here, i.e trying to get the just-inserted > identity-value. The SET does not work; gives the same error. So I did the > following and it works great: > > #sql { > INSERT INTO MYTAB1 (COL1, COL2) VALUES (:colval1, :colval2) > }; > > COL1 and COL2 are other columns, not the identity column of course. > > Immediately after this statement: > > #sql { > SELECT IDENTITY_VAL_LOCAL() > INTO :myHost > FROM [...] 9409 118 19_Re: Reduce CPU Time13_Terry Purcell25_Terry_Purcell@YLASSOC.COM31_Fri, 23 Mar 2001 07:34:25 -0600385_iso-8859-1 Rick,

I am intrigued by your suggestion to use RELEASE(DEALLOCATE) for CICS. Note I am no CICS expert.

Does your suggestion imply that there are multiple commits within a transaction? If not then all locks, sequential detection and index lookaside tracking will be reset at the end of the transaction anyway, and not carried onto the next (aren't they?). [...] 9528 67 28_Re: Stored Procedure Builder11_Hayden, Lee18_Lee_Hayden@CSX.COM31_Fri, 23 Mar 2001 08:43:05 -0500529_iso-8859-1 The DSNTPSMP proc has several features that are not functional that try to use TSO features. LISTDSI is one, TSO delete (for member delete out of source lib) is another. While the product does "work", it certainly does not seem ready for prime time. We spoke with IBM support on this issue and there is not fix in the immediate future, (at least in V6). The upshot of this is that you can "USE" the GUI stored procedure builder, but you cannot administer the objects from it. (some functions simply do NOT work). [...] 9596 20 43_Re: Track vs Cylinder allocation threashold10_Max Scarpa16_mscarpa@CESVE.IT31_Fri, 23 Mar 2001 14:39:45 +0100428_us-ascii Hi all...if I can....

here there are some cosnideration DB2 allocation (trks vs cyls).....

http://www.platinum.com/dbtips/tps_os12.htm

HTH

Max Scarpa

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 9617 168 20_Re: Large OAM tables15_Billings, Linda30_linda.billings@DOA.STATE.WI.US31_Fri, 23 Mar 2001 07:53:19 -0600574_iso-8859-1 Hi, Ruediger, We have two of IBM's imaging applications running here, Visual Info and Imageplus (FAF and IODM). I know that the customer that uses Visual Info can have a hundred or so segments for one document but I haven't seen any problems with sorting. We have 720 3390-"cylinders" (We use Raid so who knows what it really is.) allocated to the 32K sort data sets. I think that was increased just recently though because we are implementing the 8k and 16k bufferpools for other applications. Since there are no 8k and 16k sort data sets they all use 32k. [...] 9786 62 15_Re: DB2 connect13_Terry McCombs20_tmccomb@SEDGWICK.GOV31_Fri, 23 Mar 2001 08:11:53 -0600568_iso-8859-1 It is possible to use collections other than NULLID exactly as you described here, for client accesses, but I, too, have not been able to get CLP to do it. I assume CLP does not use the db2cli.ini file. Having clients use different packagesets was extremely helpful to me, however, just to keep track of what package is what version of CAE, and who is using it. You could bind to NULLID for the version you are using and route everyone else through a separate collection. The latter would save you some headaches down the road, after you have multiple [...] 9849 48 16_Re: explain info14_Grainger, Phil20_Phil.Grainger@CA.COM31_Fri, 23 Mar 2001 14:39:57 -0000454_iso-8859-1 I'm glad I wasn't the only one who read the whole question.

As Gerald points out, what was asked for was information about an EXISTING access path in an EXISTING plan that was bound EXPLAIN(NO). Any solution involving EXPLAIN or BIND/REBIND of an alternate plan name will give the access paths that WILL be chosen if the plan in question is rebound. This may NOT be the same as the actual access paths being used by that plan NOW. [...] 9898 53 19_Re: Reduce CPU Time11_Mike Turner29_Michael_Turner@COMPUSERVE.COM31_Fri, 23 Mar 2001 09:42:11 -0500528_ISO-8859-1 Terry

Its nothing to do with multiple commits. Its to do with DB2 thread reuse. You can set up the CICS RCT for high priority or high use transactions so that on CICS task termination the DB2 thread can be reused by another transaction that uses the same DB2 plan. In this case, RELEASE(DEALLOCATE) keeps TS locks, sequential detection and index lookaside tracking control information, as well as some other performance benefits. The downside is that the DBM1 storage for the reused thread tends to grow. [...] 9952 25 19_Re: Reduce CPU Time5_Chris17_isatcjk@YAHOO.COM31_Fri, 23 Mar 2001 06:48:25 -0800553_us-ascii Hi Everybody, Would DB2 Estimator be able to help diagnose this problem? Thanks Chris



===== http://www.geocities.com/isatcjk/index.html

__________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 9978 14 51_Re: Track vs Cylinder allocation threashold (Reply)0_22_scott.goodell@WCOM.COM31_Fri, 23 Mar 2001 08:52:52 -0600320_us-ascii Thanks to all. I have my answer... Appreciate your time.

Scott

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 9993 85 25_Re: DB2 Connect to DB2 V612_tim malamphy20_timalamphy@YAHOO.COM31_Fri, 23 Mar 2001 06:34:06 -0800542_us-ascii verify that you catalog'd the node and DCS entries... ie "list node directory" and "list dcs directory" from the unix side. If the problem doesn't jump out at you, include that output in your next post. tim --- Kathy Czepiel wrote: > For those DB2 Connect Gurus out there, I would > appreciate any help you can > throw my way. I have 3 DB2 OS/390 subsystems V6 > running on a 2.9 system, > two of which can talk to DB2 Connect from a unix > box, one which cannot. > > For the one that cannot: > [...] 10079 149 52_Re: DB2 UDB V7.1 Installation Path on UNIX (Solaris)0_24_markus.schaub@SYSTOR.COM31_Fri, 23 Mar 2001 16:16:57 +0100337_us-ascii hi peter

see manual 'quick beginnings for unix' chapter 6 'installing db2 for solaris'.

if you are using the db2setup command i am not sure, if you can specifiy the installation path, but if you are manually installing the db2 using the db2_install command you will be prompted for an installation directory. [...] 10229 108 19_Re: Reduce CPU Time16_Aurora Dell'Anno28_Aurora_E_DellAnno@CANDLE.COM31_Fri, 23 Mar 2001 15:28:41 +0000398_us-ascii As Terry says, "the DBM1 storage for the reused thread" tends to not simply grow, but rather grow as if fed on mighty white and vitamins, and basked in the lovely florida sun....

the one thing to be looking out for would be the oh-so-nice CICS SOS which I have seen myself when a newbee CICS SP actually set the parm to RELEASE(DEALLOC) without having a clue of what it meant. [...] 10338 39 34_DB2 UDB Migration--Identity Column8_Gary Rue25_Gary.Rue@MAIL.STATE.KY.US31_Fri, 23 Mar 2001 10:45:44 -0500494_iso-8859-1 > We are migrating a system and its data from NT 4.0 to AIX 4.3.3. Both > platforms are using DB2 V7.1. The db2move utility is used to export the NT > database in IXF format, and the IXF data will be FTPed to AIX for import. > > Our problem is the migration of the data in the Identity Column and the > related foreign key data. > > Table A has an identity column specified as ALWAYS and it is the primary > key. Table B has a foreign key constraint to A using this column. > > [...] 10378 32 20_Re: Large OAM tables0_26_mark.walker@CUNAMUTUAL.COM31_Fri, 23 Mar 2001 09:48:42 -0600611_us-ascii Now that Linda has shamed me into responding (blush...blush...)......

I'm also attempting to partition our large OAM tables. I was planning on leaving the clustering index as OTCLID, OTNAME, OTSEG. In our case, OTCLID will have one value as well, but I don't see that as a big problem since we currently have very large non-partitioned tables with this index and we aren't experiencing performance problems. OTNAME is the ascending value based on date, so I will be building the partitions to hold around four months worth of data (with 254 partitions, I'll be gone before we run out ). [...] 10411 17 21_DB2 Connect to DB2 V612_Phil Gunning24_philip.gunning@QUEST.COM31_Fri, 23 Mar 2001 09:23:38 -0600531_- Kathy, Looks like you are not getting off the AIX box. Look in the DB2 log for the subsystem you are trying to connect to and you should see errors there if you are getting to the host. Take a look at the Redbook, Wow! DRDA Supports TCP/IP et al, it is an excellent reference. I have a presentation I can send you on how to catalog databases, setup TCP/IP, etc if you would like. Also, the Quick Beginnings manul has some catalog database examples. If you need additional info, you can run a DDCS trace and/or CLI trace and [...] 10429 132 10_i2 and UDB12_Phil Gunning24_philip.gunning@QUEST.COM31_Fri, 23 Mar 2001 09:30:43 -0600518_ISO-8859-1 FYI.



i2 Announces Advance in E-Business Transaction Performance with i2 TradeMatrix IFS on IBM eServer p680 and DB2 Universal Database

DALLAS--(BUSINESS WIRE)--March 19, 2001--i2 Technologies, Inc. (Nasdaq:ITWO - news), the leading provider of supply chain and marketplace solutions, today announced a program to develop a high volume, industrial strength Internet-based order fulfillment platform that includes real-time order promising, for large-scale e-business environments. [...] 10562 54 20_Re: Large OAM tables15_Billings, Linda30_linda.billings@DOA.STATE.WI.US31_Fri, 23 Mar 2001 10:01:22 -0600324_- Funny, funny....

Now you all have me thinking. We are migrating our old DB2 subsystems into data-sharing pairs so if I want to reconfigure my tables that is the time to do it. I may be revisiting my strategy.

Linda the DBA who will say just about anything (My manager lives in fear.) State of Wisconsin [...] 10617 107 48_Re: DB2EUG: Overhead for Dynamic SQL in UDB/AIX?0_22_BILL_GALLAGHER@PHL.COM31_Fri, 23 Mar 2001 11:04:18 -0500477_us-ascii Ian,

Having the optimizer change all actual values in a dynamic SQL with parameter markers at optimization time would not be a very good idea, particularly in the case when you have a non-uniform distribution of data. For instance, if

select col2, col3 from table1 where col1 = 'A'

returned 50% of the data in my table, I would want the optimizer to choose a table scan as the access path for this particular statement. On the other hand, if [...] 10725 111 38_Bind Error On Calling Stored Procedure11_Anil Mathur26_anil.mathur@PRUDENTIAL.COM31_Fri, 23 Mar 2001 11:42:57 -0500755_us-ascii Hello List:

We are on DB2 V6.1 OS/390.

I am getting a warning message when I bind the main program to call astored procedure, The warning is 'procedure TABLSTOR is not defined' . I have created the procedure statement in SYSROUTINES. Any help is very much appreciated.

DSNX100I -DBB4 BIND SQL WARNING USING BX5241AO AUTHORITY PLAN=(NOT APPLICABLE) DBRM=CLIENTPG STATEMENT=68 PROCEDURE TABLSTOR IS NOT DEFINED DSNT254I -DBB4 DSNTBCM2 BIND OPTIONS FOR PACKAGE = USPRU0_DBXB4.BQBATCHAO.CLIENTPG.() ACTION REPLACE OWNER BX5241AO QUALIFIER BX5241AO VALIDATE RUN EXPLAIN YES ISOLATION RELEASE COPY DSNT255I -DBB4 DSNTBCM2 BIND OPTIONS FOR PACKAGE = USPRU0_DBXB4.BQBATCHAO.CLIENTPG.() SQLERROR NOPACKAGE CURRENTDATA YES DEGREE [...] 10837 21 42_Re: Bind Error On Calling Stored Procedure0_19_Tim.Lowe@STPAUL.COM31_Fri, 23 Mar 2001 10:58:34 -0600527_us-ascii Anil, The default for the PATH in your bind is SYSIBM, SYSFUN, SYSPROC and your qualifier (in this case BX5241AO). But, you created your procedure in schema BQBHPROC. Perhaps you should add a PATH in your bind to point to BQBHPROC?

I hope this helps.

Thanks, Tim

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 10859 76 41_Re: Using an index with the REORG command10_John Hardy22_john_j_hardy@YAHOO.COM31_Fri, 23 Mar 2001 10:29:52 -0600388_- Marcius,

If in doubt (and you sound like you are), don't do it. You could get yourself in a heap of trouble if you cobble together a Reorg job and try to run it without knowing the pitfalls.

You would be better off discussing this with a DBA or DB2 Sysprog at your site before proceeding. You may well find that you don't have the DB2 Authority to run Regorg anyway. [...] 10936 16 43_Re: Track vs Cylinder allocation threashold10_Bill Brown21_db2_dba@BELLSOUTH.NET31_Fri, 23 Mar 2001 12:04:31 -0500465_us-ascii One more thing on trks vs cyls. When pages are formatted, DB2 will format two of the units of allocations when it needs to be done. So if your allocations are allocated in tracks you will have two tracks formatted.

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 10953 102 24_Blob/UDB/ADO/ASP problem11_Mel Collier21_mcollier@TXFB-INS.COM31_Fri, 23 Mar 2001 10:45:49 -0600356_- Dear list,

We are relatively new to DB2 UDB on windows. Our web development group is having the following problem. They are trying to insert a large object into a table with the following definition. The table contains three columns, two character columns and one column defined as a type BLOB with a length of 102400 bytes that is nullable. [...] 11056 100 32_Re: Java and DB2 (one last time)15_Blaney, Bill L.21_Bill.L.Blaney@SSA.GOV31_Fri, 23 Mar 2001 12:12:13 -0500369_iso-8859-1 Raymond,

First off, let me say that I haven't played with DB2 on Windows, so what follows is pure conjecture on my part.

I'm running UDB v7 on SuSE Linux 7.0, and it works like a champ there. I previously ran UDB v6.1 on SuSE Linux 6.2 without very many problems as well. Why not use a *real* OS instead of Windoze? [...] 11157 43 43_Java Stored Procedure Authorization Problem11_Clark, Tony26_Tony.Clark@TWC.STATE.TX.US31_Fri, 23 Mar 2001 11:21:01 -0600596_- Hello

We are trying to run Java Stored Procedure and have encountered an authorization problem. Under the DYNAMICRULES option DB2 is supposed to use the option specified for the generic JDBC stored procedure, which is what we want, but we can't get DB2 to do this. It uses the default of the developer of the client application or client authorizations ids. This is too much to manage and the other option SET CURRENT SQLID is also not acceptable. We need the DYNAMICRULES option to work as advertised, i.e., to be able to use the secondary auth ids of the DYNAMICRULES(DEFINERUN). [...] 11201 23 21_REXX and DB2 commands11_Cliff Boley32_Maurice.C.BOLEY@ODOT.STATE.OR.US31_Fri, 23 Mar 2001 09:58:40 -0800368_iso-8859-1 Hi all, Ok I've decided lean some REXX (one more thing to be mediocre at:-).

Can anyone tell me how or if possible to execute a DB2 command, like -DISPLAY BUFFERPOOL(*) and parse the results in a REXX EXEC.

I have written a job to do it in two job steps (exec the display and then read in results) but I'd like to do it in one REXX EXEC. [...] 11225 29 33_Re: Rebalancing Partitioning Keys17_Walter Trovijo Jr22_wtrovijo@COELBA.COM.BR31_Fri, 23 Mar 2001 15:20:51 -0300133_us-ascii We use a rexx program to recreate limitkeys from dsntiaul output of columns that make the limitkey.

Walter Trovijo Jr 11255 51 26_Friday fun/ bragging quiz.11_Cliff Boley32_Maurice.C.BOLEY@ODOT.STATE.OR.US31_Fri, 23 Mar 2001 10:32:23 -0800312_iso-8859-1 Hi all how about a little off topic fun.

I've finally decide/have the time to lean a little REXX. It made me think of all the languages I've programmed with in my life with computers.

So for all of you competitive computer nerds out there, how may languages have you programmed in. [...] 11307 146 19_Re: Reduce CPU Time19_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Fri, 23 Mar 2001 12:36:30 -0600604_iso-8859-1 Hi Terry, Mike and Aurora have said most of it, and thus, my reluctance! I did "assume" the tran. had one commit, oops.

HTH, Rick Davis

"This e-mail and any files transmitted with it are the property of SBC, are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender at 314-235-6854 and delete this message immediately from your computer. Any other use, retention, [...] 11454 89 25_Re: REXX and DB2 commands16_Charles F Creech24_cfcreech@DUKE-ENERGY.COM31_Fri, 23 Mar 2001 13:42:43 -0500412_us-ascii Hi,

I got this off the listserv about 2 years ago. (I made a minor change to handle RC>8 gracefully.) This rexx puts the output into a temp file and browses it. With a minor chnage you could parse the command output instead of writing it to the temp file.

The command is executed from TSo by entering on any tso command line: (assuming the rexx pds is allocated to your tso session.) [...] 11544 69 25_Re: REXX and DB2 commands0_19_Tim.Lowe@STPAUL.COM31_Fri, 23 Mar 2001 12:42:40 -0600519_us-ascii Cliff, Will this work for you?: /* rexx */ ADDRESS(TSO) Y = OUTTRAP(DB2CMD.,"*","NOCONCAT") QUEUE "-DIS BUFFERPOOL(*)" QUEUE "END" "DSN SYSTEM(DB2T)" LASTCC = RC Y = OUTTRAP("OFF") ADDRESS(ISPEXEC)

IF LASTCC > 0 THEN DO SAY "!!!" TIME() "COMMAND FAILED" END

DO I = 1 TO DB2CMD.0 SAY "!!!" DB2CMD.I END







Cliff Boley cc: Sent by: DB2 Data Base Subject: REXX and DB2 commands Discussion List [...] 11614 42 41_testing WLM-established stored procedures11_Tina Hilton21_Tina.Hilton@BMSUS.COM31_Fri, 23 Mar 2001 13:34:42 -0500582_iso-8859-1 Now that I have WLM and RRS set up, I want to test the configuration by executing a WLM-established stored procedure. I'm a systems programmer, not an application programmer, so I'm looking for something simple. We don't have a C or PL/I compiler, so that eliminates the IVP programs provided by IBM. I did find a REXX stored procedure (called COMMAND) and the invoking REXX, but I can't get it to work. The samples are in the Application Programming and SQL Guide, and I copied them. I did change the WLM environment in the CREATE PROCEDURE statement, but that was [...] 11657 49 25_Re: REXX and DB2 commands11_Tina Hilton21_Tina.Hilton@BMSUS.COM31_Fri, 23 Mar 2001 13:54:53 -0500462_iso-8859-1 I just sent an email about my trials and tribulations in getting WLM-established stored procedures tested. What I was trying to use to test it was a rexx that calls a rexx-stored procedure which does any DB2 command. The code is in the Application Programming and SQL Guide. Don't look in the printed manual, though, because it's not there. You'll have to look at a new version on CDRom or on the internet. Look at sections 7.2.4.12 and 7.2.6.7. [...] 11707 64 25_Re: REXX and DB2 commands31_=?iso-8859-1?Q?Sv=E1tek_Milan?=15_msvatek@CSAS.CZ31_Fri, 23 Mar 2001 19:53:01 +0100557_iso-8859-1 Hi,

here is short example of REXX calling DB2 command thru TSO DSN a returning output from the command :

/* REXX */ /******************************************/ sysn='DBA2' /* subsystem name */ command='-dis bufferpool(*)' f=dbcomm(sysn,command) do i=1 to line.0 say line.i end exit /******************************************/ dbcomm: arg syst,comm_str end_str='end' 'MAKEBUF' PUSH end_str PUSH comm_str x=outtrap('line.') 'DSN SYSTEM('syst')' x=outtrap('OFF') return line.0 /************************************************/ [...] 11772 65 30_Re: Friday fun/ bragging quiz.13_O'Neill, Mike19_Mike.O'Neill@53.COM31_Fri, 23 Mar 2001 14:09:35 -0500425_iso-8859-1 716....do I win?

-----Original Message----- From: Cliff Boley [mailto:Maurice.C.BOLEY@ODOT.STATE.OR.US] Sent: Friday, March 23, 2001 1:32 PM To: DB2-L@RYCI.COM Subject: Friday fun/ bragging quiz.



Hi all how about a little off topic fun.

I've finally decide/have the time to lean a little REXX. It made me think of all the languages I've programmed with in my life with computers. [...] 11838 93 30_Re: Friday fun/ bragging quiz.15_Billings, Linda30_linda.billings@DOA.STATE.WI.US31_Fri, 23 Mar 2001 13:16:29 -0600577_iso-8859-1 OK. If we even count the ones that I just dabbled with then: Fortran PL/1 COBOL COBOLII REXX SAS Easytreive IBM S/360? S/370 ? Assembler ?? (It's been so long. The bufferpool is small and the write thresholds are getting lower all the time.) BAL A little university language whose name escapes me. BASIC (not the PC version) CICS (Is that really a language?) SQL Java (OK, I flailed a lot in class.) Clist Clist using ISPF (Am I splitting hairs here?) ACS routines (whatever that is called) RPG (If you call that a language.) JCL (Job Control LANGUAGE) ARGH!!! [...] 11932 74 30_Re: Friday fun/ bragging quiz.19_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Fri, 23 Mar 2001 13:20:12 -0600517_iso-8859-1 Cliff, You are automatically eliminated from the competition due to your blatant admission that you wrote FORTRAN! You are obviously lying because everyone knows computers weren't around during the Dinosaur Age! :) Now for the trivia quiz: what does FORTRAN stand for?

Another Dinosaur,

Rick



-----Original Message----- From: Cliff Boley [mailto:Maurice.C.BOLEY@ODOT.STATE.OR.US] Sent: Friday, March 23, 2001 12:32 PM To: DB2-L@RYCI.COM Subject: Friday fun/ bragging quiz. [...] 12007 106 30_Re: Friday fun/ bragging quiz.15_Billings, Linda30_linda.billings@DOA.STATE.WI.US31_Fri, 23 Mar 2001 13:23:11 -0600627_iso-8859-1 DL/I !!! 20 !!?!??!!!

Do I tie?

Linda

-----Original Message----- From: Billings, Linda Sent: Friday, March 23, 2001 1:16 PM To: 'DB2 Data Base Discussion List' Subject: RE: Friday fun/ bragging quiz.



OK. If we even count the ones that I just dabbled with then: Fortran PL/1 COBOL COBOLII REXX SAS Easytreive IBM S/360? S/370 ? Assembler ?? (It's been so long. The bufferpool is small and the write thresholds are getting lower all the time.) BAL A little university language whose name escapes me. BASIC (not the PC version) CICS (Is that really a language?) SQL Java (OK, I [...] 12114 91 30_Re: Friday fun/ bragging quiz.11_Cliff Boley32_Maurice.C.BOLEY@ODOT.STATE.OR.US31_Fri, 23 Mar 2001 11:29:10 -0800285_iso-8859-1 Mike, there's no money involved with the prize, so tell the truth. Now 716 does sound like a lot for one person to have used, not to say that there isn't over 700 computer language written. I know that the advent of client server brought in a lot on new languages. :-o [...] 12206 173 30_Re: Friday fun/ bragging quiz.9_Mark Ruhe19_Mark.Ruhe@QUEST.COM31_Fri, 23 Mar 2001 11:38:13 -0800446_iso-8859-1 Was that M66 or M77 Fortran?

-----Original Message----- From: Cliff Boley [mailto:Maurice.C.BOLEY@ODOT.STATE.OR.US] Sent: Friday, March 23, 2001 12:32 PM To: DB2-L@RYCI.COM Subject: [DB2-L] Friday fun/ bragging quiz.



Hi all how about a little off topic fun.

I've finally decide/have the time to lean a little REXX. It made me think of all the languages I've programmed with in my life with computers. [...] 12380 110 30_Re: Friday fun/ bragging quiz.21_Sean M O'Keefe/AC/VCU15_sokeefe@VCU.EDU31_Fri, 23 Mar 2001 14:30:00 -0500623_us-ascii Formula Translation.







"DAVIS, RICK (SBCSI)" To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz. Sent by: DB2 Data Base Discussion List



03/23/01 02:20 PM Please respond to DB2 Data Base Discussion List











Cliff, You are automatically eliminated from the competition due to your blatant admission that you wrote FORTRAN! You are obviously lying because everyone knows computers weren't around during the Dinosaur Age! :) Now for the trivia quiz: what does FORTRAN stand for? [...] 12491 98 30_Re: Friday fun/ bragging quiz.13_Keith Gilbert17_kgilbert@CSA1.COM31_Fri, 23 Mar 2001 13:45:51 -0600615_iso-8859-1 FORmula TRANslation

God I'm getting old



Keith Gilbert DBA Central Service Association Tupelo, MS





-----Original Message----- From: DAVIS, RICK (SBCSI) [mailto:rd8246@SBC.COM] Sent: Friday, March 23, 2001 1:20 PM To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz.



Cliff, You are automatically eliminated from the competition due to your blatant admission that you wrote FORTRAN! You are obviously lying because everyone knows computers weren't around during the Dinosaur Age! :) Now for the trivia quiz: what does FORTRAN stand for? [...] 12590 241 30_Re: Friday fun/ bragging quiz.12_Collier, Mel21_MCollier@TXFB-INS.COM31_Fri, 23 Mar 2001 13:43:25 -0600515_iso-8859-1 Formula Translator.....

Mel

-----Original Message----- From: DAVIS, RICK (SBCSI) [mailto:rd8246@SBC.COM] Sent: Friday, March 23, 2001 1:20 PM To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz.



Cliff, You are automatically eliminated from the competition due to your blatant admission that you wrote FORTRAN! You are obviously lying because everyone knows computers weren't around during the Dinosaur Age! :) Now for the trivia quiz: what does FORTRAN stand for? [...] 12832 93 30_Re: Friday fun/ bragging quiz.10_Chris Kern23_Chris_Kern@VANGUARD.COM31_Fri, 23 Mar 2001 14:45:43 -0500581_us-ascii formula translator







"DAVIS, RICK (SBCSI)" on 03/23/2001 02:20:12 PM Please respond to DB2 Data Base Discussion List

To: DB2-L@RYCI.COM cc: (bcc: Chris Kern/IT/VGI) Subject: Re: Friday fun/ bragging quiz.





Cliff, You are automatically eliminated from the competition due to your blatant admission that you wrote FORTRAN! You are obviously lying because everyone knows computers weren't around during the Dinosaur Age! :) Now for the trivia quiz: what does FORTRAN stand for? [...] 12926 97 30_Re: Friday fun/ bragging quiz.22_Piontkowski, Michael L35_michael.piontkowski@ASTRAZENECA.COM31_Fri, 23 Mar 2001 14:45:38 -0500663_iso-8859-1 FORmula TRANslation



Mike Piontkowski Technisource for IBM Global Services Service Delivery Center - Northeast Voice: +1 302.886.4612 Fax: +1 302.886.4612



-----Original Message----- From: DAVIS, RICK (SBCSI) [mailto:rd8246@SBC.COM] Sent: Friday, March 23, 2001 14:20 To: DB2-L@RYCI.COM Subject: Re: [DB2-L] Friday fun/ bragging quiz.



Cliff, You are automatically eliminated from the competition due to your blatant admission that you wrote FORTRAN! You are obviously lying because everyone knows computers weren't around during the Dinosaur Age! :) Now for the trivia quiz: what does FORTRAN stand for? [...] 13024 104 30_Re: Friday fun/ bragging quiz.16_Jeff A L'Italien25_Jeff.A.L'Italien@AEXP.COM31_Fri, 23 Mar 2001 12:46:41 -0700444_us-ascii Rick,

In response to your question, FORTRAN stands for FORmula TRANslation. I too am showing my age as this was my first language.

Regards, Jeff L'Italien American Express





From: "DAVIS, RICK (SBCSI)" @RYCI.COM> on 03/23/2001 01:20 PM CST

Please respond to "DB2 Data Base Discussion List"

Sent by: "DB2 Data Base Discussion List" [...] 13129 115 30_Re: Friday fun/ bragging quiz.0_26_JCameron@MSI-INSURANCE.COM31_Fri, 23 Mar 2001 13:43:44 -0600714_us-ascii FORmula TRANslation

I didn't see PASCAL, was it just me ?

John Cameron JCameron@msi-insurance.com







"DAVIS, RICK (SBCSI)" To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz. Sent by: DB2 Data Base Discussion List



03/23/01 01:20 PM Please respond to DB2 Data Base Discussion List











Cliff, You are automatically eliminated from the competition due to your blatant admission that you wrote FORTRAN! You are obviously lying because everyone knows computers weren't around during the Dinosaur Age! :) Now for the trivia quiz: what does FORTRAN stand for? [...] 13245 15 30_Re: Friday fun/ bragging quiz.26_Edward(Ed) J. Finnell, III23_efinnell@SEEBECK.UA.EDU31_Fri, 23 Mar 2001 13:48:39 -0600336_- FORmula TRANslation. Edward(Ed) J. Finnell, III Enterprise Systems/Proj. Mgr. url:www.ua.edu

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 13261 90 37_Re: Friday fun/ bragging quiz. -Reply11_Jeff Schade21_jschade@MAIL2.PCH.COM31_Fri, 23 Mar 2001 14:47:58 -0500422_US-ASCII I believe FORTRAN stands for FORMULA TRANSLATION or something like that.

Jeff Schade

>>> rd8246@SBC.COM 03/23/01 02:20pm >>> Cliff, You are automatically eliminated from the competition due to your blatant admission that you wrote FORTRAN! You are obviously lying because everyone knows computers weren't around during the Dinosaur Age! :) Now for the trivia quiz: what does FORTRAN stand for? [...] 13352 137 30_Re: Friday fun/ bragging quiz.11_Moore, Tony15_TMoore@IKON.COM31_Fri, 23 Mar 2001 14:48:16 -0500556_iso-8859-1 No where near the top, but here's for the fun of it...

BASIC (Tech School days) RPG II (Tech School days. I still wonder why?) ASSEMBLER (A truly dark time in my life) PL/1 (The best) COBOL (PL/1 for the long winded) COBOL II (PL/1 for the long winded. Part 2) RPF (The most fun) CLIST (A fair substitute for RPF after ROSCOE went away) REXX (A definite improvement over CLIST... Almost fun again) REXX/ISPF (The main means of easing the life of my developers) Perl (An attempt to learn what's so great about PC's and UNIX - I still [...] 13490 103 30_Re: Friday fun/ bragging quiz.11_Cliff Boley32_Maurice.C.BOLEY@ODOT.STATE.OR.US31_Fri, 23 Mar 2001 11:50:20 -0800512_iso-8859-1 Now now, I did write some FORTRAN programs, I actually took two terms worth. As for what FORTRAN stands for, who cares, like I tell people who ask me what CICS means, "its a noun".

FORTRAN is what got me in the business, I need a class to fill out my schedule and intro to Business was closed so 'Introduction to Business Machines' was suggested. I though "business machines?, hmmm fixing adding machines or something" It was a FORTRAN class and I loved it, switched majors the next term. [...] 13594 48 30_Re: Friday fun/ bragging quiz.15_Blaicher, Chris22_Chris_Blaicher@BMC.COM31_Fri, 23 Mar 2001 13:51:40 -0600435_iso-8859-1 FORmula TRANslation = FORTRAN

Chris Blaicher

BMC Software, Inc. Austin Research Labs 10415 Morado Circle Austin, TX 78759 512/340-6154

BMC Software, Inc. makes no representations or promises regarding the reliability, completeness, or accuracy of the information provided in this discussion; all readers agree not to rely on or take any action against BMC Software in response to this information. [...] 13643 100 30_Re: Friday fun/ bragging quiz.12_Bob Lawrence21_rlawrence@BOSCOVS.COM31_Fri, 23 Mar 2001 14:55:36 -0500632_us-ascii FORmula TRANslation and its derivatives FORGO (FORTRAN LOAD AND GO) on IBM 1620 FORTRAN II on IBM 1620 FORTRAN IV WATFOR and WATFIVE(sic/) SIGH what memories

Bob Lawrence DBA Boscov's Dept Stores Inc



On Friday, March 23, 2001 2:20 PM, DAVIS, RICK (SBCSI) [SMTP:rd8246@SBC.COM] wrote: > Cliff, > You are automatically eliminated from the competition due to your > blatant admission that you wrote FORTRAN! You are obviously lying because > everyone knows computers weren't around during the Dinosaur Age! :) > Now for the trivia quiz: what does FORTRAN stand for? > > Another Dinosaur, > > Rick > [...] 13744 114 30_Re: Friday fun/ bragging quiz.0_19_csutfin@AMSOUTH.COM31_Fri, 23 Mar 2001 13:54:39 -0600674_us-ascii Rick; It stands for FORmula TRANslator.

Another Dinosaur









"DAVIS, RICK (SBCSI)" To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz. Sent by: DB2 Data Base Discussion List



03/23/01 01:20 PM Please respond to DB2 Data Base Discussion List











Cliff, You are automatically eliminated from the competition due to your blatant admission that you wrote FORTRAN! You are obviously lying because everyone knows computers weren't around during the Dinosaur Age! :) Now for the trivia quiz: what does FORTRAN stand for? [...] 13859 94 20_Re: Large OAM tables15_Tonmoy Dasgupta32_tonmoy.dasgupta@MAIL.STATE.AR.US31_Fri, 23 Mar 2001 13:37:04 -0600609_iso-8859-1 My sincere thanks for your responses....they were all helpful, especialy with me getting to know ImagePlus.

I was considering partitioning because my table would exceed 64 GB (limit for non-partitioned tablespaces). My choice of the partitioning key (OTCLID OTNAME OTSEG) was based on what was existing for all the GROUP** 32K tablespace and a preassumption (and likely a wrong one!) that the data was being added in that order in the optical repository. I have not able to get my hands on the optical data yet and I am having to research the existing GROUP** databases. In my case the [...] 13954 28 51_How to get count of rows returned in select in SQLJ14_Sinha, Abhijit20_Abhijit.Sinha@GS.COM31_Fri, 23 Mar 2001 14:54:14 -0500559_iso-8859-1 I have a SELECT stmt in SQLJ inside a Stored proc.

#sql myCursor { SELECT COL1 FROM TABLE1 }

Is there a way of finding the count of rows returned without coding another #sql { SELECT COUNT(*) INTO :myCount from TABLE1} and returning myCount as an output from the Stored proc ? The ResultSet is returned from the Stored proc, but ResultSet has no methods to tell the count of rows returned. One way would be to parse the ResultSet (using rs.next()) and keep a counter, but I need to get the count before processing the ResultSet. [...] 13983 97 30_Re: Friday fun/ bragging quiz.18_Stritzinger, David24_StritzingerD@NABISCO.COM31_Fri, 23 Mar 2001 14:44:39 -0500548_- FORmula TRANslation...Use to use it when doing numerical weather forecast...

-----Original Message----- From: DAVIS, RICK (SBCSI) [mailto:rd8246@SBC.COM] Sent: Friday, March 23, 2001 2:20 PM To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz.



Cliff, You are automatically eliminated from the competition due to your blatant admission that you wrote FORTRAN! You are obviously lying because everyone knows computers weren't around during the Dinosaur Age! :) Now for the trivia quiz: what does FORTRAN stand for? [...] 14081 92 30_Re: Friday fun/ bragging quiz.13_Bright, Randy20_Randy_Bright@BMC.COM31_Fri, 23 Mar 2001 13:54:23 -0600552_iso-8859-1 FORmula TRANslation?

That's what I always thought.

Randy.

-----Original Message----- From: DAVIS, RICK (SBCSI) [mailto:rd8246@SBC.COM] Sent: Friday, March 23, 2001 1:20 PM To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz.



Cliff, You are automatically eliminated from the competition due to your blatant admission that you wrote FORTRAN! You are obviously lying because everyone knows computers weren't around during the Dinosaur Age! :) Now for the trivia quiz: what does FORTRAN stand for? [...] 14174 126 30_Re: Friday fun/ bragging quiz.11_Cliff Boley32_Maurice.C.BOLEY@ODOT.STATE.OR.US31_Fri, 23 Mar 2001 11:56:14 -0800395_iso-8859-1 Linda, SAS I forgot to add that one, I'm up to 21 now. Mike O'Neill hasn't retracted his 716 figure yet so for how his in the lead see my response to his mail). cliff:-)





-----Original Message----- From: Billings, Linda [mailto:linda.billings@DOA.STATE.WI.US] Sent: Friday, March 23, 2001 11:23 AM To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz. [...] 14301 102 30_Re: Friday fun/ bragging quiz.12_tim malamphy20_timalamphy@YAHOO.COM31_Fri, 23 Mar 2001 12:00:41 -0800551_us-ascii I can't believe 716 programming languages ever existed...what are you counting, release numbers too? Kind of like Cliff counting EZtrieve twice (although for him it would have been HARDtrieve). I can still do Hollerinth Code translation in my head (a waste of gray matter), and I still have the "patch board" from an old IBM tabulator I programmed when I was...er...still in diapers...Those were the days, when you hard-WIRED (not coded) two numbers into the actual ADD REGISTER. Structured programming was using the same color wires... [...] 14404 79 30_Re: Friday fun/ bragging quiz.11_Cliff Boley32_Maurice.C.BOLEY@ODOT.STATE.OR.US31_Fri, 23 Mar 2001 12:01:04 -0800579_iso-8859-1 Mike, must have been M66 since it was back in 1970 at Oregon State U. cliff:-) Iron core rules!

-----Original Message----- From: Mark Ruhe [mailto:Mark.Ruhe@QUEST.COM] Sent: Friday, March 23, 2001 11:38 AM To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz.





Was that M66 or M77 Fortran?

-----Original Message----- From: Cliff Boley [ mailto:Maurice.C.BOLEY@ODOT.STATE.OR.US ] Sent: Friday, March 23, 2001 12:32 PM To: DB2-L@RYCI.COM Subject: [DB2-L] Friday fun/ bragging quiz. [...] 14484 106 30_Re: Friday fun/ bragging quiz.13_O'Neill, Mike19_Mike.O'Neill@53.COM31_Fri, 23 Mar 2001 15:02:10 -0500536_iso-8859-1 OOOOOH, now its clearer.... 697....did I win?

-----Original Message----- From: Cliff Boley [mailto:Maurice.C.BOLEY@ODOT.STATE.OR.US] Sent: Friday, March 23, 2001 2:29 PM To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz.



Mike, there's no money involved with the prize, so tell the truth. Now 716 does sound like a lot for one person to have used, not to say that there isn't over 700 computer language written. I know that the advent of client server brought in a lot on new languages. :-o [...] 14591 87 15_Re: DB2 connect13_Shapiro, Dave26_Shapiro.Dave@PRINCIPAL.COM31_Fri, 23 Mar 2001 14:05:25 -0600603_iso-8859-1 Terry and Le,

I don't have an answer to your question about the CC and CLP, but the idea of using different collections for versioning,(or for different applications etc) is interestng.

Just curious, how do you handle the administration of the db2cli.ini, since you can only use one collid (CURRENTPACKAGESET)per "database" section. Do you have to periodically "push" updated versions of db2cli.ini out to the workstations to pick up the new collids? I assume developers aren't required to keep abreast of what is the current code level, or make any changes because of it. [...] 14679 108 30_Re: Friday fun/ bragging quiz.12_Roy Reynolds15_royr@INCYTE.COM31_Fri, 23 Mar 2001 12:16:31 -0800315_us-ascii 1620 assembly language was called SPS if I recall correctly. If all was right, you didn't get a CHECK STOP light and the result could be punched on cards which, if you couldn't read punched cards, had to be duped through an 026 to print along the top margin.

Sean M O'Keefe/AC/VCU wrote: [...] 14788 69 30_Re: Friday fun/ bragging quiz.15_Billings, Linda30_linda.billings@DOA.STATE.WI.US31_Fri, 23 Mar 2001 14:15:37 -0600416_iso-8859-1 Also, I took a computer graphics course one summer in college. We programmed on a DEC/VAX something or other. I don't remember the name of the language but does that count as number 21??? Am I ahead?

Linda

-----Original Message----- From: Cliff Boley [mailto:Maurice.C.BOLEY@ODOT.STATE.OR.US] Sent: Friday, March 23, 2001 12:32 PM To: DB2-L@RYCI.COM Subject: Friday fun/ bragging quiz. [...] 14858 10 30_Re: Friday fun/ bragging quiz.13_John Arbogast32_john.arbogast.cquz@STATEFARM.COM31_Fri, 23 Mar 2001 14:16:34 -0600294_- Could someone please post what FORTRAN stands for?

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 14869 107 30_Re: Friday fun/ bragging quiz.12_DOUG KESTNER23_DHSTS57@DHS.STATE.IL.US31_Fri, 23 Mar 2001 14:24:05 -0600662_US-ASCII Basic (several different flavors - TRS-80, MS, G-basic, Commodore64 ) Cobol (1 and 2) (accessing VSAM, IDMS, IMS, DB2 databases) using (IMS/DC, CICS communications) on DOS VSE, MVS machines Pascal (mainframe, Turbo (pc), version 2,3,4 Fortran (mainframe) Formula Translation Assembler (mainframe, Borland Turbo Assembler) SAS (mainframe, statistical piece of crap) Nomad ( wish I wouldn't have remembered this one) MFS (Message Format Services - used to code IMS screens) BMS (Basic Mapping Services - used to code CICS screens) LISP - ( another blast from the past ) TSO Clists and Dialog Manager JCL (job control language) Easytrieve (old stuff, [...] 14977 32 30_Re: Friday fun/ bragging quiz.16_Bhogale, Pushkar24_Bhogale.Pushkar@MBCO.COM31_Fri, 23 Mar 2001 14:25:46 -0600654_iso-8859-1 FORmula TRANslation

I hope I am correct while recalling it after more than 10 years.

Pushkar Bhogale Phone : 414 - 931 2048



-----Original Message----- From: John Arbogast [mailto:john.arbogast.cquz@STATEFARM.COM] Sent: Friday, March 23, 2001 2:17 PM To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz.

Could someone please post what FORTRAN stands for?

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. [...] 15010 134 30_Re: Friday fun/ bragging quiz.13_Daley, Norman18_NDaley@CINERGY.COM31_Fri, 23 Mar 2001 15:30:53 -0500325_iso-8859-1 PL/1 BASIC JCL RPG RPGII DYL/260 Assembler APL SAS SPSS GPSS Fortran MARKIV MARKV MFS BMS ADF LISP Prolog Smalltalk COBOL COBOLII DL/I C CLIST REXX RPF SPITBOL VMS DCL Unix shell SQLPLUS TSQL Visual Basic

I can't swear to be expert at any of them, but have coded more than "Whazzup World" in all. Norm [...] 15145 68 30_Re: Friday fun/ bragging quiz.13_O'Neill, Mike19_Mike.O'Neill@53.COM31_Fri, 23 Mar 2001 15:34:53 -0500386_iso-8859-1 I did retract my 716, down to 697 because Cliff said he couldn't believe there were more than 700 languages. Does Spanish count? And its not for the money, its the bragging rights....

-----Original Message----- From: Cliff Boley [mailto:Maurice.C.BOLEY@ODOT.STATE.OR.US] Sent: Friday, March 23, 2001 1:32 PM To: DB2-L@RYCI.COM Subject: Friday fun/ bragging quiz. [...] 15214 10 30_Re: FRIDAY FUN/ BRAGGING QUIZ.0_27_Bud.Greenman@ONONDAGA.NY.US31_Fri, 23 Mar 2001 15:11:49 -0500308_- Of course we all know the FORTRAN stands for FORmula TRANslation

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 15225 87 30_Re: Friday fun/ bragging quiz.13_Leo Conchello18_lconche@USWEST.COM31_Fri, 23 Mar 2001 13:42:44 -0700663_iso-8859-2 Nobody has included AUTOCODER for the IBM 1401/1440's (with a card reader and 16k of memory in the1960). Maybe I should start counting...

Leo

Cliff Boley wrote:

> Mike, > must have been M66 since it was back in 1970 at Oregon State U. > cliff:-) > Iron core rules! > > -----Original Message----- > From: Mark Ruhe [mailto:Mark.Ruhe@QUEST.COM] > Sent: Friday, March 23, 2001 11:38 AM > To: DB2-L@RYCI.COM > Subject: Re: Friday fun/ bragging quiz. > > Was that M66 or M77 Fortran? > > -----Original Message----- > From: Cliff Boley [ mailto:Maurice.C.BOLEY@ODOT.STATE.OR.US > ] > Sent: [...] 15313 29 0_19_Krishna Vitaldevara19_krishna@BRIENCE.COM31_Fri, 23 Mar 2001 12:33:39 -0800472_iso-8859-1 Hi,

As you can see I am new to DB2 and am struggling. This is an urgent issue!!!

The main problem is we are trying to port an existing Oracle application into DB2. In Oracle we used triggers extensively. We have cursors defined inside the triggers. Because I couldn't find a way to define cursors or any variables to that extent other than transition variables with in DB2 triggers I am considering to use stored procedures or UDF's instead. [...] 15343 136 30_Re: Friday fun/ bragging quiz.13_Derez D. Lusk20_ddlusk@HOUSEHOLD.COM31_Fri, 23 Mar 2001 14:41:30 -0600784_us-ascii Did anyone mention TRASH 80 ??? (TRS-80) and what about the old CP/M on those KAYPROS





DOUG KESTNER cc: Sent by: DB2 Subject: Re: Friday fun/ bragging quiz. Data Base Discussion List



03/23/2001 02:24 PM Please respond to DB2 Data Base Discussion List











Basic (several different flavors - TRS-80, MS, G-basic, Commodore64 ) Cobol (1 and 2) (accessing VSAM, IDMS, IMS, DB2 databases) using (IMS/DC, CICS communications) on DOS VSE, MVS machines Pascal (mainframe, Turbo (pc), version 2,3,4 Fortran (mainframe) Formula Translation Assembler (mainframe, Borland Turbo Assembler) SAS (mainframe, statistical piece of crap) Nomad [...] 15480 43 49_Re: Friday fun/ bragging quiz. - CICS and FORTRAN16_RICHARD E MOLERA25_RICHARD.E.MOLERA@SLMA.COM31_Fri, 23 Mar 2001 15:52:10 -0500471_us-ascii As already stated:

FORTRAN = Formula Translation - BEST scientific language ever known to man!

Haven't seen it, yet:

CICS = Customer Information Control System - BEST OLTP (what the hell is that?) ever known to human kind!



Rick Molera









John Arbogast on 03/23/2001 03:16:34 PM

Please respond to DB2 Data Base Discussion List [...] 15524 153 30_Re: Friday fun/ bragging quiz.15_Billings, Linda30_linda.billings@DOA.STATE.WI.US31_Fri, 23 Mar 2001 14:53:15 -0600373_- Ok, I give up. I can see that you guys are a WHOLE lot older than I am!

Linda

-----Original Message----- From: Derez D. Lusk [mailto:ddlusk@HOUSEHOLD.COM] Sent: Friday, March 23, 2001 2:42 PM To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz.



Did anyone mention TRASH 80 ??? (TRS-80) and what about the old CP/M on those KAYPROS [...] 15678 100 30_Re: Friday fun/ bragging quiz.36_Enarson, Mike (CC-Database Services)29_Mike.Enarson@CONAGRAFOODS.COM31_Fri, 23 Mar 2001 14:56:17 -0600609_iso-8859-1 FORmula TRANslator

As I remember.





Regards Mike Enarson ConAgra Foods, Inc.







-----Original Message----- From: DAVIS, RICK (SBCSI) [mailto:rd8246@SBC.COM] Sent: Friday, March 23, 2001 1:20 PM To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz.



Cliff, You are automatically eliminated from the competition due to your blatant admission that you wrote FORTRAN! You are obviously lying because everyone knows computers weren't around during the Dinosaur Age! :) Now for the trivia quiz: what does FORTRAN stand for? [...] 15779 20 30_Re: Friday fun/ bragging quiz.13_Keith Gilbert17_kgilbert@CSA1.COM31_Fri, 23 Mar 2001 15:04:17 -0600373_iso-8859-1 Here's one I haven't seen yet....

QUIKJOB



Keith Gilbert DBA Central Service Association Tupelo, MS

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 15800 135 30_Re: Friday fun/ bragging quiz.13_Helen Johnson25_helen_johnson@RAC.RAY.COM31_Fri, 23 Mar 2001 14:58:32 -0600557_us-ascii I haven't seen Ada yet. I worked on that in college.

"Derez D. Lusk" wrote:

> Did anyone mention TRASH 80 ??? (TRS-80) > and what about the old CP/M on those KAYPROS > > DOUG KESTNER > ATE.IL.US> cc: > Sent by: DB2 Subject: Re: Friday fun/ bragging quiz. > Data Base > Discussion List > > > > 03/23/2001 > 02:24 PM > Please respond > to DB2 Data > Base Discussion > List > > Basic (several different flavors - TRS-80, MS, G-basic, Commodore64 ) > Cobol (1 and 2) (accessing [...] 15936 186 30_Re: Friday fun/ bragging quiz.12_Kirk Hampton16_khampto1@TXU.COM31_Fri, 23 Mar 2001 14:56:34 -0600597_us-ascii Well, I could only come up with 24, but then I've only been in the business since 1979... That's almost 1 per year... BTW, is DL/I really a programming language ?



COBOL (and I'm not listing COBOL II separately ! ) S/370 Assembler TRS-80 BASIC RPG II CA-ROSCOE RPF DYL-260 DYL-280 BMS (as far as I'm concerned, this is Assembler, but if others are counting it separately...) SAS Model204 User Language (claimed to be a Relational database !) SQL REXX (the original, on VM ! ) VM EXEC2 VM/AS (Application System) CSP CLIST DOS BAT files LotusScript ISPF dialogs FORTRAN [...] 16123 26 28_Re: Friday fun/bragging quiz0_26_truman.g.brown@VERIZON.COM31_Fri, 23 Mar 2001 16:04:06 -0500431_us-ascii I'll show my age - first language was IBM SPS (Symbolic Programming System) which preceded Autocoder for 1400 series. When I went to the first 6 weeks of IBM Systems Engineering training, we were wiring panels for unit record equipment.

Did RPG, RPGII, FORTRAN, COBOL, COBOL II, Autocoder, Assembler, CLISTS, CMS files, etc., etc., etc. First CICS screens were of course done with BMS (Basic Mapping Support). [...] 16150 15 28_Re: Stored Procedure Builder9_Jim Ruddy18_jaruddy@US.IBM.COM31_Fri, 23 Mar 2001 14:44:40 -0600502_- DSNTPSMP is designed to run only as a REXX Language Stored Procedure in a WLM managed address space. When run this way, the TSO environment is already available and there is no need for an ADDRESS TSO.

Jim Ruddy IBM DB2 for OS/390 and z/OS Development

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 16166 39 30_Re: Friday fun/ bragging quiz.13_Mohammad Khan20_mkkhan88@HOTMAIL.COM31_Fri, 23 Mar 2001 14:46:06 -0600325_- On Fri, 23 Mar 2001 11:29:10 -0800, Cliff Boley wrote:

>Mike, >there's no money involved with the prize, so tell the truth. >Now 716 does sound like a lot for one person to have used, >not to say that there isn't over 700 computer language written.

Don't bet on that ! [...] 16206 63 45_Re: testing WLM-established stored procedures13_Kenski, David25_David.Kenski@MARRIOTT.COM31_Fri, 23 Mar 2001 16:07:49 -0500486_iso-8859-1 Tina,

Verify that the execution of the CREATE PROCEDURE was successful by checking the SYSIBM.SYSROUTINES and SYSIBM.SYSPARMS tables in the DB2 catalog. Also, see what you have for schema name as you may need to preface the SP call with the schema name.

Dave Kenski

-----Original Message----- From: Tina Hilton [mailto:Tina.Hilton@BMSUS.COM] Sent: Friday, March 23, 2001 1:35 PM To: DB2-L@RYCI.COM Subject: testing WLM-established stored procedures [...] 16270 65 49_Re: Friday fun/ bragging quiz. - CICS and FORTRAN16_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM31_Fri, 23 Mar 2001 16:16:54 -0500578_iso-8859-1 OnLineTeleProcessing = OLTP

regards,

eric pearson NS ITO Database Support



-----Original Message----- From: RICHARD E MOLERA [mailto:RICHARD.E.MOLERA@SLMA.COM] Sent: Friday, March 23, 2001 3:52 PM To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz. - CICS and FORTRAN



As already stated:

FORTRAN = Formula Translation - BEST scientific language ever known to man!

Haven't seen it, yet:

CICS = Customer Information Control System - BEST OLTP (what the hell is that?) ever known to human kind! [...] 16336 134 15_Re: DB2 connect13_Terry McCombs20_tmccomb@SEDGWICK.GOV31_Fri, 23 Mar 2001 15:11:49 -0600610_iso-8859-1 I started using different collections for different versions of CAE when we had a situation where two programmers had slightly different versions that were mutually exclusive. Literally, if we bound the packages for one of them, the other would quit working. We now have clients at three or four different levels of CAE. We have had application teams install CAE for their clients where needed, updating db2cli.ini as appropriate. We've been able to get away with this because 1) we don't have all that many clients accessing DB2, and 2) the ones that are have been added in manageable groups, [...] 16471 64 30_Re: Friday fun/ bragging quiz.16_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM31_Fri, 23 Mar 2001 16:18:26 -0500655_iso-8859-1 Anybody mention SNOBOL? I actually wrote a prog in that for a Telco.





regards,

eric pearson NS ITO Database Support



-----Original Message----- From: Mohammad Khan [mailto:mkkhan88@HOTMAIL.COM] Sent: Friday, March 23, 2001 3:46 PM To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz.



On Fri, 23 Mar 2001 11:29:10 -0800, Cliff Boley wrote:

>Mike, >there's no money involved with the prize, so tell the truth. >Now 716 does sound like a lot for one person to have used, >not to say that there isn't over 700 computer language written. [...] 16536 63 30_Re: Friday fun/ bragging quiz.15_Mohammed Nayeem25_Mohammed_Nayeem@MOMED.COM31_Fri, 23 Mar 2001 15:15:33 -0600579_us-ascii Yeh kya ho raha hai yahaan ?? Weekend may kaam nahi hai kya ???

---------------------- Forwarded by Mohammed Nayeem/MoMedicaid/US on 03/23/2001 03:11 PM ---------------------------



Mohammad Khan on 03/23/2001 02:46:06 PM

Please respond to DB2 Data Base Discussion List

To: DB2-L@RYCI.COM cc: (bcc: Mohammed Nayeem/MoMedicaid/US)

Subject: Re: Friday fun/ bragging quiz.





On Fri, 23 Mar 2001 11:29:10 -0800, Cliff Boley wrote: [...] 16600 45 18_Urgent help needed19_Krishna Vitaldevara19_krishna@BRIENCE.COM31_Fri, 23 Mar 2001 13:15:56 -0800731_iso-8859-1 Hi,

I want to do some thing similar to this in DB2 but it is not letting me declare any thing inside a trigger. Please suggest on how to do this.

CREATE TRIGGER DB2ADMIN.EDP_XSL_TR1 AFTER INSERT ON DB2ADMIN.EDP_STENCILS REFERENCING NEW AS N FOR EACH ROW MODE DB2SQL WHEN ( N.stencil_status=1 ) BEGIN ATOMIC DECLARE at_end integer; DECLARE cdevice DECIMAL(8); DECLARE cpipe DECIMAL(8); DECLARE cxmluri VARCHAR(255); DECLARE ca_tr1 CURSOR WITH HOLD FOR select c.device_id, b.pipe_id,e.xmlized_uri from edp_channels b, edp_dev_channel c,edp_request d, edp_uri e where b.channel_id = Nchannel_id and c.channel_id = b.channel_id and d.stencil_id = Nstencil_id and d.stencil_vid = Nstencil_vid and e.uri_id [...] 16646 206 30_Re: Friday fun/ bragging quiz.15_Billings, Linda30_linda.billings@DOA.STATE.WI.US31_Fri, 23 Mar 2001 15:18:53 -0600420_- I don't know. The class was at 8:00 AM and every desk had a can of Mountain Dew on it. I can't remember a thing about it. I do know that it involves IMS. Is SQL a language, really? There are no loops, no case structure, etc.

Linda

-----Original Message----- From: Kirk Hampton [mailto:khampto1@TXU.COM] Sent: Friday, March 23, 2001 2:57 PM To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz. [...] 16853 70 30_Re: Friday fun/ bragging quiz.11_Jim Keohane19_jimkeo@LOCKSTAR.COM31_Fri, 23 Mar 2001 16:18:36 -0500364_us-ascii Serious time spent with C, assembler, Pascal, etc. RPG was decades ago. Just played with Java and Python on my own. Brief Delphi and Clipper as expert witness in a court case.

C (SAS/C, IBM/C, C/400, DeSmet, MS, Borland/Turbo, CodeWarrior, Lattice/C on S/390!, etc.)

Assembler (S/360 and up, 80x86 & Pentium, 6502 & 6502B, 6809, 65816) [...] 16924 81 30_Re: Friday fun/ bragging quiz.11_Cliff Boley32_Maurice.C.BOLEY@ODOT.STATE.OR.US31_Fri, 23 Mar 2001 13:30:46 -0800417_iso-8859-1 -----Original Message----- From: Billings, Linda [mailto:linda.billings@DOA.STATE.WI.US] Sent: Friday, March 23, 2001 12:16 PM To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz.



Also, I took a computer graphics course one summer in college. We programmed on a DEC/VAX something or other. I don't remember the name of the language but does that count as number 21??? Am I ahead? [...] 17006 85 30_Re: Friday fun/ bragging quiz.11_Cliff Boley32_Maurice.C.BOLEY@ODOT.STATE.OR.US31_Fri, 23 Mar 2001 13:31:54 -0800459_iso-8859-1 Linda, Sure I'll take it. cliff:-)

-----Original Message----- From: Billings, Linda [mailto:linda.billings@DOA.STATE.WI.US] Sent: Friday, March 23, 2001 12:16 PM To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz.



Also, I took a computer graphics course one summer in college. We programmed on a DEC/VAX something or other. I don't remember the name of the language but does that count as number 21??? Am I ahead? [...] 17092 103 30_Re: Friday fun/ bragging quiz.16_Thomas E. Faglon21_tfaglon@TELCORDIA.COM31_Fri, 23 Mar 2001 16:26:05 -0500557_us-ascii Hi Going WAY back. IBM 407 HARDWIRED IBM 519 HARDWIRED IBM 088 HARDWIRED IBM 029 HARDWIRED SPS 1401/1460 switch programming AUTOCODER 1401/1460 switch programming IOCS 1401/1460 switch programming COBOL II -IV IBM 7074 switch programming FORTRAN II IV IBM 7094 switch programming PLI IBM 360/70/ETC ASSEMBLR IBM 360/70/ETC GIS QUERY LANGUAGE. IBM 360/70/ETC ADF IBM 360/70/ETC DLI SQL ISPF/CLISTS EXCEL POWER POINT HTML JAVA SCRIPTS MICROSOFT FRONT PAGE VCR NO ITS NOT 12:00 CLOCK RADIO TWO TIMES -TWO STATIONS LOTUS NOTES AUTO REPLY TO DB2-L [...] 17196 146 30_Re: Friday fun/ bragging quiz.13_John O'Conner26_John.OConner@COURTS.WA.GOV31_Fri, 23 Mar 2001 13:21:28 -0800447_iso-8859-1 How about variety of computers? *** My computer list: *** (starting Spring 1972) CDC-100 (using punch cards) 3 different programmable calculators DECSYSTEM10 (using teletype!) PDP-11 -- with these devices: -- DEC-TAPE reader (random access tape system!) -- Papertape punch/reader DECSYSTEM20 Superbrain (Z80 chip) HP3000 WANG "supermini" AMDAHL mainframe DOS PC Windows PC (3.1, 95, 98, NT) Apple PC IBM mainframe OS/2 PC Linux PC [...] 17343 86 30_Re: Friday fun/ bragging quiz.11_Cliff Boley32_Maurice.C.BOLEY@ODOT.STATE.OR.US31_Fri, 23 Mar 2001 13:37:56 -0800381_iso-8859-1 OK Mike, the judges will need some documentation on your count. Of course if you've had time to program in 697 languages then you're probably not familiar with documentation-o cliff:-)

-----Original Message----- From: O'Neill, Mike [mailto:Mike.O'Neill@53.COM] Sent: Friday, March 23, 2001 12:35 PM To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz. [...] 17430 226 30_Re: Friday fun/ bragging quiz.11_Cliff Boley32_Maurice.C.BOLEY@ODOT.STATE.OR.US31_Fri, 23 Mar 2001 13:45:31 -0800596_iso-8859-1 SQL could be thought of as a program or utility instead of a language but it is more complicated than BASIC. So it counts. cliff:-)





-----Original Message----- From: Billings, Linda [mailto:linda.billings@DOA.STATE.WI.US] Sent: Friday, March 23, 2001 1:19 PM To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz.



I don't know. The class was at 8:00 AM and every desk had a can of Mountain Dew on it. I can't remember a thing about it. I do know that it involves IMS. Is SQL a language, really? There are no loops, no case structure, etc. [...] 17657 215 30_Re: Friday fun/ bragging quiz.23_McKinnon, Neal (Dallas)28_Neal.Dallas.McKinnon@FMR.COM31_Fri, 23 Mar 2001 16:35:56 -0500510_iso-8859-1 Since DL/1 stands for Data Language 1, it should/must be a language. Since there have been several flavors of COBOL, but only one COmmon Business Oriented Language (it should only count as one, unless you don't throw the DIBOL people in there.) SInce folks are counting EZtrieve in all flavors, then any report generating syntax should be counted ( ie, RPG and its offspring, CULPRIT, DYL-anything, etc.) I was really glad to see another old fart mention Autocoder so I didn't have to do that. [...] 17873 124 30_Re: Friday fun/ bragging quiz.15_Mohammed Nayeem25_Mohammed_Nayeem@MOMED.COM31_Fri, 23 Mar 2001 15:47:19 -0600807_us-ascii Yeh Kya hai ????? Kaam karo yaar , masti rehne do ---------------------- Forwarded by Mohammed Nayeem/MoMedicaid/US on 03/23/2001 03:42 PM ---------------------------



"Thomas E. Faglon" on 03/23/2001 03:26:05 PM

Please respond to DB2 Data Base Discussion List

To: DB2-L@RYCI.COM cc: (bcc: Mohammed Nayeem/MoMedicaid/US)

Subject: Re: Friday fun/ bragging quiz.





Hi Going WAY back. IBM 407 HARDWIRED IBM 519 HARDWIRED IBM 088 HARDWIRED IBM 029 HARDWIRED SPS 1401/1460 switch programming AUTOCODER 1401/1460 switch programming IOCS 1401/1460 switch programming COBOL II -IV IBM 7074 switch programming FORTRAN II IV IBM 7094 switch programming PLI IBM 360/70/ETC ASSEMBLR IBM 360/70/ETC GIS QUERY [...] 17998 121 20_Re: Large OAM tables15_Billings, Linda30_linda.billings@DOA.STATE.WI.US31_Fri, 23 Mar 2001 15:49:03 -0600420_iso-8859-1 I am a bit confused about your comment about the layout of the documents on the optical platters. It doesn't matter where the documents are on the optical platters. If you migrate them to DASD then they will be in the order of the clustering index that you define. I did worry about flipping too many cartridges in and out on the libraries when migrating back so I only did certain cartridges at a time. [...] 18120 105 25_Re: REXX and DB2 commands11_Cliff Boley32_Maurice.C.BOLEY@ODOT.STATE.OR.US31_Fri, 23 Mar 2001 13:51:40 -0800549_iso-8859-1 Thanks everyone for the REXX help, I'm putting it to good use. cliff:-)

-----Original Message----- From: Charles F Creech [mailto:cfcreech@DUKE-ENERGY.COM] Sent: Friday, March 23, 2001 10:43 AM To: DB2-L@RYCI.COM Subject: Re: REXX and DB2 commands



Hi,

I got this off the listserv about 2 years ago. (I made a minor change to handle RC>8 gracefully.) This rexx puts the output into a temp file and browses it. With a minor chnage you could parse the command output instead of writing it to the temp file. [...] 18226 176 30_Re: Friday fun/ bragging quiz.18_Teegarden, Stephen22_Teegarden@AEGONUSA.COM31_Fri, 23 Mar 2001 15:53:05 -0600613_iso-8859-1 OK how about this for being old

I programmed an IMSAI 80 80 by throwing 8 bit switches 1 byte at a time....

Steve Teegarden, DBA AEGON USA 319-398-8066

> -----Original Message----- > From: Billings, Linda [SMTP:linda.billings@DOA.STATE.WI.US] > Sent: Friday, March 23, 2001 2:53 PM > To: DB2-L@RYCI.COM > Subject: Re: Friday fun/ bragging quiz. > > Ok, I give up. I can see that you guys are a WHOLE lot older than I am! > > Linda > > -----Original Message----- > From: Derez D. Lusk [mailto:ddlusk@HOUSEHOLD.COM] > Sent: Friday, March 23, 2001 2:42 PM > To: DB2-L@RYCI.COM > [...] 18403 22 30_Re: Friday fun/ bragging quiz.10_Paul Wendt14_PaulW@ENET.COM31_Fri, 23 Mar 2001 13:52:33 -0800385_us-ascii >JCL (not sure if that should count as a "programming" language, > but it's necessary to run programs, and it can be complicated)

I recall an -April- issue of a magazine in the mid-70's, I believe it was "Communications of the ACM", but my memory may be faulty...in any case it was a magazine not normally given to humor, and the Table on Contents had an article: [...] 18426 234 30_Re: Friday fun/ bragging quiz.12_Bob Lawrence21_rlawrence@BOSCOVS.COM31_Fri, 23 Mar 2001 17:00:22 -0500596_us-ascii Also anybody ever do programming on an analog computer? I did on a PACE TR-10(?) during college years for process control courses(engineering degree). Fun wiring feedback loops

Bob Lawrence DBA Boscov's Dept Stores Inc



On Friday, March 23, 2001 4:19 PM, Billings, Linda [SMTP:linda.billings@DOA.STATE.WI.US] wrote: > I don't know. The class was at 8:00 AM and every desk had a can of Mountain > Dew on it. I can't remember a thing about it. I do know that it involves > IMS. Is SQL a language, really? There are no loops, no case structure, > etc. > > Linda > [...] 18661 102 30_Re: Friday fun/ bragging quiz.13_O'Neill, Mike19_Mike.O'Neill@53.COM31_Fri, 23 Mar 2001 16:58:11 -0500505_iso-8859-1 docuwhat??????? If I had brain capacity left to remember they all I would use it to learn another.

-----Original Message----- From: Cliff Boley [mailto:Maurice.C.BOLEY@ODOT.STATE.OR.US] Sent: Friday, March 23, 2001 4:38 PM To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz.



OK Mike, the judges will need some documentation on your count. Of course if you've had time to program in 697 languages then you're probably not familiar with documentation-o cliff:-) [...] 18764 60 30_Re: Friday fun/ bragging quiz.19_Philip Nelson (DBA)21_teamdba@ATTGLOBAL.NET31_Fri, 23 Mar 2001 15:53:09 -0600527_us-ascii I'm a mere newbie compared to some of the other stuff I've seen but here goes -

1) SQL (of course on a DB2 list) 2) OS/VS COBOL 3) COBOL II 4) Java 5) Javascript 6) Perl 7) VB 8) ReportWriter 9) CLISTS 10) Easytrieve+ 11) IMS DB (DL/1) and DC 12) Pascal 13) Motorola 68000 assembler 14) Intel x86 assembler 15) C 16) C++ 17) Motorola 6806 assembler 18) PHP 19) HTML 20) XML 21) Python 22) Bash shell 23) C shell 24) Korn shell 25) Visual Basic 26) SuperBasic (Sinclair QL) 27) BBC Basic (on the BBC Micro) [...] 18825 88 30_Re: Friday fun/ bragging quiz.23_Luis Paulo Soares Dutra31_luispaulo@FABRICADIGITAL.COM.BR31_Fri, 23 Mar 2001 19:02:59 -0300424_iso-8859-1 Only:

Lua C, C++ Java SQL ANSI, NO ANSI Delphi Visual Basic Lotus Script REXX Cobol Perl

Luis Paulo

























Hi all how about a little off topic fun.

I've finally decide/have the time to lean a little REXX. It made me think of all the languages I've programmed with in my life with computers. [...] 18914 232 30_Re: Friday fun/ bragging quiz.11_Cliff Boley32_Maurice.C.BOLEY@ODOT.STATE.OR.US31_Fri, 23 Mar 2001 14:08:52 -0800708_iso-8859-1 Eztrieve and EZplus are different enough to be considered two different languages. I'd say move differences than ALGOL and PASCAL. cliff:-)

-----Original Message----- From: McKinnon, Neal (Dallas) [mailto:Neal.Dallas.McKinnon@FMR.COM] Sent: Friday, March 23, 2001 1:36 PM To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz.



Since DL/1 stands for Data Language 1, it should/must be a language. Since there have been several flavors of COBOL, but only one COmmon Business Oriented Language (it should only count as one, unless you don't throw the DIBOL people in there.) SInce folks are counting EZtrieve in all flavors, then any report generating syntax should be [...] 19147 16 47_Re: Friday bragging/programming languages, etc.0_26_truman.g.brown@VERIZON.COM31_Fri, 23 Mar 2001 17:12:09 -0500478_us-ascii SQL and NATURAL are query languages, not programming languages. Query languages are designed for data retrieval from a data base; the programming language used in conjunction with the query language does the rest.

George

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 19164 92 30_Re: Friday fun/ bragging quiz.13_Taddei, Cathy27_Cathy.Taddei@PACIFICORP.COM31_Fri, 23 Mar 2001 13:20:23 -0800428_iso-8859-1 I wasn't going to participate, but then lunchtime rolled around... Here they are (at least the ones I remember), with the more esoteric ones listed first:

EAI/640 machine language RSX-11/M assembler Information Management report-writing language (don't know if it had a name) ObjectStar (aka Huron) SPSS Fortran Pascal Cobol RPG SAS Easytrieve IBM 370 assembler HTML Clist REXX Visual Basic SQL Basic JCL [...] 19257 14 30_Re: Friday fun/ bragging quiz.13_Leo Conchello18_lconche@USWEST.COM31_Fri, 23 Mar 2001 15:18:41 -0700333_us-ascii I haven't seen anyone with MARK IV or IDEAL (CICS/Datacom). Are they still around?

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 19272 42 30_Re: Friday fun/ bragging quiz.0_22_Rohn.Solecki@MTS.MB.CA31_Fri, 23 Mar 2001 16:19:20 -0600418_us-ascii Gee, hasn't anyone out there done any programing for TANDEM hardware ? ? ?, ie SCOBOL - Screen COBOL TACL - their equivalent of JCL

And there was "APL" - "A Programming Language" running on a DEC, I think









"Pearson, Eric L," @RYCI.COM> on 2001/03/23 03:18:26 PM

Please respond to DB2 Data Base Discussion List [...] 19315 136 20_Re: Large OAM tables15_Tonmoy Dasgupta32_tonmoy.dasgupta@MAIL.STATE.AR.US31_Fri, 23 Mar 2001 16:02:45 -0600642_iso-8859-1 By layout, I was thinking of the nature of the data (I was hoping the latest documents would have the biggest key value, based on date).

-----Original Message----- From: Billings, Linda [mailto:linda.billings@DOA.STATE.WI.US] Sent: Friday, March 23, 2001 3:49 PM To: DB2-L@RYCI.COM Subject: Re: Large OAM tables



I am a bit confused about your comment about the layout of the documents on the optical platters. It doesn't matter where the documents are on the optical platters. If you migrate them to DASD then they will be in the order of the clustering index that you define. I did worry about flipping [...] 19452 53 30_Re: Friday fun/ bragging quiz.15_David A. Zelmer25_david.zelmer@CITICORP.COM31_Fri, 23 Mar 2001 16:56:20 -0600616_us-ascii How about Sperry-Univac 1100 series hardware?

I was once a SE for Univac and knew the 1100 flavors of COBOL, assembler (2 versions), JCL, TIP (sorta like CICS), editors, DMS (their DBMS), etc.

Dave Zelmer DB2 systems programmer/DBA Citibank

Rohn.Solecki@MTS.MB.CA wrote: > > Gee, hasn't anyone out there done any programing for TANDEM hardware ? ? ?, > ie > SCOBOL - Screen COBOL > TACL - their equivalent of JCL > > And there was "APL" - "A Programming Language" running on a DEC, I think > > "Pearson, Eric L," @RYCI.COM> on 2001/03/23 > 03:18:26 PM > > [...] 19506 64 14_EDM pool stats16_Alison Pelletier26_alison_pelletier@YAHOO.COM31_Fri, 23 Mar 2001 14:57:36 -0800474_us-ascii Hello Everyone,

We are DB2 for OS/390 V5. We experienced EDM pool failures freq. Our systems folks increased EDM pool as much as they could. I dropped many SAVE DATA tables from QMF, reorged all tablespaces, and ran modify recover. DBDs reduced tremendously. We haven't had a failure since.

We are storage constrained, so I wonder now if we can reduce the EDM pool size or can I now bind more reusable online CICS packages w/release(deallocate). [...] 19571 186 30_Re: Friday fun/ bragging quiz.40_Franklin, Lorenzo (CC-Database Services)33_Lorenzo.Franklin@CONAGRAFOODS.COM31_Fri, 23 Mar 2001 16:50:56 -0600411_iso-8859-1 Well, if anyone is going to brag about items that we've worked on I might as well throw my 2 cents into the hat. I've worked on the Trashes, the Co-Co's, even the Sinclair's, The TI, Atari's, Altair, Apple IIe, the PC Jr. (sorry to mention it). Of course there was the Vic-20, the Pet, The C-64, C-128, and the Amiga 500, 1000, 1200. All this fun was before the mammoth onslaught of the wintel. [...] 19758 86 30_Re: Friday fun/ bragging quiz.12_Greg Parrish15_zengreg@JPS.NET29_Fri, 23 Mar 2001 23:02:52 GMT535_iso-8859-1 COmmon Business Oriented Language (oh wait, that's a different dinosaur)

-----Original Message----- From: DAVIS, RICK (SBCSI) [mailto:rd8246@SBC.COM] Sent: Friday, March 23, 2001 11:20 AM Subject: Re: Friday fun/ bragging quiz.



Cliff, You are automatically eliminated from the competition due to your blatant admission that you wrote FORTRAN! You are obviously lying because everyone knows computers weren't around during the Dinosaur Age! :) Now for the trivia quiz: what does FORTRAN stand for? [...] 19845 37 28_Re: Stored Procedure Builder12_Robert Mills30_robert.mills@CENTRELINK.GOV.AU31_Sat, 24 Mar 2001 10:03:14 +1100373_us-ascii Hi Carl,

We came across a bug in DSNTPSMP which occurs when allocating the DBRMLIB. Let me know if this is the problem you have and I will send you the change we made to the REXX routine.

Regards Rob

> Date: Thu, 22 Mar 2001 14:41:01 -0000 > From: Carl Newton > Subject: Stored Procedure Builder > > All, [...] 19883 212 30_Re: Friday fun/ bragging quiz.13_Willie Favero21_wfavero@ATTGLOBAL.NET31_Fri, 23 Mar 2001 17:05:58 -0600569_us-ascii SQL is a language.. and there are loop statements if you look at what is available for Stored Procedures now.

Willie

"Billings, Linda" wrote:

> I don't know. The class was at 8:00 AM and every desk had a can of Mountain > Dew on it. I can't remember a thing about it. I do know that it involves > IMS. Is SQL a language, really? There are no loops, no case structure, > etc. > > Linda > > -----Original Message----- > From: Kirk Hampton [mailto:khampto1@TXU.COM] > Sent: Friday, March 23, 2001 2:57 PM > To: DB2-L@RYCI.COM > Subject: [...] 20096 78 30_Re: Friday fun/ bragging quiz.13_Willie Favero21_wfavero@ATTGLOBAL.NET31_Fri, 23 Mar 2001 17:06:11 -0600639_us-ascii I remember SNOBOL.. the old string manipulation language someone wrote for the phone company....

Willie

"Pearson, Eric L," wrote:

> Anybody mention SNOBOL? > I actually wrote a prog in that for a Telco. > > regards, > > eric pearson > NS ITO Database Support > > -----Original Message----- > From: Mohammad Khan [mailto:mkkhan88@HOTMAIL.COM] > Sent: Friday, March 23, 2001 3:46 PM > To: DB2-L@RYCI.COM > Subject: Re: Friday fun/ bragging quiz. > > On Fri, 23 Mar 2001 11:29:10 -0800, Cliff Boley > wrote: > > >Mike, > >there's no money involved with the prize, so tell [...] 20175 115 30_Re: Friday fun/ bragging quiz.13_Willie Favero21_wfavero@ATTGLOBAL.NET31_Fri, 23 Mar 2001 17:06:20 -0600647_us-ascii Does WatBOL count even though it is just a flavor of COBOL?

Willie

DOUG KESTNER wrote:

> Basic (several different flavors - TRS-80, MS, G-basic, Commodore64 ) > Cobol (1 and 2) (accessing VSAM, IDMS, IMS, DB2 databases) using (IMS/DC, CICS communications) on DOS VSE, MVS machines > Pascal (mainframe, Turbo (pc), version 2,3,4 > Fortran (mainframe) Formula Translation > Assembler (mainframe, Borland Turbo Assembler) > SAS (mainframe, statistical piece of crap) > Nomad ( wish I wouldn't have remembered this one) > MFS (Message Format Services - used to code IMS screens) > BMS (Basic Mapping Services - used [...] 20291 68 30_Re: Friday fun/ bragging quiz.13_Willie Favero21_wfavero@ATTGLOBAL.NET31_Fri, 23 Mar 2001 17:07:19 -0600541_us-ascii Did anyone mention Dylacor 260 and 270 ... Or maybe it was Dylakor????

Willie

Cliff Boley wrote:

> Hi all how about a little off topic fun. > > I've finally decide/have the time to lean a little REXX. It made me think > of all > the languages I've programmed with in my life with computers. > > So for all of you competitive computer nerds out there, > how may languages have you programmed in. > > You may include stuff from school, fun or work and any computer (digital or > analog). > > The winner will [...] 20360 32 30_Re: Friday fun/ bragging quiz.11_Cliff Boley32_Maurice.C.BOLEY@ODOT.STATE.OR.US31_Fri, 23 Mar 2001 15:08:00 -0800419_iso-8859-1 Ok, if we want to jump into the esoteric, how about programming Turing machines and Finite-state machines w/neural nets (for carbon based computing;-)



cliff:-) it spring and a old nerds thoughts turn to the abstract. -----Original Message----- From: Leo Conchello [mailto:lconche@USWEST.COM] Sent: Friday, March 23, 2001 2:19 PM To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz. [...] 20393 27 62_Application performance problem: What information do yoy need?13_Carlton Enuda24_carltonenuda@HOTMAIL.COM31_Fri, 23 Mar 2001 18:09:30 -0500573_- Hi listers,

I have a general question for the audience: If you have to go to a senior DBA or Performance Analyst for help with a poorly performing code (e.g., long running program) what are the kind of information that need to be in the "problem folder". I will like to make it easier for our Sr. DBAs(very busy people) to mentor the junior DBAs in problem solving without having to do the inevitable basic(initial) research to solve the problem. For example, one of the item in my "problem folder" will be the "Explain" result on the module/SQL in question, [...] 20421 235 39_Re: Is the best REORG the one not done!11_Bill Happel22_WRHappel@US.FORTIS.COM31_Fri, 23 Mar 2001 17:23:31 -0600360_US-ASCII Todd is right. How frequent a reorg is executed is dependent on several issues, including, but not restricted to: Free space coded; Amount of inserts, updates and deletes; How processed (i.e. sequentially or randomly), Size of tablespace; and the all-important Service Level Agreement (SLA), which dictates response times and availability times. [...] 20657 19 30_Re: Friday fun/ bragging quiz.26_Edward(Ed) J. Finnell, III23_efinnell@SEEBECK.UA.EDU31_Fri, 23 Mar 2001 17:38:56 -0600520_- We actually had Dr. Iverson come talk to us about APL.(Advanced programming language) for an ACM meeting. It was as he described "a year in hell". He was trying to take his mathematical grammer that he was teaching(at Harvard) and get it into a "language". His dedicated assistant at the "lab" spoke English as a second language, but was a pretty good programmer. Anyway, probably the best ACM meeting I ever attended. Sort of lit the fire. Edward(Ed) J. Finnell, III Enterprise Systems/Proj. Mgr. url:www.ua.edu [...] 20677 47 30_Re: Friday fun/ bragging quiz.11_Jim Keohane19_jimkeo@LOCKSTAR.COM31_Fri, 23 Mar 2001 18:42:34 -0500347_us-ascii Spent a week modelling PCDOS C after some TAL code. That was about 15-17 years ago.

- Jim Keohane



Rohn.Solecki@MTS.MB.CA wrote:

> Gee, hasn't anyone out there done any programing for TANDEM hardware ? ? ?, >

> "Pearson, Eric L," @RYCI.COM> on 2001/03/23 > 03:18:26 PM >

20725 85 18_Re: EDM pool stats11_Cliff Boley32_Maurice.C.BOLEY@ODOT.STATE.OR.US31_Fri, 23 Mar 2001 16:08:29 -0800462_iso-8859-1 Alison, Here's a starter for help, follow the thread "Re: Zparm CONTSTOR - contract thread storage" There was some discussion on storage size for DBM1 and a URL for a great article on storage management with some tuning suggestions by John Campbell & Mary Petras. cliff:-)

-----Original Message----- From: Alison Pelletier [mailto:alison_pelletier@YAHOO.COM] Sent: Friday, March 23, 2001 2:58 PM To: DB2-L@RYCI.COM Subject: EDM pool stats [...] 20811 60 67_Re: Application performance problem: What information do you need ?24_Leblanc, Francis C - CNF23_Leblanc.Francis@CNF.COM31_Fri, 23 Mar 2001 16:21:55 -0800576_- Hi Carlton!

As a senior DBA, I would also like to know the size of the tables involved, what indexes are currently available, how often the SQL statements are executed, whether the program is batch or on-line, what the current response time is, what the response time needs to be to be considered successful, and a brief overview of how the application works. I can certainly get most of this information myself, but having the leg work already done will speed up the process significantly, and make the DBA less likely to run and hide when they see you coming. [...] 20872 18 21_Re: SAS/DB2 and V6/V712_Roger Miller19_millerrl@US.IBM.COM31_Fri, 23 Mar 2001 18:11:59 -0600335_- The DBRM checker has several versions, but it may not reflect the changes in APARs like PQ26922 and PQ30390 which allow the descriptors or SQLDAs to be coded without a colon.

Not everything flagged by all the versions of the checker cause real problems. Sorry, but the reality is more complex than most of us understand. [...] 20891 87 26_Re: CICS and FOR UPDATE OF14_Michael Hannan24_mhannan@C031.AONE.NET.AU31_Sat, 24 Mar 2001 11:33:40 +1000658_us-ascii Cluadio,

Within the same transaction, FOR UPDATE OF does lock safely.

Michael Hannan

>From: Terry Purcell >Subject: Re: CICS and FOR UPDATE OF >To: DB2-L@RYCI.COM > >Claudio, > >In psuedo-conversational CICS, the data is retrieved (with FOR UPDATE OF), >displayed on the screen to the user and the transaction completes releasing >all locks. > >Therefore between the time the data is displayed on the screen and the user >updates the data, CICS had released all locks, and thus any other process >could sneak in and update the row. > >One recommended method is to store a last updated timestamp [...] 20979 146 53_Query Help (-RE: Cost of using DATA CAPTURE (CHANGES)14_Michael Hannan24_mhannan@C031.AONE.NET.AU31_Sat, 24 Mar 2001 11:33:44 +1000584_us-ascii Sanjeev & Demetris,

Since hasn't been covered, I thought I better suggest some ways of re-writing the Query for better performance.

This is first variation to get rid of stage 2 predicates (on OS/390):

SELECT AGE_RNGE,COUNT(*) FROM table1,table2 WHERE table2.CUSTAGE >= FROM_AGE AND table2.CUSTAGE <= TO_AGE GROUP BY AGE_RNGE;

Now there is still a problem that the join is not very efficient. So why not summarize table2 before doing the join? This will reduce rows to be joined dramtically. I am assuming that most table2 rows will qualify. [...] 21126 38 30_Re: Friday fun/ bragging quiz.16_Aurora Dell'Anno28_Aurora_E_DellAnno@CANDLE.COM31_Fri, 23 Mar 2001 23:51:18 +0000467_us-ascii TACL - their equivalent of JCL

And there was "APL" - "A Programming Language" running on a DEC, I think





Hey!!!! This reminds me of ICCF, not long ago when I was working in Turkey - and speaking Turkish too.... :-((((







Ciao!

Aurora Emanuela Dell'Anno Systems Engineer Candle Service Ltd.

Office: +44 (0) 1276 41 4752 Mobile: +44 (0) 7881 818 867 email: aurora_dellanno@candle.com [...] 21165 149 30_Re: Friday fun/ bragging quiz.16_Aurora Dell'Anno28_Aurora_E_DellAnno@CANDLE.COM31_Fri, 23 Mar 2001 23:41:22 +0000435_us-ascii A nd, in addition (although I am VERY young).....

what about the well over 30 assembler instructions for commodore 64?

bet I got you on there....

Ciao!

Aurora Emanuela Dell'Anno Systems Engineer Candle Service Ltd.

Office: +44 (0) 1276 41 4752 Mobile: +44 (0) 7881 818 867 email: aurora_dellanno@candle.com

* std. disclaimer * MY OPINIONS ARE MY OWN AND NOT THOSE OF MY EMPLOYER [...] 21315 85 66_Re: Application performance problem: What information do you need?11_David Nance16_DWNance@FHSC.COM31_Fri, 23 Mar 2001 19:52:26 -0500371_US-ASCII A couple of other things that would help would be the particular statement(s) that you feel may be the culprits. The actual run statistics of the job(i.e. cpu/elapsed time/ waits, etc...). This should prove to be an interesting thread, especially since I'm at a brand new shop and in the process of setting up procedures for pretty much everything. Thanks. [...] 21401 88 67_Re: Application performance problem: What information do you need ?16_Thomas E. Faglon21_tfaglon@TELCORDIA.COM31_Fri, 23 Mar 2001 19:52:21 -0500316_us-ascii Hi, I would also like to know if there were any changes to the application. Programs, data volumes, business structure, no of user's Also important any changes to the operating environment -- new releases fixes applied. This is a life time task and the more information you have the better. Tom Faglon [...] 21490 81 22_Re: Urgent help needed14_Richard Yevich26_Richard_Yevich@YLASSOC.COM31_Fri, 23 Mar 2001 19:20:18 -0600749_iso-8859-1 Using the SQL Procedure Language, code a stored procedure (very easy using the IBM DB2 Stored Procedure Builder Tool).

Then in the trigger, simply "CALL MyStoredProcedure".



Regards, Richard

Richard Yevich - Principal Yevich Lawson & Assoc. Inc. (YL&A) Richard_Yevich@YLAssoc.com 1-888-246-5049/1-217-744-0000 http://www.YLAssoc.com -- DB2 Performance Journal http://www.db2-symposium.com -- DB2 Symposiums



> -----Original Message----- > From: DB2 Data Base Discussion List [mailto:DB2-L@RYCI.COM]On Behalf Of > Krishna Vitaldevara > Sent: Friday, March 23, 2001 3:16 PM > To: DB2-L@RYCI.COM > Subject: Urgent help needed > > > Hi, > > I want to do some thing similar to this in DB2 but it [...] 21572 26 21_Re: DBM1 Service Wait12_Roger Miller19_millerrl@US.IBM.COM31_Fri, 23 Mar 2001 19:29:46 -0600305_- There is a fairly detailed explanation of the counters in the DB2 Administration Guide, (page 666 as Adobe counts on the V6 current level), with all of the class 3 times split out and explained a bit more. One possibility would be that a data set was archived and had to be recalled, for instance. [...] 21599 17 20_Re: DSN1COPY problem12_Roger Miller19_millerrl@US.IBM.COM31_Fri, 23 Mar 2001 19:35:47 -0600487_- Here's one more quick guess. When you said

1 - 5.1 ddl does NOT explicitly specify SEGSIZE

Are you saying that the V5 definition is a simple table space, while the V6 one is segmented?

Roger Miller, DB2 for OS/390 and z/OS

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 21617 18 18_Re: EDM pool stats12_Roger Miller19_millerrl@US.IBM.COM31_Fri, 23 Mar 2001 19:41:26 -0600387_- Here is the 100,000 meter level response.

The 10% is what you are using actively right now. The next 62% of the pool is what helps you avoid IO into the EDMPOOL. You generally need to use IO to the pool to see how much is effective. If you have shrunk the DBDs by a lot, then you can reduce your storage, but need to have a periodic check and MODIFY RECOVER to stay there. [...] 21636 17 20_Re: group by clause.12_Roger Miller19_millerrl@US.IBM.COM31_Fri, 23 Mar 2001 20:01:32 -0600382_- Using the column number was only for ORDER BY. The 1992 standards deprecate the use of column numbers even for ORDER BY. So I would say that a likely direction at some point in the distant future is that you'll need to specify what to use explicitly. If it's an expression, for example, then the standard suggests naming it AS name, then using the name, not a column number. [...] 21654 150 30_Re: Friday fun/ bragging quiz.22_Lindsay, William (BIS)24_WLindsay@EXCHANGE.ML.COM31_Fri, 23 Mar 2001 22:11:27 -0500367_iso-8859-1 What better to do on a Friday night....hmmm....maybe I should send this anonymous email

BAL RPGII COBOL from for OS/VS1 Microfocus Cobol for Windows "" for UNIX Easytrieve EasyTrieve+ ANSI C Java Visual Basic from 3.0 PL/SQL T-SQL REXX Rosprocs CLIST KShell BourneShell Delphi from 1.0 JavaScript VBScript Active Server Pages Java Server Pages [...] 21805 59 30_Re: Friday fun/ bragging quiz.12_Terry Spikes21_terryspikes@YAHOO.COM31_Fri, 23 Mar 2001 19:29:43 -0800582_us-ascii That was something called PICK, I think?!?



--- Rohn.Solecki@MTS.MB.CA wrote: > Gee, hasn't anyone out there done any programing for TANDEM hardware ? ? > ?, > ie > SCOBOL - Screen COBOL > TACL - their equivalent of JCL > > And there was "APL" - "A Programming Language" running on a DEC, I think > > > > > > "Pearson, Eric L," @RYCI.COM> on 2001/03/23 > 03:18:26 PM > > Please respond to DB2 Data Base Discussion List > > Sent by: DB2 Data Base Discussion List > > > To: DB2-L@RYCI.COM > cc: > [...] 21865 80 18_Re: EDM pool stats9_Rob Crane22_racrane@CONCENTRIC.NET31_Fri, 23 Mar 2001 20:56:55 -0700469_us-ascii I like using release(deallocate) but usually when switching to release(deallocate) the EDM pool size would need to increase to take into account addition CTs and PTs that are hopefully staying around longer in the EDM pool and being used by persistent threads, etc.

Based on the CTs and PTs being a low % when compared to the SKCTs and SKPTs % from below, I would assume that most of your packages are not currently bound with release(deallocate). [...] 21946 230 40_Re: Friday fun/ bragging quiz - LISP ???12_Terry Spikes21_terryspikes@YAHOO.COM31_Fri, 23 Mar 2001 19:56:03 -0800651_us-ascii LISP.....

I remember that!

"Lots-of Inconvenient Stupid Parenthesis"

Everything was a function. Kinda like an SQL sub-query. Just wrap a pair of parenthesis aroud it!

aka... Terry W. Spikes





--- "Franklin, Lorenzo (CC-Database Services)" wrote: > Well, if anyone is going to brag about items that we've worked on I > might as > well > throw my 2 cents into the hat. > I've worked on the Trashes, > the Co-Co's, even the Sinclair's, > The TI, Atari's, Altair, Apple IIe, the PC Jr. (sorry to mention it). > Of course there was the Vic-20, the Pet, The [...] 22177 168 35_Re: Friday fun/ bragging quiz - ADA12_Terry Spikes21_terryspikes@YAHOO.COM31_Fri, 23 Mar 2001 20:03:38 -0800564_us-ascii I saw that in college too. ADA was supposed to be the Government's replacement for COBOL. I Think? That's what I was told...(back in the day).

(aka) T. Spikes



--- Helen Johnson wrote: > I haven't seen Ada yet. I worked on that in college. > > "Derez D. Lusk" wrote: > > > Did anyone mention TRASH 80 ??? (TRS-80) > > and what about the old CP/M on those KAYPROS > > > > DOUG KESTNER > > > ATE.IL.US> cc: > > Sent by: DB2 Subject: Re: Friday > fun/ bragging quiz. [...] 22346 17 30_Re: Friday fun/ bragging quiz.26_Edward(Ed) J. Finnell, III23_efinnell@SEEBECK.UA.EDU31_Fri, 23 Mar 2001 22:08:33 -0600547_- Think PICK was an operating system developed for the S/1's. J.C.Penny's ran them for a very long time. Think each store had one, sort of a precursor to client/server. Probably most modern cash registers can run circles around them. Edward(Ed) J. Finnell, III Enterprise Systems/Proj. Mgr. url:www.ua.edu

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 22364 85 28_Creation of database replica13_Arora, Ashish26_ashish.arora@HPSGLOBAL.COM31_Sat, 24 Mar 2001 09:29:23 +0500421_- Hi, I hv DB2 (7.1) on one NT machine and want to create a replica of the existing Database, with data intact, on another NT machine. I hv taken the backup of existing database and noted down the timestamp of backup image, on first machine. Now, I manually copied the backup image file, from first machine to the other NT machine in its "d:\db2back" folder. Now I'm running the following command on other machine : [...] 22450 85 32_How to create Database replica ?13_Arora, Ashish26_ashish.arora@HPSGLOBAL.COM31_Sat, 24 Mar 2001 09:29:51 +0500402_- Hi,

I hv an existing database on DB2, 7.1, on one NT machine. I want to create a replica of the existing database, on another NT machine. Now I'm taking the backup of existing db and noting down the timestamp of backup image file. I manually copied the backup image file from first machine to the other, in its "d:\db2back" folder. Now I'm running the following command on other machine: [...] 22536 39 36_Recall: Creation of database replica13_Arora, Ashish26_ashish.arora@HPSGLOBAL.COM31_Sat, 24 Mar 2001 09:30:23 +050081_- Arora, Ashish would like to recall the message, "Creation of database replica". 22576 39 36_Recall: Creation of database replica13_Arora, Ashish26_ashish.arora@HPSGLOBAL.COM31_Sat, 24 Mar 2001 09:30:34 +050081_- Arora, Ashish would like to recall the message, "Creation of database replica". 22616 121 30_Re: Friday fun/ bragging quiz.12_Terry Spikes21_terryspikes@YAHOO.COM31_Fri, 23 Mar 2001 20:42:15 -0800502_us-ascii OK. Here's my list. At least... it's what I can think of right now.

1. BASIC (Apple IIe, TRS-80, Atari, etc...) 2. PASCAL 3. FORTRAN 4. Assembler (IBM-360) 5. COBOL 6. C (++) 7. LISP 8. ADA 9. SQL (DB2, dBASE) 10. DOS (BAT files) 11. HTML 12. VB Script 13. JAVA Script 14. Pocket C (PalmOS - Cool new stuff) 15. JCL (does that count) 16. Macro & Command Level CICS, BMS. 17. Easytrieve+ (aka Hard-Trieve) 18. QMF (real programmers don't use QMF) 19. FOCUS (WebFOCUS is kinda cool) [...] 22738 135 12_SQL Question14_Michael Hannan24_mhannan@C031.AONE.NET.AU31_Sat, 24 Mar 2001 18:29:27 +1000590_us-ascii Joe,

I know others have addressed this question. But I want to put in my own views.

You have an OID for COMPMT presumeably because there is no natural key suitable. You don't need one for CALIAST. CALIAST could have primary key MOID, ALIAS# where alias# is 0, 1, 2, etc. This saves an index since primary key index also doubles as foreign key index for relationship to COMPMT. No site needs excessive indexes at data INSERT time. UPPER function is non-sargable on some platforms and certainly non-indexable. You may need to store the desc or alias in Upper Case [...] 22874 104 38_Follow up question: Re: oracle vs. db214_Michael Hannan24_mhannan@C031.AONE.NET.AU31_Sat, 24 Mar 2001 18:46:52 +1000673_iso-8859-1 Oracle has no clustering index right? Do shops find a way to reorg their tables into sensible physical data sequence?

Do Oracle DWs suffer automatic 'death by random I/O' due to lack of ability to cluster the data into meaningful data groupings?

From: Michael Hannan

>From: "McClendon, Rick" >Subject: Re: repost: oracle vs. db2 >To: DB2-L@RYCI.COM > >What is the replication source for the DWH data? If it is DB2, I Highly >recommend UDB v7.1 >That way DWH development staff can glean DB2 processing "styles" implemented >at your site quickly and easily from your operational DBA's. Also, >operational DBA's [...] 22979 66 42_Re: Oracle trigger conversion (was: blank)14_James Campbell29_James.Campbell@HANCORP.COM.AU31_Sat, 24 Mar 2001 19:05:40 +1100343_iso-8859-1 Krishna,

you don't have to be new to DB2 to struggle with this conversion. Been there, done that. First, do you have the redbook "Converting from Oracle AIX to DB2 for OS/390" SG24-5478-00, if not get it (www.redbooks.ibm.com). It does contain some generic techniques apart from the purely AIX/Oracle -> DB2/OS390 ones. [...] 23046 58 38_Re: DB2 UDB Migration--Identity Column14_James Campbell29_James.Campbell@HANCORP.COM.AU31_Sat, 24 Mar 2001 19:15:26 +1100414_iso-8859-1 In the OS/390 world, you'ld have to use DEFAULT on the target system. There's even some notes in DPROPR that the targets have to be DEFAULT.

/* standard disclaimer */ James Campbell Hansen Corporation

-----Original Message----- From: Gary Rue [mailto:Gary.Rue@MAIL.STATE.KY.US] Sent: Saturday, 24 March 2001 2:46 To: DB2-L@RYCI.COM Subject: [DB2-L] DB2 UDB Migration--Identity Column [...] 23105 34 30_Re: Friday fun/ bragging quiz.14_Richard Yevich26_Richard_Yevich@YLASSOC.COM31_Sat, 24 Mar 2001 02:24:45 -0600490_iso-8859-1 Around the time ADA was selected by DOD as the unfortunate new standard (1978-80), from a set of 4 languages (Red, Green, Blue, Yellow), there was another standard language: CHLL, used mostly in Europe, very powerful.

Also, saw no mention oh PL/M, used in the ICE-80 DEC op systems, forerunners of PCs. And PL/S, used predominately by IBM for op/sys development. Then there was SNOBOL...and PROLOG...and I am hoping that ALGOL-64 was mentioned somewhere in the list. [...] 23140 28 30_Re: Friday fun/ bragging quiz.14_James Campbell29_James.Campbell@HANCORP.COM.AU31_Sat, 24 Mar 2001 19:29:53 +1100521_iso-8859-1 Well, my earliest programming experience was on CSIRAC - built in 1949. Can't remember if the language had a name. Memory was 768 36 bit words kept in mercury delay tubes. MTBF=20 minutes.

Of course, it was many years later and I was very young.

/* standard disclaimer */ James Campbell Hansen Corporation -----Original Message----- From: Cliff Boley [mailto:Maurice.C.BOLEY@ODOT.STATE.OR.US] Sent: Saturday, 24 March 2001 5:32 To: DB2-L@RYCI.COM Subject: [DB2-L] Friday fun/ bragging quiz. [...] 23169 48 25_Re: REXX and DB2 commands14_James Campbell29_James.Campbell@HANCORP.COM.AU31_Sat, 24 Mar 2001 19:40:55 +1100415_iso-8859-1 If you are using the DB2-REXX interface, you can set up an IFI call to issue the command and receive the response. You have to call DSNWLIR, since the interface uses RRSAF.

(Of course, if you _are_ using the DB2-REXX interface, the technique of pushing the command onto the stack and invoking TSO's DSN command won't work because that would imply different attachments in one address space.) [...] 23218 39 44_Recall: Recall: Creation of database replica15_Agarwal, Ashish28_Ashish.Agarwal@HPSGLOBAL.COM31_Sat, 24 Mar 2001 16:18:58 +050091_- Agarwal, Ashish would like to recall the message, "Recall: Creation of database replica". 23258 45 35_Online Reorg and new datasets J00010_20_vpacheco@AMADEUS.NET31_Sat, 24 Mar 2001 12:54:14 +0100377_us-ascii Dear all

I have just found a problem with an Online Reorg in DB2/390 V6 (recent service level). During the switch phase of the Online Reorg I got an abend: S04E reason 00E50013 resulting of the following symptom: DSNU296I -DSP1 DSNURRNM - IN REORG WITH SHRLEVEL REFERENCE OR CHANGE, DATA SET DSP1.DSNDBC.A140XBI3.TST03.J0001.A001 DOES NOT EXIST, CONTEXT=1 [...] 23304 92 32_Re: Creation of database replica16_Thomas E. Faglon21_tfaglon@TELCORDIA.COM31_Sat, 24 Mar 2001 07:53:59 -0500732_us-ascii



hi, try export import







"Arora, Ashish" on 03/23/2001 11:29:23 PM

Please respond to DB2 Data Base Discussion List

To: DB2-L@RYCI.COM cc: (bcc: Thomas E. Faglon/Telcordia) Subject: Creation of database replica







Hi, I hv DB2 (7.1) on one NT machine and want to create a replica of the existing Database, with data intact, on another NT machine. I hv taken the backup of existing database and noted down the timestamp of backup image, on first machine. Now, I manually copied the backup image file, from first machine to the other NT machine in its "d:\db2back" folder. Now I'm running [...] 23397 102 25_Re: REXX and DB2 commands12_Isaac Yassin20_yassini@BEZEQINT.NET31_Sat, 24 Mar 2001 16:44:11 +0200714_iso-8859-1 Hi, Here's an example. Adapt it as needed.



/* REXX */ TRACE N "FREE F(PRINT)" IF SYSDSN('XXX.DISPLAY') = OK THEN "ALLOC F(PRINT) DA('XXX.DISPLAY') SHR" ELSE "ALLOC F(PRINT) DA('XXX.DISPLAY') NEW TRACKS SP(1 1) , RECFM(F B) LRECL(80) BLOCK(8880)" X = OUTTRAP('OUTPUT.') IF RC>0 THEN SIGNAL EXIT SAY "STATUS OF SUBSYSTEM DST" SAY "******************* ***" SAY " " QUEUE "-DIS DATABASE(*) LOCKS RESTRICT LIMIT(*)" QUEUE "-DIS DATABASE(*) SPACENAM(*) LOCKS RESTRICT LIMIT(*)" QUEUE "-DIS DATABASE(*) RESTRICT LIMIT(*)" QUEUE "-DIS DATABASE(*) SPACENAM(*) RESTRICT LIMIT(*)" QUEUE "END" ADDRESS TSO " DSN SYSTEM(DB2T) " IF RC>0 THEN DO SAY "====== DB2T IS CURRENTLY INACTIVE ======" EXIT [...] 23500 116 32_Re: Java and DB2 (one last time)8_Rob Lake29_robert.q.lake@PAC.ERICSSON.SE31_Sat, 24 Mar 2001 11:06:09 -0600500_- Hi Raymond,

It's almost like an ex- SWISSCOM BS/K get-together - just saw Grahams' posting, which has prompted me to add my moneys worth. I assume by now that you don't have a problem locating the JRE. I've got a few more points which might help:

1) For UDB V6.1 you have got the wrong JRE - it should be JRE 1.1.7b IBM ENHANCED VERSION which generally comes with the DB2 UDB installation disks (you do not want the version from SUN). Also see point 4) below about obtaining it. [...] 23617 62 30_Re: Friday fun/ bragging quiz.20_Forestall, Philip T.19_forestall@SPRINT.CA31_Sat, 24 Mar 2001 15:45:54 -0500539_us-ascii OK, someone else out there must have coded:

PL/C C#

Cliff Boley wrote:

> Hi all how about a little off topic fun. > > I've finally decide/have the time to lean a little REXX. It made me think > of all > the languages I've programmed with in my life with computers. > > So for all of you competitive computer nerds out there, > how may languages have you programmed in. > > You may include stuff from school, fun or work and any computer (digital or > analog). > > The winner will get the esteemed "Tower [...] 23680 26 62_Re: Moving Data/Files from Mainframe, AS/400, & NT to RS/ 600011_Endy Lambey27_endyl@MITRAINFOSARANA.CO.ID31_Sun, 25 Mar 2001 15:17:19 +0700345_ISO-8859-1 Thank you very much to Jim, Sanjeev, James, Uli, Tzachi, Rajeev & Mark for your response.

I'm still trying to do the things as you guys have told me. Thank you again, I'll have to ask you guys again if I have any problem :)) Best Regards

Endy Lambey PT. MITRA INFOSARANA endy@lambey.net endyl@mitrainfosarana.co.id [...] 23707 25 20_JCL for BIND PACKAGE17_Valerie J Traurig18_valeriet6@JUNO.COM31_Sun, 25 Mar 2001 12:27:20 -0500494_- Craig Mullins has JCL in his book for program prep on pages 412-413. This looks like prep for an instream DBRM. Does anyone know what this would look like for a package where you wanted to change bind parameters and then bind it into a plan?

Thanks ________________________________________________________________ GET INTERNET ACCESS FROM JUNO! Juno offers FREE or PREMIUM Internet access for less! Join Juno today! For your FREE software, visit: http://dl.www.juno.com/get/tagj. [...] 23733 54 30_Re: Friday fun/ bragging quiz.13_Neil Courtney19_NCOURTN@CLEAR.CO.NZ31_Mon, 26 Mar 2001 12:06:43 +1200554_iso-8859-1 that was a interesting list of mail to have presented to me on a Monday morning. I was well gone from here, in New Zealand, on Friday when the fun started.

Starting back in 1968, my list would include

360 Assembler FORTRAN COBOL (many IBM flavours starting with DOS, including 360 DOS & VSE, 370, 8100) M18 machine code (The Molecular 18 'mini' - it fit in a small room - computer was produced by Business Computers Ltd for a while in the UK in the early '70's. With a short deadline before VAT Day, we chose to use machine [...] 23788 113 42_Re: Follow up question: Re: oracle vs. db212_Cianci, Nick28_Nick.Cianci@TEAM.TELSTRA.COM31_Mon, 26 Mar 2001 10:16:26 +1000544_iso-8859-1 Hi Michael, great to hear from you again!

If my memory of Oracle serves me right I believe that this can be got a round with an Oracle "concept" that they stole from IMS; Hashing! They call it "Hash Clusters". I believe (and this is where my memory lets me down) that use hashing algorithms to locate related data with in the same data blocks, of course you'd get the standard hashing problems of chaining to overflow areas et al, and a "REORG" wouldn't help unless you changed the dynamics of the "HASH" in the process. [...] 23902 165 31_Java stored procedures question0_54_Shan_Leatherman/MO/americancentury@AMERICANCENTURY.COM31_Sun, 25 Mar 2001 18:51:10 -0600501_us-ascii Richard , You indicated that the Java Stored procedures that are supported in DB2 V7 will do so without the aid of a compiler. . We are working on a project right now to build the infrastructure to use Java Stored Procedures under DB2 V6. We are just starting so I wondered if you can give any advise on things to be concerned about when building an infrastructure for Java Stored Procedures that are compiled in V6 and then when we get to V7 Java Stored Procedures will be interpreted. [...] 24068 87 35_Re: Java stored procedures question14_Richard Yevich26_Richard_Yevich@YLASSOC.COM31_Sun, 25 Mar 2001 20:17:47 -0600326_iso-8859-1 Shan,

Boy - lot's of questions. First of all the HPJ was an intermediate solution from the beginning. The new JVM, with V7, is quit different and will support both stored procedures and UDF's written in Java. From a performance standpoint, this is the way of the future and you should not be concerned. [...] 24156 95 30_Re: Friday fun/ bragging quiz.14_Ruediger Kurtz28_ruediger.kurtz@HUK-COBURG.DE31_Mon, 26 Mar 2001 08:23:16 +0200607_iso-8859-1 I'm thrilled by "FASTASS" :-))





"O'Neill, Mike" schrieb: > > 716....do I win? > > -----Original Message----- > From: Cliff Boley [mailto:Maurice.C.BOLEY@ODOT.STATE.OR.US] > Sent: Friday, March 23, 2001 1:32 PM > To: DB2-L@RYCI.COM > Subject: Friday fun/ bragging quiz. > > Hi all how about a little off topic fun. > > I've finally decide/have the time to lean a little REXX. It made me think > of all > the languages I've programmed with in my life with computers. > > So for all of you competitive computer nerds out there, > how may languages have you programmed in. [...] 24252 19 30_Re: Friday fun/ bragging quiz.10_Max Scarpa16_mscarpa@CESVE.IT31_Mon, 26 Mar 2001 09:19:24 +0200517_us-ascii NOW I know why mainframers are called DINOSAURS....many of languages cited were used when

Myophoria Kerfesteini (Devonian to Triassic) was living in Thetis ocean......

Max Scarpa Not so 'dinosaur' (don't shoot me, I'm only a very later tertiary mammal)

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 24272 43 33_Search for Akira Shibamiya papers10_Max Scarpa16_mscarpa@CESVE.IT31_Mon, 26 Mar 2001 09:37:01 +0200480_iso-8859-1 Hi all estimeed listerz.

I'm looking for some Akira Shybamiya's papers, expecially for papers about processing cost model formula, if available. Chuck Hoover mentioned these papers/articles in some articles. Below one of the title I need (they are pretty old but I

know that there are more recent titles).



[HOOV95] Hoover, C.; Understanding the DB2 Version 3 Buffer Manager," Com- puware Corporation, Farmington Hills, Michigan, 1995. [...] 24316 37 18_Re: EDM pool stats10_Max Scarpa16_mscarpa@CESVE.IT31_Mon, 26 Mar 2001 09:58:37 +0200423_us-ascii Hi Alison, here my 2 cents....

You did a quite good performance improvement running MODIFY to clean SYSCOPY tables as DBD size depends on

SYSCOPY entries, too.

What OMEGAMON displays is the 'instantaneus' usage of EDM pool (like buffer in use of -DIS BP command) and in

general 28% of 'free space', if constant it's enough, as I saw in many papers (they recommend a 20% ), even to [...] 24354 67 47_Re: Friday bragging/programming languages, etc.14_Davage, Marcus29_Marcus.Davage@LLOYDSTSB.CO.UK31_Mon, 26 Mar 2001 09:04:14 +0100507_iso-8859-1 Sorry, but Natural IS a programming language, a 4GL to be exact. So is Mantis (by Cincom) whom noone has mentioned yet. Neither has anyone mentioned CESIL (Computer Education for Schools Instruction Language) by ICL back in the early '80s.

Also, noone has menioned POP, an object orientATED AI programming language; ML (Meta Language), a functional language; Z, a functional specification language; LOGO, an educational graphics language...all far too academic for any practical use! [...] 24422 87 47_Re: Friday bragging/programming languages, etc.16_Aurora Dell'Anno28_Aurora_E_DellAnno@CANDLE.COM31_Mon, 26 Mar 2001 09:38:26 +0000403_us-ascii Natural is indeed a 4th Generation programming language - although I do not actually "speak" it, ask any of those ADABAS people....



Ciao!

Aurora Emanuela Dell'Anno Systems Engineer Candle Service Ltd.

Office: +44 (0) 1276 41 4752 Mobile: +44 (0) 7881 818 867 email: aurora_dellanno@candle.com

1 Archipelago Lyon Way Frimley Camberley Surrey RH16 7ER UK [...] 24510 69 24_Re: location of DSNTPSMP11_Carl Newton30_newtonc@INNOVATION-GROUP.CO.UK31_Mon, 26 Mar 2001 11:07:39 +0100459_- All,

Thanks for all your help. Indeed the NEW.SDSNCLST was not allocated to the SYSEXEC DD statement. The LISTDSI problem disappeared when we turned the SYSSRC dataset from a temporary one to a defined one. All appears fine ... for the time being.

Carl.

-----Original Message----- From: Robert Mills [mailto:robert.mills@CENTRELINK.GOV.AU] Sent: Friday, March 23, 2001 12:04 AM To: DB2-L@RYCI.COM Subject: Re: location of DSNTPSMP [...] 24580 35 30_Re: Friday fun/ bragging quiz.18_Michael J. O'Neill29_mike.oneill@CUSTOMS.TREAS.GOV31_Mon, 26 Mar 2001 05:35:57 -0500504_US-ASCII ANY chance we could STOP clogging things up with these useless messages?



______________________________ Reply Separator _________________________________ Subject: Re: Friday fun/ bragging quiz. Author: "DB2 Data Base Discussion List" at smtplink Date: 3/26/01 2:19 AM



NOW I know why mainframers are called DINOSAURS....many of languages cited were used when

Myophoria Kerfesteini (Devonian to Triassic) was living in Thetis ocean...... [...] 24616 112 45_FW: BSDS Resizing for new BPs in DB2 V6 OS39014_Thomas, Steven21_Steven_Thomas@BMC.COM31_Mon, 26 Mar 2001 05:32:54 -0600556_iso-8859-1 Aedan,

If you want to resize your BSDS datasets, just allocate some new ones and use REPRO. You'll need to shut down DB2, but it works just fine.

As far as resizing them goes, I've not seen anyone have to do this, but then most sites I've come across have very small BSDS datasets anyway, and adding a cylinder or two onto them isn't going to break the bank in disk space compared to active logs and your actual user databases. All you need when you do start using more Bufferpools is enough space to store how large they are [...] 24729 84 45_Re: testing WLM-established stored procedures11_Tina Hilton21_Tina.Hilton@BMSUS.COM31_Mon, 26 Mar 2001 07:40:40 -0500347_iso-8859-1 Hi David. I did look at the entry in SYSROUTINES and SYSPARMS and it looks okay to me (doesn't mean there isn't a problem, although I did use IBM's create SQL). I added the schema as the qualifier in the Rexx (SDB2ADM.COMMAND), but that didn't help.

It sounds like I'm the only one who's tried to use this sample rexx code. [...] 24814 144 45_Re: testing WLM-established stored procedures12_Simon George21_Simon.George@UBSW.COM31_Mon, 26 Mar 2001 13:51:56 +0100358_US-ASCII Tina,

I haven't tried using the REXX SP but we do have a lot of COBOL/C SP's. Two things that are worth checking (and covered by the -440) are that (1) you have authority to run the SP (GRANT EXECUTE ON PROCEDURE was added in V6) and (2) you might need to include a PATH definition in the PLAN bind to include the schema owner of the SP [...] 24959 109 16_EEE verification12_Randy Wilson22_Randy_Wilson@BCBST.COM31_Mon, 26 Mar 2001 08:27:38 -0500563_iso-8859-1 Hi List, We have a 3rd party software application being installed, and the vendor is requiring us to install their version of UDB ... we are their first client that is currently running EEE, and we're at version 7.1. They are saying that they haven't tested with 7.1 yet and brought us a copy of 6.1 to install for their application, our only stipulation was that they put in EEE, which they agreed to. Our AIX guys have installed 6.1 for them, and I've just connected to their databases... my question is: how can I verify that EEE is installed? [...] 25069 103 45_Re: testing WLM-established stored procedures8_Rob Lake29_robert.q.lake@PAC.ERICSSON.SE31_Mon, 26 Mar 2001 07:04:39 -0600611_- Have you ensured that the invoker is authorized to execute the stored procedure? Failure to do so can result in a -440 SQLCODE.

For example :

GRANT EXECUTE ON PROCEDURE SDB2ADM.COMMAND TO PUBLIC;

Cheers, Rob On Mon, 26 Mar 2001 07:40:40 -0500, Tina Hilton wrote:

>Hi David. I did look at the entry in SYSROUTINES and SYSPARMS and it looks >okay to me (doesn't mean there isn't a problem, although I did use IBM's >create SQL). I added the schema as the qualifier in the Rexx >(SDB2ADM.COMMAND), but that didn't help. > >It sounds like I'm the only one [...] 25173 164 18_Re: EDM pool stats16_Charles F Creech24_cfcreech@DUKE-ENERGY.COM31_Mon, 26 Mar 2001 08:33:24 -0500289_us-ascii Alison,

----------- ------- ---- In Use 1535 10% DBDs 764 5% CTs 141 1% PTs 630 4%

The part of your display that I have pasted above is telling you what is in use at that instant in time. 10% of the total EDM pool was in use, with 5 % of theat being DBDs, etc. [...] 25338 48 43_Re: Track vs Cylinder allocation threashold14_David Williams30_David.Williams@DOL.STATE.GA.US31_Mon, 26 Mar 2001 08:40:16 -0500 25387 91 20_Re: EEE verification12_Jim Fletcher19_jfletch3@US.IBM.COM31_Mon, 26 Mar 2001 08:58:10 -0500405_iso-8859-1 Randy,

Issue a db2 get dbm cfg command. The top of the output will have a node type line. For EEE, it should say something like 'Extended Enterprise Edition Server....'. EE will not have the 'Extended' word, it returns 'Database server with local and remote clients'. Hope this helps.





Randy Wilson @RYCI.COM> on 03/26/2001 08:27:38 AM [...] 25479 51 24_Re: JCL for BIND PACKAGE13_Seibert, Dave26_Dave_Seibert@COMPUWARE.COM31_Mon, 26 Mar 2001 08:59:45 -0500392_iso-8859-1 Hi Valerie, I'm sure I'm missing complete understanding of your question.

Here are sample JCL and control statements you could use to BIND a package from a DBRM and Bind a plan pointing to the collection containing that package.

You should review all the possible parameters you might want for BIND PLAN and BIND PACKAGE. What I have provided are just a sample. [...] 25531 17 36_Re: Table containing IDENTITY column15_Walter Janissen27_walter.janissen@VICTORIA.DE31_Mon, 26 Mar 2001 07:35:52 -0600493_- Hi

I want to say some words to this:

- The default for cache is 20. - I loaded a table as well and made the same experience, but this has no influence of caching. The Load-Utility only updates the column MAXASSIGNEDVAL in SYSSEQUENCES.

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 25549 21 17_Stored Procedures12_Stacia Moore26_Stacia_Moore@HAM.HONDA.COM31_Mon, 26 Mar 2001 09:02:51 -0500558_us-ascii We are running in a WLM environment in test DB2 V6 and non WLM in Prod V5 DB2. We have 16 TCB's defined to the Stored procedure address space. I run display procedure to see if a procedure is active, what the max active is, if any are queued, etc. We have CA insight and Omegmon as performance monitors. My question is.... How do I tell the HWM in this stored procedure address space? How many stored procedures are running concurrently? We have a major implementation of a system which will increase the activity in this address space. I know [...] 25571 152 30_Re: Friday fun/ bragging quiz.27_Radonjic, Bora (Consultant)23_BRadonjic@ACNIELSEN.COM31_Mon, 26 Mar 2001 08:22:51 -0600392_- Me to, some PDP 11, one bite one switch a time. Anyone remembers DOS/ICCF, it had some CLIST-like language using something like @@IF ..... syntax? Has someone mentioned MANTIS, pity it did not survive. Also no words about LINC (on UNISYS), the best 4-GL I worked with, or AIM, but then I did not read every mail in this tread, it would be too much even for Friday's fun. Have fun Bora [...] 25724 43 21_Re: SAS/DB2 and V6/V716_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM31_Mon, 26 Mar 2001 09:28:04 -0500585_iso-8859-1 Roger, IBMLINK identifies PQ26922 and PQ30390 as V6 only. Are these included in the V7 base? If not, are V7 PTFs for these APARs forthcoming?

regards,

eric pearson NS ITO Database Support



-----Original Message----- From: Roger Miller [mailto:millerrl@US.IBM.COM] Sent: Friday, March 23, 2001 7:12 PM To: DB2-L@RYCI.COM Subject: Re: SAS/DB2 and V6/V7



The DBRM checker has several versions, but it may not reflect the changes in APARs like PQ26922 and PQ30390 which allow the descriptors or SQLDAs to be coded without a colon. [...] 25768 46 50_stored procedure with result list and one argument15_Pierre Dagenais19_pdagenai@UOTTAWA.CA31_Mon, 26 Mar 2001 09:44:59 -0500480_us-ascii db2/os390 v6 , db2 connect v7 fixpak 1,

Hi

I have a problem calling a stored procedure returning one result list with one input argument. The stored procedure was built using the stored procedure builder It runs fine with the stored procedure builder.

BUT

from the command line processor (CLP) or from the command center or from Ms access query passthru. It doesn't work. I get db21103w "too many input parameter specified (expected 0)". [...] 25815 62 34_Multiple datasets for a tablespace13_Parker, Chris20_Chris_Parker@BMC.COM31_Mon, 26 Mar 2001 08:34:39 -0600428_iso-8859-1 Craig,

Copy should not read the DB2 log, and to my knowledge there is no indicator in the catalog or dbd to reflect a secondary dataset. Most likely what happened is that when the UOW forced the creation of the second dataset, the last space map page in the first dataset was updated to reflect the possibility of the existence of the next dataset. This would trigger copy to look for the second dataset. [...] 25878 72 39_Re: Online Reorg and new datasets J000115_Tonmoy Dasgupta32_tonmoy.dasgupta@MAIL.STATE.AR.US31_Mon, 26 Mar 2001 08:34:43 -0600482_iso-8859-1 We have experienced a similar problem with a table that had exceeded the 2 GB limit. We have an open PMR with IBM on this. I wonder if it has anything to do with exceeding that 2GB dataset limit because all our other online reorgs seem to go fine. You could have a look at a recent APAR PQ35840/UQ50944. We are skeptical about that APAR as our solution as we also get a message that our switch phase was over. I would be interested in your solution when you get it. [...] 25951 88 21_Re: Stored Procedures16_Aurora Dell'Anno28_Aurora_E_DellAnno@CANDLE.COM31_Mon, 26 Mar 2001 14:54:21 +0000434_us-ascii Stacia,

are you running on version 500 or 510 of our OMEGAMON II?

might sound like a silly advertising question, but since a range of monitoring facilities for Stored Procedures were introduced in our OMEGAMON II v. 510, this is actually quite relevant...

anyway, please contact me (I think offline is preferable to the rest of the list), so that I may give you some hints and tips re. your plight. [...] 26040 27 26_SQL with Distinct question10_Chris Kern23_Chris_Kern@VANGUARD.COM31_Mon, 26 Mar 2001 09:58:25 -0500570_us-ascii Listers, I have been posed SQL using Distinct question, I'm not sure how to perform what they want: Here's the question:

I have TABLE_A with CODE_COLUMN. I want to SELECT DISTINCT CODE_COLUMN FROM TABLE_A, but here is the thing, I also want the other column values from the "distinct" row. Whether the other columns from that row are distinct doesn't matter, my result set should only have disntinct occurrances of CODE_COLUMN . Is this even possible? My drop back and punt position is to set up a cursor with a GROUP BY and parse through the data. [...] 26068 163 20_Re: Large OAM tables15_Billings, Linda30_linda.billings@DOA.STATE.WI.US31_Mon, 26 Mar 2001 09:10:45 -0600628_iso-8859-1 For ImagePlus(FAF and IODM) the latest documents do have the largest values and ideally will be inserted into the last partition. For Visual Info, the names are produced randomly so new documents are randomly distributed throughout the partitions.

Now, I said ideally inserted into the last partition for ImagePlus because I know that we have some old documents that were created under an old naming convention. Even though they are very old they will always be in the last partition of the tablespace. They start with 'DOT.DRV...." while the rest follow the convention of "Xyymmdd....." where X is A for [...] 26232 115 32_Re: DB2-OS/390- Statistical Anal18_Ermanno Bertolotti18_ebertolotti@BCI.IT31_Mon, 26 Mar 2001 17:25:07 +0200759_us-ascii We would like a copy, too, please.

Thanks, Ermanno Bertolotti.

DB2 Mail wrote:

> We would like a copy, too, please. > > Thanks, > Evelyn J. Runyon > 281-584-4028 > Runyon.Evelyn@Corp.sysco.com > ------------------( Forwarded letter 1 follows )-------------------- > Date: Fri, 16 Mar 2001 15:36:25 -0700 > To: DB2-L@RYCI.COM > From: Robert.Jans[robert_jans]@ALBERTSONS.COM > Sender: owner-db2-l@RYCI.COM > Reply-To: DB2.Data.Base.Discussion.List[DB2-L]@RYCI.COM > Subject: Re: DB2-OS/390- Statistical Analysis of Tablespaces and Index spa > > I'd like a copy too, please > > Robert Jans > Albertsons, Inc. > > > -----Original Message----- > From: Roger Hecq [mailto:Roger.Hecq@msdw.com] > Sent: [...] 26348 215 30_Re: Friday fun/ bragging quiz.13_Adrian Savory27_Adrian.Savory@WORKTHING.COM31_Mon, 26 Mar 2001 16:31:45 +0100476_iso-8859-1 Never mind programming languages, what about weird databases? I started life on a database called RIM - stood for relational information manager I believe. Was written by Boeing back in the early 80s I think.

Adrian

PS: Anyone mentioned IDEAL - nice language.

-----Original Message----- From: Radonjic, Bora (Consultant) [mailto:BRadonjic@ACNIELSEN.COM] Sent: 26 March 2001 15:23 To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz. [...] 26564 53 30_Re: Friday fun/ bragging quiz.5_Chris17_isatcjk@YAHOO.COM31_Mon, 26 Mar 2001 07:37:22 -0800587_us-ascii Hi Everybody, Let's see what I can come up with...

Basic (apple II in 3rd grade) Pascal (apple II 4th grade) later on the PC, then Delphi II, III (I'll count that separate from Pascal, it's pretty different) Logo (for pretty pictures) some Texas Instrument's calculator C, C++ (didn't use a lot of the OO features) PC Bat files Kshell Bourne shell C shell Cobol (PC, MVS) Fortran Assembler on Apple II (definitely not in grade school) PAL (paradox) Procomm scripting Foxpro (xbase + stuff) Rexx (some, I can hack it up) TSO Clists (some ISPF with it) Platinum batch [...] 26618 78 30_Re: SQL with Distinct question0_19_mike.holmans@BT.COM31_Mon, 26 Mar 2001 16:38:03 +0100393_- I'm sorry, but I don't really understand what your question is.

SELECT DISTINCT CODE_COLUMN eliminates rows in which the value of CODE_COLUMN is duplicated, so that you only get one row instead of ten, say. But you say you want the other column values for the "distinct" row. How do you know which of the ten rows in the original table has the other column values that you want? [...] 26697 142 32_Re: DB2-OS/390- Statistical Anal11_Pavan Borra26_pavan.borra@PRUDENTIAL.COM31_Mon, 26 Mar 2001 10:45:46 -0500882_us-ascii I would like a copy too.......

Thanks, Pavan







Ermanno Bertolotti @RYCI.COM> Monday March 26, 2001 10:25 AM

Please respond to ebertolotti@bci.it

Sent by: DB2 Data Base Discussion List

To: DB2-L@RYCI.COM cc: Subject: Re: DB2-OS/390- Statistical Anal



We would like a copy, too, please.

Thanks, Ermanno Bertolotti.

DB2 Mail wrote:

> We would like a copy, too, please. > > Thanks, > Evelyn J. Runyon > 281-584-4028 > Runyon.Evelyn@Corp.sysco.com > ------------------( Forwarded letter 1 follows )-------------------- > Date: Fri, 16 Mar 2001 15:36:25 -0700 > To: DB2-L@RYCI.COM > From: Robert.Jans[robert_jans]@ALBERTSONS.COM > Sender: owner-db2-l@RYCI.COM > Reply-To: DB2.Data.Base.Discussion.List[DB2-L]@RYCI.COM > Subject: Re: DB2-OS/390- [...] 26840 12 30_Re: Friday fun/ bragging quiz.12_Jeff Frazier26_Jeffrey_Frazier@WENDYS.COM31_Mon, 26 Mar 2001 10:50:27 -0500290_us-ascii can we put this to rest please. Thanks.

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 26853 76 30_Re: Friday fun/ bragging quiz.12_Dunn, Judith27_Judith.Dunn@INGRAMMICRO.COM31_Mon, 26 Mar 2001 10:55:09 -0500456_iso-8859-1 I can't compete when it comes to all those languages, but in the late 70's I worked for a service bureau that ran 10 banks on a state-of-the-art IBM 360 that we programmed in assembler. When we had a problem and didn't want to take down all the banks to reload the system, we did core patches. Those were assembler instructions written in hex and entered from the console into memory at the address of the bad code. Nerve-wracking but fun! [...] 26930 101 30_Re: SQL with Distinct question14_Harvey Puckett25_HPUCKETT@DOAS.STATE.GA.US31_Mon, 26 Mar 2001 11:03:41 -0500594_US-ASCII SELECT DISTINCT(CODE_COLUMN), Cola, Colb, etc FROM OWNER.TABLENAME WHERE whatever ...

works for me ... but what value is the result???

>>> mike.holmans@BT.COM 03/26/01 10:38AM >>> I'm sorry, but I don't really understand what your question is.

SELECT DISTINCT CODE_COLUMN eliminates rows in which the value of CODE_COLUMN is duplicated, so that you only get one row instead of ten, say. But you say you want the other column values for the "distinct" row. How do you know which of the ten rows in the original table has the other column values that you want? [...] 27032 205 30_Re: Friday fun/ bragging quiz.11_Mayo Arthur19_Arthur.Mayo@IRS.GOV31_Mon, 26 Mar 2001 11:06:25 -0500625_iso-8859-1 We used to do the same thing on an old IBM 1401 !!!

-----Original Message----- From: Dunn, Judith [mailto:Judith.Dunn@INGRAMMICRO.COM] Sent: Monday, March 26, 2001 10:55 AM To: DB2-L@RYCI.COM Subject: Re: Friday fun/ bragging quiz.



I can't compete when it comes to all those languages, but in the late 70's I worked for a service bureau that ran 10 banks on a state-of-the-art IBM 360 that we programmed in assembler. When we had a problem and didn't want to take down all the banks to reload the system, we did core patches. Those were assembler instructions written in hex and entered [...] 27238 29 35_Re: Java stored procedures question13_Waldo Tumanut33_Waldo_Tumanut@AMERICANCENTURY.COM31_Mon, 26 Mar 2001 09:40:29 -0600440_- Richard, I am working with Shan on Java Stored Procedures implementation for OS/390 v6.1. Thanks for your answers.

To Richard and any Java Stored Procedures experts out there. I have some follow up questions.

Q. Please confirm: hpj comes with VisualAge for Java; no additional purchase necessary for a "compiler".

Q. Are "compiled" Java Stored Procedures (i.e. running in VisualAge environment) supported in v7? [...] 27268 21 30_Re: Friday fun/ bragging quiz.15_Paul S Rockwood19_rockwood@US.IBM.COM31_Mon, 26 Mar 2001 11:22:38 -0500568_us-ascii Folks, Its now Monday, lets give this languages boasing a rest. Thanks!

Paul S. Rockwood IBM Software I/T Specialist Certified Solutions Expert - DB2 UDB v7.1 6710B Rockledge Drive Bethesda, MD 20817 301-803-3733 DB2 UDB Version 7 - Find out what all the excitement is about at http://www.ibm.com/software/data

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 27290 41 50_Re: Friday fun/ bragging quiz. Can we stop please?16_Bhogale, Pushkar24_Bhogale.Pushkar@MBCO.COM31_Mon, 26 Mar 2001 10:24:26 -0600419_iso-8859-1 Jeff,

We need to include this humble request to STOP this in the subject line so that everybody will notice it right away.

Otherwise just by looking into the subject, everybody feels that it is one more list of languages.

I think this list serve is a wonderful opportunity for all of us to share our knowledge, and it should be used carefully so that the server is not overwhelmed. [...] 27332 116 30_Re: SQL with Distinct question14_Grainger, Phil20_Phil.Grainger@CA.COM31_Mon, 26 Mar 2001 17:28:57 +0100367_iso-8859-1 I think the originator of the question needs to think what the result set would look like.

Don't forget, we can't have missing values so if he is expecting blanks where the CODE_COLUMN doesn't change, then he is in for a disappointment.

Also

If the other columns are unique, then there is no need for the DISTINCT clause any way. [...] 27449 21 21_Ad Hoc Reporting Tool15_Knabach, Mark L20_mark.knabach@EDS.COM31_Mon, 26 Mar 2001 11:28:12 -0500380_iso-8859-1 I am working on an account that wishes to query mainframe (OS/390) DB2 tables (V5.1) using a tool that would reside on a NT / Windows98 / Windows 2000 workstation. They desire the tool to be browser-based. If you have run across such a tool, or can point me to a vendor who has a "user-friendly" tool with this capability, it would be much appreciated. Thank you. [...] 27471 99 30_Re: SQL with Distinct question13_Seibert, Dave26_Dave_Seibert@COMPUWARE.COM31_Mon, 26 Mar 2001 12:15:56 -0500417_iso-8859-1 Hello Chris and dog,

As Mike, Harvey, and Phil have already pointed out the questionability of the result you might get from such a query, I won't repeat it.

I do want to point out that the SQL

SELECT DISTINCT(CODE_COLUMN), A1, B1, C1 FROM TABLE_A ...

might look as if it would get you the result you seek, however questionable. It looks deceptively simple and attractive. [...] 27571 20 30_Re: Friday fun/ bragging quiz.13_Helen Johnson25_helen_johnson@RAC.RAY.COM31_Mon, 26 Mar 2001 11:16:09 -0600448_us-ascii We still have programmers in our company still using MARK IV and MARK V.

Leo Conchello wrote:

> I haven't seen anyone with MARK IV or IDEAL (CICS/Datacom). Are they still around? > > ================================================ > To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. [...] 27592 10 120_I guess we had 'enough' of .............. Friday fun/ bragging quiz ..............Pls stop sending on this subject !!!!!11_Pavan Borra26_pavan.borra@PRUDENTIAL.COM31_Mon, 26 Mar 2001 12:27:51 -0500244_-

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 27603 40 30_Re: Friday fun/ bragging quiz.13_Villa Horacio17_hvilla@TTI.COM.AR31_Mon, 26 Mar 2001 14:24:25 -0300731_iso-8859-1 Jim,

I'd like a copy tooooo.



-----Mensaje original----- De: DB2 Data Base Discussion List [mailto:DB2-L@RYCI.COM]En nombre de Helen Johnson Enviado el: Lunes 26 de Marzo de 2001 14:16 Para: DB2-L@RYCI.COM Asunto: Re: Friday fun/ bragging quiz.



We still have programmers in our company still using MARK IV and MARK V.

Leo Conchello wrote:

> I haven't seen anyone with MARK IV or IDEAL (CICS/Datacom). Are they still around? > > ================================================ > To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. [...] 27644 31 50_get readable limit key values from system catalogs15_Amy C Whitehead14_B06ACW@FDS.COM31_Mon, 26 Mar 2001 12:43:03 -0500321_us-ascii Hi, I need to create a report from the system catalogs for the limitkey values. Is there a way to convert VARCHAR for bit data into a readable format in either V5 or V6?

SELECT PARTITION, SUBSTR(IXNAME,1,7) AS TSNAME, LIMITKEY as values FROM SYSIBM.SYSINDEXPART WHERE IXNAME LIKE 'BUY%' ORDER BY 2,1 [...] 27676 60 54_Re: get readable limit key values from system catalogs16_RICHARD E MOLERA25_RICHARD.E.MOLERA@SLMA.COM31_Mon, 26 Mar 2001 13:14:45 -0500532_us-ascii Amy,

You should retrieve the LIMITKEY from SYSTABLEPART. That is stored as character data and is readable (i.e., NOT stored as "BIT DATA", as it is in SYSINDEXPART).

Hope that helps!

Rick Molera











Amy C Whitehead on 03/26/2001 12:43:03 PM

Please respond to DB2 Data Base Discussion List

To: DB2-L@RYCI.COM cc: (bcc: RICHARD E MOLERA/SallieMae) Subject: get readable limit key values from system catalogs [...] 27737 73 54_Re: get readable limit key values from system catalogs16_Aurora Dell'Anno28_Aurora_E_DellAnno@CANDLE.COM31_Mon, 26 Mar 2001 18:30:00 +0000481_us-ascii Amy,

retrieve the LIMITKEY from SYSIBM.SYSTABLEPART - it is stored in readable format (CHAR), unlike elsewhere.

HTH.

Ciao!

Aurora Emanuela Dell'Anno Systems Engineer Candle Service Ltd.

Office: +44 (0) 1276 41 4752 Mobile: +44 (0) 7881 818 867 email: aurora_dellanno@candle.com

1 Archipelago Lyon Way Frimley Camberley Surrey RH16 7ER UK



* std. disclaimer * MY OPINIONS ARE MY OWN AND NOT THOSE OF MY EMPLOYER [...] 27811 102 54_Re: get readable limit key values from system catalogs15_Amy C Whitehead14_B06ACW@FDS.COM31_Mon, 26 Mar 2001 13:40:18 -0500672_us-ascii Thanks a bunch!!

Thanks, Amy







Amy C. Whitehead Federated Systems Group Database Architecture (678) 474-3418





RICHARD E MOLERA cc: Sent by: DB2 Data Subject: Re: get readable limit key values Base Discussion from system catalogs List



03/26/01 01:14 PM Please respond to DB2 Data Base Discussion List











Amy,

You should retrieve the LIMITKEY from SYSTABLEPART. That is stored as character data and is readable (i.e., NOT stored as "BIT DATA", as it is in SYSINDEXPART). [...] 27914 162 45_Re: testing WLM-established stored procedures11_Tina Hilton21_Tina.Hilton@BMSUS.COM31_Mon, 26 Mar 2001 14:02:13 -0500463_iso-8859-1 I have sysadm authority via a RACF group, so that should be sure I'm authorized. There was no mention of binding a plan, though. How do you bind a plan when there is no program or DBRM -- just rexx code? The create procedure specifies "no collid".

Tina

-----Original Message----- From: Simon George [mailto:Simon.George@UBSW.COM] Sent: March 26, 2001 7:52 AM To: DB2-L@RYCI.COM Subject: Re: testing WLM-established stored procedures [...] 28077 27 23_NODE meeting -- April 213_Taddei, Cathy27_Cathy.Taddei@PACIFICORP.COM31_Mon, 26 Mar 2001 11:14:26 -0800416_iso-8859-1 The next Northern Oregon DBMS Exchange meeting will be held as follows: Date: April 2, 2001 (next Monday!!) Time: 1:30 to 4:30 p.m. Place: Lloyd 700 Building (formerly the Port of Portland) 3rd floor conference rooms A and B 700 NE Multnomah Street Portland, Oregon 97232 conference room phone number - (503) 578-2358 Speaker: Willie Favero, BMC Software Topic: Fun with DB2 Performance for Everyone [...] 28105 200 45_Re: testing WLM-established stored procedures13_John O'Conner26_John.OConner@COURTS.WA.GOV31_Mon, 26 Mar 2001 11:22:13 -0800342_iso-8859-1 Tina,

Here's my experience with calling DB2 OS/390 v6.1 SPs from Rexx:

() If I qualify the SP in the Rexx, I get -440. () If I assign the qualifier to a host variable and use that host variable in the SP call, it works! () If I get the qualifier added to the CURRENT PATH, and call the SP unqualified, it works. [...] 28306 223 45_Re: testing WLM-established stored procedures13_Kenski, David25_David.Kenski@MARRIOTT.COM31_Mon, 26 Mar 2001 14:38:58 -0500424_iso-8859-1 Tina,

Are you tying to call a REXX SP or test the WLM SP environment for SQL stored procedures? (thought I remember an earlier request for that help) If the later, look at jobs DSNTEJ63 and DSNTEJ64 in the DSNSAMP library. That's what I used to verify WLM and SQL SP's. I haven't tested the REXX SP's. My external and SQL SP's are working fine using IBM examples in both WLM and non-WLM environments. [...] 28530 30 29_Updates to partitioning index13_John O'Conner26_John.OConner@COURTS.WA.GOV31_Mon, 26 Mar 2001 11:41:41 -0800482_iso-8859-1 Hello List,

- DB2 v6.1 - OS/390 2.10 -

We are looking at partitioning some tables. The indexes we are planning to use as partitioning indexes are existing indexes. Our current application executes updates to the columns in these indexes.

We are wondering if we'll be taking any performance hits when these columns are in a partitioning index. We expect that the hit will depend in part on whether the updated values belong in another partition. [...] 28561 58 33_Re: Updates to partitioning index15_Billings, Linda30_linda.billings@DOA.STATE.WI.US31_Mon, 26 Mar 2001 13:52:24 -0600305_iso-8859-1 Hi, John, You will probably have problems with locking. When DB2 updates the partitioning key for a row and that row must move, for example, from partition 2 to partition 6, then DB2 will take locks on partition 2 THROUGH partition 6 until the row is moved. We have seen that happen here. [...] 28620 94 42_Re: Oracle trigger conversion (was: blank)19_Krishna Vitaldevara19_krishna@BRIENCE.COM31_Mon, 26 Mar 2001 11:51:46 -0800440_iso-8859-1 Can Some one please help me with this. I saw that people are more interested in Friday fun than some one who really needs help :-)

CREATE TRIGGER DB2ADMIN.TESTTRIG AFTER INSERT ON DB2ADMIN.TEST REFERENCING NEW AS N FOR EACH ROW MODE DB2SQL call test1(1);

This doesn't work. All I need is to be able to call a stored procedure from a trigger. Is it possible? If so what is the syntax. How can I do this in DB2. [...] 28715 71 45_Re: testing WLM-established stored procedures11_Tina Hilton21_Tina.Hilton@BMSUS.COM31_Mon, 26 Mar 2001 15:26:19 -0500324_iso-8859-1 I wanted to test WLM SP and thought Rexx would be the easiest. I don't have a C compiler, so I can't use any of the ones IBM supplies as part of the install IVP. I tried the SET CURRENT PATH, but kept getting errors on the syntax. So, I just recreated the stored procedure with schema SYSPROC and it worked. [...] 28787 20 21_view/search log files17_John Breidenstine31_JBreidenstine@LEGIS.STATE.PA.US31_Mon, 26 Mar 2001 15:27:36 -0500422_iso-8859-1 Hello all,

I am curious if there is any way to view/search the contents of the log files?

We are using DB2 V6.1 on AIX.

Thanks, John L. Breidenstine

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 28808 12 30_Re: Cleaning up unused columns0_22_wjmartin@HOUSEHOLD.COM31_Mon, 26 Mar 2001 15:07:59 -0500282_us-ascii Thanks for all the suggestions.

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 28821 93 42_Re: Oracle trigger conversion (was: blank)19_Krishna Vitaldevara19_krishna@BRIENCE.COM31_Mon, 26 Mar 2001 12:39:02 -0800491_iso-8859-1 Hi James,

Thank you very much for the information. I tried using call statement from trigger but was never successful. Can you give me a simple working example. This will be of really great help for me because I am struggling with this conversion a lot. I don't need the result of the SP. All I need is to be able to do some inserts and deletes based on certain set of conditions on a row by row basis. If you can give me a simple example that will be really helpful. [...] 28915 136 42_Re: Oracle trigger conversion (was: blank)14_Richard Yevich26_Richard_Yevich@YLASSOC.COM31_Mon, 26 Mar 2001 14:41:42 -0600468_iso-8859-1 It does work but it needs to be in CAPS on the S/390 assuming that what you wrote here is accurate. Also STRONGLY suggest that for now and the future you use BEGIN ATOMIC ...END...to encapsulate the code.

Regards, Richard

Richard Yevich - Principal Yevich Lawson & Assoc. Inc. (YL&A) Richard_Yevich@YLAssoc.com 1-888-246-5049/1-217-744-0000 http://www.YLAssoc.com -- DB2 Performance Journal http://www.db2-symposium.com -- DB2 Symposiums [...] 29052 24 37_dsn1copy both tablespace & indexspace9_Alex J.P.16_apaulia1@TXU.COM31_Mon, 26 Mar 2001 15:59:02 -0600460_- Hi all,

I would like to know if anybody has performed a dsn1copy on both the tablespace and its related indexspaces and what are their experiances.

We are trying to test the above (as a time saving effort) and we would be interested your experiences as to whether you faced any problems or was there something that you had to do after the dsn1copys had completed. Basically anything that we should be aware of during or after the process. [...] 29077 19 19_IMS discussion list13_Kenski, David25_David.Kenski@MARRIOTT.COM31_Mon, 26 Mar 2001 17:30:43 -0500395_iso-8859-1 Hello all!

Does anyone have the URL of a good IMS discussion list? My manager is looking for one.....

Thanks,

Dave Kenski

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 29097 135 54_Re: get readable limit key values from system catalogs17_Walter Trovijo Jr22_wtrovijo@COELBA.COM.BR31_Mon, 26 Mar 2001 20:34:24 -0300607_iso-8859-1 Why don´t you get it from SYSTABLEPART? Limitkey is in external format there.



HTH,

Walter Trovijo Jr









Amy C Whitehead Enviado Por: DB2 Data Base Discussion List 26/03/2001 14:43 Responder a DB2 Data Base Discussion List



Para: DB2-L@RYCI.COM cc: Assunto: get readable limit key values from system catalogs

Hi, I need to create a report from the system catalogs for the limitkey values. Is there a way to convert VARCHAR for bit data into a readable format in either V5 or V6? [...] 29233 139 30_Re: SQL with Distinct question14_Michael Hannan24_mhannan@C031.AONE.NET.AU31_Tue, 27 Mar 2001 21:36:00 +1000447_us-ascii Chris,

I am quite sure Harvey's solution is not what you want. Doesn't make sense to me.

If you are asking for arbitary values of other columns from one of the distinct rows then perhaps:

SELECT CODE_COLUMN, MIN(COLA), MIN(COLB), etc. FROM OWNER.TABLE WHERE conditions GROUP BY CODE_COLUMN ;

The MIN functions could have been MAX just as easily. IF COLa, COLB, etc. must all come from the same row, then: [...] 29373 75 33_Re: Updates to partitioning index12_Cianci, Nick28_Nick.Cianci@TEAM.TELSTRA.COM31_Tue, 27 Mar 2001 09:47:20 +1000341_- Hi John, and all the best to the "sandgropers" out west.

If I remember things rightly from an IBM tech conference about a year or so ago, it was said that the update of Partitioning keys was being introduced for "code tolerance" in 3rd party App.s (aka SAP, PeopleSoft, ...) being migrated from an Oracle or other DBMS to DB2. [...] 29449 99 45_Re: testing WLM-established stored procedures14_James Campbell29_James.Campbell@HANCORP.COM.AU31_Tue, 27 Mar 2001 10:08:38 +1000539_iso-8859-1 John, and possibly Tina,

Looks like you need PQ41203 REXX LANGUAGE SUPPORT DOES NOT HANDLE MULTI-PART IDENTIFIERS CORRECTLY. Became available late Feburary.

/* standard disclaimer */ James Campbell Hansen Corporation -----Original Message----- From: John O'Conner [mailto:John.OConner@COURTS.WA.GOV] Sent: Tuesday, 27 March 2001 5:22 To: DB2-L@RYCI.COM Subject: Re: [DB2-L] testing WLM-established stored procedures



Tina,

Here's my experience with calling DB2 OS/390 v6.1 SPs from Rexx: [...] 29549 63 33_Re: Updates to partitioning index14_Palgrave, Greg31_greg.palgrave@UNISYSWEST.COM.AU31_Mon, 26 Mar 2001 19:44:02 -0500335_iso-8859-1 While we're on the topic, would any IBM'ers or anyone else with the inside knowledge care to explain WHY IBM chose to implement the Partition Key update in such a poorly performing manner? Surely all they need to do "under the covers" is what we would have had to do in an application - DELETE old row, INSERT new row. [...] 29613 40 23_Re: IMS discussion list16_Thomas E. Faglon21_tfaglon@TELCORDIA.COM31_Mon, 26 Mar 2001 20:43:32 -0500752_us-ascii "'IMS-L@lists.missouri.edu'"







"Kenski, David" on 03/26/2001 05:30:43 PM

Please respond to DB2 Data Base Discussion List

To: DB2-L@RYCI.COM cc: (bcc: Thomas E. Faglon/Telcordia) Subject: IMS discussion list







Hello all!

Does anyone have the URL of a good IMS discussion list? My manager is looking for one.....

Thanks,

Dave Kenski

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. [...] 29654 31 25_Re: Ad Hoc Reporting Tool18_Yosia Widi Nugroho20_yosia@CENTRIN.NET.ID31_Tue, 27 Mar 2001 08:57:00 +0700605_- Dear Mark,

You can try to use DB2 OLAP Analyzer (with DB2 OLAP Server) from IBM, or BusinessObjects (BO) software (from for this purpose. The BO web site is: http://www.businessobjects.com.

Regards, Yosia

>I am working on an account that wishes to query mainframe (OS/390) DB2 >tables (V5.1) using a tool that would reside on a NT / Windows98 / Windows >2000 workstation. They desire the tool to be browser-based. If you have >run across such a tool, or can point me to a vendor who has a >"user-friendly" tool with this capability, it would be much appreciated. >Thank you. > [...] 29686 35 23_Re: IMS discussion list13_Seibert, Dave26_Dave_Seibert@COMPUWARE.COM31_Mon, 26 Mar 2001 20:58:34 -0500441_iso-8859-1 Hi David,

There is an IMS-L. However, as far as I can tell, it is not so enlightened as to have a searchable Web archives site as DB2-l does.

So instead, your manager can follow the instructions found at http://www.instantweb.com/l/loriaux/s390/mailing.html

for

IMS-L (IMS discussion group) You can join this group by sending the message "subscribe IMS-L your name" to listproc@lists.missouri.edu [...] 29722 219 33_Java and DB2 (one more last time)15_Bell, Raymond W31_Raymond.W.Bell@TEAM.TELSTRA.COM31_Tue, 27 Mar 2001 12:16:03 +1000316_iso-8859-1 Hi Rob/Graham/Dave/Bill/etc.,

OK, so I lied; it's not the last time. But with all your help so far I'm too close not to see it through.

With my new-found knowledge I've downloaded 1.1.8 of the JRE from the IBM link Rob supplied. Installed it, ran fine. Now if I type jre -d I get this: [...] 29942 19 39_Looking for work - Melbourne, Australia14_James Campbell29_James.Campbell@HANCORP.COM.AU31_Tue, 27 Mar 2001 13:05:17 +1000489_iso-8859-1 yep, the sun is setting on my time here. Anyone know of work in the area? Please reply off-list: private email - jacampbell@acslink.net.au



Thanks James Campbell Hansen Corporation +61 3 9843 8442 - at least for this week.

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 29962 37 39_DB2 UDB 6.1 Backup Filesize Limitation?11_Jeff Gibson29_jeff.w.gibson@MAIL.SPRINT.COM31_Mon, 26 Mar 2001 21:23:19 -0600452_ISO-8859-1 Hello,

We are trying to backup a DB2 UDB 6.1 database that is getting the following message when it reaches approximately 2 GB:

"Do you want to continue(c), terminate this device only(d), abort the utility(t) ? (c/d/t)"

We can obviously press c and the backup will complete successfully, but I am wanting to find out if this is a DB2 UDB limitation or on the O/S side. I can script around the problem if necessary. [...] 30000 109 33_Re: Updates to partitioning index18_Bruce W Williamson26_Bruce.Williamson@NT.GOV.AU31_Tue, 27 Mar 2001 13:11:44 +0930468_us-ascii Howzit Nick?

How about those in Queensland, for the successful defense of their "Sheffield Shield" crown. ;-) Sorry, I know it's wrong but I can't bring myself to say Pura Milk Cup, sounds so insipid.

Go you good thing!!!

Cheers Bruce











"Cianci, Nick" @RYCI.COM> on 27/03/2001 10:17:20

Please respond to DB2 Data Base Discussion List [...] 30110 14 47_Frank Yao/CACI/Prudential is out of the office.9_Frank Yao24_frank.yao@PRUDENTIAL.COM31_Tue, 27 Mar 2001 01:00:39 -0500387_us-ascii I will be out of the office from 03/26/2001 until 03/28/2001.

If this is an emergency, please contact Eileen Bennett at 716-6451.

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 30125 78 33_Re: Updates to partitioning index14_Ruediger Kurtz28_ruediger.kurtz@HUK-COBURG.DE31_Tue, 27 Mar 2001 09:18:18 +0200461_iso-8859-1 John,

we disallowed updates on partitioning indexes since we experienced major locking problems; we partitioned one particular tablespace on Saturday and on Monday there was a helluva trouble here. We couldn't figure out what was happening as we saw CDRN as locking information and no utility was running at that time; thanks again to Phil Grainger to pointing us into the right direction. I quote from his reply to my original question: [...] 30204 124 32_Re: DB2-OS/390- Statistical Anal10_KEVIN.VHEN34_kevin.chen@EMAIL.CHINATRUST.COM.TW31_Tue, 27 Mar 2001 15:52:09 +0800735_ISO-8859-1 I'd like a copy too, please

Thanks, Kevin Chen Kevin.chen@email.chinatrust.com.tw

-----Original Message----- From: DB2 Mail [mailto:DB2.Mail.R000@SYSCO.COM] Sent: Tuesday, March 20, 2001 12:47 AM To: DB2-L@RYCI.COM Subject: Re: DB2-OS/390- Statistical Anal

We would like a copy, too, please.

Thanks, Evelyn J. Runyon 281-584-4028 Runyon.Evelyn@Corp.sysco.com ------------------( Forwarded letter 1 follows )-------------------- Date: Fri, 16 Mar 2001 15:36:25 -0700 To: DB2-L@RYCI.COM From: Robert.Jans[robert_jans]@ALBERTSONS.COM Sender: owner-db2-l@RYCI.COM Reply-To: DB2.Data.Base.Discussion.List[DB2-L]@RYCI.COM Subject: Re: DB2-OS/390- Statistical Analysis of Tablespaces and Index spa [...] 30329 157 32_Re: DB2-OS/390- Statistical Anal17_Demetris Kasheris19_DKasheris@LAIKI.COM31_Tue, 27 Mar 2001 12:45:15 +0300684_us-ascii I 'd like a copy too please

Thanks Demetris Kasheris Dkasheri@laiki.com





"KEVIN.VHEN" cc: Sent by: DB2 Data Base Subject: Re: DB2-OS/390- Statistical Anal Discussion List



27/03/01 10:52 Please respond to DB2 Data Base Discussion List











I'd like a copy too, please

Thanks, Kevin Chen Kevin.chen@email.chinatrust.com.tw

-----Original Message----- From: DB2 Mail [mailto:DB2.Mail.R000@SYSCO.COM] Sent: Tuesday, March 20, 2001 12:47 AM To: DB2-L@RYCI.COM Subject: Re: DB2-OS/390- Statistical Anal [...] 30487 26 0_30_=?iso-8859-1?q?Hari=20Kishen?=20_kish3006@YAHOO.CO.IN31_Tue, 27 Mar 2001 10:44:32 +0100330_iso-8859-1 hi all, i want to know how to insert a blob type value i.e a picture into db2 database and retreive it using rexx programming.Can anyone explain how it can be done if the piture itself is stored in the database column and how, if it is stored in a file and only the path is stored in the column.Thanks in advance. [...] 30514 115 23_Re: IMS discussion list16_Aurora Dell'Anno28_Aurora_E_DellAnno@CANDLE.COM31_Tue, 27 Mar 2001 09:48:25 +0000375_us-ascii David,

Dave and Thomas have already given you the URL. In fact, the IMS-L is archived regularly and many, if not all, previous postings are available from the server. All past mail messages are collected into (daily, monthly, etc) logs; to get a list of the available logs for this list you may send the following request to listproc@lists.missouri.edu: [...] 30630 226 32_Re: DB2-OS/390- Statistical Anal11_Dimoka Popy24_dimokap@INTERAMERICAN.GR31_Tue, 27 Mar 2001 14:32:51 +0300664_iso-8859-7 Me too please!

Popy A. Dimoka Athens,Greece

dimokap@interamerican.gr

> ---------- > From: Demetris Kasheris[SMTP:DKasheris@LAIKI.COM] > Reply To: DB2 Data Base Discussion List > Sent: Ôñßôç, 27 Ìáñôßïõ 2001 11:45 ðì > To: DB2-L@RYCI.COM > Subject: Re: DB2-OS/390- Statistical Anal > > I 'd like a copy too please > > Thanks > Demetris Kasheris > Dkasheri@laiki.com > > > > "KEVIN.VHEN" > DB2-L@RYCI.COM > ST.COM.TW> cc: > Sent by: DB2 Data Base Subject: Re: > DB2-OS/390- Statistical Anal > Discussion List > > > > 27/03/01 10:52 > Please respond to DB2 Data > Base Discussion [...] 30857 45 43_Re: DB2 UDB 6.1 Backup Filesize Limitation?19_Philip Nelson (DBA)21_teamdba@ATTGLOBAL.NET31_Tue, 27 Mar 2001 11:40:56 +0100625_us-ascii You can back up to multiple files - each file cannot be bigger than the physical limit the OS places on the file size.

BACKUP DATABASE dbname TO /backupdir1, backupdir2, ...

HTH

Phil Nelson Senior DBA Scottish Widows

On Mon, 26 Mar 2001 21:23:19 -0600, Jeff Gibson wrote:

>Hello, > >We are trying to backup a DB2 UDB 6.1 database that is getting the >following message when it reaches approximately 2 GB: > >"Do you want to continue(c), terminate this device only(d), abort the >utility(t) ? (c/d/t)" > >We can obviously press c and the backup will complete successfully, but [...] 30903 24 33_DB2 Workgroup Edition and DB2MSCS14_Stephen Levett18_LEVETTS@UK.IBM.COM31_Tue, 27 Mar 2001 12:12:33 +0100371_us-ascii Hello All,

I have previously set up DB2 EE version (7.1) in a MS cluster server environment and it works fine, however, now I am being asked to set it up using DB2 WorkGroup edition (7.1). I am uncertain if this is supported or not.

All the DB2 documentation uses EE and EEE as examples but neither does it say that WorkGroup isn't supported. [...] 30928 124 33_Re: Updates to partitioning index14_Grainger, Phil20_Phil.Grainger@CA.COM31_Tue, 27 Mar 2001 12:28:35 +0100455_iso-8859-1 Hmmm

I'd better be careful what I say in future!!!

Only kidding, notice the key word in my quote is "drained" and not "locked". As if locking all those partitions wasn't bad enough, they actually (unless something has changed in V7 that I have missed) get drained

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 [...] 31053 55 41_Re: dsn1copy both tablespace & indexspace14_Grainger, Phil20_Phil.Grainger@CA.COM31_Tue, 27 Mar 2001 12:28:39 +0100407_iso-8859-1 Alex,

if you can spare the down-time (you must only run DSN1COPY against stopped objects) then this is an acceptable backup/restore mechanism (or a good way to move data between DB2 subsystems).

However, there is a MAJOR proviso.

DSN1COPY will ONLY work where the physical definitions of the objects (tablespace or index) are EXACTLY the same in both source and target. [...] 31109 25 18_Suggestion Please.15_Kannan, Perumal22_perumal.kannan@EDS.COM31_Tue, 27 Mar 2001 05:29:58 -0600544_- Hello All, I am having problem with a purge process, when we try to delete the unwanted rows from my database. I am in DB2 Version 5 plus running under S/390. The purge program delete the unwanted rows form the table. Next day CHG Data Capture(CDC) process reads those deletes from the DB2 logs & write them to the flat files - 1 file per table. Inevitably there is bad records in the CDC. What will be the problem, why this is happening? Either DB2 doesn't read our deletes correctly or CDC doesn't read the LOG correctly. What will be [...] 31135 130 33_Re: Updates to partitioning index14_Ruediger Kurtz28_ruediger.kurtz@HUK-COBURG.DE31_Tue, 27 Mar 2001 14:00:44 +0200574_iso-8859-1 Phil,

'oooops' is all I can say.

"Grainger, Phil" schrieb: > > Hmmm > > I'd better be careful what I say in future!!! > > Only kidding, notice the key word in my quote is "drained" and not "locked". As if locking all those partitions wasn't bad enough, they actually (unless something has changed in V7 that I have missed) get drained > > 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 > > -----Original Message----- > From: [...] 31266 201 31_R: DB2-OS/390- Statistical Anal20_Carlo Petrone WZBKD627_carlo.petrone@ISTRUZIONE.IT31_Tue, 27 Mar 2001 14:06:52 +0200788_iso-8859-7 Me too please!

Carlo Petrone

carlo.petrone@istruzione.it

-----Messaggio originale----- Da: DB2 Data Base Discussion List [mailto:DB2-L@RYCI.COM]Per conto di Dimoka Popy Inviato: martedì 27 marzo 2001 13.33 A: DB2-L@RYCI.COM Oggetto: Re: DB2-OS/390- Statistical Anal



Me too please!

Popy A. Dimoka Athens,Greece

dimokap@interamerican.gr

> ---------- > From: Demetris Kasheris[SMTP:DKasheris@LAIKI.COM] > Reply To: DB2 Data Base Discussion List > Sent: Ôñßôç, 27 Ìáñôßïõ 2001 11:45 ðì > To: DB2-L@RYCI.COM > Subject: Re: DB2-OS/390- Statistical Anal > > I 'd like a copy too please > > Thanks > Demetris Kasheris > Dkasheri@laiki.com > > > > "KEVIN.VHEN" > DB2-L@RYCI.COM > ST.COM.TW> [...] 31468 168 32_Re: DB2-OS/390- Statistical Anal15_Gordon Fishwick39_Gordon.Fishwick@SCOTTISH-SOUTHERN.CO.UK31_Tue, 27 Mar 2001 12:59:02 +0100388_us-ascii

Do we have to go through all this again?

Come back 'Friday Fun, etc.' - all is forgiven.

At least that thread was quite interesting to follow, as opposed to an endless stream of 'Can I have a copy too, please?' or 'Please add me to the list, thanks.'.

Best regards,

Gordon Fishwick DB2 Systems Programmer Scottish and Southern energy plc [...] 31637 44 32_Re: DB2-OS/390- Statistical Anal11_ANGOT HARRY18_harry.angot@CDN.FR31_Tue, 27 Mar 2001 14:35:45 +0200591_- > We would like a copy, too, please. > > Thanks, [ANGOT HARRY] .

> DB2 Mail wrote: > > > We would like a copy, too, please. > > > > Thanks, > > Evelyn J. Runyon > > 281-584-4028 > > Runyon.Evelyn@Corp.sysco.com > > ------------------( Forwarded letter 1 follows )-------------------- > > Date: Fri, 16 Mar 2001 15:36:25 -0700 > > To: DB2-L@RYCI.COM > > From: Robert.Jans[robert_jans]@ALBERTSONS.COM > > Sender: owner-db2-l@RYCI.COM > > Reply-To: DB2.Data.Base.Discussion.List[DB2-L]@RYCI.COM > > Subject: Re: DB2-OS/390- Statistical Analysis of Tablespaces and Index spa > > > [...] 31682 54 22_Re: Suggestion Please.19_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Tue, 27 Mar 2001 06:56:04 -0600580_iso-8859-1 Kannan, I'm not sure from the information you've provided I understand the entire process and purpose. I assume from your post that the DB2 delete process works correctly so the problem must lie somewhere after. Do you have the appropriate tables defined with DATA CAPTURE CHANGES? Any product that reads the DB2 log will need this turned on for the affected tables. Can you just write the flat files with the same program doing the deletes? Remember to save the table definitions at time of purge if you wish to reload the purged rows for use at some later time. [...] 31737 34 51_Re: DB2-OS/390- Statistical Anal (Me Too listserv?)15_Slot, JP (Jaap)23_J.P.Slot@RF.RABOBANK.NL31_Tue, 27 Mar 2001 15:45:49 +0200760_iso-8859-1 Isn't there a place where those documents are supposed to be (archives or something..?). Otherwise it might be handy to start a Me Too Listserv ;-)

Kind regards,

Jaap Slot DB2 DBA

tel: 0031 (0)30 2152220 fax: 0031 (0)30 2153003 J.P.Slot@rf.rabobank.nl

================================================ De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. ================================================ The information contained in this message may be confidential and is intended to be exclusively for [...] 31772 117 40_Re: dsn1copy both tablespace & indexspac64_Todd Burch *****************************************************22_tburch@CDBSOFTWARE.COM31_Tue, 27 Mar 2001 08:15:10 -0600293_ISO-8859-1 Alex J.P.,

DSN1COPY certainly works on both types of objects, but what are you trying to do? You are wanting to use them as a time saving effort for what other process? DSN1COPY is fast, but depending on what you are using it for, it can also get you into trouble fast. [...] 31890 54 51_Re: DB2-OS/390- Statistical Anal (Me Too listserv?)13_Lynne Flatley17_LFlatley@NEFN.COM31_Tue, 27 Mar 2001 09:40:05 -0500501_us-ascii Yes! Documents (Word docs, REXX examples, etc.) have been stored/archived at http://jupiter.ryci.com/archives/db2-l-documents.html

Check it out! You DO NOT need to join the DB2 documents listserv in order to search it.

-----Original Message----- From: Slot, JP (Jaap) [SMTP:J.P.Slot@RF.RABOBANK.NL] Sent: Tuesday, March 27, 2001 8:46 AM To: DB2-L@RYCI.COM Subject: Re: DB2-OS/390- Statistical Anal (Me Too listserv?) [...] 31945 63 51_Re: DB2-OS/390- Statistical Anal (Me Too listserv?)15_Leonardo Zrycki21_lzrycki@BIYCSA.COM.AR31_Tue, 27 Mar 2001 11:47:36 -0300447_iso-8859-1 Please, send me a copy .

Thanks

Leonardo ZRYCKI INDRA - BAPRO Bartolomé Mitre 430 - P. 4º Buenos Aires - Argentina Tel: 5166-7831 Fax: 5166-7805 Celular: (15) 4405-0200 Email: lzrycki@biycsa.com.ar

-----Mensaje original----- De: Slot, JP (Jaap) [mailto:J.P.Slot@RF.RABOBANK.NL] Enviado el: Martes, 27 de Marzo de 2001 10:46 a.m. Para: DB2-L@RYCI.COM Asunto: Re: DB2-OS/390- Statistical Anal (Me Too listserv?) [...] 32009 50 17_Trigger problems.12_MARTIN WOLFF31_martin_wolff@GLOBALCROSSING.COM31_Tue, 27 Mar 2001 09:47:46 -0500753_us-ascii Hi all,

I have a simple (!) trigger that, on creation, produces an error that really doesn't help me. The trigger is:-

CREATE TRIGGER SYSPROC.OMAIMAI0 AFTER INSERT ON T.OMAIMT00 REFERENCING NEW_TABLE AS N_TBL FOR EACH ROW MODE DB2SQL BEGIN ATOMIC DELETE * FROM T.AWALST00; END;

And the failure is:-

CREATE TRIGGER SYSPROC.OMAIMAI0 AFTER INSERT ON T.OMAIMT00 REFERENCING NEW_TABLE AS N_TBL FOR EACH ROW MODE DB2SQL BEGIN ATOMIC DELETE * FROM T.AWALST00; ---------+---------+---------+---------+---------+---------+---------+---------+ DSNT408I SQLCODE = -104, ERROR: ILLEGAL SYMBOL "". SOME SYMBOLS THAT MIGHT BE LEGAL ARE: DSNT418I SQLSTATE = 42601 SQLSTATE RETURN CODE DSNT415I SQLERRP = DSNHLEX SQL PROCEDURE [...] 32060 86 21_Re: Trigger problems.21_Sean M O'Keefe/AC/VCU15_sokeefe@VCU.EDU31_Tue, 27 Mar 2001 09:53:40 -0500559_us-ascii Could it be the "*" in the DELETE clause? Have tried just "DELETE FROM T.AWALSTOO;" ?



Sean







MARTIN WOLFF cc: Sent by: DB2 Data Base Subject: Trigger problems. Discussion List



03/27/01 09:47 AM Please respond to DB2 Data Base Discussion List











Hi all,

I have a simple (!) trigger that, on creation, produces an error that really doesn't help me. The trigger is:- [...] 32147 70 21_Re: Trigger problems.11_David Nance16_DWNance@FHSC.COM31_Tue, 27 Mar 2001 10:05:17 -0500377_US-ASCII Two ideas come to mind. Your end of stmt delimeter ':' or the *. Have you tried DELETE FROM T.AWALST00;



Dave Nance First Health Services, Corp. (804)527-6841

>>> martin_wolff@GLOBALCROSSING.COM 03/27/01 09:47AM >>> Hi all,

I have a simple (!) trigger that, on creation, produces an error that really doesn't help me. The trigger is:- [...] 32218 139 51_Re: DB2-OS/390- Statistical Anal (Me Too listserv?)15_Gordon Fishwick39_Gordon.Fishwick@SCOTTISH-SOUTHERN.CO.UK31_Tue, 27 Mar 2001 16:04:24 +0100382_us-ascii

I feel that the point has somewhat been missed here...

Does anybody actually know what they are saying "I'd like a copy too, please" to?

If you would like to receive a copy of whatever it is you're talking about it would be more sensible to mail the relevant person directly instead of cluttering up this Listserv with such meaningless messages. [...] 32358 47 21_Re: Trigger problems.13_Seibert, Dave26_Dave_Seibert@COMPUWARE.COM31_Tue, 27 Mar 2001 10:11:59 -0500359_iso-8859-1 Hi Martin,

I suspect it's the requirement to change the SQL terminator that may have bit you.

When you have multiple SQL statements within your Begin atomic...End section, you need to provide an SQL Terminator Character and this character needs to be different than that which you use to terminate your CREATE TRIGGER statement. [...] 32406 23 36_Can you explain this SPUFI behavior?13_Carlton Enuda24_carltonenuda@HOTMAIL.COM31_Tue, 27 Mar 2001 10:12:26 -0500 32430 113 21_Re: Trigger problems.12_Simon George21_Simon.George@UBSW.COM31_Tue, 27 Mar 2001 16:13:17 +0100421_US-ASCII At a guess its because your haven't change your command terminator so the parser does not recognise either the end of the statement or the end of the procedure block. If you are running it under DSNTEP2 try:

//SYSIN DD * --#SET TERMINATOR # CREATE TRIGGER SYSPROC.OMAIMAI0 AFTER INSERT ON T.OMAIMT00 REFERENCING NEW_TABLE AS N_TBL FOR EACH ROW MODE DB2SQL BEGIN ATOMIC DELETE * FROM T.AWALST00; END# [...] 32544 147 40_Re: dsn1copy both tablespace & indexspac9_Alex J.P.16_apaulia1@TXU.COM31_Tue, 27 Mar 2001 08:56:09 -0600340_- Hi Todd, Thanks for the reply,

Here's the background,

We have a bunch of databases that are shadow copies of another set of databases. The reason being is that the original set of databases have a lot of updates from the online system and we do not want them to be locked when somebody wants to run a (adhoc??) report. [...] 32692 125 40_Re: Can you explain this SPUFI behavior?0_19_Tim.Lowe@STPAUL.COM31_Tue, 27 Mar 2001 09:19:38 -0600739_iso-8859-1 Phillips, Could you be using the Spufi with Isolation of Repeatable Read?

Thanks, Tim





Carlton Enuda cc: Sent by: DB2 Subject: Can you explain this SPUFI behavior? Data Base Discussion List



03/27/2001 09:12 AM Please respond to DB2 Data Base Discussion List















Goodday Listers,

I came across this today. While executing two SQL statements (as shown below) in SPUFI, the first ran successfully, and the scond SQL statement failed with a -904 reason = REASON 00C90096, resource=302. But when I run the second SQL by itself, it executes successfully. [...] 32818 143 40_Re: dsn1copy both tablespace & indexspac15_Billings, Linda30_linda.billings@DOA.STATE.WI.US31_Tue, 27 Mar 2001 09:25:13 -0600533_iso-8859-1 I agree with your reasons. A long, long time ago in another job, a DBA wanted to use DSN1COPY to replace image copies. I did the research for this and don't remember a lot but I do remember that the conclusion was that it was a very bad idea. What you are doing, in effect, is an IEBGENER on your tablespaces. You wipe out everything including things like headers and space map pages. You can get into a lot of trouble. If you are using it for a one-time move of very large objects from one subsystem to another then [...] 32962 127 40_Re: Can you explain this SPUFI behavior?0_26_JCameron@MSI-INSURANCE.COM31_Tue, 27 Mar 2001 09:27:47 -0600516_iso-8859-1 It looks like running both exceeds your maximum number of locks. Try adding a 'COMMIT ;' between the two queries, change default to AUTOCOMMIT, or raise the maximum number of user locks. Also, I would check isolation level to make sure it is CS (not RR).

John Cameron JCameron@msi-insurance.com







Carlton Enuda cc: Sent by: DB2 Subject: Can you explain this SPUFI behavior? Data Base Discussion List [...] 33090 132 22_Re: Error Explanation?13_Daniel Turner28_daniel_turner@ALBERTSONS.COM31_Tue, 27 Mar 2001 09:00:37 -0700561_iso-8859-1 I vote to lose the '*'.

-----Original Message----- From: Mackey, Glenn [mailto:GMackey@GUIDEMAIL.COM] Sent: Thursday, March 15, 2001 8:10 AM To: DB2-L@RYCI.COM Subject: Re: [DB2-L] Error Explanation?



Since you do not seem to have access to the manuals ...

visit http://www-4.ibm.com/software/data/db2/os390/v6books.html and checkout the messages and codes.





hth gm





00C90101





Explanation: The data manager detected an internal error within DB2. This [...] 33223 104 33_Re: Updates to partitioning index23_Jain, Sanjay (Exchange)19_sanjayjain@BEAR.COM31_Tue, 27 Mar 2001 11:14:40 -0500597_- Indeed !! What a series it was, beats one-dayers

Sanjay Jain



> -----Original Message----- > From: Cianci, Nick [SMTP:Nick.Cianci@TEAM.TELSTRA.COM] > Sent: Monday, March 26, 2001 6:47 PM > To: DB2-L@RYCI.COM > Subject: Re: Updates to partitioning index > > Hi John, > and all the best to the "sandgropers" out west. > > If I remember things rightly from an IBM tech conference about a year or > so > ago, it was said that the update of Partitioning keys was being introduced > for "code tolerance" in 3rd party App.s (aka SAP, PeopleSoft, ...) being > migrated from an [...] 33328 67 51_Table Design for online/fairly heavy reporting app?15_Jackson Reavill18_damcon2@US.IBM.COM31_Tue, 27 Mar 2001 11:25:34 -0500526_us-ascii Hi all,

I've got a question on designing tables in regards to clustering, reducing random I/O, and indexing for an online app that is also fairly heavy on back end reporting.

Let's say we have:

Table A with a key of A. Table B is a dependent of A with a key of B. Clustering on table B is by an index of AB to avoid random I/O. Table C is a dependent of B with a key of C. Now comes the question... should the clustering index be just BC or ABC? Both reduce random I/O. However, ABC reduces [...] 33396 16 40_Re: Can you explain this SPUFI behavior?13_Pranav Sampat21_psampat@PACIFICEX.COM31_Tue, 27 Mar 2001 08:25:05 -0800418_US-ASCII You can run your queries with UR isolation level or increase NUMLKUS in the DSNZPARM. You are hitting that limit

>>> carltonenuda@HOTMAIL.COM 03/27/01 07:12AM >>>

===============================================To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 33413 50 22_Load utility abend 0C114_David Williams30_David.Williams@DOL.STATE.GA.US31_Tue, 27 Mar 2001 11:26:11 -0500 33464 99 38_Duplicate Keys in Unique Index Problem11_Jeff Agosta20_agost003@MC.DUKE.EDU31_Tue, 27 Mar 2001 10:03:40 -0600733_- While converting type1 idx's to type2's, we encountered the following on a unique, primary key idx: (typical error 1 0f 41) DSNU050I DSNUGUTC - REBUILD INDEX(ALL) TABLESPACE SECURITY.SEIG01RI DSNU555I + DSNUCRUL - UNLOAD PHASE STATISTICS - NUMBER OF RECORDS PROCESSED=12706 DSNU705I DSNUCRIX - UNLOAD PHASE COMPLETE - ELAPSED TIME=00:00:00 DSNU042I DSNUGSOR - SORT PHASE STATISTICS - NUMBER OF RECORDS=12706 ELAPSED TIME=00:00:00 DSNU340I + DSNURBXC - ERROR LOADING INDEX, DUPLICATE KEY, INDEX = MCISDBA.P_SECURITYIDGROUPS, TABLE = MCISDBA.SEIG01_IDGROUPS, RID OF INDEXED ROW = X'0000001F01', RID OF NON-INDEXED ROW = X'0000002316' . . . DSNU557I +,DSNURBXC,- INDEX= MCISDBA.P_SECURITYIDGROUPS IS IN RECOVERY PENDING DSNU349I [...] 33564 144 42_Re: Duplicate Keys in Unique Index Problem0_19_Tim.Lowe@STPAUL.COM31_Tue, 27 Mar 2001 10:43:25 -0600488_us-ascii Jeff, Is there any chance that you had previously used the LOAD utility, and abended? In the past, what I have seen is a load abending, being terminated, and never getting to the discard phase to discard duplicates. Could this have occurred?

I hope this helps.

Thanks, Tim





Jeff Agosta cc: Sent by: DB2 Subject: Duplicate Keys in Unique Index Data Base Problem Discussion List [...] 33709 180 40_Re: dsn1copy both tablespace & indexspac0_22_Rohn.Solecki@MTS.MB.CA31_Tue, 27 Mar 2001 10:59:39 -0600389_us-ascii If your shadow DB is in the same DB2 subsystem, have you considered simply doing a insert into shadow using a subselect from master? Something like (I'm not sure, may have to specify columns in insert and select) ... INSERT INTO DBa.TBb SELECT FROM DBc.TBd







"Billings, Linda" @RYCI.COM> on 2001/03/27 09:25:13 AM [...] 33890 157 42_Re: Duplicate Keys in Unique Index Problem11_Jeff Agosta20_agost003@MC.DUKE.EDU31_Tue, 27 Mar 2001 10:47:30 -0600599_- Tim, It certainly is a possibility. However the historical proof is not available and this would have been "before my time". Thanks for the response. Jeff A

On Tue, 27 Mar 2001 10:43:25 -0600, Tim.Lowe@STPAUL.COM wrote:

>Jeff, >Is there any chance that you had previously used the LOAD utility, and >abended? >In the past, what I have seen is a load abending, being terminated, and >never getting to the discard phase to discard duplicates. Could this have >occurred? > >I hope this helps. > >Thanks, > Tim > > > > Jeff Agosta > DUKE.EDU> cc: [...] 34048 106 40_Re: Can you explain this SPUFI behavior?11_Moore, Tony15_TMoore@IKON.COM31_Tue, 27 Mar 2001 12:12:20 -0500364_iso-8859-1 Carlton, The 00C90096 says you hit the max number of locks allowed for a single agent in the system. Sounds like the combination of the locks for the first query and the locks for the second query is exceeding the lock limit you have set. When you run the second query alone, you take half (generally speaking) the locks as you would running both. [...] 34155 189 40_Re: dsn1copy both tablespace & indexspac19_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Tue, 27 Mar 2001 11:19:42 -0600630_iso-8859-1 Alex, Given you are stuck with DSN1COPY! Some gotcha's: The source and target tables/indexes must be exactly the same: page size, segmented, partitioned, DASD geometry, etc. Make sure to reorg the source and target tables when adding a column(s) before attempting a DSN1COPY. Use RESET on the DSN1COPY step. Are you using a batch job with a separate step that does the -START DB(dbname) SPACE(*) ACCESS(RO)? This ensures all change activity has completed before the next step, which I assume is the QUIESCE. If you wish to DSN1COPY indexes as well, add WRITE(YES) to your QUIESCE statement e.g. QUIESCE TABLESPACE [...] 34345 100 55_Re: Table Design for online/fairly heavy reporting app?19_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Tue, 27 Mar 2001 11:20:14 -0600363_iso-8859-1 Jay, Please don't take offense, but I feel you need to look at this from a somewhat higher level first (pure relational design). Part of your solution lies in how the PKs are inherited by the dependents. Are they identifying (must be included in the PK of the dependent) or non-identifying (cannot be included as part of the PK of the dependent)? [...] 34446 21 42_Re: Duplicate Keys in Unique Index Problem0_19_Tim.Lowe@STPAUL.COM31_Tue, 27 Mar 2001 11:24:55 -0600354_us-ascii Jeff, If that is the case, then you might want to unload the entire table using REORG UNLOAD EXTERNAL with SORTKEYS to unload the tablespace without using the index. Then, a load replace would discard all of the rows with duplicates, and you use sort to eliminate the duplicates, and the load resume to put add one of the duplicates again. [...] 34468 119 55_Re: Table Design for online/fairly heavy reporting app?13_Terry Purcell25_Terry_Purcell@YLASSOC.COM31_Tue, 27 Mar 2001 11:46:28 -0600459_us-ascii Jay,

Using your example of table A, B, and C; when you join A to B you need ON or WHERE clause:

ON A.COLA = B.COLA

and then join to C

ON C.COLA = B.COLA AND C.COLB = B.COLB

Is this the case, or can you join B to C (or even C to D) without requiring the parent keys? If you need the parent keys, then there is no question, you must include the all columns in the clustering key, ie. Key for table C is A, B, C. [...] 34588 40 42_Re: Duplicate Keys in Unique Index Problem11_Jeff Agosta20_agost003@MC.DUKE.EDU31_Tue, 27 Mar 2001 11:40:12 -0600554_- Tim, We actually handled it in a fire-fighting mode: after the alter idx put him in a recovery pending mode and the idx rebuild failed with dups. We dropped the primary key and the idx, accessed the table via sql to insert all rows into a "backup" structure then extrapolated all dups into a "dups" table. Then we deleted all dups joining the original and "dups" table. Next the primary key / unique (type 2) idx was created. Finally, we inserted the dups into the original table, of course only 1 of each dup would get inserted. Granted this was [...] 34629 39 16_Pb with SYSLGRNX32_=?iso-8859-1?Q?St=E9phane?= COEZ23_scoez@HARRYSOFTWARE.COM31_Tue, 27 Mar 2001 20:04:59 +0200394_iso-8859-1 Hi,

I have this :

DSNT501I - DSNIDBET RESOURCE UNAVAILABLE 168 CORRELATION-ID=021.OPNLGR00 CONNECTION-ID=DSN1 LUW-ID=* REASON 00C90081 TYPE 00000200 NAME DSNDB01 .SYSLGRNX

I had some big troubles before, I think my DB2 is a "little" bit "broken" but.

What can I do to repair.

PS: I lost all Log and Archives I do not care about DATA in the DB [...] 34669 70 47_Visual Explain Overstates Nested Loop Join Cost12_DOUG KESTNER23_DHSTS57@DHS.STATE.IL.US31_Tue, 27 Mar 2001 12:16:30 -0600361_US-ASCII We are running v6.1 UDB on AIX 4.3.3 We use the Total Cost from the Explain utility as a 'guide' for performance. We realize that the Total Cost could be 'skewed'.

Currently, I am noticing an extremely large increase in the Cost on individual steps that involve a Nested Loop Join. For example, here is part of a very large Visual Explain. [...] 34740 123 55_Re: Table Design for online/fairly heavy reporting app?13_Daniel Turner28_daniel_turner@ALBERTSONS.COM31_Tue, 27 Mar 2001 10:36:23 -0800443_iso-8859-1 Oh boy. This one will generate

For small tables any design, any design will work well enough. For Large tables you become forced to the nested design. Its a better physical design.

1) In a multiple many to many hierarchy like you describe, there is an implied one to many relationship from A to C and the key of A is an attribute of table C. Ask for sample SQL and see how many SELECT FROM C WHERE A= ? you find. [...] 34864 74 20_Re: Pb with SYSLGRNX19_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Tue, 27 Mar 2001 12:38:03 -0600601_iso-8859-1 Stephane, It appears DSNDB01 is stopped. Hmmm, given you truly don't care about any user databases; try starting DSNDB01, 06, 04 and 07. If that works, stop DB2. Then COLD START DB2.

HTH, Rick Davis

"This e-mail and any files transmitted with it are the property of SBC, are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender at 314-235-6854 and delete this [...] 34939 32 42_Re: Duplicate Keys in Unique Index Problem0_19_Tim.Lowe@STPAUL.COM31_Tue, 27 Mar 2001 12:36:29 -0600601_us-ascii Jeff, I am not sure how to address your concern about "predictability" in your conversion to type-2 indexes. If we are correct in guessing how you wound up with duplicates, then the index was corrupted long before now, and therefore this is not really a conversion question. It is a question of whether there is any other tablespaces/indexes that that might already be corrupted, and that is quite different. You could obviously run check index on everything, but that is an awefully big hammer, and very disruptive. You could reorg all of your tablespaces and see what abends. (!?) Or, [...] 34972 159 55_Re: Table Design for online/fairly heavy reporting app?15_Jackson Reavill18_damcon2@US.IBM.COM31_Tue, 27 Mar 2001 14:22:50 -0500620_us-ascii Rick,

No offense taken. I realize that what I'm saying is not normalized (or even normal). The relationships are non-identifying. For example, a project is identified uniquely by a project number. But, the parent to project is the customer table with a key of orgacct. A project can't exist without a customer. So from a logical business point it is identifying. But, from a physical point it is not. So orgacct migrates over in a non-identifying relationship and I want to cluster by orgacct, project number. A child of project is trading partner. Trading partner is uniquely identified by tpacct, [...] 35132 26 71_problem with file in external function(UDB/AIX)... urgent help needed..15_Rajesh Udandrao17_urajes1@YAHOO.COM31_Tue, 27 Mar 2001 11:29:37 -0800439_us-ascii Hi all.. I created a java external function. I am not able to read or write into the file using that external function. Can anyone pls help me as I have to read database url, user id, password from a file. I cannot hardcode in the Java function..

Rajesh

__________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/?.refer=text [...] 35159 179 55_Re: Table Design for online/fairly heavy reporting app?15_Jackson Reavill18_damcon2@US.IBM.COM31_Tue, 27 Mar 2001 14:40:07 -0500599_us-ascii Terry,

I think my problem is that I have tables, such as project and trading partner, that can really only be identified by surrogate ids, such as project number and tpacct (which are generated sequentially), and I'm trying to tie them into a business relationship. I'm basically forcing identifying relationships. No, the parent keys are not needed to do the join, they just enable better clustering. As an example: customer is the parent of project and project is the parent of trading partner; if I want to run a report for all trading partners for a given customer, then by [...] 35339 26 16_More on triggers12_MARTIN WOLFF31_martin_wolff@GLOBALCROSSING.COM31_Tue, 27 Mar 2001 14:43:19 -0500420_us-ascii Hi, it's that guy with the trigger problems again!

It seems that triggers and audit tables is a marriage made in heaven but, when it comes to good examples in books etc, there doesn't seem to be many around. A user has a need for auditing but because the table has alot of columns, she would like to deal with them as a block and dump the entire bofore and or after image of the row into a varchar. [...] 35366 95 40_Re: Can you explain this SPUFI behavior?13_Olson, Carlos14_COlson@QRS.COM31_Tue, 27 Mar 2001 12:15:05 -0800469_iso-8859-1 Is it possible your tablespace LOCKSIZE is unintentionally set to ROW so you're rapidly hitting the NUMLKUS limit? Carlos Olson Database Administrator QRS Corporation email: colson@qrs.com http://www.qrs.com

-----Original Message----- From: Carlton Enuda [mailto:carltonenuda@HOTMAIL.COM] Sent: Tuesday, March 27, 2001 7:12 AM To: DB2-L@RYCI.COM Subject: Can you explain this SPUFI behavior?



Goodday Listers, [...] 35462 26 113_DB2 OS/390: Does anyone have a solution for storing financial statements to present to customers via the internet0_25_Ed_Vetock@NAVYFEDERAL.ORG31_Tue, 27 Mar 2001 15:28:49 -0500398_us-ascii To all,

I work at a large financial institution. We've been tasked to explore options for storing financial statements so that our customers can view them via the internet. Ideally, the options would be IBM OS/390 based, possibly using DB2 OS/390 ; although this is not a hard requirement.

I would appreciate any feedback on solutions implemented in your organizations. [...] 35489 76 79_Accessing the next Recordset in VB returned from Stored Procedure UDB using ADO14_Cannamela, Jim26_jcanname@IDCFS.STATE.IL.US31_Tue, 27 Mar 2001 14:22:56 -0600554_iso-8859-1 We are running UDB V7.1 Fixpack 2 on a Windows 2000 server.

Stored Procedure 1 input parameter, 2 output resultsets.

Stored Procedure Builder displays correct output results. A resultset of 1 row followed by a resultset of 4 rows, result code 0.

Command Line Processor "call proj1.proc1(1)" returns exact same results.

Using the following VB code: ******************************************************* Dim con As ADODB.Connection Dim com As ADODB.Command Dim rs As ADODB.Recordset Dim rs1 As ADODB.Recordset [...] 35566 42 14_Mantis and DB212_Steve Grimes30_Steve_Grimes@AISMAIL.WUSTL.EDU31_Tue, 27 Mar 2001 14:46:57 -0600368_us-ascii Hello. OS/390 v2.10, DB2 v6.1 here!

We recently implemented our first DB2 application. (Woo hoo!) And it actually works. :-)

Phase II of our project is to have our existing OS/390 Mantis application code talk to our new DB2 application, with Select, Insert, Update and Delete.

Mantis is a Cincom product. Our two options seem to be: [...] 35609 206 55_Re: Table Design for online/fairly heavy reporting app?19_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Tue, 27 Mar 2001 14:50:32 -0600576_iso-8859-1 Hi Jay, I think I'm finally seeing what you wish to achieve. First let me see if I got this right. I think you're saying an orgacct can have many projectNumbers associated with it and projectNumber many tpacct's. If that's true, then you can't get where you want to go without building non-unique indexes on them. I'm not sure how the DB2 optimizer will view these non-unique indexes even if they are the clustering index. I think any SQL, at least any I can envision, would tend to influence the Optimizer towards the unique indexes you're forced to build on [...] 35816 214 55_Re: Table Design for online/fairly heavy reporting app?13_Terry Purcell25_Terry_Purcell@YLASSOC.COM31_Tue, 27 Mar 2001 14:49:06 -0600447_us-ascii Jay,

You know best your data and application, so it would be fruitless for me to tell you how you should redesign etc.

If you do not need to replicate the business data in the lower level tables, both to save space and for business purposes; then I would suggest that you change the key generation algorithm to generate a key that is somehow made up of the parent business keys, rather than simply a sequential number. [...] 36031 23 23_QMF 6.1 cost estimation12_Stan Goodwin29_STANLEY_GOODWIN@MECH.DISA.MIL31_Tue, 27 Mar 2001 15:45:40 -0500557_us-ascii As anyone created,modified whatever.... a routine to display the actual cost of running a query in QMF verses that infamous number that no body understand...



Stan Goodwin IBM Senior I/T Specialist DECC MBG DB2 Support

Stanley_goodwin@mech.disa.mil DSN: 430-4335 Outside:- 717-605-4335

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 36055 167 55_Re: Table Design for online/fairly heavy reporting app?15_Jackson Reavill18_damcon2@US.IBM.COM31_Tue, 27 Mar 2001 16:07:14 -0500573_us-ascii Daniel,

Thanks for your response. Instead of me reiterating what I've already said in my responses to Rick and Terry, please take a look at those. Hopefully, it will shed some more light on what I'm trying to do.

Thanks again, Jay



Jay Reavill damcon2@us.ibm.com IBM Global Services Tampa, Florida Tel: (813) 801-7303, Tie Line 8-427-7303 ----------------------------------------------------- Happiness is not around the corner. Happiness is the corner. - Bavarian Motor Works ----------------------------------------------------- [...] 36223 25 21_Platinum Log Analyzer11_Moore, Tony15_TMoore@IKON.COM31_Tue, 27 Mar 2001 16:10:16 -0500317_iso-8859-1 Yo Listers, This is a question to those DB2'ers out there that use the Platinum(CA) products. I am using the Platinum Log Analyzer to extract flat files of changes to several DB2 tables each day from the DB2 archive/active logs. I have my active logs on disk and archive logs on tape... dual logging. [...] 36249 24 8_DB2 jobs13_Jimmy Willett24_Jimmy.Willett@NCMAIL.NET31_Tue, 27 Mar 2001 16:26:21 -0500518_us-ascii Hello... My contract is ending soon and wish to know if anything is available in Arizona, Florida, New Mexico, or other southern states. I have 20+ years experience in mainframe systems, programming, systems analysis. 4+ years in DB2 database administration. 1 and 1/2 years in DB2 universal using Visual Basic on Windows NT to Soloris. 20 years cobol and 10+ years cics, ims db/dc. Any comments would be greatly appreciated. Resume availabe to interested persons. email Jimmy.Willett@ncmail.net. thanks [...] 36274 26 14_SQL Error -5770_29_WilliamsByron@RUSSELLCORP.COM31_Tue, 27 Mar 2001 15:46:29 -0600624_ISO-8859-1 Can anyone help with this? The driver is Microsoft OLE DB Driver for DB2. This is a VB appl running on NT calling a SP on OS/390, V5 DB2.

SQL0577N User defined function or procedure "" (specific name "") attempted to modify data but was not defined as MODIFIES SQL DATA. Explanation: The program used to implement the body of a user defined function or procedure is not allowed to modify SQL data. User Response: Remove any SQL statements that modify data then recompile the program. For stored procedures, investigate the level of SQL allowed as specified on the CREATE [...] 36301 94 88_Update - Accessing the next Recordset in VB returned from Stored Procedure UDB using ADO14_Cannamela, Jim26_jcanname@IDCFS.STATE.IL.US31_Tue, 27 Mar 2001 16:01:46 -0600304_iso-8859-1 We were using the IBM OLE DB Provider for DB2 Servers, switching to IBM DB2 ODBC Driver & Microsoft OLE DB Provider for ODBC Drivers allowed this to work.

We need to continue to use the IBM OLE DB Provider for DB2 Servers to be able to use connection pooling.

Jim Cannamela [...] 36396 30 57_PeopleSoft 8 - OWNERID field in the System Catalog Tables21_Smith, Ronald M - CNF20_smith.ronald@CNF.COM31_Tue, 27 Mar 2001 14:03:23 -0800394_- Hi Folks,

We are currently attempting to set up PeopleSoft 8 HR/Payroll on DB2/OS390 Version 6, and have run into a recommendation from PeopleSoft that:

OWNERID field in the System Catalog Tables, SYSTABLES and SYSDATABASE. PeopleSoft recommends that the OWNERID field be the same because of the necessity to do audit reporting as well as the creation of temporary tables. [...] 36427 129 55_Re: Table Design for online/fairly heavy reporting app?15_Jackson Reavill18_damcon2@US.IBM.COM31_Tue, 27 Mar 2001 17:20:16 -0500627_us-ascii Hope nobody is getting this twice. I got a rejection notice saying is was greater that 250 lines.



Terry,

In response to this from your response...



In essence I am attempting to do just that. But, instead of generating a business key, I'm "generating" a business clustering index. Part of the clustering index is the truly generated unique key. The overhead is the same as if they were truly identifying relationships, with the exception of the [...] 36557 174 55_Re: Table Design for online/fairly heavy reporting app?15_Jackson Reavill18_damcon2@US.IBM.COM31_Tue, 27 Mar 2001 17:24:14 -0500445_us-ascii Hope nobody is getting this one twice either. I got failure notice on this one also for being greater than 250 lines.



Hi Rick,

Yes, I believe you are seeing what I'm trying to do. The purpose of the clustering indexes would be for access when the actual unique key is not known, just the parent key(s) is known (sequential access). The unique index would be used when the unique key is known (random access). [...] 36732 70 24_IRLM LOCK REQUEST FAILED23_Campbell, James B - CNF22_Campbell.James@CNF.COM31_Tue, 27 Mar 2001 14:32:01 -0800525_iso-8859-1 Hi everyone,

Were running a DB2 COPY utility and have run into this problem(see below) several times and I was wondering if anyone has seen this and what they have done about it..............

DSNU099I %DB2O DSNUGSUU - IRLM LOCK REQUEST FAILED,

IRLM RETURN CODE = X'00000008'

IRLM REASON CODE = X'2000'

DSNU017I DSNUGSAT - UTILITY DATA BASE SERVICES MEMORY EXECUTION ABENDED, REAS ON=X'00E40085' DSNU016I DSNUGBAC - UTILITY BATCH MEMORY EXECUTION ABENDED, REASON=X'00E40347' [...] 36803 36 30_CICS access between mainframes12_Lisle, Kathy29_Kathy.Lisle@GMACINSURANCE.COM31_Tue, 27 Mar 2001 17:32:29 -0500406_iso-8859-1 DB2 for OS/390, version 5

We have two mainframes, no sysplex, no shared DASD. DB2 version 5 is running on both systems. There is a desire to run a CICS transaction on mainframe A that accesses DB2 tables on mainframe B (the CICS region would be on mainframe A in an attempt at load balancing between the two mainframes). Is this feasible? What would be involved in making this work? [...] 36840 25 44_How to Tell if a Load Completed Successfully15_Tami Van Dreese20_tsvandr@LANDSEND.COM31_Tue, 27 Mar 2001 17:10:14 -0600465_iso-8859-1 We are running scripts on DB2 V6.1.0.31 on AIX to load data into tables. We are trying to integrate these jobs with our scheduling package (ESP). The problem is how to tell ESP that a load has rejected or discarded rows. When all rows are rejected from the load file, ESP picks this up as an abend, but if only some rows are kicked out, it interprets this as a successful completion. Does anyone know how we can identify this as an incomplete load? [...] 36866 74 34_Re: CICS access between mainframes12_Clark, Kevin15_KClark@FDIC.GOV31_Tue, 27 Mar 2001 18:02:49 -0500538_iso-8859-1 Kathy,

You'll have to set up an ISC/MRO type link between the CICS systems via VTAM. See intersystem communication manual on your CICS bookshelf.

The network part can be CTC, VCTC, 374X, Cisco channel attached router, Etc....Depending on the volume of transactions , a 19.2 SNA line connection may do.

Kevin Clark

-----Original Message----- From: Lisle, Kathy [SMTP:Kathy.Lisle@GMACINSURANCE.COM] Sent: Tuesday, March 27, 2001 5:32 PM To: DB2-L@RYCI.COM Subject: CICS access between mainframes [...] 36941 70 34_Re: CICS access between mainframes23_Puddy, Andrew (CALBRIS)36_Andrew.PUDDY@COMALCO.RIOTINTO.COM.AU31_Tue, 27 Mar 2001 23:36:17 -0000315_iso-8859-1 If you can get a vtam cross domain link it would be possible, but the cics region and the db2 subsystem would have to be on mainframe b to enable the load to move from mainframe a.

another solution is using the 3 level db2 name, but this also requires a vtam link to the other db2 subsystem. [...] 37012 56 27_Re: QMF 6.1 cost estimation15_Mallett, Steven31_Steven.Mallett@TEAM.TELSTRA.COM31_Wed, 28 Mar 2001 10:18:27 +1000571_- Stan,

'timeron' is what they are called and I believe it's only a relative response estimate, ie. as far as response times are concerned timeron=1 is good, timeron=4 is not optimal but probably OK, timeron= big number means it's probably bad. When unusual things ( such as querying a remote table using a three part name, or some objects without stats ) are concerned the timeron value is usually big, even huge, but the response can still be OK. I think when there's an unknown quantity in the calculation path, the maximum must be substituted regardless. [...] 37069 118 34_Re: CICS access between mainframes0_19_Tim.Lowe@STPAUL.COM31_Tue, 27 Mar 2001 18:21:35 -0600547_us-ascii Kathy, If you do this, I don't think that you are really "load balancing", it is more like you are adding additional load. You would wind up running DB2 on both subsystems, with one of them just passing the requests on to the second subsystem. This overhead of all of this might be more than the cost of running the transaction in the first place. And, the largest part of the transaction might very well be the data access part that you are shipping back to the original subsystem. But, I did do this once long ago, when the people [...] 37188 106 34_Re: CICS access between mainframes12_Kirk Hampton16_khampto1@TXU.COM31_Tue, 27 Mar 2001 18:33:08 -0600486_us-ascii Kevin, If she has no CICS running on her B system, only on A, then ISC/MRO is not the answer.

Kathy, Is there a DDF connection set up between the DB2's on systems A and B ? If so, then a CICS transaction on system A can access thru the DB2 on system A to the tables in the DB2 on system B. We do this all the time here. We set up Aliases in the DB2 on system A that point to tables located in system B, then the program acesses them as if they were local to system [...] 37295 117 28_Re: IRLM LOCK REQUEST FAILED0_28_charles.t.schopf@VERIZON.COM31_Tue, 27 Mar 2001 19:37:57 -0500618_us-ascii Jim,

You didn't state what level of DB2 you are running but if you're running V6, then I suggest you take a look at APAR PQ34987. In reading the associated description it looks like it may be a match for your problem. This is part of the description...

The following abends may occur when multiple COPY or RECOVER jobs with PARALLEL processing are running at the same time: -ABEND04E RC00E40045 in DSNUGABN or DSNUGSTA. This problem was caused by missing serialization between the main task and a subtask on an internal control block. -ABEND04E RC00E40085 in DSNUGSUU with MSGDSNU099I IRLM [...] 37413 101 33_Re: Updates to partitioning index14_Michael Hannan24_mhannan@C031.AONE.NET.AU31_Wed, 28 Mar 2001 21:54:11 +1000393_us-ascii Greg,

I don't work for IBM at the lab, however we can deduce why IBM chose to Drain Lock Partitions when moving the record due to partition key value update.

If a record was moved from partition 5 to partition 1 then a TS scan process could miss the record altogether, due to being up to partition 3 at the time. IBM did not want records to go temporarily missing. [...] 37515 45 25_Re: Platinum Log Analyzer14_James Campbell29_James.Campbell@HANCORP.COM.AU31_Wed, 28 Mar 2001 11:00:10 +1000432_iso-8859-1 The question I'ld be asking at this point is "if PLA gets an IO error reading the archive logs, will DB2 RECOVER get them as well? And if it will, what's my recovery strategy!?"

/* standard disclaimer */ James Campbell Hansen Corporation

-----Original Message----- From: Moore, Tony [mailto:TMoore@IKON.COM] Sent: Wednesday, 28 March 2001 7:10 To: DB2-L@RYCI.COM Subject: [DB2-L] Platinum Log Analyzer [...] 37561 88 27_Re: QMF 6.1 cost estimation14_James Campbell29_James.Campbell@HANCORP.COM.AU31_Wed, 28 Mar 2001 11:13:46 +1000435_iso-8859-1 Stan,

Yes, I did once. The value QMF displays is timerons divided by 1000.

As Steve implied, it only has meaning when comparing sql that accesses the same tables.

I presume you want some suitable code:

10 WS-SQLERRD4-INT PIC S9(9) COMP-5. 10 WS-SQLERRD4-COMP-1 REDEFINES WS-SQLERRD4-INT USAGE COMP-1.

... MOVE SQLERRD4 TO WS-SQLERRD4-INT DISPLAY 'RAW TIMERONS IS ' WS-SQLERRD4-COMP-1 [...] 37650 47 38_Re: DB2 UDB Migration--Identity Column14_Joshua Steffan18_jsteffan@QUEST.COM31_Tue, 27 Mar 2001 18:56:05 -0600610_- Hi Gary,

There's no way to do what you're asking with IMPORT/EXPORT parameters, but it can be accomplished this way:

First, you'll need to find the last value used in the identity column by doing a SELECT MAX(identity column name) on your source table.

Second, you need to create your target table using the "BY DEFAULT" and "START WITH" parameters to define the identity column. Using BY DEFAULT lets you load your exported data into the target table while preserving the original values of the identity column. Then by setting START WITH to your (max value + increment), you will [...] 37698 80 22_Re: Suggestion Please.14_James Campbell29_James.Campbell@HANCORP.COM.AU31_Wed, 28 Mar 2001 11:22:05 +1000436_iso-8859-1 Actually, DATA CAPTURE CHANGES would not be necessary in this particular case - because the entire deleted row with its header will have to be in the undo record.

Just what is the "CHG Data Capture(CDC) process" that you use to read the log? Is it a home grown product? I can only suggest that you have a debugging process in front of you - when you get a "bad record" look at the corresponding entry in the log. [...] 37779 57 18_Re: SQL Error -5776_Mr K S22_teldb2kals@BIGPOND.COM31_Wed, 28 Mar 2001 11:55:16 +1000404_us-ascii Byron,

The SP is possibly defined with READS SQL DATA but u might be trying to modify some tables in ur actual proc. Try to alter the definition of the SP to MODIFIES SQL DATA.

Also, just as a point of clarification, r u sure it is v5 on OS/390 ? (Just wondering, as I thought that -577 SQLcode was introduced in v6, where u can specify whether ur SP reads or modifies data.) [...] 37837 48 35_Re: Java stored procedures question14_Richard Yevich26_Richard_Yevich@YLASSOC.COM31_Tue, 27 Mar 2001 20:29:04 -0600401_iso-8859-1 I will answer the questions in-line:

> Q. Please confirm: hpj comes with VisualAge for Java; no > additional purchase necessary for a "compiler".

There are different editions of VA for Java, and it has many target platforms. The HPJ is part of the ET/390 Tools.

> Q. Are "compiled" Java Stored Procedures (i.e. running in VisualAge > environment) supported in v7? [...] 37886 115 84_Central PA DB2 Users Group - April Claussen Seminars - Triggers & Cross Platform DBA10_Cathy Peck23_cathy.peck@HIGHMARK.COM31_Tue, 27 Mar 2001 21:14:03 -0500466_iso-8859-1 Hi everyone! Since so many people are anxious to get a handle on DB2 triggers & begin transitioning from the OS390 platform into the Open Systems arena, Linda is coming to the Central PA area in April to teach 2 days of classes. The 1st class is directed at companies who are ready to begin taking advantage of DB2 V6 Triggers. I recommend the 2nd class to knowledgable OS390 DB2ers who need to quickly become adept at DB2 in the Open Systems arena. [...] 38002 56 83_Central PA DB2 Users Group - April Larsen Seminars - Advanced SQL & SQL Performance10_Cathy Peck23_cathy.peck@HIGHMARK.COM31_Tue, 27 Mar 2001 21:14:44 -0500543_us-ascii Hi everyone! It's my pleasure to be bringing back by popular demand Sheryl Larsen for 2 more days of DB2 classes! I encourage anyone seeking advanced SQL training & SQL performance/tuning to consider attending these classes taught by one of the top DB2 SQL experts!

If you would like to register for Sheryl's DB2 Advanced & Complex SQL on April 25th OR the DB2 SQL Performance, Access Path & Tuning class on April 26th, please contact me at 717-975-7396 or Cathy.Peck@Highmark.com. The price is $150 per person per class. [...] 38059 25 25_REORG in DB2 for AIX (V6)14_Manas Dasgupta25_manas.dasgupta@PFSFHQ.COM31_Tue, 27 Mar 2001 22:03:36 -0500416_iso-8859-1 What is an effective way to monitor the progress of a REORG job in AIX? Specifically, I would like to know what phase the REORG is in, how many rows (or pages) have been unloaded etc. Pretty much like what -DIS UTIL gives us on OS/390.

We are trying to run a REORG on a test table with 2 million rows and it just run for few hours before we cancel it without really knowing where its hanging. [...] 38085 19 39_Order of Predicates in the Where Clause11_Richard Tan19_richtan@AU1.IBM.COM31_Wed, 28 Mar 2001 13:06:38 +1000479_us-ascii Dear List,

In the book "DB2 Answers!" on the question of whether the order of predicates in the Where clause is important to the optimizer, the book say "YES". Is this still true in the V5 and above?

Thanks Richard

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 38105 44 43_Re: Order of Predicates in the Where Clause14_Dash, Sushanta21_sushanta.dash@EDS.COM31_Tue, 27 Mar 2001 21:43:02 -0600328_- Yes Richard order of predicate is having much importance . Up to my knowledge we have to give the predicate in a query which eliminates max no of rows as first predicate. Like this the we have to give predicates which eliminates max no of rows in decreasing order. Hope it answers you. Any other suggestions are welcome. [...] 38150 30 25_Re: Ad Hoc Reporting Tool12_Roger Miller19_millerrl@US.IBM.COM31_Tue, 27 Mar 2001 21:40:46 -0600635_- You might be interested in IBM DB2 Web Query Tool for OS/390. You can get the fact sheet or a Users Guide from

http://www.ibm.com/software/data/db2imstools/details/index.html#appl

Highlights: Provide global data access to any user without new software or plug-ins on client machines Tightly control data access with support for existing DB2 security Make available multiple DB2 database servers, safely and simultaneously, and regardless of size, hardware, operating system or location Connect Web-based users directly to enterprise databases without scripts, Web server gateways, or other data access workarounds [...] 38181 49 43_Re: Order of Predicates in the Where Clause25_Robinson, Peter [IBM GSA]33_Peter.J.Robinson@TEAM.TELSTRA.COM31_Wed, 28 Mar 2001 14:01:32 +1000420_- Hi Richard

I believe the order is important on things like index screening but does not influence the actual access path.

PJR

Peter Robinson Senior Performance DBA Performance & Tuning IBM-GSA Enterprise Services Brisbane, Australia

* BG07, PO Box 435, Brisbane 4001 > ' (07) 3887-8129 or 0418-400-959 > 7 (07) 3221-1798 > * peterobi@au1.ibm.com peter.robinson@corpmail.telstra.com.au [...] 38231 45 25_Re: Platinum Log Analyzer9_Rob Crane22_racrane@CONCENTRIC.NET31_Tue, 27 Mar 2001 22:32:49 -0700543_us-ascii You can point your strategy at copy1 or copy2 of the active and archive logs since you are using dual logging. You can use the list log inventory feature of PLA to get a list of both copy1 and copy2. Specify log type(*) and log copy(*).

I have never played around with trying to get the product to do the switch automatically, if it could be done I would still want to be notified of the failure on copy1 so proper investigation could occur. The I/O errors on your copy1 might be more of a concern then having to manually [...] 38277 33 43_Re: Order of Predicates in the Where Clause14_Richard Yevich26_Richard_Yevich@YLASSOC.COM31_Wed, 28 Mar 2001 00:00:31 -0600552_iso-8859-1 Predicate order still matters, in V5, V6, V7. In the future beyond V7 I have no idea.

Reasons: predicates of the same class are processed in order of occurrence. So if you have 2 A = B predicates, and the first one is against a column with low cardinality, and the second is against high cardinality, you suffer. Reverse the order, and now the high cardinality filters and the second test never occurs. Just apply this across all categories: index screening, stage 1 predicates, stage 2 predicates, all subqueries, and so forth. [...] 38311 137 40_Re: Can you explain this SPUFI behavior?12_Isaac Yassin20_yassini@BEZEQINT.NET31_Wed, 28 Mar 2001 09:48:00 +0200638_iso-8859-1 Hi, Try to use "with UR" on both queries, this will override the SPUFI bind definitions.

Isaac Yassin DBMS & IT Consultant yassini@bezeqint.net ----- Original Message ----- From: "Moore, Tony" Newsgroups: bit.listserv.db2-l To: Sent: Tuesday, March 27, 2001 7:12 PM Subject: Re: Can you explain this SPUFI behavior?



> Carlton, > The 00C90096 says you hit the max number of locks allowed for a single agent > in the system. Sounds like the combination of the locks for the first query > and the locks for the second query is exceeding the lock limit you have set. > [...] 38449 171 26_Re: Load utility abend 0C112_Isaac Yassin20_yassini@BEZEQINT.NET31_Wed, 28 Mar 2001 09:59:13 +0200426_iso-8859-1 Hi, I use region=0m . Some sysprog oppose to 0m usage due to what they call "the possibility of a one job holding too much memory" but I did not encounter any problem with that.

Isaac Yassin DBMS & IT Consultant yassini@bezeqint.net ----- Original Message ----- From: David Williams Newsgroups: bit.listserv.db2-l To: DB2-L@RYCI.COM Sent: Tuesday, March 27, 2001 6:26 PM Subject: Load utility abend 0C1 [...] 38621 27 43_Re: Order of Predicates in the Where Clause10_Max Scarpa16_mscarpa@CESVE.IT31_Wed, 28 Mar 2001 10:03:43 +0200300_us-ascii As far as I know IBM made a big effort to improve the 'internal manipulation' of SQL in certain cases, but as Richard

Yevich said the order of predicates still matters: less rows you pass to RDS = less rows to 'atomize' in columns & to

control if they satisfy your query. [...] 38649 158 55_Re: Table Design for online/fairly heavy reporting app?14_Michael Hannan24_mhannan@C031.AONE.NET.AU31_Wed, 28 Mar 2001 22:14:50 +1000450_us-ascii Jackson,

My views on this topic were spelled out at length in the "DB2 Performance Journal" (YLA) issue before last. My article was called "Will Surrogate Ids be the Death of Us?" (meaning 'death by random I/O').

Firstly I agree with cluster index ABCD on the 4th table. But this is denormalised since A doesn't belong in this table in a 3NF structure. What has gone wrong is the primary key design of each of the tables. [...] 38808 48 23_question on outer join.18_Pudukotai, Nagaraj35_nagaraj.pudukotai@BLR.HPSGLOBAL.COM31_Wed, 28 Mar 2001 13:39:15 +0500571_- Dear list

One of my colleagues said this in his mail. He said he was quoting from what he came across in one of IBM's manuals

If you are used to coding inner joins, consider the SQL semantics of outer join and nested table expressions before you start coding outer joins. The sequence of operations in a query is as follows: 1. FROM clause (including any ON clause and nested table expressions) 2. WHERE clause 3. GROUP BY clause 4. HAVING clause 5. SELECT clause Predicates in the WHERE clause are therefore evaluated after the join, as the join is [...] 38857 95 18_Re: Mantis and DB214_Davage, Marcus29_Marcus.Davage@LLOYDSTSB.CO.UK31_Wed, 28 Mar 2001 09:41:54 +0100473_iso-8859-1 A long time ago, with an employer far, far away, we knocked up CICS transaction routing (LU62) between a Mantis/Supra system and a Natural/DB2 system, where one transaction on one system would get data from its own DBMS, route a transaction to another system to retrieve/update data on that DBMS and vice versa. I can't remember many details as I've slept since then. We did this as an interim solution while we rewrote the Mantis applications, bit by bit. [...] 38953 27 28_Re: IRLM LOCK REQUEST FAILED10_Max Scarpa16_mscarpa@CESVE.IT31_Wed, 28 Mar 2001 11:20:12 +0200408_us-ascii Have you checked IRLM return codes for lock /unlock request (chapter 5 - IRLM error return and reason codes in DB2 messages & codes manual) ?

IRLM RETURN CODE = X'00000008'

IRLM REASON CODE = X'2000' ?

They indicate that request was rejected for a deadlock during a lock request but I

cannot see the resource name. Search in DB2MSTR log. Are you using datasharing ? [...] 38981 66 20_Re: More on triggers14_Grainger, Phil20_Phil.Grainger@CA.COM31_Wed, 28 Mar 2001 11:13:04 +0100416_iso-8859-1 Although I am guilty of suggesting Triggers for Auditing, I have to admit to disagreeing with myself!!

The DB2 Log is a much better source of audit information and now there are tools available (including from IBM) I would recommend THIS approach over triggers every time.

Why??

Well, EVERY update you make to DB2 data is LOGGED. So you have an automatic audit trail AT NO COST. [...] 39048 122 33_Re: Updates to partitioning index14_Grainger, Phil20_Phil.Grainger@CA.COM31_Wed, 28 Mar 2001 11:13:06 +0100505_iso-8859-1 But, of course, deleting and reinserting the record still leaves a tablespace scan open to either missing the row or finding it twice!

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



-----Original Message----- From: Michael Hannan [mailto:mhannan@C031.AONE.NET.AU] Sent: 28 March 2001 12:54 To: DB2-L@RYCI.COM Subject: Re: [DB2-L] Updates to partitioning index [...] 39171 123 20_Re: More on triggers12_Cianci, Nick28_Nick.Cianci@TEAM.TELSTRA.COM31_Wed, 28 Mar 2001 20:40:11 +1000431_- Audit Triggers:- * Depends on what you are storing in your audit tables (eg : User, TimeStamp, summary of change) * How easy you want to get at the data & how you want to present it back

Other wise if you could probably post process the data with some tool like DPROP-R or something to shove into audit tables, the advantage to this would be that it could be done off line, the disadvantage is that you need to code. [...] 39295 150 20_Re: More on triggers14_Grainger, Phil20_Phil.Grainger@CA.COM31_Wed, 28 Mar 2001 12:03:44 +0100328_iso-8859-1 Hi Nick,

I have to respond.

I agree that if you have enough hamsters then the overhead won't kill you, but my point is that there's probably a better way to use the hamsters you have!

Don't forget, every new hamster you have to buy costs money in software as well as for the hamster itself. [...] 39446 31 33_Re: Updates to partitioning index15_Walter Janissen27_walter.janissen@VICTORIA.DE31_Wed, 28 Mar 2001 05:07:30 -0600321_- Hi Michael

I just read your explaination, but at once some things come to mind:

If a record was moved from partition 5 to partition 1 then a TS scan process could miss the record altogether, due to being up to partition 3 at the time.IBM did not want records to go temporarily missing. [...] 39478 17 42_Re: Duplicate Keys in Unique Index Problem15_Walter Janissen27_walter.janissen@VICTORIA.DE31_Wed, 28 Mar 2001 05:15:21 -0600424_- Hi Jeff

In the early days of data sharing we often experiened data inconsistencies due to internal DB2 errors. In many cases there duplicate index entries or rows with no index entry. Therefore we ran from time to time a check index for all our indexes (about 3000). I think these checks all ran at a single day (if I remember it rigth even a few hours) at a weekend. I think you can execute them in parallel. [...] 39496 24 24_IC jobs getting DSNU183113_Othman Kidwai22_kidwaiom@ARAMCO.COM.SA31_Wed, 28 Mar 2001 05:36:09 -0600542_- Hi,

We have a weekly stream of about 94 IC jobs (DB2 V6 OS/390) and all have a similar start-time defined under CA-DISPATCH . There has been one or two instances where few of those jobs failed with 'DSNU183I csect-name - utility-name UTILITY NOT COMPATIBLE WITH OTHER ACTIVE UTILITIES'. i believe this is due to contention on SYSUTILX. Any suggestions/experiences in possible ways to avoid this is greatly appreicated. Would the PARALLEL option of COPY be a feasible solution (but may require merging all jobs in a single job)? [...] 39521 189 20_Re: More on triggers12_Isaac Yassin20_yassini@BEZEQINT.NET31_Wed, 28 Mar 2001 14:07:19 +0200520_iso-8859-1 Hi, Usually hamsters themselves are not that high-priced. However - the food (software cost upgrade) costs a fortune.

BTW - you can always use triggers on the audit tables themsleves to audit if no one is tampering with those tables ;-))

Isaac Yassin DBMS & IT Consultant yassini@bezeqint.net ----- Original Message ----- From: "Grainger, Phil" Newsgroups: bit.listserv.db2-l To: Sent: Wednesday, March 28, 2001 1:03 PM Subject: Re: More on triggers [...] 39711 26 12_SQLCODE -72713_Wolfgang Wolf17_wolferl69@GMX.NET31_Wed, 28 Mar 2001 06:18:36 -0600711_- Hi, I just found a SQLCODE-727 in the APPLYTRAIL-Table:

*** SELECT * FROM ASN.IBMSNAP_APPLYTRAIL; * -+---------+---------+---------+---------+---------+---------+---------+ SQLSTATE SQLCODE SQLERRP SQLERRM -+---------+---------+---------+---------+---------+---------+---------+ 56098 -727 SQLNQ1FB 1.-204.42704.ASN.IBMSNAP_APPLYTRAIL * But I do not find anything about this SQLCODE;

Can someone point me to the meaning of it, please?

thanks Wolf

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 39738 29 27_Re: question on outer join.15_Walter Janissen27_walter.janissen@VICTORIA.DE31_Wed, 28 Mar 2001 06:28:00 -0600462_- Hi

Predicates in the WHERE clause are therefore evaluated after the join

I think that's not true. Local predicate are always evaluated before the join (so called table accessed predicates). Then there are so called during join predicates which are evaluated during join processing, after join predicates are predicates which are evaluate after one join step but before another join step and last totally after join predicates. [...] 39768 73 25_Re: Platinum Log Analyzer11_Moore, Tony15_TMoore@IKON.COM31_Wed, 28 Mar 2001 08:34:29 -0500563_iso-8859-1 I'm assuming that since we do dual logging, if the RECOVER utility chokes with an I/O error, it will automatically switch over to the archlog2. Otherwise, why do dual logging?

-----Original Message----- From: James Campbell [mailto:James.Campbell@HANCORP.COM.AU] Sent: Tuesday, March 27, 2001 8:00 PM To: DB2-L@RYCI.COM Subject: Re: Platinum Log Analyzer

The question I'ld be asking at this point is "if PLA gets an IO error reading the archive logs, will DB2 RECOVER get them as well? And if it will, what's my recovery strategy!?" [...] 39842 158 20_Re: More on triggers12_MARTIN WOLFF31_martin_wolff@GLOBALCROSSING.COM31_Wed, 28 Mar 2001 08:33:35 -0500548_us-ascii Thanks for the info guys. My suspicion now is that everyone who recommends triggers for auditing really hasn't tried it - and that includes the people who write those big, thick DB2 books.

"Grainger, Phil" wrote:

> Hi Nick, > > I have to respond. > > I agree that if you have enough hamsters then the overhead won't kill you, but my point is that there's probably a better way to use the hamsters you have! > > Don't forget, every new hamster you have to buy costs money in software as well as for the hamster itself. > [...] 40001 160 16_Re: SQLCODE -72716_Aurora Dell'Anno28_Aurora_E_DellAnno@CANDLE.COM31_Wed, 28 Mar 2001 13:25:24 +0000522_us-ascii Wolf,

cut and paste from the DB2 messages:

"SQL0727N An error occurred during implicit system action type "". Information returned for the error includes SQLCODE "", SQLSTATE "" and message tokens "".



Explanation: The processing of a statement or command has caused the database manager to implicitly perform additional processing. During this processing an error was encountered. The action attempted is shown by the "": [...] 40162 80 34_Re: CICS access between mainframes20_Pillay, Venkat (PCA)20_venkat_pillay@ML.COM31_Wed, 28 Mar 2001 08:36:13 -0500609_us-ascii CICS TCP/IP Sockets are very powerful tool and not been explored by many. I have been developing applications using Sockets to realize its worth. With Z/OS the sockets are going to be even more powerful, below is exert from a new from Yahoo -

"The first version of z/OS, V1R1, will be available Friday, IBM said. A later revision to z/OS, V1R2, is expected in October, the company said. That will include new features such as an internal network technology called "HiperSockets" that lets one partition communicate with another at a much higher speed than the regular computer network. " [...] 40243 19 26_NPAGES and tablespace scan17_Madeleine Fourier27_madeleine.f.fournier@AIB.IE31_Wed, 28 Mar 2001 06:59:07 -0600339_- Hi happy listers,

I am looking for an official documentation referring to DB2 optimizer going for a tablespace scan even if there is an index, when NPAGES for the table is less than 10. It seems to be widely accepted but cannot find any reference to that. I would be happy to hear from anybody having a good address on that. [...] 40263 133 34_Re: CICS access between mainframes12_Lisle, Kathy29_Kathy.Lisle@GMACINSURANCE.COM31_Wed, 28 Mar 2001 08:49:23 -0500352_iso-8859-1 There isn't a DDF connection now, but there could be. BTW, most of the work in this CICS region is NOT DB2; that's why there could be a load improvement by moving the region. That part is someone else's worry. I just have to be sure that the small DB2/CICS load in the region can somehow accomodate the move. Thanks for the suggestion! [...] 40397 127 27_Re: question on outer join.13_Terry Purcell25_Terry_Purcell@YLASSOC.COM31_Wed, 28 Mar 2001 07:55:24 -0600590_iso-8859-1 Walter/Nagaraj,

It is true that in V5 that all WHERE predicates are applied after the join (unless OUTER JOIN enhancement APAR applied).

V6 will "push-down" any local boolean term predicate that apply to a single preserved row table (ie. not NULL supplying table or not the right table of a left join). This applies to "pure" preserved row tables only (left table of a left join, right table of a right join). A WHERE predicate (which does not include OR COLB IS NULL) will cause a join simplification if applied to a table which can supply NULLs in the join. [...] 40525 85 26_Re: Load utility abend 0C119_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Wed, 28 Mar 2001 08:14:48 -0600583_iso-8859-1 Issac, David, The REGION=0M can be overridden by JES exit(s) to whatever the exit sets it to. Check with your OS390/JES sysprog to find out if it is and what it is.

HTH, Rick Davis

"This e-mail and any files transmitted with it are the property of SBC, are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender at 314-235-6854 and delete this [...] 40611 231 55_Re: Table Design for online/fairly heavy reporting app?15_Jackson Reavill18_damcon2@US.IBM.COM31_Wed, 28 Mar 2001 09:19:29 -0500576_us-ascii Hi Michael,

I was hoping this would get your attention. I've read many a posting by you on this subject and it is exactly the "death by random I/O" that I'm wanting to avoid. So, to avoid this I'm forcing identifying relationships. This allows the parent keys to flow down thru the design, giving better clustering from a business stand point for sequential access. What I'm doing different is allowing the column that is added to the migrated key, also be unique on it's own. An example is the one to many relationship of customer to project and the one [...] 40843 93 27_Re: question on outer join.11_Suresh Sane21_data_arch@HOTMAIL.COM31_Wed, 28 Mar 2001 08:27:39 -0600350_- Nagaraj - some observations.

1. DB2 has become increasingly smarter over the years re. OJ. In V4, for example, it was very basic and dumb. In V6, several optimization techniques (predicate pushdown, order of tables etc) are employed. Maryela Weihrauch from IBM discusses these in detail in the Dec 2000 issue of IDUG Solutions Journal. [...] 40937 21 31_UDB : Rebinding export packages10_John Lantz23_john.lantz@ZURICHNA.COM31_Wed, 28 Mar 2001 08:01:38 -0600320_- Last year there was a discussion about using EXPORT's and getting around the problem with it taking locks on the table you are exporting. It was mentioned that you can REBIND the packages and remove the RR isolation level. I've never been able to figure out which packages are associated with the EXPORT utility. [...] 40959 23 27_Re: question on outer join.15_Walter Janissen27_walter.janissen@VICTORIA.DE31_Wed, 28 Mar 2001 08:33:56 -0600354_- Hello Terry

I don't believe that in V5 for an inner join all WHERE predicates are evaluated after the join, because then I wouldn't understand a matching, say 5, index access in a join for the outer table. I think the same holds for the outer table in a left outer join, same argument: because I saw machting index access for those tables. [...] 40983 21 27_Re: question on outer join.15_Walter Janissen27_walter.janissen@VICTORIA.DE31_Wed, 28 Mar 2001 08:38:54 -0600569_- Well there is one simple example for your third item:

Q: Which tables are in a determined database:

A: First throw: SELECT * FROM SYSIBM.SYSTABLES WHERE DBNAME = Database Bad

Better: SELECT T.* FROM SYSIBM.SYSTABLES T INNER JOIN SYSIBM.SYSDATABASE D ON D.DBID = T.DBID AND D.NAME = Database <-- V6-Syntax

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 41005 25 29_More Space needed after Reorg16_Martin Berchtold31_Martin.Berchtold@SYSTEMATICS.DE31_Wed, 28 Mar 2001 08:45:03 -0600404_- Hi List,

a short question. Why do I need more space for my tablespaces, when I have reorganized the ts. For example: My ts needs 33000 tracks. PCTFREE is default (5), Freepage = 0. There are 15.000.000 rows in. After the reorg I need 34500 tracks. The increase of data is not dramatically; and this happens all the time. I ask IBM for an explanation - but up to now I didn't get an answer. [...] 41031 48 33_Re: More Space needed after Reorg16_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM31_Wed, 28 Mar 2001 10:17:58 -0500709_iso-8859-1 Compression? Could be REORG is building a less than optimal compression dictionary?

regards,

eric pearson NS ITO Database Support



-----Original Message----- From: Martin Berchtold [mailto:Martin.Berchtold@SYSTEMATICS.DE] Sent: Wednesday, March 28, 2001 9:45 AM To: DB2-L@RYCI.COM Subject: More Space needed after Reorg



Hi List,

a short question. Why do I need more space for my tablespaces, when I have reorganized the ts. For example: My ts needs 33000 tracks. PCTFREE is default (5), Freepage = 0. There are 15.000.000 rows in. After the reorg I need 34500 tracks. The increase of data is not dramatically; and this happens all the time. I [...] 41080 66 33_Re: More Space needed after Reorg10_Bill Disch23_bill.disch@GENMILLS.COM31_Wed, 28 Mar 2001 09:18:19 -0600374_- Martin,

If the length of the row is less than 5% (approximately 200), then inserts will occur on pages with available space. Eventually, the average PCTFREE for the tablespace will be less than 5%. The REORG just spreads out the data so that each page again has 5% free.

Bill Disch Technical Services (763) 764-7055 bill.disch@genmills.com Thanks in advance. 41147 52 33_Re: More Space needed after Reorg11_Moore, Tony15_TMoore@IKON.COM31_Wed, 28 Mar 2001 10:18:19 -0500436_iso-8859-1 Yo Martin,

Sounds like between reorgs, either inserts or updates to variable length rows (if you have em) are filling up your 5% freespace and the additional DASD is needed to rebuild your freespace.

HTH, Tony

-----Original Message----- From: Martin Berchtold [mailto:Martin.Berchtold@SYSTEMATICS.DE] Sent: Wednesday, March 28, 2001 9:45 AM To: DB2-L@RYCI.COM Subject: More Space needed after Reorg [...] 41200 50 33_Re: More Space needed after Reorg0_19_mike.holmans@BT.COM31_Wed, 28 Mar 2001 16:17:44 +0100399_- The increase is consistent with the pages in the un-REORGed tablespace being full. Then, when you include 5% free space on each page when you reload the data, you will get roughly a 5% increase in required space.

Mike Holmans BT ISE Database Services mike.holmans@bt.com

This post represents the views of the author and does not necessarily accurately represent the views of BT [...] 41251 60 33_Re: More Space needed after Reorg0_20_John_Lendman@FPL.COM31_Wed, 28 Mar 2001 10:23:21 -0500435_us-ascii My guess is that the table was full and had used the 5% freespace. Then when you reorg it, it allocates that 5% freespace again, thus increasing the overall size. Just my opinion.

John Lendman Florida Power and LIght





"Martin Berchtold" cc: Sent by: "DB2 Data Base Subject: More Space needed after Reorg Discussion List" [...] 41312 58 27_Re: question on outer join.0_19_Tim.Lowe@STPAUL.COM31_Wed, 28 Mar 2001 09:26:11 -0600441_us-ascii Walter, Are you thinking of DB2 V5 before or after the outer join performance enhancement in APAR PQ22097/PTF UQ25815 with zparm OJPERFEH?

Thanks, Tim





Walter Janissen cc: Sent by: DB2 Data Subject: Re: question on outer join. Base Discussion List



03/28/2001 08:33 AM Please respond to DB2 Data Base Discussion List [...] 41371 66 33_Re: More Space needed after Reorg15_Blaicher, Chris22_Chris_Blaicher@BMC.COM31_Wed, 28 Mar 2001 09:31:48 -0600461_iso-8859-1 Without knowing all the stats, here is one possible answer.

You are doing the REORG because the table has had rows inserted, updated and deleted. When the REORG is done it is going to make sure that every page has at least 5% free space. Looking at the numbers it seems that you have filled up all the free space in the table and it is just giving you some room to grow in. 1,500 new tracks divided by 33,000 original tracks * 100 = 4.5% [...] 41438 34 11_DB2 Connect11_Chuck Kosin24_chuck.kosin@EXPERIAN.COM31_Wed, 28 Mar 2001 09:17:31 -0600348_ISO-8859-1 I’m looking for options which would automatically avoid the accumulation STARTLISTENERCHILD processes. See sample below. Recycling rids the environment of these accumulated processes, but, of course, recycling is not always an option. Manually, these processes can be killed. But, I’d prefer not to waste any DBA time on this task. [...] 41473 234 20_Re: More on triggers14_Richard Yevich17_ryevich@YAHOO.COM31_Wed, 28 Mar 2001 07:47:13 -0800511_us-ascii Categorically untrue. Some of us DO try the things we write about.

First of all, there are many different types of audit information, besides the overly simplistic "before/after" picture. One system we have worked on (yes, worked on), requires about 7 difference columns of information in the audit, besides what was changed, including but not limited to date, time, id, expiry dates, location info, server info, etc. But then again, that is real audit, not just tracking what was changed. [...] 41708 20 57_db2 CRASH many racf acee's in dist - using db2 connect v710_Tom Taylor17_ttaylor@CHUBB.COM31_Wed, 28 Mar 2001 10:47:19 -0500294_us-ascii Hi everyone

Have an issue where we see a lot of RACF acee's in the distrubited address space .. It has caused db2 to crash. We think its because of our db2 connect V7 gateway. Our other gateways are v5.2 and 6.1 and the db2's they connect to are OK. Any reported problems? [...] 41729 38 37_?Big index needs larger Dssize on TS?5_Chris17_isatcjk@YAHOO.COM31_Wed, 28 Mar 2001 07:52:46 -0800295_us-ascii Hi Everybody, If I want to create a Non-partitioning index with more columns in it, is it possible that DB2 will force me to drop and recreate the table with the larger DSSIZE on the tablespace?

There are 160,000,000 rows in the table and the index key length is 105 bytes. [...] 41768 58 27_Re: question on outer join.14_Richard Yevich17_ryevich@YAHOO.COM31_Wed, 28 Mar 2001 07:53:27 -0800566_us-ascii WHERE predicates that were NOT USED for index access. That is what the discussion is about...the left over ones, obviously.

--- Walter Janissen wrote: > Hello Terry > > I don't believe that in V5 for an inner join all WHERE predicates > are > evaluated after the join, because then I wouldn't understand a > matching, > say 5, index access in a join for the outer table. I think the same > holds > for the outer table in a left outer join, same argument: because I > saw > machting index access for those tables. > [...] 41827 27 50_Help needed urgently regarding external function..15_Rajesh Udandrao17_urajes1@YAHOO.COM31_Wed, 28 Mar 2001 08:01:34 -0800455_us-ascii Hi all.. I created a java external function. I am not able to read or write into the file using that external function. Can anyone pls help me as I have to read database url, user id, password from a file. I cannot hardcode in the Java function..

Rajesh





__________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/?.refer=text [...] 41855 55 33_Re: More Space needed after Reorg23_Pendlebury-Bowe, Leslie34_Leslie.Pendlebury-Bowe@EU.SONY.COM31_Wed, 28 Mar 2001 16:09:02 +0100660_iso-8859-1 Martin

is the TS compressed?

Les

-----Original Message----- From: Martin Berchtold [mailto:Martin.Berchtold@SYSTEMATICS.DE] Sent: Wednesday, March 28, 2001 3:45 PM To: DB2-L@RYCI.COM Subject: More Space needed after Reorg



Hi List,

a short question. Why do I need more space for my tablespaces, when I have reorganized the ts. For example: My ts needs 33000 tracks. PCTFREE is default (5), Freepage = 0. There are 15.000.000 rows in. After the reorg I need 34500 tracks. The increase of data is not dramatically; and this happens all the time. I ask IBM for an explanation - but up to now I didn't get [...] 41911 40 20_Re: More on triggers12_Steve Grimes30_Steve_Grimes@AISMAIL.WUSTL.EDU31_Wed, 28 Mar 2001 11:04:59 -0600492_us-ascii Hello,

We do the admittedly inefficient technique of using Triggers to log inserts/updates/deletes to all of our critical tables. We have a "global audit switch" switch in a control table which every trigger checks in its WHEN condition before proceeding with creating the audit table entries.

We turn off the "global audit switch" before large updates to our DB at night, but leave it on during the day to capture changes made through the PowerBuilder front-end. [...] 41952 39 29_Re: REORG in DB2 for AIX (V6)11_Jeremy Dodd21_jeremy.dodd@WHICH.NET31_Wed, 28 Mar 2001 18:14:35 +0100281_us-ascii Manas,

You can do this by getting a snapshot of the tables. If you turn the monitor snapshot on (or reset it to 0), the snapshot will give you the figure of rows that have been processed. Of course, this is only any use if you have an idea of the cardinality. [...] 41992 22 34_STDSQL(YES) DB2 precompiler option0_19_Tim.Lowe@STPAUL.COM31_Wed, 28 Mar 2001 11:14:20 -0600442_us-ascii Does anyone know of any "gotchas" with using the DB2 precompiler option STDSQL(YES)? We just got a package that requires this, and people here are concerned about any ramifications of using STDSQL(YES) in some programs and STDSQL(NO) in other programs that need to work together. I have never seen this before, and I suggested that with all of the wise, experienced DB2 people on this list that someone would have an answer(?). [...] 42015 132 22_Re: Suggestion Please.23_Campbell, James B - CNF22_Campbell.James@CNF.COM31_Wed, 28 Mar 2001 09:28:57 -0800462_iso-8859-1 I like your name - lol - sorry could not resist...

Have a great day

James (Jim) Campbell Sr. Analyst & Test Systems Coordinator CNF ADTECH Phone: (503) 450-4839 Fax: (503) 450-3629 Email: campbell.james@cnf.com



-----Original Message----- From: James Campbell [SMTP:James.Campbell@HANCORP.COM.AU] Sent: Tuesday, March 27, 2001 5:22 PM To: DB2-L@RYCI.COM Subject: Re: Suggestion Please. [...] 42148 45 79_Parallel jobs running longer then same jobs run one at a time DB2 V6 for OS/39015_Billings, Linda30_linda.billings@DOA.STATE.WI.US31_Wed, 28 Mar 2001 11:48:39 -0600549_iso-8859-1 OK. Here goes. (Warning: Sarcasm alert) My customer has 10 jobs that he runs against a tablespace(4,539,014 rows) with 10 partitions. Each job runs against a separate partition. My customer claims that in the past running all jobs in tandem worked within minutes and that nothing has changed (I know that we all have heard that before.). Now all of a sudden (And he can't tell me when. No surprise.) it is taking 3 hours to run these jobs in parallel. Each job only uses 2 minutes of CPU time. If he runs one job at a time then they [...] 42194 116 26_Re: Load utility abend 0C112_Isaac Yassin20_yassini@BEZEQINT.NET31_Wed, 28 Mar 2001 20:15:21 +0200624_iso-8859-1 Hi, I know you can override it. In my case - there's no override (I checked).



Isaac Yassin DBMS & IT Consultant yassini@bezeqint.net ----- Original Message ----- From: "DAVIS, RICK (SBCSI)" Newsgroups: bit.listserv.db2-l To: Sent: Wednesday, March 28, 2001 4:14 PM Subject: Re: Load utility abend 0C1



> Issac, David, > The REGION=0M can be overridden by JES exit(s) to whatever the exit sets > it to. Check with your OS390/JES sysprog to find out if it is and what it > is. > > HTH, > Rick Davis > > "This e-mail and any files transmitted with [...] 42311 215 20_Re: More on triggers12_Isaac Yassin20_yassini@BEZEQINT.NET31_Wed, 28 Mar 2001 20:33:26 +0200376_iso-8859-1 Hi, We waited for triggers in os/390 for a long time. They enabled us to do many things that needed an application before. They are still short on things when compared to ORACLE triggers (PL/SQL). If you are willing to pay the price for them - then fine (and they are cheaper compared to an application). Some auditing are done better with triggers, some not. [...] 42527 32 37_Re: Java and DB2 (one more last time)23_Pendlebury-Bowe, Leslie34_Leslie.Pendlebury-Bowe@EU.SONY.COM31_Wed, 28 Mar 2001 16:38:54 +0100276_iso-8859-1 Raymond

I am doing all this on AIX 4.3.3 ... I just got it to work.

Give me a while and I'll post back what I did .. but I had to get rid of 1.3 from where it was looking for the JRE.

I.eI changed it to point to JRE 1.2.2 (from memory) .. [...] 42560 110 22_Re: Suggestion Please.19_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Wed, 28 Mar 2001 12:42:56 -0600637_iso-8859-1 Hi James, Kannan, Data Capture Changes -- just trying to cover a possible mass delete in a segmented tablespace.

HTH, Rick Davis

"This e-mail and any files transmitted with it are the property of SBC, are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender at 314-235-6854 and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing, or [...] 42671 89 83_Re: Parallel jobs running longer then same jobs run one at a time DB2 V6 for OS/39011_Moore, Tony15_TMoore@IKON.COM31_Wed, 28 Mar 2001 13:59:30 -0500411_iso-8859-1 Linda, This is strictly a "shot in the dark" but it's something I got bit on once apon a time... Is it possible that this is a table that has not had a runstats run on it in awhile and one was run against it between the time it ran for several minutes as opposed to several hours? If the table has changed in size, width, etc., it could be the statistics has caused a change in the access path. [...] 42761 26 31_Open DB2 Position in Cincinnati16_Lamb, Ron (CORP)25_Ron.Lamb@CORPORATE.GE.COM31_Wed, 28 Mar 2001 14:05:57 -0500644_iso-8859-1 We presently have an open position for a DB2 MVS Systems Programmer in Cincinnati, Ohio. This person should be able to install, upgrade, monitor and support DB2 sub-systems under OS/390. We presently support 58 DB2 subsystems running on 18 LPARS. Interested candidates should contact Ron Lamb at the address or number below. > ______________________________________ > Ron Lamb > Leader, Customer Database & Applications Center > General Electric - GCO - Software Engineering > 8700 Governor's Hill Drive > Cincinnati, OH 45249-1363 > Phone: (513) 583-3436; Dial-Comm: 8*330-3436 > Fax: (513) 583-3458; Dial-Comm: 8*330-3458 > > [...] 42788 83 82_Re: Parallel jobs running longer then same jobs run one at a time DB2V6 for OS/39011_Bill Happel22_WRHappel@US.FORTIS.COM31_Wed, 28 Mar 2001 13:10:55 -0600601_US-ASCII If each job is suppose to be running against a separate partition, then why are they using the NPI?

>>> linda.billings@DOA.STATE.WI.US 03/28/01 11:48AM >>> OK. Here goes. (Warning: Sarcasm alert) My customer has 10 jobs that he runs against a tablespace(4,539,014 rows) with 10 partitions. Each job runs against a separate partition. My customer claims that in the past running all jobs in tandem worked within minutes and that nothing has changed (I know that we all have heard that before.). Now all of a sudden (And he can't tell me when. No surprise.) it is taking 3 hours to [...] 42872 15 38_DB2 UDB V6.1 fixpack inquiry question?8_Bob Abad16_BobRabad@AOL.COM29_Wed, 28 Mar 2001 14:12:45 EST306_ISO-8859-1 My peer has installed the UDB V6.1 many months ago, and supposedly applied Fixpack 6 with it. He can't seem to verify whether the Fixpack was installed or not. Would appreciate any response(command, etc..) how to find out what fixpack he is currently in??? I don't have the answer either.. [...] 42888 20 13_START command12_Le BD Nguyen20_lnguyen@AHOLDUSA.COM31_Wed, 28 Mar 2001 14:20:59 -0500531_us-ascii Hello everyone,

Is there anyway that I can restrict a user from issuing the '-START DATABASE .... ACCESS(FORCE)' command, yet I want to allow the same user to have access to '-START DATABASE ..... ACCESS(RO), ACCESS(RW) or ACCESS(UT)' ?

Thanks in advance. Le Nguyen.

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 42909 80 56_Chicagoland BEZ/IBM DB2 UDB EE & EEE Performance Seminar12_Imran Kareem13_imran@BEZ.COM31_Wed, 28 Mar 2001 13:24:29 -0600472_iso-8859-1 ****************************************************************************

BEZ Systems and IBM are pleased to extend you an invitation to attend an informative half-day free seminar in Chicago on April 18th discussing how to design, build and grow scalable applications for eBusiness and Data Warehouses using DB2 Universal Database (UDB)EE and DB2 UDB EEE. The seminar content is designed to be appropriate for DBAs, Developers, and IT managers. [...] 42990 40 42_Re: DB2 UDB V6.1 fixpack inquiry question?0_15_leon@CA.IBM.COM31_Wed, 28 Mar 2001 14:33:39 -0500750_us-ascii Go to any command window and type DB2LEVEL command.

Leon Katsnelson, DB2 Connect Development Manager mailto:leon@ca.ibm.com



Bob Abad @RYCI.COM> on 03/28/2001 02:12:45 PM

Please respond to DB2 Data Base Discussion List

Sent by: DB2 Data Base Discussion List



To: DB2-L@RYCI.COM cc: Subject: DB2 UDB V6.1 fixpack inquiry question?



My peer has installed the UDB V6.1 many months ago, and supposedly applied Fixpack 6 with it. He can't seem to verify whether the Fixpack was installed or not. Would appreciate any response(command, etc..) how to find out what fixpack he is currently in??? I don't have the answer either.. [...] 43031 89 83_Re: Parallel jobs running longer then same jobs run one at a time DB2 V6 for OS/39014_Joel Goldstein29_joel_goldstein@COMPUSERVE.COM31_Wed, 28 Mar 2001 14:41:00 -0500552_ISO-8859-1 Linda, With 2 mins of CPU the jobs are obviously I/O constrained. So, how about dataset placement... were any partitons moved? Any other jobs now runing during the same timeframe that might have an impact on BP hit ratios and I/Os?

Also, some simple math here... if each job takes 30 mins to run standalone, times ten is FIVE hours.... so parallel still cuts 2 hrs off this time. A TS with 4.5M rows, is not large in todays world, and processing all the data sequentially in one job should not take 3 hrs, if it's done properly. [...] 43121 31 42_Re: DB2 UDB V6.1 fixpack inquiry question?13_Kurt Sahlberg26_Kurt.Sahlberg@EXPERIAN.COM31_Wed, 28 Mar 2001 13:44:01 -0600411_US-ASCII Bob, use the DB2LEVEL command from the CLP. Regards, Kurt

>>> BobRabad@AOL.COM 03/28/01 01:12PM >>> My peer has installed the UDB V6.1 many months ago, and supposedly applied Fixpack 6 with it. He can't seem to verify whether the Fixpack was installed or not. Would appreciate any response(command, etc..) how to find out what fixpack he is currently in??? I don't have the answer either.. [...] 43153 80 83_Re: Parallel jobs running longer then same jobs run one at a time DB2 V6 for OS/39013_Taddei, Cathy27_Cathy.Taddei@PACIFICORP.COM31_Wed, 28 Mar 2001 11:49:23 -0800541_iso-8859-1 Have you monitored these jobs yourself? What are they delayed for? I consider 2 CPU _minutes_ to be a lot of processing, and it would not surprise me at all to see a job like that run for 30 minutes (depending on your processor size and other workload). But for 10 jobs like that to take 3 hours, sounds like they are colliding on something, could it be that your system is severely CPU constrained? There's no use in trying to find out _why_ they used to run fast, even _if_ your customer could prove that they did, all you [...] 43234 54 28_Re: IRLM LOCK REQUEST FAILED23_Campbell, James B - CNF22_Campbell.James@CNF.COM31_Wed, 28 Mar 2001 11:51:03 -0800482_- Thanks all for your help

We have two updates that will be applied this weekend that may solve the problem

James (Jim) Campbell Sr. Analyst & Test Systems Coordinator CNF ADTECH Phone: (503) 450-4839 Fax: (503) 450-3629 Email: campbell.james@cnf.com



-----Original Message----- From: Max Scarpa [SMTP:mscarpa@CESVE.IT] Sent: Wednesday, March 28, 2001 1:20 AM To: DB2-L@RYCI.COM Subject: Re: IRLM LOCK REQUEST FAILED [...] 43289 32 24_Sort work activity in Bp14_Karthik Ganesh21_karthik_gus@YAHOO.COM31_Wed, 28 Mar 2001 12:32:38 -0800368_us-ascii Hello List ,



We are gearing towards splitting up the Bufferpool atlast. To start with we are going to split with Sort Pools to reduce the I/O. I would like to know how to dig into the sort activity very deep for all sort of details to split other than getting it from online monitors and other tables like Candle that stores the the data. [...] 43322 17 14_DB2 components11_Judy Kibler21_judith.kibler@TRW.COM31_Wed, 28 Mar 2001 14:33:24 -0600366_us-ascii Hello listers!

How can I tell what DB2 components are installed on my aix server?

Thanks, Judy Kibler

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 43340 23 48_Outer Join Query Use of literals in ON CLAUSE???11_David Nance16_DWNance@FHSC.COM31_Wed, 28 Mar 2001 15:41:48 -0500289_US-ASCII OS/390 2.8 DB2 V6

One our developers came to me with a query today that has column = literal and column = host variable in the ON clause. Isn't that an illegal operation that should either fail or not be able to bind? Did I miss an APAR that came out for outer joins. [...] 43364 37 18_Re: DB2 components12_Jim Fletcher19_jfletch3@US.IBM.COM31_Wed, 28 Mar 2001 15:49:31 -0500689_us-ascii lslpp -l|grep DB2

Judy Kibler @RYCI.COM> on 03/28/2001 03:33:24 PM

Please respond to DB2 Data Base Discussion List

Sent by: DB2 Data Base Discussion List



To: DB2-L@RYCI.COM cc: Subject: DB2 components





Hello listers!

How can I tell what DB2 components are installed on my aix server?

Thanks, Judy Kibler

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. [...] 43402 121 83_Re: Parallel jobs running longer then same jobs run one at a time DB2 V6 for OS/39015_Billings, Linda30_linda.billings@DOA.STATE.WI.US31_Wed, 28 Mar 2001 14:50:19 -0600570_iso-8859-1 Hi, all, Thanks for all the responses. The fact that they are I/O bound was very obvious as well as the thought that they are all colliding on something, but what? Stats were run recently. The programmer says he just rebound the packages after reorging the index. We are definitely not CPU constrained. I would expect that we would be seeing performance problems across the board if that were the case. As far as placement of the data sets are concerned we don't hand place anything. Everything is in one SMS pool of 1100 - 3390 (or the equivalent) DASD [...] 43524 63 42_Re: DB2 UDB V6.1 fixpack inquiry question?12_Martin, Paul22_Paul.Martin@ECOLAB.COM31_Wed, 28 Mar 2001 14:54:11 -0600485_iso-8859-1 I know IBM has heard this several times before but can we submit this as a requirement to have someone change the DB2level command to put the fixpak number in the response from the command so I don't have to go do another search to determine WP21229 is fixpak2? Note below C:\WINNT\SYSTEM32\drivers\etc>db2level DB21085I Instance "DB2" uses DB2 code release "SQL07010" with level identifier "02030105" and informational tokens "DB2 v7.1.0.20", "n010111" and "WR21229". [...] 43588 33 18_Re: DB2 components13_Kurt Sahlberg26_Kurt.Sahlberg@EXPERIAN.COM31_Wed, 28 Mar 2001 15:01:04 -0600404_US-ASCII Hello Judy, look for a directory called DB2LOG and within that directory there is a file call DB2.LOG which contains all the DB2 components that have been installed since DB2 was installed. It gets updated every time a FIXPAK is applied. HTH Kurt

>>> judith.kibler@TRW.COM 03/28/01 02:33PM >>> Hello listers!

How can I tell what DB2 components are installed on my aix server? [...] 43622 81 83_Re: Parallel jobs running longer then same jobs run one at a time DB2 V6 for OS/39012_BOB JEANDRON21_BOB.JEANDRON@USDA.GOV31_Wed, 28 Mar 2001 14:06:00 -0500488_- Have any outside forces changed? Large batch jobs running at same time taking up storage, Bufferpools, CPU? Other Busy Datasets now on disk vols/controllers where there were none before?



>>> DB2-L@RYCI.COM@inter2 03/28/01 01:41PM >>> Linda, With 2 mins of CPU the jobs are obviously I/O constrained. So, how about dataset placement... were any partitons moved? Any other jobs now runing during the same timeframe that might have an impact on BP hit ratios and I/Os? [...] 43704 24 18_Re: DB2 components15_Paul S Rockwood19_rockwood@US.IBM.COM31_Wed, 28 Mar 2001 16:14:01 -0500389_us-ascii To list DB2 components installed in your AIX system, you could try the following at the command line:

lslpp -l | grep db2

Paul S. Rockwood IBM Software I/T Specialist Certified Solutions Expert - DB2 UDB v7.1 6710B Rockledge Drive Bethesda, MD 20817 301-803-3733 DB2 UDB Version 7 - Find out what all the excitement is about at http://www.ibm.com/software/data [...] 43729 222 83_Re: Parallel jobs running longer then same jobs run one at a time DB2 V6 for OS/39011_Moore, Tony15_TMoore@IKON.COM31_Wed, 28 Mar 2001 16:24:04 -0500575_iso-8859-1 Linda, Looking at it from a mile high view, it still sounds like the access path(s) to the table has changed from using the partitioned index to the NPI index. If the program was designed to run against individual partitions, it would stand to reason that it should be using the partitioning index instead of the NPI by those SQL statements in the program accessing the table. If I'm correct so far in my assumptions, you should be able to confirm if this is the problem by running an explain against the individual SQL statement(s) that access the table (if [...] 43952 16 18_Re: DB2 components11_Judy Kibler21_judith.kibler@TRW.COM31_Wed, 28 Mar 2001 15:27:44 -0600370_us-ascii Thanks to Jim, Kurt, and Paul for helping me out! I got what I needed from your suggestions.

Thanks, Judy Kibler

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 43969 11 92_Re: Update - Accessing the next Recordset in VB returned from Stored Procedure UDB using ADO13_Waldo Tumanut33_waldo_tumanut@AMERICANCENTURY.COM31_Wed, 28 Mar 2001 15:06:42 -0600305_- Try closing the first recordset or set rs2=rs.nextrecordset .

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 43981 18 15_DB2 Conferences15_Morris, Deborah20_DMorris@UNCH.UNC.EDU31_Wed, 28 Mar 2001 16:54:30 -0500479_iso-8859-1 Can someone provide me with a list of the DB2 Conferences that are scheduled for this year.

I know that IDUG is one that is scheduled for May 13th in Orlando, but was looking for any others.

Thanks for your help.

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 44000 151 83_Re: Parallel jobs running longer then same jobs run one at a time DB2 V6 for OS/3900_22_Rohn.Solecki@MTS.MB.CA31_Wed, 28 Mar 2001 15:43:26 -0600500_us-ascii The programmer says he just rebound the packages after reorging the index.

That sounds 'interesting', performance changes after a rebind, hmmmmmm! Did they also do a RUNSTATS recently before REBIND. If REORG made significant change to stats, old RUNSTATS values may give bad access path. Or RUNSTATS after REORG may result in bad access path. Sounds like you hands are really tied behind your back, I suppose before and after EXPLAINS are too much to hope for. [...] 44152 144 83_Re: Parallel jobs running longer then same jobs run one at a time DB2 V6 for OS/39013_Taddei, Cathy27_Cathy.Taddei@PACIFICORP.COM31_Wed, 28 Mar 2001 13:55:14 -0800412_iso-8859-1 Another thing to check is your WLM settings. We had a problem with batch consuming too many resources during the day, so we changed the batch service classes from a specific execution velocity to discretionary. This solved the competition with our onlines, but unexpectedly increased batch throughput as well, because when the system was unconstrained batch was able to scream. hth, Cathy Taddei [...] 44297 17 32_Re: DB2-OS/390- Statistical Anal13_Daryl Johnson18_djjan@TELEPORT.COM31_Wed, 28 Mar 2001 15:34:07 -0600532_- I would also like a copy of this Rexx program.

"I had sent out many copies of an SMF 42 subtype 6 REXX that provided a detail and summary of I/O response times (and their components) for each table/indexspace for a DB2 DBM1 subsystem. Anyone else interested in this?"

Thanks

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 44315 49 19_Re: DB2 Conferences11_John Wynton21_jwynton@THEMISINC.COM31_Wed, 28 Mar 2001 16:51:06 -0500597_iso-8859-1 Deborah:

IBM's DB2 and Business Intelligence Conference is in Orlando, Sept 30-Oct 3, 2001.

IDUG also has a technical symposium in Toronto, I think. Probably more info at their web page - www.idug.org.

Regards,

John Wynton Senior Account Manager Themis, Inc. Specialists in DB2, CICS & MQSeries Education 1-800-756-3000; 908-233-8900 (Int'l) http://www.themisinc.com





-----Original Message----- From: Morris, Deborah [mailto:DMorris@UNCH.UNC.EDU] Sent: Wednesday, March 28, 2001 4:54 PM To: DB2-L@RYCI.COM Subject: DB2 Conferences [...] 44365 51 52_Re: Outer Join Query Use of literals in ON CLAUSE???14_Richard Yevich17_ryevich@YAHOO.COM31_Wed, 28 Mar 2001 14:13:28 -0800531_us-ascii No, that is a feature of V6, and might also be part of the APAR on V5. Those are processed as "during join predicates" in the new linear join style of processing introduced in V6.



--- David Nance wrote: > OS/390 2.8 DB2 V6 > > One our developers came to me with a query today that has column = > literal and column = host variable in the ON clause. Isn't that an > illegal operation that should either fail or not be able to bind? > Did I miss an APAR that came out for outer joins. [...] 44417 16 18_390 control center12_Jeff Frazier26_Jeffrey_Frazier@WENDYS.COM31_Wed, 28 Mar 2001 16:46:59 -0500358_us-ascii We are trying the DB2 control center JDB661D on our system test system. We tried to use the dataset list procedure DSNACCDL and recieved and error due to it being defined as a WLM only procedure. We dont have WLM procedures implemented yet. Can we safely alter this to a non WLM procedure? Any problems with doing that? Thanks In Advance, Jeff [...] 44434 37 93_Re: Update - Accessing the next Recordset in VB returned from Sto red Procedure UDB using ADO14_Cannamela, Jim26_jcanname@IDCFS.STATE.IL.US31_Wed, 28 Mar 2001 16:55:49 -0600591_iso-8859-1 I tried closing the recordset prior to moving to the next recordset

I got the following error: "Object or provider is not capable of performing requested operation."

rs.Close set rs.Recordset.NextRecordset

added an rs.Open between the above statements and got a datatype mismatch error CLI0113E.

-----Original Message----- From: Waldo Tumanut [mailto:waldo_tumanut@AMERICANCENTURY.COM] Sent: Wednesday, March 28, 2001 3:07 PM To: DB2-L@RYCI.COM Subject: Re: Update - Accessing the next Recordset in VB returned from Stored Procedure UDB using ADO [...] 44472 33 30_Speeding up the DSNTIAUL fetch12_Warren Homer17_whomer@CSC.COM.AU31_Thu, 29 Mar 2001 09:11:12 +1000575_us-ascii Hi experts,

I am trying to perform a conversion of a table (MBMSV) with approx 61 million rows (2.5Gb, 20 partitions) by attempting a left outer join with a small (300 rows) (MBWOF) code translation table using DSNTIAUL to unload the data.

When I perform the unload of just the MBMSV table (using SELECT * FROM MBMSV) I can see 15,000 rows being fetched per second via OMEGAMON. This is acceptable. However this is not exactly what I want. I want to perform an unload using a LEFT OUTER JOIN between MBMSV and MBWOF with DSNTIAUL. When I run this [...] 44506 104 82_Re: Parallel jobs running longer then same jobs run one at a time DB2V6 for OS/39014_Michael Hannan24_mhannan@C031.AONE.NET.AU31_Thu, 29 Mar 2001 21:43:37 +1000443_us-ascii Linda,

This could be many things. Another possibility is a List Prefetch Access Path has degraded to full TS Scan due to RID Pool full. What access path are you trying to get here and what have you got? Check the Explain is the first basic step.

From: Michael Hannan

> >From: Bill Happel >Subject: Re: Parallel jobs running longer then same jobs run one at a time > DB2V6 for OS/390 [...] 44611 94 27_Re: question on outer join.13_Terry Purcell25_Terry_Purcell@YLASSOC.COM31_Wed, 28 Mar 2001 17:50:23 -0600512_iso-8859-1 Walter,

I feel I must reply since you appear to have some issues with my response.

Firstly, this is a discussion on OUTER JOINs. I did not say that WHERE clause predicates are evaluated after the join for INNER JOINs.

You say you THINK the same holds true for the outer table of a left join. Now I know that before applying the APAR in V5 (refer also to Tim's reply) there was no predicate pushdown. Now there is. You must have the APAR applied if you are seeing this in V5. [...] 44706 128 82_Re: Parallel jobs running longer then same jobs run one at a time DB2V6 for OS/39015_Hernandez, Hugo22_Hugo_Hernandez@BMC.COM31_Wed, 28 Mar 2001 18:39:54 -0600575_iso-8859-1 Maybe you must check the DEGREE value in the bind, if think if they are using separate partitions for each job, they strongly must use parallelism.

Hugo A. Hernandez Torres Software Consultant BMC Software de Mexico, S.A. de C.V. mailto:hugo_hernandez@bmc.com





-----Original Message----- From: Michael Hannan [mailto:mhannan@C031.AONE.NET.AU] Sent: Thursday, March 29, 2001 6:44 AM To: DB2-L@RYCI.COM Subject: Re: Parallel jobs running longer then same jobs run one at a time DB2V6 for OS/390 [...] 44835 62 37_Re: Java and DB2 (one more last time)15_Bell, Raymond W31_Raymond.W.Bell@TEAM.TELSTRA.COM31_Thu, 29 Mar 2001 11:59:13 +1000569_- Cheers, Les. I think I'm getting closer. I found a number of java.exe programs dotted around my PC. Some were 1.3.01, others were 1.1.7 (yay!). I think I've taken out the 1.3.01 ones; so far, so good. So now I'm 'java -version' 1.1.7 and 'jdk -d' 1.1.8'.

Can you (or anyone else) explain this for me? If I don't have a value for DB2PATH set the jdbcerr.log file reports it 'can't find the value for DB2PATH' but manages to start a db2jd task. If I have 'set db2path=C:\SQLLIB\BIN' in my autoexec.bat, at startup the jdbcerr.log file doesn't say that, but [...] 44898 105 20_Re: More on triggers12_Cianci, Nick28_Nick.Cianci@TEAM.TELSTRA.COM31_Thu, 29 Mar 2001 11:58:00 +1000321_- Phil, agreed! But you have to use CPU at some point, the question is where? and that will always depend on the site!

If you've got "spare" capacity during an "off-peak", or a different box, then it may be better to post process off loaded logs, providing all the information you need is trapped in the log. [...] 45004 81 25_Re: Platinum Log Analyzer14_James Campbell29_James.Campbell@HANCORP.COM.AU31_Thu, 29 Mar 2001 14:41:51 +1000498_iso-8859-1 It is not quite true that "if the RECOVER utility chokes with an I/O error, it will automatically switch over to the archlog2." A more accurate statement would be "... it will automatically _attempt to_ switch over ...".



If you are getting IO errors on your primary archlog, then what's the probability that, for a given archive, you have IO errors on BOTH primary AND secondary archlogs? What's the probability that you will hit this problem when you least want it? [...] 45086 70 52_How to prevent remount request of a cartridge in ATL7_Sri Sri20_sri_db2l@HOTMAIL.COM31_Wed, 28 Mar 2001 22:36:34 -0600380_- Dear List,

In our production system DB2 Image copies are created on the cartridges that reside on Automatic tape library.

If the same image copy tapes are requested by a different job after couple of hours, the system is requesting the operators to demount the cartridge from the ATL and mount into manual drives, which is creating trouble for our operators. [...] 45157 52 34_Re: Speeding up the DSNTIAUL fetch16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Thu, 29 Mar 2001 10:34:19 +0530582_- Can we have a look at the accesspath. I think it is more because of the kind of join method choosen for Left Outer Join. Is there any difference in the actual CPU/Elapsed Time for both the queries.

Regards, Sanjeev

> -----Original Message----- > From: Warren Homer [SMTP:whomer@CSC.COM.AU] > Sent: Thursday, March 29, 2001 4:41 AM > To: DB2-L@RYCI.COM > Subject: Speeding up the DSNTIAUL fetch > > Hi experts, > > I am trying to perform a conversion of a table (MBMSV) with approx 61 > million rows (2.5Gb, 20 partitions) by attempting a left outer join with a [...] 45210 50 19_Re: DB2 Conferences15_Johnny W Sommer20_jsommer2@SCA.CSC.COM31_Thu, 29 Mar 2001 06:59:33 +0200446_us-ascii There is a DB2/IMS & SQL/DS conference on Iceland 2-6 May 2001. More inf. on web-site www.gse.nordic.org.



Regards Johnny W. Sommer GSE DB2/IMS & SQL/DS Chairman CSC Denmark A/S, Valby DK-1780 Copenhagen V Direct: (+45) 3614 6368 or 3614 6000, Fax: (+45) 3614 6902 Cell: (+45) 2923 6368 Email: jsommer2@sca.csc.com









"Morris, Deborah" on 28-03-2001 23:54:30 [...] 45261 39 17_Re: START command16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Thu, 29 Mar 2001 10:51:31 +0530583_- I believe its a good requirement. Its not there as of now, if i can recall correctly. Let's see what others have to say.

Regards Sanjeev

> -----Original Message----- > From: Le BD Nguyen [SMTP:lnguyen@AHOLDUSA.COM] > Sent: Thursday, March 29, 2001 12:51 AM > To: DB2-L@RYCI.COM > Subject: START command > > Hello everyone, > > Is there anyway that I can restrict a user from issuing the '-START > DATABASE .... ACCESS(FORCE)' command, yet I want to allow the same user > to > have access to '-START DATABASE ..... ACCESS(RO), ACCESS(RW) or > ACCESS(UT)' > ? > > [...] 45301 103 56_Re: How to prevent remount request of a cartridge in ATL14_Palgrave, Greg31_greg.palgrave@UNISYSWEST.COM.AU31_Wed, 28 Mar 2001 23:29:01 -0600390_iso-8859-1 Sri,

The second job is not specifying a UNIT= parameter, and it would seem that the site default unit for cartridges is *not* the ATL unit, so it requests the mount on the 'manual' drive. This may be a configuration problem with your system - check with your friendly sysprogs.

Get your DBA to add UNIT=3490 to the second job and see if it makes a difference. [...]