1 WWW.IDUGDB2-L.ORG /home/listserv/home/db2-l June 2001, week 2 2 77 13_Re: OLR issue0_18_mebert@AMADEUS.NET30_Fri, 8 Jun 2001 09:47:01 +0200404_us-ascii Hi Raymond,

I guess this applies after using DSN1COPY with the Inline IC. The APAR text mentions "at the tracker site". If you want to have a read-up, it's APAR PQ43024 . By the way, one APAR dealing with rename problems has just been updated again (4.6.01, APAR PQ 46811). It quite worries me that keeping track of some datasets seems to be such a problem for today's developers... [...] 80 16 26_Re: Size of a UDB database15_Priyanka Deswal19_prdeswal@IN.IBM.COM30_Fri, 8 Jun 2001 07:51:40 +0000388_us-ascii Can anyone tell me what are the minimum number of partitions required in DB2 EEE if one of my table size is 55GB.

Regards Priyanka

================================================ 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. 97 17 24_Bufferpool availability.15_Priyanka Deswal19_prdeswal@IN.IBM.COM30_Fri, 8 Jun 2001 08:11:44 +0000471_us-ascii If I create a bufferpool Is it immediately available for use or do I need to activate it before using by restarting the instance or restarting the database be deactivating and activating it again.

Regards Priyanka

================================================ 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. 115 18 20_implicit connection.15_Priyanka Deswal19_prdeswal@IN.IBM.COM30_Fri, 8 Jun 2001 08:08:27 +0000370_us-ascii Which command makes implicit connection to all partitions db2 get db cfg or db2_all get dbm cfg

Regards Priyanka

================================================ 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. 134 30 21_Number of partitions.15_Priyanka Deswal19_prdeswal@IN.IBM.COM30_Fri, 8 Jun 2001 08:05:56 +0000425_us-ascii How do I calculate the number of partitions I should have the following situation:













A DB2 cluster currently has four partitions. With ten concurrent queries, the response time is approximately two minutes and CPU usage is 100%. How many partitions are required to allow one hundred concurrent queries with a response time of four minutes and 100% CPU usage [...] 165 78 22_Re: Database holy war.23_Pendlebury-Bowe, Leslie34_Leslie.Pendlebury-Bowe@EU.SONY.COM30_Fri, 8 Jun 2001 09:21:13 +0100452_iso-8859-1 another platform ... :-)

stick to UDB/DB2 , the O world is full of people called Marples (private joke - sorry list) - and you should see him kicking the hell out of our DB2 systems on AIX ... atleast he keeps me in work aswell.

Les



-----Original Message----- From: Adrian Savory [mailto:Adrian.Savory@WORKTHING.COM] Sent: Thursday, June 07, 2001 10:27 AM To: DB2-L@RYCI.COM Subject: Re: Database holy war. [...] 244 29 50_Store procedure(DB2 examples link - Is it useful ?10_Max Scarpa16_mscarpa@CESVE.IT30_Fri, 8 Jun 2001 10:39:59 +0200448_us-ascii I saw many posts dealing with Store procedure Problems or requesting examples.

I found and I put this web address in DB2-l with the hope it'll be useful to some lister. There are some useful example (I

think) with DB2

I apologize if this link was already knows.

Regards

Max Scarpa

Hal 9000 aluminium advocate & consultant Certified Playboy's playmate measurement, performance & tuning expert [...] 274 32 74_Store procedure(/B2 examples link - It's useful if there's the address....10_Max Scarpa16_mscarpa@CESVE.IT30_Fri, 8 Jun 2001 10:58:53 +0200696_us-ascii Sorry folks,

I forgave to write the web addresssssssss.....you know, the old age is a bad beast....



http://www.developer.ibm.com/tech/sampdb2.html <<<<<<<<<<<<<<<<<



I apologize if this link was already knows.

Regards

Max Scarpa

Hal 9000 aluminium advocate & consultant Certified Playboy's playmate measurement, performance & tuning expert

Sometimes DB2 sysprog with few memory bit

================================================ 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. 307 64 27_Re: DB2 Subsystem ID Change14_Vassie, Edward21_Edward_Vassie@BMC.COM30_Fri, 8 Jun 2001 04:27:01 -0500437_iso-8859-1 There is a section in the Admin manual giving the steps needed to rename a DB2 subsystem.

If you ever need to rename a MQ subsystem, there is no help anywhere in the MQ manuals when I last looked at them. As MQ is merely a cut-and-paste from DB2, you can (and my team did) use the DB2 notes to rename your MQ subsystem. There are a few obvious bits to leave out, but the rest is the same. [...] 372 44 28_Re: Bufferpool availability.16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM30_Fri, 8 Jun 2001 15:02:41 +0530324_- Priyanka,

I am not sure about the platform you are talking about but still could make some guess as you have mentioned 'instance'. I believe the tablespace associated with the BP needs to be stopped and started. I am talking on the basis of my OS/390 experience. It should be same for other platforms as well. [...] 417 35 35_Clusterratio = 0 following runstats14_Marilyn Millar31_marilyn.millar@SOMERFIELD.CO.UK30_Fri, 8 Jun 2001 11:27:36 +0100435_iso-8859-1 Hi List,

In order to apply compression to a 45 partitioned table(273 million rows), we unloaded the data in clustering sequence and load replaced using platinum. Runstats was run against the whole tablespace and revealed that partitions 10 and 40 had not loaded (CARD in systablepart was 0). No problem . We loaded these partitions in isolation and then runstatted them only.All dependent packages were rebound. [...] 453 80 44_Re: Information on psuedo deleted/punc rows.16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM30_Fri, 8 Jun 2001 15:30:28 +0530644_- Mike,

How did you avoid the CLSN test ? Is this by the use of CURRENTDATA or it is automatically avoided.

Regards Sanjeev

> -----Original Message----- > From: Vaughan, Mike [SMTP:Vaughan.Mike@PRINCIPAL.COM] > Sent: Thursday, June 07, 2001 11:54 PM > To: DB2-L@RYCI.COM > Subject: FW: Information on psuedo deleted/punc rows. > > You can disregard my previous message. I was able to re-create the > situation and confirm that the psuedo-deleted possibly uncommitted index > rows apparently can cause the contention we are seeing. I suspect that my > earlier tests didn't confirm this since they were passing the CLSN [...] 534 113 28_Re: High Log Write Wait Time14_Vassie, Edward21_Edward_Vassie@BMC.COM30_Fri, 8 Jun 2001 05:12:23 -0500572_iso-8859-1 Sorry for the typo. When I said 'checkpoint frequency of the app' I did mean commit frequency.

If the system checkpoint frequency is normal when your app is not running (1 checkpoint about every 10 - 20 min) and high only when your app is running, AND the amount of insert/update/delete activity in your app is not that much different from your normal workload, then I would be a bit cautious about changing LOGLOAD. However, if you get frequent checkpoints during the rest of the day, then LOGLOAD is a probably too low. In V7 there is a new ZPARM [...] 648 61 28_Re: High Log Write Wait Time14_Vassie, Edward21_Edward_Vassie@BMC.COM30_Fri, 8 Jun 2001 05:17:35 -0500462_iso-8859-1 It is true. At a system checkpoint, just about everything is done synchronously.

Think about it... the purpose of a checkpoint is to produce a recovery point if DB2 fails. Therefore everything that may be needed to do a successful restart must be written to disk before the checkpoint ends. Sync I-O must be used because DB2 does not really know when a a-sync I-O has completed, therefore it is not safe to use a-sync for checkpoint work. [...] 710 46 17_Re: BLOB question14_Vassie, Edward21_Edward_Vassie@BMC.COM30_Fri, 8 Jun 2001 05:31:36 -0500526_iso-8859-1 A BMC customer in the UK is using 32k pages to hold image data. The record layout includes a sequence number with the image key, so if multiple records are needed they can be retrieved in the correct sequence.

They tried experimenting with LOBs last year, but had a number of problems. I think they are now fixed by IBM, but timescales caused them to stick with 32k pages. It would be worthwhile to set up a test of a few Gb to check if LOBs work in the way you need (as opposed to the way they work in [...] 757 30 24_Bufferpool availability.14_Joel Goldstein29_joel_goldstein@COMPUSERVE.COM30_Fri, 8 Jun 2001 06:54:15 -0400477_ISO-8859-1 It depends what you mean by "available". It can be used immediately, but it does not exist (allocated memory) until the first object assigned to that pool is opened by DB2.

Regards, Joel



Message text written by DB2 Data Base Discussion List >If I create a bufferpool Is it immediately available for use or do I need to activate it before using by restarting the instance or restarting the database be deactivating and activating it again. [...] 788 97 28_Re: High Log Write Wait Time16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM30_Fri, 8 Jun 2001 16:22:46 +0530552_- There is a small correction in my mail below on this thread. I was little bit biased towards Ashish as he is my good friend :-)). My opologies !!

At checkpoint DB2, DB2 writes the updated pages to the DASD and keep the records of the pages on which updation is still taking place(these pages are not written). Now the question is if it is synch. or asynch. It has to be synch. if the pages are already updated and to be externalized to DASD. Checkpoint writes different types of log records which helps DB2 during restart and in recovery [...] 886 50 28_Re: Bufferpool availability.19_Philip Nelson (DBA)21_teamdba@ATTGLOBAL.NET30_Fri, 8 Jun 2001 12:32:12 +0100381_us-ascii I assume by the reference to instances and activation that we are talking UDB (Unix or Windows) here.

In that case the buffer pool can be used immediately without any restarts. When memory is allocated to it depends on which operating system (e.g. Solaris will use it immediately, whereas AIX uses sparse memory allocation and will only allocate as required). [...] 937 80 23_Re: Pessimistic Locking16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM30_Fri, 8 Jun 2001 17:13:53 +0530302_- Hi Davis,

Sometimes 2 years back i read an article about different kind of locking and one of those is pessimistic. As per the concept, you need to lock the rows of child corresponding to the parent. I have gone thru' the design mentioned by you but could not understand few things like: [...] 1018 21 28_Re: Bufferpool availability.16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM30_Fri, 8 Jun 2001 17:22:07 +0530297_- I am not too sure about the context of CREATING a bufferpool. As far as OS390 is concerned, it is defined in the DSNTIP1 panel and then subsequently altered(if required). We basically assign an object to BP for it to use it. Till V6 all the things takes effect in the next allocation time. [...] 1040 48 28_Re: Bufferpool availability.12_Isaac Yassin20_yassini@BEZEQINT.NET30_Fri, 8 Jun 2001 15:01:34 +0200368_Windows-1252 Hi, You certainly may use a db2 command like "-alter bufferpool(bp..) vpsize(...) ..." even if it was NOT defined in the DSNTIP1 panel (as long as the BP name is valid (see admin guide). This will tell DB2 to allocate memory to it and can bw seen on the DB2 monitor. Real usage will be after you'll assign an index or TS to it and access it as well. [...] 1089 24 9_sort heap15_Priyanka Deswal19_prdeswal@IN.IBM.COM30_Fri, 8 Jun 2001 11:59:27 +0000563_us-ascii From the dynexpln output how do we calculate sort heap Output provides estimates of the number of rows and the row size so that the optimal sort heap can be allocated at run time.

Below is part of the output.

Sortheap Allocation Parameters: |#Rows =40 |Row Width =48



Regards Priyanka

================================================ 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. 1114 25 28_Re: Bufferpool availability.16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM30_Fri, 8 Jun 2001 17:50:59 +0530609_- Thanks Issac, I was not aware of this, ALTER can be straight away issued, size can be increased and then allocation can be done. Thanks for the clarification !! Regards Sanjeev =========================================================================== ======= Hi, You certainly may use a db2 command like "-alter bufferpool(bp..) vpsize(...) ..." even if it was NOT defined in the DSNTIP1 panel (as long as the BP name is valid (see admin guide). This will tell DB2 to allocate memory to it and can bw seen on the DB2 monitor. Real usage will be after you'll assign an index or TS to it and access it [...] 1140 32 28_Re: High Log Write Wait Time10_Max Scarpa16_mscarpa@CESVE.IT30_Fri, 8 Jun 2001 11:32:38 +0200468_us-ascii Hi Sally what's your LOGLOAD value ?

You know that if more than 2 DB2 checkpoint are taken during the execution of an Unit Of Work there are synchronous write (application wait) and if checkpoints are very frequent there is a sort of amplification of 'hiccup' effect. If you're on V6 you can change dinamically LOGLOAD value. See redbook (free download) ' Storage management with DB2 for OS/390' pag 108 or some Joel Goldstein/Chuck Hoover paper. [...] 1173 95 44_Re: Information on psuedo deleted/punc rows.13_Vaughan, Mike26_Vaughan.Mike@PRINCIPAL.COM30_Fri, 8 Jun 2001 08:17:45 -0500539_iso-8859-1 First of all let me say that alot of this is really just my interpretation of what's happening under the covers, so I'd be more than happy for someone to point out where I've missed something (this is pretty new ground for me). When I was able to recreate this, I didn't "avoid" the CLSN test, just made sure I failed it so I would get to the PUNC test. In my earlier tests I was trying to keep things more "controlled", so I was stopping the tablespace and indexspaces at several points in the process to run DSN1PRNT and [...] 1269 22 19_Row Num / id in DB217_Sundaresan, Anand34_Anand.Sundaresan@BLR.HPSGLOBAL.COM30_Fri, 8 Jun 2001 16:00:13 +0500312_- Can Anyone please let me know if there is any equivalent of Row Id / Row Number in UDB. The same exists in Oracle, its like this - When you query records, automatically the row num sequence is available and based on this it is possible to extract the specific rows say betwewen row num 20 and row num 30. [...] 1292 19 12_DB2 security13_Bob J. Hooper20_rjhooper@SHERWIN.COM30_Fri, 8 Jun 2001 09:22:08 -0400557_us-ascii I am installing DB2 6.1 OS390 and have run into various problems with security issues. The underlying problem is all references to security from the DB2 side are made to RACF and we have Top Secret 5.1. Can anyone point me to information that can help us understand exactly what, how and who questions about setting up DB2 security with Top Secret? The most recent issue I am wrestling with is getting DDF to start. The problem is we are getting a hex 24 return code from VTAM open macros which indicate there is an authorization problem. Bob [...] 1312 41 16_Re: DB2 security12_Myron Miller22_myronwmiller@YAHOO.COM30_Fri, 8 Jun 2001 06:56:04 -0700547_us-ascii You need to setup DDF as a separate TOP SECRET Facility. It needs to own most things. In fact, we have MSTR, DBM1 owned by DDF Facility. Then we grant access to this facility to DDF users. --- "Bob J. Hooper" wrote: > I am installing DB2 6.1 OS390 and have run into various problems with > security > issues. The underlying problem is all references to security from the > DB2 side > are made to RACF and we have Top Secret 5.1. Can anyone point me to > information > that can help us understand exactly what, [...] 1354 189 22_Re: Database holy war.13_Adelino Regio28_adelino.regio@EDINFOR.EDP.PT30_Fri, 8 Jun 2001 14:45:09 +0100461_us-ascii Greetings

We are an SAP R/3 shop running DB2 OS/390 and Oracle. As of now DB2 is doing its best to run SAP/R3 (poor SQL, bad index desing, bad SAP technical support...). DB2 for OS/390 requires twice the number of DBA's to operate properly...



(My opinion only...)

Regards



Adelino Regio









RICHARD E MOLERA @RYCI.COM> on 07-06-2001 15:22:09 [...] 1544 78 39_Re: Clusterratio = 0 following runstats0_54_Shan_Leatherman/MO/americancentury@AMERICANCENTURY.COM30_Fri, 8 Jun 2001 09:02:20 -0500414_us-ascii What release are you on? I thought when the column names were expanded in DB2 V6.1 , IBM quit updating clusterratio and card and only updates all the columns with the F on the end. See chart in Admin guide on pg 888-892. If you're on db2 V6, . You might look to see the value of clusterratiof in sysindexstats table. (Thats the table that contains statistics by partition) and CARDF in systablepart. [...] 1623 53 23_Re: Row Num / id in DB211_Bikash Paul19_bikash_db@YAHOO.COM30_Fri, 8 Jun 2001 07:07:27 -0700604_us-ascii Hi, If u are running DB2 on OS/390, ROWID is available as datatype. Otherwise you can use IDENTITY column to get the equivalent. The example is as follows CREATE TABLE XXX (col1 INTEGER GENERATED ALWAYS AS IDENTITY (STARTING WITH 1 INCREAMENT BY 1), ...

)



Regards, Bikash --- "Sundaresan, Anand" wrote: > Can Anyone please let me know if there is any equivalent of Row Id > / Row > Number in UDB. The same exists in Oracle, its like this - When you > query > records, automatically the row num sequence is available and based > on [...] 1677 29 51_PPT presentation about lock avoidance - web address10_Max Scarpa16_mscarpa@CESVE.IT30_Fri, 8 Jun 2001 16:10:41 +0200383_us-ascii Hi folks

As I received many request for the short ppt presentation (it's not mine, It's in GSE UK web page...I've no merit for this

presentation) I provide the URL where you can find it:

http://www.gseukdb2.org.uk/Downloads/lock-avd.ppt

Below the address of the main page of GSE UK DB2 group, which has many other interesting presentations: [...] 1707 80 44_Re: Information on psuedo deleted/punc rows.11_Mike Turner29_Michael_Turner@COMPUSERVE.COM30_Fri, 8 Jun 2001 10:13:49 -0400392_ISO-8859-1 Mike

The following emerged from somewhere deep in my long-term memory and may not be reliable. I think the problem you describe may not be anything to do with pseudo-deleted RIDs, but may be due to DB2 locking the next higher index key on an Insert to prevent a duplicate being inserted by another thread at the same time. I think this only happens for a Unique Index. [...] 1788 60 16_Re: DB2 security12_tim malamphy20_timalamphy@YAHOO.COM30_Fri, 8 Jun 2001 07:14:35 -0700604_us-ascii Look at exit DSN3@ATH... I think you'll need a "special" version (supplied by CA) to get the secondary auth codes passed correctly. I found that the IBM supplied exit in DSNSAMP can have issues with Top Secret. If you're using the old TOP Secret "bit string" representation of userids instead of the newer "groups" representation, then you'll get to practice your Assembler language programming, and write a new one. The string of data passed to the exit got significantly larger in one of the not so recent versions of Top Secret, and can overlay storage, sometimes in DB2 code, sometimes [...] 1849 235 25_SAP R/3 on DB2 vs. Oracle13_Adrian Savory27_Adrian.Savory@WORKTHING.COM30_Fri, 8 Jun 2001 15:15:06 +0100488_iso-8859-1 How long have you had SAP R/3 running on DB2? If you are new to DB2 I can understand that there will be a steep learning curve to manage DB2 and then also understand the quirks of SAP on DB2. DB2 is the strategic platform for SAP and more scalable than Oracle - it should not be more difficult to administer and the problems you mention would apply to Oracle also. If you can specify the administrative problems you are having perhaps somebody here might be able to help. [...] 2085 61 39_Re: Clusterratio = 0 following runstats11_Mike Turner29_Michael_Turner@COMPUSERVE.COM30_Fri, 8 Jun 2001 10:22:00 -0400522_ISO-8859-1 Hi Marilyn

Was the first runstats an IBM runstats run at the tablespace level or were the stats gathered by Platinum load? If Runstats is run at the partition level, the tablespace level statistics will not be calculated until all partitions have been runstated. Sounds like runstats thought that not all partitions had stats gathered. I always recommend runstats at tablespace level the first time after load replace or reorg. It is OK to runstats the partitions once tablespace level stats exist. [...] 2147 84 23_Re: Row Num / id in DB213_Terry Purcell25_Terry_Purcell@YLASSOC.COM30_Fri, 8 Jun 2001 09:25:30 -0500470_us-ascii ROWID is not a row number, but instead a randomly generated number, so does not allow you retrieve row number 20 to 30.

I'm assuming though that you are on UNIX or Windows since the explicit reference to UDB.

Non-OS/390 also has Identity columns as of V7.1 (except for EEE with > than 1 partition, haven't checked 7.2), however I don't know if this is what you are after since it is a column type which must be created explicitly beforehand. [...] 2232 137 25_Re: DB2 Replication Error15_Jackson Reavill18_damcon2@US.IBM.COM30_Fri, 8 Jun 2001 10:29:19 -0400526_us-ascii John,

I'm not sure I fully understand your situation. Are your index structures the same on the source and target tables? Since a full refresh is too costly, I would suggest a manual refresh. I have done this many times and it works like a charm. If you have the V5 Replication Guide and Reference take a look at page 138, heading Loading Large Copies. One little typo correction to step 6 of this process is synchpoint should be synchtime. If you don't have the manual I can outline the process for you. [...] 2370 94 41_KEYCARD Parm on RUNSTATS and REORG TS/IDX16_Brookman, Gerald30_gerald.brookman@ATOSORIGIN.COM30_Fri, 8 Jun 2001 10:43:28 -0400329_iso-8859-1 Env: DB2 OS/390 V6.1, OS/390 2.8

The utility manual is not real clear:

1) If I specify RUNSTATS db.ts TABLE INDEX SHRLEVEL CHANGE (default is table all, index all, update all), do I need to specify the KEYCARD parameter to collect the distinct values in the key column combinations for the indexes? [...] 2465 219 22_Re: Database holy war.26_Ruarus, Wim WH SSI-GRIE-1225_Wim.H.Ruarus@IS.SHELL.COM30_Fri, 8 Jun 2001 16:36:37 +0200434_iso-8859-1 Funny.... I have been working in some shops running DB2 as well as Oracle and every time I noticed that the number of DBA's needed to keep Oracle running was at least twice the number of DB2 DBA's. And that was for systems of comparable size! Not to mention the problems concerning housekeeping and maintenance. The time needed to make backups and reorgs for DB2 got shorter, but for Oracle the time needed increased. [...] 2685 46 16_Re: DB2 security10_Mark Frost23_mark.frost@CITICORP.COM30_Fri, 8 Jun 2001 15:29:38 +0100472_US-ASCII Hi..

With regards to Top Secret...

Firstly you should install the sample authorisation and connection exits provided with DB2. This will allow TOP SECRET to pass secondary groups to DB2 for use as authorisation Id's. Next you need to create what are termed in TOP SECRET as IBMGROUPS. The TOP Secret manual documents this. These groups are akin to RACF groups and can then be attached to individual Id's or TOP SECRET profiles... hey presto... [...] 2732 73 44_Re: Information on psuedo deleted/punc rows.13_Vaughan, Mike26_Vaughan.Mike@PRINCIPAL.COM30_Fri, 8 Jun 2001 10:10:43 -0500606_iso-8859-1 I don't think that's the case in the situation I'm looking at (unless I'm missing something). I was able to go through the insert/delete process a couple times before hitting contention. It wasn't until I tried to insert a row that had previously been on a page that was now locked that I hit the contention. Also, the resource-type reported in the timeout message is "00000302" (Tablespace Page) pointing to page X'00000C', which contained the uncommitted "VAL3". The value I was trying to insert ("VAL2") had a pseudo-deleted index row pointing at this same page (I was using "MAXROWS 1" [...] 2806 170 23_Re: Pessimistic Locking14_Vassie, Edward21_Edward_Vassie@BMC.COM30_Fri, 8 Jun 2001 10:16:05 -0500576_iso-8859-1 The two methods I know about are a) Timestamp on the records being processed b) Separate table to hold details of locked records.

The big danger with both of these is to ensure updates only follow the 'official' path. The best way to do this is with stored procedures. The SP should be the only process that has update authority to the tables. No other application should be allowed update access. It is OK to allow ad-hoc SQL read access. You will also need to allow a production support team ad-hoc SQL update access to fix the inevitable data errors [...] 2977 17 29_Re: SAP R/3 on DB2 vs. Oracle14_Zobjeck, A. J.18_Al_Zobjeck@TTX.COM30_Fri, 8 Jun 2001 10:32:04 -0500411_iso-8859-1 I'm on SAP 3.1H and DB2 v5 OS/390 and have been up for 2+ years. I have one DBA supporting SAP Basis plus normal legacy systems. I find supporting SAP an easy function. But, if it was on another platform I would need more staff. All support functions are automated with vendor packages (BMC) backup, reorg and imagecopy. This includes recovery (piece of cake). I don't need hands on commitment! [...] 2995 109 41_DB2 on OS/390 - Tablespace in RESTP state12_David Booher22_David.Booher@QUEST.COM30_Fri, 8 Jun 2001 08:37:04 -0700657_iso-8859-1 I had a situation happen where a transaction was in backout and there was an error on an archive log that prevented the backout. DB2 crashed and I brought it up with LBACKOUT=YES instead of LBACKOUT=AUTO. This left the following state:

INFLIGHT=0, IN ABORT=0, POSTPONED ABORT=1 DSNR007I ) RESTART...STATUS TABLE 870 T CON-ID CORR-ID AUTHID PLAN S URID DAY TIME - -------- ------------ -------- -------- - ------------ --- -------- I SERVER BFACTORY.exe DWILL DISTSERV P 0000A546AE41 158 15:39:00 DSNI023I ) DSNIERST PAGESET SMTEST .SIMPLE PART 871 (n/a) IS RESTP ON BEHALF OF UR 0000A546AE41. BACKOUT TO RBA 0000A546AF3E IS REQUIRED. [...] 3105 233 23_Re: Pessimistic Locking0_26_JCameron@MSI-INSURANCE.COM30_Fri, 8 Jun 2001 10:38:12 -0500542_us-ascii I once worked on a system that needed this type of "locking". We ended up including not only a lock timestamp, but also the userid of the person who "locked" that row. When another user tries to update a "locked" row, they would get a message stating the date, time and user who currently has the row. That way they can work out their both needing to update the same row without bothering (or waking) a programmer or DBA. They would also have the ability to override the lock so they could lock it (if the lock were old, etc.). [...] 3339 41 29_Re: SAP R/3 on DB2 vs. Oracle13_Adelino Regio28_adelino.regio@EDINFOR.EDP.PT30_Fri, 8 Jun 2001 16:40:33 +0100353_us-ascii Many thanks for your feedback.

We started with SAP R/3 (and IS/U component) on DB2 two and a half years ago. Our major administrative problems are:

1) Poor SQL generated by SAP. One query is enough to kill our z-series machine. Just to give you an example, the following query is retrieving 9 million rows from the database: [...] 3381 60 45_Re: KEYCARD Parm on RUNSTATS and REORG TS/IDX0_19_Tim.Lowe@STPAUL.COM30_Fri, 8 Jun 2001 10:55:32 -0500634_iso-8859-1 Garry, If you want to collect the multiple-column key cardinality statistics, you must specify KEYCARD. If you want to collect the most common VALUES for multiple-column keys, then you specify FREQVAL. If you don't specify FREQVAL, the default is to collect just "FREQVAL NUMCOLS 1 COUNT 10". An example of doing this follows: RUNSTATS TABLESPACE(dbname.tsname) TABLE INDEX(ALL KEYCARD FREQVAL NUMCOLS 1 COUNT 10 FREQVAL NUMCOLS 2 COUNT 10 FREQVAL NUMCOLS 3 COUNT 10 FREQVAL NUMCOLS 4 COUNT 10 FREQVAL NUMCOLS 5 COUNT 10 FREQVAL NUMCOLS 6 COUNT 10 FREQVAL NUMCOLS 7 COUNT 10 FREQVAL NUMCOLS 8 COUNT 10 FREQVAL NUMCOLS [...] 3442 62 21_V7 *WEIRD* blocksize.16_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM30_Fri, 8 Jun 2001 11:59:01 -0400466_iso-8859-1 We have been at V5 of DB2/390 for a while. In V5, the SDSNLOAD library was created by install job DB2.V510.SDSNSAMP(DSNTIJAE) with parameters: //SDSNLOAD DD DSN=?TARGPRE?.SDSNLOAD,DISP=(NEW,CATLG), // UNIT=?TARGUNT?,VOL=SER=?TARGVOL?, // DCB=BLKSIZE=6144, // SPACE=(6144,(5125,400,80),,,ROUND)

We allocated all our subystem SDSNLOAD libraries with BLKSIZE=6144 and copied the SMP version of SDSNLOAD into the subsystem version as we upgraded. [...] 3505 161 28_Re: High Log Write Wait Time13_Mohan, Ashish21_Ashish.Mohan@NIKE.COM30_Fri, 8 Jun 2001 09:00:11 -0700354_iso-8859-1 Hi Sanjiv/Edward,

I looked in the admin. Guide and found this:

"- Checkpoint frequency. The CHECKPOINT FREQ field on panel DSNTIPN specifies the number of consecutive log records written between DB2 system checkpoints. At checkpoint time, I/Os are scheduled to write all updated pages on the deferred write queue to DASD. " [...] 3667 143 23_Re: Pessimistic Locking12_Mark Granger22_the_grange@MBOX.COM.AU30_Fri, 8 Jun 2001 12:00:29 -0400567_us-ascii The Locking Table is similar to what I've had to do in VSAM at other sites. I'm not subscribing to prefer either method, but some extra 'Advantages' of the Locking Table concept (I've found) are Reportability; you can state the record is held by xxxxxx (for internal type systems) or report on Leftover Locks which may show a problem in the design or Network. Some recoverability; if the Locking logic allows the same user to resume work on the Locked record i.e. where the emulator has died and the user can get back to where they were and finish off. [...] 3811 48 12_Re: UPSERT ?0_26_Steve.Westfall@EQUIFAX.COM30_Fri, 8 Jun 2001 11:02:47 -0500317_us-ascii I believe it is the case that some features in ANSI standard SQL first appeared as proprietary extensions to SQL provided by a particular DBMS vendor. And getting locked into your DBMS is nothing new. It happens to anyone using any feature that is not common to all.

Steve Westfall Equifax, Inc. [...] 3860 51 32_Re Re: SAP R/3 on DB2 vs. Oracle13_Adelino Regio28_adelino.regio@EDINFOR.EDP.PT30_Fri, 8 Jun 2001 16:58:30 +0100553_us-ascii Hi

Sorry

We are running version 4.6C plus IS/U component - 12000 tablespaces,>25000 indexes, 2500 on-line users. We don't think recovery is a piece of cake...



Regards

Adelino Regio









"Zobjeck, A. J." @RYCI.COM> on 08-06-2001 16:32:04

Please respond to DB2 Data Base Discussion List

Sent by: DB2 Data Base Discussion List



To: DB2-L@RYCI.COM cc: Subject: Re: SAP R/3 on DB2 vs. Oracle [...] 3912 108 45_Re: DB2 on OS/390 - Tablespace in RESTP state0_19_Tim.Lowe@STPAUL.COM30_Fri, 8 Jun 2001 11:07:50 -0500370_iso-8859-1 Dave, Take a look at the new CANCEL option of the RECOVER POSTPONED command (and the new NOBACKOUT option of CANCEL THREAD) in DB2 OS/390 V7.

Thanks, Tim





David Booher cc: Sent by: DB2 Subject: DB2 on OS/390 - Tablespace in RESTP Data Base state Discussion List [...] 4021 17 25_Re: DB2 OS/390 AR problem12_Roger Miller19_millerrl@US.IBM.COM30_Fri, 8 Jun 2001 10:43:03 -0500328_- I'd suggest that you use a different plan. Some plans, like SPUFI and DSNTIAUL, use function that is not in DB2 for Windows. You could try DSNTIAD or DSNTEP2, which are probably better at this.

A green screen interface to a database running on Windows is not the usual direction.

Roger Miller, DB2 for z/OS [...] 4039 34 25_Re: Number of partitions.12_Roger Miller19_millerrl@US.IBM.COM30_Fri, 8 Jun 2001 10:48:46 -0500360_- This process is usually called capacity planning, and the amount of cpu is the usual constraint. When you multiply the number of queries by ten, then it's time to see if you can use a summary table or other techniques to avoid the additional processing.

There is a lot of information about capacity planning in red books. Here are some examples: [...] 4074 21 14_Re: [CODEPAGE]12_Roger Miller19_millerrl@US.IBM.COM30_Fri, 8 Jun 2001 11:16:00 -0500453_- The warning is in the Installation Guide, anf the name of the Appendix is Character Conversion. There are some special cases that work, such as changing from a code page that does not contain the euro symbol to the equivalent which does have it. If you don't have this special case, then the effort will take weeks to months. In the worst cases, the customer data is already a mix of various code pages, without any indication of which is which. [...] 4096 85 36_Re: Re Re: SAP R/3 on DB2 vs. Oracle9_Ray Janes26_ray.h.janes@EXXONMOBIL.COM30_Fri, 8 Jun 2001 11:29:13 -0500315_us-ascii Hi, We are running 3.1h to 4.6B on DB2 OS390 V6. Recovery is not a piece of cake. Look into DASD recovery such as Snapshot. Yes, SAP was developed using Oracle, however DB2 is now the stated leading DBMS. contact the SAP/IBM compentancy center for invaluable assistance. HTH, IMHO, Ray Janes, DB2 DBA [...] 4182 14 47_Re: exec a program that has all DB2 ref removed12_Roger Miller19_millerrl@US.IBM.COM30_Fri, 8 Jun 2001 11:21:22 -0500436_- Do you have some product that provides the attachment for you? That's what the message appears to be from. I think the QST might be Quest, but that's a guess.

Roger Miller, DB2 for 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. 4197 19 18_Version 6 question0_21_db2_dba@BELLSOUTH.NET30_Fri, 8 Jun 2001 12:58:45 -0400552_us-ascii We converted to version 6 a while on OS/390. Recently the developers made some code changes to a program and after it was bound it started consuming mas quantities of cpu. We discovered that in version 5 we had some data type mis-matches resulting in a tablespace scan. Now, it appears as though DB2 resolves this problem, found a note in the admin guide to this affect, and we are getting index access and the program is a dog. Does anyone have any recommendations on how to get this code back to a tablespace scan. We do not have hints [...] 4217 17 27_Re: DB2 Subsystem ID Change12_Roger Miller19_millerrl@US.IBM.COM30_Fri, 8 Jun 2001 11:57:26 -0500319_- There is some documentation on changing the subsystem id. It's in the Data Sharing book under the topic "Renaming the DB2 subsystem".

I would encourage everyone to get the latest DB2 V6 books. They were updated in May 2001, and this is on page 86 in the book or 92 for Acrobat in the latest dsnds0g3.pdf. [...] 4235 62 22_Re: Version 6 question16_Charles F Creech24_cfcreech@DUKE-ENERGY.COM30_Fri, 8 Jun 2001 13:31:13 -0400310_us-ascii One technique that often works it to use 'or 0=1' with the indexable predicates that are using the index such as: zero never equals one and OR is not indexable, so you get the same answer without matching on the index keys.

WHERE (CUST_NAME = :hvcust or 0=1) and (LNAME = :hvlname or 0=1) [...] 4298 31 27_DB2 High Performance Unload11_Roy Elledge23_Roy.Elledge@MCKHBOC.COM30_Fri, 8 Jun 2001 10:19:18 -0700365_iso-8859-1 I just found out about this place. This is my first contact with DB2-L.

We are trying to replace Platinum Unload with DB2 HP Unload. There appears to be a difference in how null indicators are handled. It looks like Platinum has two bytes, DB2 HP Unload has 1 byte. This is a problem for existing application programs that read unload files. [...] 4330 90 25_Re: V7 *WEIRD* blocksize.15_Robert lawrence21_rlawrence@BOSCOVS.COM30_Fri, 8 Jun 2001 14:13:34 -0400665_iso-8859-1 There was a discussion about 1 to 2 months ago on the IBM-MAIN list about 32k blocksizes for load libraries you may want to search the archives there http://bama.ua.edu/archives/ibm-main.html

hth Bob Lawrence DBA Boscov's Dept Stores LLc





> -----Original Message----- > From: DB2 Data Base Discussion List [mailto:DB2-L@RYCI.COM]On Behalf Of > Pearson, Eric L, > Sent: Friday, June 08, 2001 11:59 AM > To: DB2-L@RYCI.COM > Subject: V7 *WEIRD* blocksize. > > > We have been at V5 of DB2/390 for a while. In V5, the SDSNLOAD library was > created by install job > DB2.V510.SDSNSAMP(DSNTIJAE) with parameters: > //SDSNLOAD [...] 4421 101 22_Re: Version 6 question14_Richard Yevich26_Richard_Yevich@YLASSOC.COM30_Fri, 8 Jun 2001 13:31:02 -0500517_iso-8859-1 Rick,

While yes, that works, but it is the old way, and makes the predicates stage 2 even. Better to use the new IBM defined methods, using your example:

> WHERE > CUST_NAME = :hvcust CONCAT '' > and LNAME = :hvlname CONCAT ''

CONCAT to a null string, or use +/- 0, etc. keeps the predicates stage 1, but removes them from the choice for indexing. Much better performance since the columns to not have to be extracted from the BPs, moved to a work area, passed to stage 2, etc... [...] 4523 17 25_Stored Procedure question13_Villa Horacio17_hvilla@TTI.COM.AR30_Fri, 8 Jun 2001 15:31:43 -0300432_iso-8859-1 Hi, is it possible from a CICS program already accessing a DB2 subsystem on OS/390 to call a stored procedure on a remote database, perhaps on Windows 2000? How? TIA Horacio Villa

================================================ 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. 4541 54 13_Re: sort heap16_Ian D. Bjorhovde20_ianbjor@CEPHALAD.COM30_Fri, 8 Jun 2001 11:46:07 -0700349_iso-8859-1 Priyanka,

It looks like you're taking the DB2 for Clusters example exam and asking the list all of the questions that you don't know.

Why don't you read the DB2 UDB Administration Guide, or better, the DB2 Cluster Certification Guide by Cook, Snow & Janacek. These books should be able to answer all of your questions. [...] 4596 23 11_DB2 connect0_17_cflink@AWGINC.COM30_Fri, 8 Jun 2001 14:25:41 -0500698_us-ascii Esteemed list...... If I install db2 connect on an aix machine (db2 version 7.1) would I be able to access both tables in the aix db2 instance and tables in os390 db2v5 in the same sql statement? TIA

********************************************************************** This e-mail and any attachment contains information which is private and confidential and is intended for the addressee only. If you are not an addressee, you are not authorized to read, copy or use the e-mail or any attachment. If you have received this e-mail in error, please notify the sender by return e-mail and then destroy it. ********************************************************************** [...] 4620 51 28_DDL Reverse-Engineering Tool21_Sevetson, Phil L B22723_Phil.Sevetson@CIGNA.COM30_Fri, 8 Jun 2001 15:15:13 -0400573_us-ascii Is there anyone out there who has built a pure-SQL reverse-engineering script for DB2/390?

I've got a partially-built reverse-engineering script which uses SPUFI (or any other generic SQL processor, I suppose). The approach is to use multiple SQL queries, one to build each different type of line which would be required, and then to append a string to the end of the line (columns beyond 80) which will serve as a SORT key However, it's been a pain to build so far and I'd prefer not to reinvent the wheel if someone else has code which will do this. [...] 4672 40 51_MS Access and DB2/OS390 Oddity - "No rows selected"11_Gloria Kanu23_gkanu@CO.SANMATEO.CA.US30_Fri, 8 Jun 2001 14:30:57 -0500537_ISO-8859-1 Hi Everyone,

When we attempt to delete any pre-existing rows in DB2 OS/390 (ver 6.1) table via DB2 Connect (ver 6.1) with MS ACCESS, an error box appears with the message "No row selected". Also, an attempt to modify one of the pre- existing rows appears okay until one moves the cursor to another row. At that point, Access issues the "No row selected" message box and changes made to any column are lost. There are no problems with inserts into the table, and records inserted through MS Access, can be deleted. [...] 4713 80 32_Re: DDL Reverse-Engineering Tool12_Hall, Robert25_Robert.Hall@OCC.TREAS.GOV30_Fri, 8 Jun 2001 15:53:38 -0400394_iso-8859-1 IBM has included the capability to generate SQL in V7 in the control center check out p. 41 in the IBM DB2 Universal Database What's New Version 7.2 book. If you aren't on V7 you might be out of luck...we are still on V5 and some of the control center offerings appear to be grayed out. We will be migrating to 7 soon, so I'm not going to see what works in v5 and what doesn't. [...] 4794 114 26_Re: DB2 v6.1 and old dbrms12_Kirk Hampton16_khampto1@TXU.COM30_Fri, 8 Jun 2001 14:54:59 -0500580_us-ascii



Hello Tom, Looks like no one else answered this, So I'll bite... Auto-rebinds work fine on a DBRM that is missing the colons on host variables, because the autorebind works from the contents of SYSDBRM, which contains colons even for DBRMs that were missing them originally. I believe even a REBIND command will work on it, but we never tried it. What will fail is a new pre-compile, if the source has not been changed to include colons, this was getting a warning error in Version 5, which becomes a full failure in Version 6. So, if you don't make [...] 4909 49 54_DB2 Connect V7 Automated Install using a Response File12_Hall, Robert25_Robert.Hall@OCC.TREAS.GOV30_Fri, 8 Jun 2001 15:56:57 -0400577_iso-8859-1 Hello list,

Is anyone out there setting up DB2 Connect run time clients using a response file and the SETUP_INSTANCES = keyword? If not, how are you upgrading your clients? If so, I have two questions:

First: Is there any way to change the install mode to something other than silent? I have a bat file that I execute to spawn the install process, which works, but there is no indication that the process is running and no indication when the process is complete. It wasn't a problem in the last release because I created an auto install bat file [...] 4959 133 57_Reminder - RSVP by Wed 6/13 - Pitt DB2 User Group Meeting10_Cathy Peck23_cathy.peck@HIGHMARK.COM30_Fri, 8 Jun 2001 16:02:40 -0400323_iso-8859-1 Hi everyone!

Just a reminder, if you are planning to attend the kickoff DB2 User Group Meeting in Pittsburgh on Monday, June 18th, and have NOT already responded, please RSVP by Wednesday June 13th so I can ensure that your name is on the roster for security to allow you into the Highmark facility. [...] 5093 180 26_Re: DB2 v6.1 and old dbrms22_Kennedy, Tom - Cendant23_Tom.Kennedy@CENDANT.COM30_Fri, 8 Jun 2001 16:28:31 -0400371_iso-8859-1 Kirk, thanks for the reply. I also put in an ETR request to ibmlink and IBM responsed by saying that some people did report receiving a SQLCODE 104 when rebinding a dbrm that had a missing colon. There is an apar for this, PQ26922/UQ31235, that fixes the problem. The following is the response I got from IBM (and I got the response rather quickly, too). [...] 5274 49 15_Re: DB2 connect12_tim malamphy20_timalamphy@YAHOO.COM30_Fri, 8 Jun 2001 14:03:13 -0700613_us-ascii I believe that DataJoiner or something equivalent would still be needed for that. tim --- cflink@AWGINC.COM wrote: > Esteemed list...... > If I install db2 connect on an aix machine (db2 > version 7.1) would I be > able to access both tables in the aix db2 instance > and tables in os390 > db2v5 in the same sql statement? TIA > > ********************************************************************** > This e-mail and any attachment contains information > which is private > and confidential and is intended for the addressee > only. If you are > not an addressee, you are not authorized to read, [...] 5324 111 32_Re: DDL Reverse-Engineering Tool12_tim malamphy20_timalamphy@YAHOO.COM30_Fri, 8 Jun 2001 14:16:32 -0700509_us-ascii Check out IBM's Control Center, which I believe is now part of the OS/390 family too (and free). It will read the catalog and give you the DDL. It even has a scheduling system to run the stuff when you want. The db2look utility (UDB) will also generate DDL . IBM seems to be adding a lot of functionality to their tools these days, and as they come with the products, they leave your budget in a better position to increase salaries...and buy more hardware, which I'm sure is not a coincidence. [...] 5436 64 15_Re: DB2 connect0_15_leon@CA.IBM.COM30_Fri, 8 Jun 2001 17:29:15 -0400588_us-ascii Yes, with DB2 Connect V7.1 we delivered Federated Database function that allows you to do Distributed Join. In other words, in a single SELECT statement you can refer to objects residing in different databases. These databases can be different DB2 for OS/390 subsystems or different DB2 UDB servers on UNIX, Windows, and OS/2. You can mix and match any way you want. At this point in time only SELECT statements are supported i.e. there is no update capability. Description on how to set up Federated Databases for both DB2 UDB and DB2 Connect users can be found in the DB2 [...] 5501 113 40_Identity column and PTF UQ38405 CATMAINT12_Scott Jewell21_sjewell@FREDMEYER.COM30_Fri, 8 Jun 2001 16:47:12 -0700395_iso-8859-1 Hi,

We're installing the BMC database utilities which require the use of IDENTITY columns. This is DB/2 V6 running under OS/390 V7 and V9.

PTF UQ38405 introduces this functionality and the ACTION item for this PTF states that you must run CATMAINT after applying the PTF. Makes sense since DB/2 needs to keep track of the values for the identity columns somewhere. [...] 5615 240 74_PRICE REDUCTION - Linda Claussen seminar at SIRDUG (Charlotte, NC) June 2111_Paul Turpin32_pault@ALUMMAIL.SSB.ROCHESTER.EDU30_Fri, 8 Jun 2001 20:42:47 -0500468_ISO-8859-1 PRICE BREAK! We are very pleased to announce a $15 reduction in the price of our June 21st SIRDUG Educational Seminar featuring Linda Claussen of Claussen & Associates, Inc. Linda is well known for her DB2 seminars. Linda's seminar is entitled 'DB2 Stored Procedures - Developing Stored Procedures in COBOL for OS/390'. Thanks to sponsorship by Compuware, the price of this seminar is being reduced to $160 from the previously announced price of $175. [...] 5856 84 26_Re: 'Data Capture Changes'10_Praet Marc16_maseen@SKYNET.BE30_Sat, 9 Jun 2001 05:01:59 +0200570_iso-8859-1 Hi,

Concerning 'Data Capture Changes'...

First of all, please keep in mind that when you alter the table to dcc all concerning packages are becoming invalid. So, you better rebind them explicitly, otherwise DB2 does and you will get overhead for your on-line packages.

If you activate dcc, the DB2 log will contain the complete picture of the row that is updated, being before and after row image. So, in practice, this means that the log contains also the (primary) key of the row that is updated instead of the updated bytes only. [...] 5941 198 40_Re: SEGMENTED TABLESPACE PRIMARY EXTENTS19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:54:26 -0500648_big5 This is working as designed.

See your DB2 admin guide. In the DB2 V4 DB2 Admin Guide, Chapter 5-5, under "Improving DASD Utilization: Space and Device Utilization", "Extending DB2-Managed Data Sets", "Extending Nonpartitioned Spaces" (section 5.5.6.1.1 ): >>>>>snip>>>>> Extending Nonpartitioned Spaces: For a nonpartitioned table space or index space, DB2 defines the first piece of the page set starting with a primary allocation space, and extends that piece with secondary allocation spaces. When the end of the first piece is reached, DB2 defines a new piece (which is a new data set) and extends to that new piece starting # [...] 6140 80 7_Re: UDB19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:54:28 -0500540_big5 Ricardo, try this has all flovors of db2

The DB2EUG homepage: http://people.mn.mediaone.net/scottrmcleod/ Here you'll find all the scripts that have been sent to the list, as well as the instructions below.



How to:

SUBSCRIBE/UNSUBSCRIBE: Send e-mail to: db2eug-request@lists.best.com The body of the message should contain one of the keywords 'subsingle', 'subscribe' or 'unsubscribe'. You may append the e-mail address at which you wish to receive the list's messages, e.g. subscribe joe@company.com [...] 6221 91 16_Re: DB2 rowcount19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:54:33 -0500316_big5 Hi there,

In such case, can we use a similar approach to extract the 2 last entries of a given table or sub-query ?

Let says for instance I want to have the timestamp of the 2 last most recent reorgs that were performed on any given object in DB2, how would I need to code my SQL statement ? [...] 6313 65 16_Re: trace syntax19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:54:35 -0500578_big5 Aurora,

first I warn you that I don't know DB2 Server for VSE or SQL/DS at all, but I am curious by nature and according to the manual TRACDBSS is an 11-digit parameter that specifies the parts of the DBSS that are to be traced and the level. Where 0 is specified, tracing is not done. Where 1 is specified, tracing displays only module entry and exit points. Where 2 is specified, tracing is done in greater detail. The positional digits correspond to the following DBSS functions and subcomponents: ENTRY, EXIT, LOG, LOCK, LUW, DC, DM, STOR, SORT, INDEX, and [...] 6379 69 17_Re: regarding QMF19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:54:36 -0500451_big5 Here is the sql QMF generated- Select A.OFF_DATE_MO, COUNT ( * ) From PD.PART1_3DAYS_ALL_V A Group By A.OFF_DATE_MO

Attached is the QMF for WIndows prompted query

If you need it sideways along the page You can use the Across in the form's usage column.



-----Original Message----- From: ravi kumar hassan [mailto:ravibh@HOTMAIL.COM] Sent: Tuesday, April 11, 2000 9:44 PM To: DB2-L@RYCI.COM Subject: regarding QMF [...] 6449 62 22_Re: dynamic vs. static19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:54:39 -0500589_big5 In my opinion, the 2 problems with dynamic SQL are the authorities needed, and performance. Assuming that authority is not a problem, then I believe that you may be able to take advantage of dynamic sql caching to improve performance of dynamic sql. However, if all of your dynamic sql includes different parameters as literals, (rather than using parameter markers), then I have heard that you may not get much benefit from dynamic sql caching since the sql will always be "different". For this reason, we have not turned on dynamic sql caching here, and we have been unable to [...] 6512 35 25_Re: SYSSTMT/TEXT contents19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:54:44 -0500397_big5 Hi Colin,

I've actually been working at externalizing that info for a while (as a left-hand job) and it isn't quite done yet. If you can live with fairly rough code I have a COBOL module that can extract host variable information from the TEXT column in SYSSTMT and SYSPACKSTMT, but it doesn't quite match it with the table columns yet (that's the part I'm presently working on). [...] 6548 96 40_Re: DB2 & Net.Data - a request for infos19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:54:45 -0500562_big5 Hi Max, I have one very interesting document which i found in internet(may be in IBM site only) which describes 2 Tier vs 3 Tier mesurment with lotus domino fo webserver.I do not have enough concept in this area but what u are talking about lotus domino go webserver on OS/390 is 2 Tier working enviornment.According to this docs. your number of virtual browser will increase(no. of concurrent users may be) but the CPU consumption will be high. You might have gone through this document but i am sending you in case you have not read that. You can go [...] 6645 16 56_[Fwd: [Fwd: IBM DB2 Connect (Personal Edition) Problem]]19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:54:45 -0500301_big5 Sorry, I have mis-typed again.

Regards, A Cheng

================================================ 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. 6662 42 38_Re: Number of Months Between Two Dates19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:54:46 -0500460_big5 I did a test with the command below and i found problems:

"Select month(current date - '2000-01-25') from sysibm.sysdummy1" .

If the difference between dates is smaller than 12 months, the command result is ok. But, if the difference is equal 12 the command returns 0 (zero). And if the difference is equal 13 the command returns 1 (one). Why does that happen? This command is working correct when we have a period smaller than 1 year. [...] 6705 24 32_[Fwd: DB2 V6 Upgrade Evaulation]19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:54:48 -0500485_big5 Dear All,

Further to my mail of 19 April 2000, would you please also let me know the following:

1. Upward compatibility of DB2 V6.

2. Your general impression for this upgrade.

Thanks and regards,

A Cheng

================================================ 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. 6730 60 15_keepdynamic=yes19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:54:49 -0500532_big5 Hi everyone

I am trying to solve a mystery. We are building powerbuilder application PB6.5 with db2 connect personal edition 5.2 fixpack11, and db2 v5.1

I want to avoid to prepare dynamic sql statement. But it doesn't work. DYNCACHE is set to yes in db2 v5.

Powerbuilder app are running with sqlcache=100 . This parameter avoids the execution of the prepare instruction if the sql statement is found in the PB app cache( do not confuse this with db2 dyn cache).It works I verified with an odbc trace. [...] 6791 86 22_Re: DB2 control center19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:54:50 -0500514_big5 No, should not take too long to come up. Did you get the logon box? one other thing, your win nt logon id should only be 8 chrs or less and be part of the admin group on your machine.. i learned that lesson the hard way..

"Philip, Sibimon" wrote:

> Jimmy, > > Thanks.. It was not started, so I stated it. Now if I click on control > center, nothing is coming up. Does it take a longgggggggg time to come up > first time? > > Thanks > Sibimon Philip > 972-813-5517 - Office > 972-417-3597 - [...] 6878 99 19_Re: keepdynamic=yes19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:54:51 -0500521_big5 Pierre,

Have you set the MAXKEEPD ZPARM parameter? This determines how many dynamic SQL statements you want to keep cached. Also keep an eye on your EDM pool - it will probably need to be increased if you use a lot of dynamic SQL caching.

Adrian Savory ACSIS Ltd





|--------+-----------------------> | | Pierre | | | Dagenais | | | | | | | | | 20/04/00 | | | 15:22 | | | Please | | | respond to | | | DB2 Data Base| | | Discussion | | | List | | | [...] 6978 114 50_Re: Shadow Direct, DB2 V5.1 and Stored Procedures.19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:54:52 -0500445_big5 (Embedded image moved to file: pic32070.pcx) Dennis P Bennett @ NEON 04/13/2000 02:45 PM



Richard,

Shadow Direct has supported returning result sets from DB2 stored procedures and Shadow Remote Procedure Call programs for some time.

Recently we have added support for returning multiple result sets from DB2 stored procedures and Shadow RPCs.

If you have any questions please call at (800) 505-6366. [...] 7093 128 29_Re: USING ENABLE PARM ON BIND19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:54:53 -0500511_big5 We used this feature back in 1993 on a system using packages. We used the enable to not only help in the area of security, but we also used it in test to ensure where we were executing the program from. We had two cics regions. In CICS region "A" we want to update tables for "A". In region "B" we want to update tables in "B". We had a problem early on when programmers would forget and run a transaction for PLAN "B" in CICS region "A". We bound the plan for region "A" and enabled CICS region "A". [...] 7222 48 22_Re: DB2 control center19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:54:56 -0500556_big5 Philip,,,, go to Start,,,,then settings...then control panel...then services... in services be sure that the db2 jdbc applet server (two of them) is started..

"Philip, Sibimon" wrote:

> > All list users, > > > > I am getting the following error when I start the control center in a > > Window NT machine. I have no knowledge about JDBC. Please let me know if > > anybody know the solution for this. I just installed DB2 personal edition > > and DB2 connect. DB2 connect seems to be able to connect to DB2 Version > > 5.1 on OS/390. [...] 7271 114 31_Re: RV: Question about triggers19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:54:57 -0500428_big5 Hi Daniel,

it is reaching the list but apparently nobody has any idea of what might be the problem. Maybe you can create a simple test table, reducing the problem to its minimum (getting rid of complicated WHERE clauses and so on) and repost that. Sometimes I managed to solve problems that way. How's Argentina these days? I have several good friends there (in La Plata and Olavarria) from my university days! [...] 7386 30 65_Partitioning parent/child should parts & key values be the same ?19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:54:58 -0500440_big5 When partitioning tables in a parent/child relation, should the key values be the same for both parent/child? Does the parent/child have to be partitioned for the same number of parts ?

If so, what are the benefits from doing this ? OR drawbacks from NOT doing this ?

Example : DB2V5-OS/390 Child table previously partitioned (10prts) Index(dec,15) Parent table (should be partitioned...into 10prts ?) Index(dec,15) [...] 7417 115 22_Re: Buffer Pool Tuning19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:55:01 -0500393_big5 If you are interested there is a presentation from Chuck Hoover concerning Buffer Pool tuning the URL is located at http://www.compuware.com/products/file/

The link is on the bottom of the page. This presentation is NOT marketing but a presentation by Mr. Hoover concerning the subject mentioned above. Also note there are a number of other DB2 presentation on the same page. [...] 7533 146 25_Re: Performance of MODIFY19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:55:17 -0500524_big5 Hi Per,

this has been discussed in the last days of December '99, look for subject "Re: Reorg DB2 catalog/MODIFY running time".

One solution would be to modify entries off one day (or a few days) at a time. This will not reduce the total CPU time, but will allow you to spread it out over a period of weeks, and it also won't block SYSCOPY for hours at a time. Of course this will mean hundreds of thousands or millions of MODIFY steps, but it's easy to write a REXX or SAS job to generate your JCL. [...] 7680 16 78_Last PeopleSoft 7.x Tuning Class for DB2 for OS/390 - San Francisco - June 5-619_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:55:18 -0500370_big5 Please find details and registration at http://www.db-consulting.com/seminar.htm

================================================ 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. 7697 13 28_Re: Linklist libraries & DB219_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:55:20 -0500303_big5 First post did not seem to reach the list. Trying again.

================================================ 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. 7711 25 17_DB2 Early Code V619_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:55:22 -0500369_big5 Hello,

The following is from the the V6 installation guide page 66. " If your system is at the prerequisite maintenance level. your version 5 early code is upward compatible with version 6. "



Does anyone know what that prerequisite maintenance level is ? I can not seem to find it in any of the documents related to the install. thanks. [...] 7737 106 44_Re: Converting Indexes from Type 1 to Type 219_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:55:23 -0500424_big5 Sure, get rid of the QUIESCE. It is completely unnecessary anyway. If the REORG fails, and you cannot restart it, just do a RECOVER TABLESPACE (to current) which will restore the situation just before the REORG.

Dr. Michael Ebert DB2 Database Administrator aMaDEUS Data Processing Erding / Munich, Germany







From: "Bistricer, Avi" on 03/05/2000 20:15 GMT [...] 7844 51 26_Re: Global Temporary Table19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:55:26 -0500507_big5 I thought that one restriction of Global Temporary tables was that they could not be updated. Did you check the sqlcode after the update? You should have gotten an sqlcode -526.

I hope this helps.

Thanks, Tim













José Moura on 05/15/2000 12:13:53 PM

Please respond to DB2 Data Base Discussion List















To: DB2-L@RYCI.COM [...] 7896 46 10_vb6-db2UDB19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:55:27 -0500468_big5 I do not know if this is the correct forum, but I am having problems getting the answer elsewhere. We are on DB2 UDB version 6.1 running on solaris box with windows nt clients. We are developing some applications using Microsoft's Visual Basic 6.0. The app can connect to the database fine, it can retrieve data and display on the forms. Our problem comes in when we try to update, or to set the fields in preparation to updating. Below is a sample of code: [...] 7943 51 17_Re: DB2 interface19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:55:29 -0500611_big5 Dmitriy, can you elaborate on what you mean by "good interface(connection) between UNIX RS6000 box and DB2 database"? IBM DB2 Connect has been around the longest (since 1992 when it was called DDCS) and it is as standard as it gets with most DB2 mainframe shops using it.

DB2 Connect will allow you to run applications on RS/6000 as well as SUN, HP, Numa-Q, Linux, Windows (of all flavours) and have these applications work with DB2 data on the mainframe and AS/400 machines. You can find more information including new version 7.1 features at http://www.ibm.com/software/data/db2/db2connect/. [...] 7995 25 13_Access path..19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:55:30 -0500544_big5 Hi!

I posted this message but the alignment got messed up. So, I am resending my mail as an attachment.

Thanks.

Anshu.

__________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.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. 8021 38 12_Re: 00E4003019_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:55:31 -0500393_big5 Hi, here a solution (not mine, suggested by a verrry expert man) if you have an utility stopped

AND you drop the tablespace after utility was stopped, to clen SYSUTILX.

I used it to clen up SYSUTILX and worked very well. BUT, of course, you use this solution at

YOUR OWN RISK.

I prefere this solution insted to stop DB2 and delete/define SYSUTILIX again. [...] 8060 50 33_Re: Fw:Re: Global Temporary Table19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:55:33 -0500296_big5 Jose, I ran your statements here successfully as well.

I did find several PTFs for global temporary tables and subselects. APAR PQ31008 / DB2 V5 PTF UQ36283 looks to me like a match to your problem. It closed 10/19/99, and you did say you were at 9909. Do you have this applied? [...] 8111 35 28_Re: Timestamp in Load Module19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:55:36 -0500556_big5 Speaking about IBM (I do not know if the same or similar program is available on HDS or Amdahl) there is program AMBLIST (aliases IMBLIST, HMBLIST) that can list load module information. It gives list of all linked modules and time stamp (but not exactly as DB2 contoken).

Invocation could be with IDR - to produce module summary or with LOAD - map and cross reference list of load modules The sample output look like this (for IDR): <> Bora Radonjic (consultant) ACNielsen, Green Bay (Disclaimer: All opinion are my own ...) [...] 8147 178 36_Re: Online REOG ABEND 04E RC00E4000919_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:55:45 -0500317_big5 This is the explanation for the Reason code:

00C200EA

Explanation: DB2 is unable to perform the drain function on an object (a table space, an index space, or a partition) because the object was held by other claimers and the drain request timed out waiting for the claim count to reach zero. [...] 8326 33 32_DB2 V6 POSTPONED REVOVER PROBLEM19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:55:48 -0500339_big5 Hi, We are using DB2 V6 and have a Tablespace stuck in Postponed Recover status. Issue -RECOVER POSTPONED or restarting DB2 does not remove it. DB2 nolonger recognises that the tablespace is in this status during restart.

We have been told by IBM that we will need to COLD START DB2 to remove the status or run a USERMOD. [...] 8360 35 34_Re: How do I quiesce a tablespace?19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:55:54 -0500482_big5 Hello Vijay

Thank you for the reply.

Yes, I want to reset the EXCLUSIVE state to NORMAL. I believe it is possible without restarting the load, but maybe I am wrong?

Best regards Ib-Michael







Vijay Subramanyam - 30-05-2000 12:53:22

Besvar venligst til DB2 Data Base Discussion List

Til: DB2-L@RYCI.COM cc: (bcc: Ib-Michael Martinsen/EDB/Dansk Supermarked) [...] 8396 46 46_Re: Problem with DB2 Replication - VIRUS ALERT19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:55:55 -0500482_big5 I received a notice from Norton that this email had an attachment with a virus.

Troy Coleman IBM Certified Solutions Expert - DB2 UDB V5 Database Administration Voice: 847-705-1468 Email: troycci@colemanconsulting.com AOL IM: troycci MSN IM: troycci

-----Original Message----- From: DB2 Data Base Discussion List [mailto:DB2-L@RYCI.COM]On Behalf Of Doug Fuerst Sent: Friday, June 02, 2000 1:20 AM To: DB2-L@RYCI.COM Subject: Re: Problem with DB2 Replication [...] 8443 94 27_Re: Bad Indicator Variable?19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:55:57 -0500376_big5 I would go with your first guess and that is put the COMP on the elementary item. I've never put the usage on the 01 level, and I know that putting the usage on the elementary level works.

Troy Coleman IBM Certified Solutions Expert - DB2 UDB V5 Database Administration Voice: 847-705-1468 Email: troycci@colemanconsulting.com AOL IM: troycci MSN IM: troycci [...] 8538 223 33_Re: DB2 dataset info from Catalog19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:55:59 -0500472_big5 One possibility is calling the TSO LISTCAT command from REXX, intercepting the output using OUTTRAP and parsing the data returned. When I mentioned doing this a couple of weeks ago, several people pointed me to a REXX interface program called IGGCSI00 (the Catalog Search Interface). I have in the meantime implemented this, and IGGCSI00 is really much much faster and more versatile than the LISTCAT version (thanks again to everyone who mentioned this to me). [...] 8762 158 33_Re: Question on Runstats Sampling19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:55:59 -0500550_big5 I have an automated procedure for generating RUNSTATS jobs which is still very rudimentary. I use a sampling rate based on the used space in the VSAM file. The strategy is this: sample 50 MB+5% of the used space, with minimum 150 MB. Convert this to a percentage. If this is more than 66%, OR the DB in question is DSNDB06, do not use sampling. This is because SYSPKAGE, the largest DSNDB06 TS in our environment, contains both very large and very small tables; the statistics for the small ones would be useless because of sampling error. [...] 8921 38 38_Advise needed on DB2 and RACF security19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:56:01 -0500388_big5 We are a new DB2 shop (1 month old) and would like to implement external security right from the start.

We have all the RACF classes defined and all the exists assembled. I used the auth exit supplied in SYS1.SAMPLIB because the one that can with DB2 didn't do anything.

I tried to do a DISPLAY THREAD from TSO and failed because I do not have authority to do it. [...] 8960 35 19_Contention problems19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:56:02 -0500443_big5 I have an application in which data entered in two areas. The first area consists of operators entering from mail, batching transactions 50 per batch. After the 50, the batch is totaled and balanced, then the 50 added to a database. The primary key consists of year-month-day-sequence-num-check digit. The sequence number is retrieved from a systemcontrol table, then one added, then updated. So far no problems, works like a champ. [...] 8996 65 59_Re: Immediate IMS and DB2 DBA Opportunity in Ft. Lauderdale19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:56:10 -0500825_big5 Would you really want to hire anyone gullible enough to believe this?













Mark Nehmer - Ajilon on 06/06/2000 06:54:17 PM

Please respond to DB2 Data Base Discussion List















To: DB2-L@RYCI.COM

cc:





Subject: Immediate IMS and DB2 DBA Opportunity in Ft. Lauderdale















This is a long term project that we are preventing from going off-shore. The only way that was able to work was by taking a low margin and paying salaries lower than we were able to just 18 months ago (when the last mainframe DBA opening was available in this market). It is the same situation as [...] 9062 77 23_Re: Contention problems19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:56:13 -0500533_big5 If I'm not misunderstanding your question there will be at least 3 way to solve the problem: (I don't know well what's your environment, OS390, NT etc.)

Update tab_seq_nbr set seq_nbr = seq_nbr + 1 where ........ (which locks the records) Declare crs1 cursor for select seq_nbr from tab_seq_nbr where ....... for update of seq_nbr and after Open crs1 Fetch crs1 (which locks the records) Update .... where current of crs1 Close crs1 Select seq_nbr from tab_seq_nbr where .......... with RR (which locks the records) [...] 9140 83 23_Re: Contention problems19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:56:14 -0500586_big5 Thanks,,,,we are mainframe db2 version 5. The cursor will probably work best...

Massimo Biancucci wrote:

> If I'm not misunderstanding your question there will be at least 3 way to solve > the problem: (I don't know well what's your environment, OS390, NT etc.) > > Update tab_seq_nbr set seq_nbr = seq_nbr + 1 where ........ (which locks > the records) > Declare crs1 cursor for select seq_nbr from tab_seq_nbr where ....... for > update of seq_nbr > and after > Open crs1 > Fetch crs1 (which locks the records) > Update .... where current of crs1 > Close crs1 [...] 9224 83 23_Re: Contention problems19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:56:17 -0500562_big5 Thanks,,,that was what I was looking at, but may consider opening cursor... even though only one row is involved..

"DAVIS, RICK (SBCSI)" wrote:

> Jimmy, > Have you considered locking the SeqNumTable in mode exclusive while > you get the next number? This might timeout others but they can code a loop > to retry. > > 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 [...] 9308 107 52_Re: BIND PACKAGE RUNS INTO A MYSTERIOUS -151 SQLCODE19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:56:22 -0500345_big5 What is the full SQL statement (UPDATE...) causing the error? Are you sure EWT15.DEW23 is not a view? If it is, what is the full definition? If it is a SELECT *, was column DEW23_AGS added to the base table after the view definition?

Dr. Michael Ebert DB2 Database Administrator aMaDEUS Data Processing Erding / Munich, Germany [...] 9416 105 56_Re: AW: BIND PACKAGE RUNS INTO A MYSTERIOUS -151 SQLCODE19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:56:24 -0500383_big5 Now only the answer to my first question is missing; I put it first because it was the most important... The tricky part now is probably identifying the right statement. I assume the STMTNO refers to the precompiler output line number?? (I don't do static SQL programs).

MfG, ME.





From: "Peter, Georg" on 09/06/2000 10:46 GMT [...] 9522 41 13_Re: DB2 & SMS19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:56:28 -0500462_big5 Hi Ricci,

NO, I would not let SMS manage the DB2 System Catalog and Directory Tablespaces due to potential performance issues. We use SMS to manage application objects only.

Regards... Steve Vagnier









ricci @RYCI.COM> on 06/09/2000 01:13:25 AM

Please respond to DB2 Data Base Discussion List

Sent by: DB2 Data Base Discussion List [...] 9564 17 8_cics/db219_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:56:30 -0500382_big5 Since db2 does not allow commits in cics...(or maybe other way around)... does cics syncpoint force a commit in db2????

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. 9582 95 17_Re: AW: DB2 & SMS19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:56:32 -0500570_big5 A long time ago when we were first implementing SMS, I had this same discussion with IBM's DB2 support. At the time, IBM recommended not to let SMS control the DB2 Catalog and directory. I know that since that time, SMS has improved in it's handling of dataset's, I just elected to continue to not let SMS handle the DB2 Catalog and Directory datasets. Why ??? Because as a Systems Administrator, I am in more control of where I want the Catalog and Directory datasets to reside on which volumes instead of having to interface with the DASD Administrators all [...] 9678 54 13_Re: DB2 & SMS19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:56:34 -0500444_big5 Hi,

There is an IBM red book on this topic. Book id is SG245462. You will find it useful and so will your DBA.

Regards







(Embedded image moved DB2 Data Base Discussion List to file: (Tel: ) pic31556.pcx) 09/06/2000 01:13 PM







Please respond to DB2 Data Base Discussion List

To: DB2-L@RYCI.COM cc: bcc: Subject: DB2 & SMS [...] 9733 121 44_Re: Backup strategy for 1000s of tablespaces19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:56:36 -0500598_big5 Great, but now what do you do with it besides building a bookcase.?

How do you get the maximum performance from a system that is built for everybody? What percentage of 8250 tables do you actually use on a regular basis?

The basic question still stands What tables are reference, what are high usage.? What are the backup/recovery strategies for the highly important parts of this system .? Any good backup/recovery strategy addresses the needs of the application not just the fact that there are 1000's of tables. Has anyone broken this down to logical units of work .? Is [...] 9855 15 25_DB2 Developer's Guide, V419_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:56:37 -0500321_big5 Where did you see it on Amazon.com for 48.00??? All I see is 59.95. 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. 9871 111 90_Re: Backup strategy for 1000s of tablespaces No known viruses detected in attached PC File19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:56:41 -0500566_big5 Actually it's 7,500 tablespaces, not tables. There are 16,741 tables!!! And that's without any significant tailoring. Just how useful a data model would be I don't know. Have you found any use for your data model, apart from perhaps being a footrest, doorstop etc.?

Adrian Savory ACSIS Limited







Andrea Milligan cc: (bcc: Adrian Savory/ZI/England/Zurich) Subject: Re: Backup strategy for 1000s of 09/06/00 21:45 tablespaces Please respond to DB2 Data Base Discussion List [...] 9983 156 44_Re: Backup strategy for 1000s of tablespaces19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:56:45 -0500513_big5 The recommendation from SAP is that the backup everything and recover everything. The problem is that SAP does things under the covers and uses tables the you would not expect it to use by just looking at the SQL.

Adrian Savory ACSIS Limited







"Thomas E. Faglon" To: DB2-L@RYCI.COM Subject: Re: Backup strategy for 1000s of tablespaces 10/06/00 01:50 Please respond to DB2 Data Base Discussion List [...] 10140 35 12_Re: DSN1COPY19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:56:51 -0500497_big5 Common problem , you must have done a DSN1COPY without stopping the tablespace .These are the steps for this is

1. stop db,tablespace 2. dsn1copy 3. start db,tablespace 4. recover all indexes.

That should be it.







"Cláudio Meluzzi Mendes" on 06/12/2000 03:00:00 PM

Please respond to "DB2 Data Base Discussion List"

To: DB2-L@RYCI.COM cc: (bcc: Purnima Patel/Bsg/MetLife/US) Subject: DSN1COPY [...] 10176 67 12_Re: DSN1COPY19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:56:53 -0500599_big5 Claudio/Rick, I would have thought that if the table had been altered to add a column, that you would instead have wanted to ensure that a reorg did NOT occur between the copy and now.

Otherwise, the reorg would change the table definition in the DBD from variable-length (the alter addcolumns would have changed it to variable) to fixed-length. Then, the DSN1COPY would put the data back out as variable-length, and you would abend. If a reorg HAD occurred, then in order to avoid this problem, you might be better off to create another tablespace/table that looked exactly as the [...] 10244 45 37_Re: TSO/ISPF/Rexx Support for DB2/39019_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:56:54 -0500556_big5 You may find the DB2 V6 Technical Update redbook (currently available as a redpiece) helpful. Although not strictly new with V6, the REXX support is documented in here. The redbook no. is SG24-6108 which you can find from the IBM redbooks web site.

It has a chapter on Language Support including REXX. There is some sample code, documentation of some of what we found were less than completely obvious rules you have to follow and descriptions of the main calls (connect, cursor manipulation, error handling and singleton SQL statements). [...] 10290 111 29_Re: DB2 Developer's Guide, V419_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:56:55 -0500339_big5 Gene, Craig's book has the "IBMese" written into English. There are examples and samples. All in one book. I would guess that 75 percent of the questions you need answered are in the one book. He also breaks out the differences in V4, V5 and I assume V6 in the margins, so you can readily see what has changed. It's a good book. [...] 10402 19 57_Correction: Copying Catalog Statistics between Subsystems19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:56:58 -0500489_big5 I haven't used the SQL for long time and I had it for a customized need. Please delete the line "AND COLCARD > 0" and anything else not needed for your setup. <>

Regards, Venkat Pillay

================================================ 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. 10422 44 39_Bad Container Path - UDB EE V6.1 on AIX19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:56:59 -0500326_big5 Hi , We installed UDB EE v6.1 on AIX .. and want to use device as tablespace container ..but getting the error message SQL0298N - BAD CONTAINER PATH- the steps are: 1. create logical volume mklv -y rlv0 rootvg 30 2. chmod 777 /dev/rlv0 3. create tablespace testsp managed by database using (DEVICE '/dev/rlv0' 100 ) [...] 10467 72 23_Re: NOT CATLG 2 PROBLEM19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:57:20 -0500327_big5 Hi Dennis,

I don't understand by the meaning of fix in this context. You are trying to catalog a dataset which is already there and so such message is issued. We are also running the same version you have and my apps hit this problem once a while as they do not delete the previous dataset or do not uncat it. [...] 10540 78 43_Re: Bad Container Path - UDB EE V6.1 on AIX19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:57:22 -0500598_big5 Jenny, check your db2diag.log - it should give you a more detailed explanation. Also ensure the instance owner owns the raw logical device '/dev/rlv0' hth Pierre ---------------------------------------------------------------------------------------------------------

Pierre Evans Database Administrator, Data Warehouse Operations Autozone







Jenny Huang cc: (bcc: Pierre Evans/STS/AUTOZONE) Subject: Bad Container Path - UDB EE V6.1 on 06/16/00 03:51 AIX AM Please respond to DB2 Data Base Discussion List [...] 10619 190 60_Re: Bad Container Path / DB2 EE V6.1 /Solution & Performance19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:57:24 -0500556_big5 Scott, Thanks for the title , it is much better than mine.. Thank you so much for quick response.. it really help us.. Sure , we are not using rootvg for the production..

Actually We are struggling to implement ONE Tetabyte data warehouse on AIX box ( with 3 CPU ,2G Memory, and 38 disk each with 36G).. I have read the perfomance tuning about how to define the tablespace .. it should gain better performance to separate the data and index on separate disks.. we are using RAID disks, and our unix administrator group the 38 disks into 5 [...] 10810 73 90_Re: DB2 OS/390 V5.1 Archiving Active Logs. What is optimal size toput on single 3490 tape?19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:57:26 -0500425_big5 We went through this awhile back and found that 1167 cyls can to near tape capacity for our 810mb tapes (uncompressed). Yes, if compression is used, a larger log file can be used. But we decided not to compress because of possible exposure during recovery. If your 3490 tape drives are like ours then hardware compression is being used. Unless you specify compression in zparms the archive to tape is uncompressed. [...] 10884 50 45_Re: Stored Procedure Builder with UDB 6.1 ???19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:57:27 -0500413_big5 Randy, in v6.1 Stored Procedure Builder is installed on Windows workstations only and is not installed on AIX. This means that you need to use Windows 95, 98, NT, or 2000 as your development workstation (AIX will still be your database server).

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



Randy Wilson on 06/19/2000 12:54:27 PM [...] 10935 72 45_Re: Stored Procedure Builder with UDB 6.1 ???19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:57:29 -0500327_big5 Randy, The Stored Procedure Builder referred to in the Certification Guide does indeed exist in v6.1- it resides on the client side. I've performed several rudimentary tests using the SPB on my winnt pc connected to a UDB EEE v6.1 Data Warehouse on AIX. Look on the Programs panel, listed under 'DB2 for Windows NT'. [...] 11008 47 36_Re: DB2 vs WLM For Stored Procedures19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:57:30 -0500549_big5 I don't have a reference handy, but based on what we have experienced at our shop and what I have seen presented at IDUG and the IBM Tech Conferences, there should be no question that WLM- managed stored procedure address spaces is the only way to go for a long-term solution. All of the new capabilities and enhancements are being made there. I believe that Java stored procedures require it. Purely the fact that it was the only way to place different stored procedures into separate address spaces was sufficient for us to go with WLM. [...] 11056 49 11_Re: UDB SPB19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:57:32 -0500660_big5 You will want to get DB2 Connect V7.1 to use Stored Procedure Builder with DB2 for OS/390.

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



Sherri Sterling on 06/16/2000 12:05:16 PM

Please respond to DB2 Data Base Discussion List

To: DB2-L@RYCI.COM cc: Subject: UDB SPB







We have a programmer using visual age stored procedure option. This brings up the UDB stored procedure builder and builds a store procedure. Then when this stored procedure is executed connecting to the os/390, we get the following message: [...] 11106 62 45_Re: Stored Procedure Builder with UDB 6.1 ???19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:57:35 -0500426_big5 >I've also seen reference stating that Visual Age Java , >and MS Visual Studio also have the capability to >create stored procedures graphically.

I think what you saw are references to the fact that DB2 Stored Procedure Builder hooks itself in to both Microsoft Visual Studio and IBM VisualAge for Java. This allows application programmers to do entire development without leaving their favorite environment. [...] 11169 114 21_Re: ddf stopping hung19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:57:36 -0500457_big5 To everyone who says they "cancel IRLM" : Do you actually use an MVS Cancel command on it, or do you use the modify as recommended in the manual:

F ssssIRLM,ABEND,NODUMP









Tina Hilton on 06/21/2000 07:55:26 AM

Please respond to DB2 Data Base Discussion List

To: DB2-L@RYCI.COM cc: (bcc: Kirk Hampton/Texas Utilities) Subject: Re: ddf stopping hung [...] 11284 30 28_DB2 CONNECT PERSONAL EDITION19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:57:37 -0500362_big5 HIi everyone,

I have a quick question on db2 connect personal edition. I have standardized our site with db2 connect personal edition 5.2 fixpack 11.

But recently, the windows 2000 have started to appear on workstations.

1. Will db2 connect personal edition 5.2 fixpack 11 work on windows 2000?

2. If not what version will. [...] 11315 95 32_Re: DB2 CONNECT PERSONAL EDITION19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:57:39 -0500415_big5 DB2 Connect V6.1 and V7.1 were tested with Windows 2000 and are fully supported on Windows 2000. DB2 Connect V5.2 may not work on Windows 2000 but it is not supported on this platform.





IBM is pleased to announce that DB2 Connect products have been extensively tested under Windows 2000 with official support beginning with General Availability of Windows 2000 on February 17, 2000. [...] 11411 48 34_Trying to invoke Query Parallelism19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:57:42 -0500424_big5 I have a LARGE tablespace (203 parts). The following query will access data from 15 of these partitions based upon the value of MNTH:

SELECT PROD_CD, COUNTRY_CD, ADMIN_CD, SERVICE_DATE, CALLED_NUM, BILL_DUR_SEC, POST_CLOSE_IND FROM #PENS.ENV_TRAF_DETL_INB WHERE MNTH = ? AND PART_DAY BETWEEN '01' AND '31' AND PROD_CD <> 'MT' AND BILL_DUR_SEC > 11 AND SUBSTR(DIGITS(CALLED_NUM),1,3) <> '000' FOR FETCH ONLY [...] 11460 63 38_Re: Trying to invoke Query Parallelism19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:57:43 -0500459_big5 Static SQL? If so, consider binding with REOPT(VARS). ------------------ Kurt Rompot DB2 DBA Ingram Book Company

-----Original Message----- From: Larry Jardine [mailto:larry.jardine@wcom.com] Sent: Thursday, June 22, 2000 9:28 AM To: DB2-L@RYCI.COM Subject: Trying to invoke Query Parallelism



I have a LARGE tablespace (203 parts). The following query will access data from 15 of these partitions based upon the value of MNTH: [...] 11524 42 16_Re: Newsgroups??19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:57:47 -0500521_big5 Randy, try this. http://www.deja.com/usenet search on db2 HTH Tom http://www.angelfire.com/ny/nydba







Randy Wilson on 06/22/2000 09:14:42 AM

Please respond to DB2 Data Base Discussion List

To: DB2-L@RYCI.COM cc: (bcc: Thomas E. Faglon/Telcordia) Subject: Newsgroups??







Hello List, Does anyone know what the best newsgroups are to monitor for DB2 ? .. and any public news servers that carry them? [...] 11567 30 28_V6 Reserved words (keywords)19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:57:49 -0500281_big5 Has anyone experienced a problem using any of the new V6 keywords that were already defined in their V5 tables as column names when migrating from V5 to V6? I haven't seen any message on it, so I'm wondering if this is a big issue or not and worth the time to look into? [...] 11598 86 32_Re: V6 Reserved words (keywords)19_=?big5?B?tPa90qr4?=21_A000896@MS.SKH.ORG.TW30_Fri, 8 Jun 2001 22:57:52 -0500534_big5 The list of new V6 keywords that I supplied in the email you responded to was derived by comparing the SQL reserved word list in Appendix E of SQL reference manuals from V5 and V6 (OS/390) Sorry for not specifying. I'm afraid I can't speak to NT questions.

We haven't migrated to V6 yet so I don't know if this will be a problem or not. Its the reason I posted the question. I was hoping to get an answer from anyone that has migrated to V6 (OS/390) to see what their experience has been with reserved words that are [...] 11685 59 42_Re: Advise needed on DB2 and RACF security11_Joe Luthman22_jluthma@BGNET.BGSU.EDU30_Sat, 9 Jun 2001 10:45:48 -0400579_us-ascii Henry, RACF external security for DB2 covers nearly all our DB2 internal security needs EXCEPT for DB2 commands. So you'll still need to use internal security for DB2 commands. Only one other notable exception, so far as I remember. Plan/package owners still get an entry in the DB2 catalog, so you won't be able to eliminate that. And this will translate to other entries by the plan/package for tables and views. But you're headed down a path that will save you a lot of time. It's worth using external security for DB2. -joe luthman BGSU DBA Bowling Green, Ohio [...] 11745 29 23_Connection efficiencies8_duam lee16_duam_lee@USA.NET28_Sat, 9 Jun 2001 02:50:28 MDT422_US-ASCII Hi Listers can any body suggest me the efficient method of connecting to db2 from an application written in Java. Would it be better to go for IMS connnection to DB2 instead of jdbc conection. I mean which one will be better to in the term of response time.Waiting for all your valuable suggestions. The database size is above 5 terabytes. I feel we have to go for APPC in case we choose the IMS connection. [...] 11775 64 27_Re: Bad Indicator Variable?15_Toine Michielse18_vndobtm@US.IBM.COM30_Sat, 9 Jun 2001 09:03:07 +0200393_big5

It's been a few years since I coded COBOL.... But if I remember correctly group levels are treated as character items (PIC X...). Elementary items do not inherit charactistics from the group levels. So yes, you must put the COMP at the elementary level.

Regards,

Toine Michielse



´ö½Òªø @RYCI.COM> on 06/09/2001 05:55:57 AM [...] 11840 36 18_question on update18_Pudukotai, Nagaraj35_Nagaraj.Pudukotai@BLR.HPSGLOBAL.COM30_Sat, 9 Jun 2001 12:19:14 +0500515_- Hi List

If you have a TYPE2 index IX1 on a table TAB1 and IX1 has columns col1 and col2. TAB1 has columns col1, col2, col3 and col4. If program PGMA is updating say col1 and col2 on a row say ROWA and has an X lock on the datapage (assuming LOCKSIZE page and no lock escalations). Before the update by PGMA is complete another program say PGMB issues a SELECT for col1 and col2 on the same row (ROWA) that is being updated by PGMA, and the access path for this SELECT by PGMB is through IX1 and index [...] 11877 42 22_FW: question on update18_Pudukotai, Nagaraj35_Nagaraj.Pudukotai@BLR.HPSGLOBAL.COM30_Sat, 9 Jun 2001 14:05:39 +0500524_- > -----Original Message----- > From: Pudukotai, Nagaraj > Sent: Saturday, June 09, 2001 12:22 PM > To: 'db2-l@ryci.com' > Subject: question on update > > Hi List > > If you have a TYPE2 index IX1 on a table TAB1 and IX1 has columns col1 and > col2. TAB1 has columns col1, col2, col3 and col4. If program PGMA is > updating say col1 and col2 on a row say ROWA and has an X lock on the > datapage (assuming LOCKSIZE page and no lock escalations). Before the > update by PGMA is complete another program say PGMB issues [...] 11920 123 23_Re: NOT CATLG 2 PROBLEM17_Kenneth J. Kripke22_kkripke@MINDSPRING.COM30_Sat, 9 Jun 2001 13:22:26 -0400554_iso-8859-1




If the query in PGMB is using isolation UR (read through locks) then the query will not take locks and it will see the updated values as soon as the latch that will be held on the index page is released (before commit). If PGMB is using another isolation level then PGMB will take an S lock on the data page. This S -lock will cause PGMB to be suspended until PGMA commits. Remember that there will be no locks on the index pages for type 2 indexes but the locks will be taken on the corresponding datapages instead [...] 12126 15 21_Re: DB2 Early Code V612_Roger Miller19_millerrl@US.IBM.COM30_Sat, 9 Jun 2001 16:58:01 -0500269_- It should be one or perhaps more of the APARs listed in info APAR II11442. I don't know, and have other promises to keep before I sleep. The list is fairly easy to work through if your V5 service is reasonably current, two for this year, about 15 for last year. [...] 12142 15 22_Re: question on update12_Roger Miller19_millerrl@US.IBM.COM30_Sat, 9 Jun 2001 17:05:20 -0500505_- Index only access does not mean no locking. Since there are essentially no locks on the index, then that must mean that we can lock the data page even without accessing the page. Lock avoidance at the appropriate level is used.

Roger MIller, DB2 for 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. 12158 15 42_Re: Advise needed on DB2 and RACF security12_Roger Miller19_millerrl@US.IBM.COM30_Sat, 9 Jun 2001 17:13:07 -0500494_- There are a couple of other possible exceptions. I've been updating my security presentations and will send you a pdf if you send me a note. DB2 Security Overview RACF and DB2: Teamed for Security

Roger Miller, DB2 for z/OS millerrl@us.ibm.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. 12174 28 26_Re: DB2 v6.1 and old dbrms12_Roger Miller19_millerrl@US.IBM.COM30_Sat, 9 Jun 2001 17:33:46 -0500538_- I didn't see all of this, so please excuse me if this is not quite what you asked. I use the term old DBRM to mean prior to Version 2 Release 3, when we changed the format very substantially. Old DBRMs do not have the colons, and there is no completely general fix. APAR PQ26922 solves the problem if the colon was for a DESCRIPTOR or SQLDA structure as shown below. The paragraph in the Installation Guide was too brief. The two page description in the red book, SG24-6108 V6 Technical Update is not perfect, but it's the best we [...] 12203 28 28_Re: High Log Write Wait Time12_Roger Miller19_millerrl@US.IBM.COM30_Sat, 9 Jun 2001 17:59:35 -0500392_- I think there may be a misunderstanding here. Here is a paste from the Command Reference:

"How LOGLOAD and CHKTIME values affect DB2 performance: LOGLOAD and CHKTIME values can affect the amount of time needed to restart DB2 after abnormal termination. A large value for either option can result in lengthy restart times. A low value can result in excessive checkpointing. ..." [...] 12232 73 29_Re: SAP R/3 on DB2 vs. Oracle23_Pendlebury-Bowe, Leslie34_Leslie.Pendlebury-Bowe@EU.SONY.COM31_Sun, 10 Jun 2001 00:31:55 +0100512_- Adelino

can we talk by direct mail .. maybe I can help.

my previous mail was directed at you and not Adrian.

regards

Les

-----Original Message----- From: Adelino Regio [mailto:adelino.regio@EDINFOR.EDP.PT] Sent: Friday, June 08, 2001 4:41 PM To: DB2-L@RYCI.COM Subject: Re: SAP R/3 on DB2 vs. Oracle



Many thanks for your feedback.

We started with SAP R/3 (and IS/U component) on DB2 two and a half years ago. Our major administrative problems are: [...] 12306 83 36_Re: Re Re: SAP R/3 on DB2 vs. Oracle23_Pendlebury-Bowe, Leslie34_Leslie.Pendlebury-Bowe@EU.SONY.COM31_Sun, 10 Jun 2001 00:33:33 +0100273_- Adelino .. again I disagree .. DR is a piece of cake .. I automated it with Rexx and with PRA from CA.

Things work v well for us.

Sadly there are some (like us) very experienced SAP DB2 shops on here and you have to be careful with such rash comments. [...] 12390 41 32_Re: V6 Reserved words (keywords)12_Roger Miller19_millerrl@US.IBM.COM30_Sat, 9 Jun 2001 18:41:31 -0500512_ISO-8859-1 Parsing SQL is very complex. We try to avoid errors from reserved words by context. It's very effective, but not perfect. I'd heard from several customers that they experienced two or three SQLCODE -101s, but most customers do not encounter this problem at all. V5 CASE was a major example of a word that would cause problems. I don't remember and can't find examples in V6 or V7, but remember a couple of customers who discovered that the warning statement in the Installation Guide is correct. [...] 12432 15 12_Re: cics/db212_Roger Miller19_millerrl@US.IBM.COM30_Sat, 9 Jun 2001 18:49:17 -0500523_- CICS synchpoint has provided a commit in DB2 since V1R1. I think you will probably want to check in the Application Programming and SQL Guide chapter called Planning for Recovery. The discussion of Unit of Work in CICS is only about a page long.

Roger Miller, DB2 for 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. 12448 127 36_Re: Re Re: SAP R/3 on DB2 vs. Oracle16_Thomas E. Faglon21_tfaglon@TELCORDIA.COM30_Sat, 9 Jun 2001 20:37:26 -0400387_us-ascii Les Again I disagree strongly!! DR is NEVER a PIECE OF CAKE>..in any environment!!! What happens if you can not exec your REXX? REXX library did not make it to the recovery site??. What happens if you have a bad offsite tape?? What happens if you lose your logs and user data because of a disk crash?? There are just too many variables to make a blanket statement like ... [...] 12576 41 36_Re: Re Re: SAP R/3 on DB2 vs. Oracle20_Edward C. Benoit Jr.19_DB2Automate@AOL.COM28_Sat, 9 Jun 2001 23:55:59 EDT168_US-ASCII Tom, I agree with you.

Regards, Ed. DB2 Disaster Off-Site and On-Site Recovery Simplified and Automated http://www.recoveryknowledge.com



12618 17 28_Re: Timestamp in Load Module26_Edward(Ed) J. Finnell, III23_efinnell@SEEBECK.UA.EDU31_Sun, 10 Jun 2001 00:00:14 -0500476_- Run to www.cbttape.org and download file 172. The "PDS" command. It can do map, attributes, hist and sort on column fields. It's saved our bacon numerous times. 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. 12636 15 16_Re: Newsgroups??26_Edward(Ed) J. Finnell, III23_efinnell@SEEBECK.UA.EDU31_Sun, 10 Jun 2001 00:06:09 -0500408_- Dejanews sold their "intellectual rights and property" of the "bit" LISTs to www.google.com. 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. 12652 27 12_Re: cics/db211_Mike Turner29_Michael_Turner@COMPUSERVE.COM31_Sun, 10 Jun 2001 05:35:46 -0400408_ISO-8859-1 EXEC CICS SYNCPOINT performs a DB2 commit. EXEC CICS SYNCPOINT ROLLBACK performs a DB2 ROLLBACK.

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

Message text written by DB2 Data Base Discussion List >Since db2 does not allow commits in cics...(or maybe other way around)... does cics syncpoint force a commit in db2????

thanks.. < [...] 12680 133 36_Re: Re Re: SAP R/3 on DB2 vs. Oracle13_Adelino Regio28_adelino.regio@EDINFOR.EDP.PT31_Sun, 10 Jun 2001 11:27:40 +0100560_us-ascii Leslie

Wel I'm glad for you. It's always nice to find kind and humble people ready to share their knowledge.

My opinions are based on my experience. Did you know Oracle as well as you seem to know DB2? Did you ever perform recovery operations to a previous point in both Database Systems by using the mechanisms provided by these Database Systems? My initial mail was about the specific implementation of SAP R/3 on DB2 OS/390 vs Oracle. As of now our SAP R/3 DB2 installations require twice the effort of the Oracle installations. [...] 12814 39 28_Re: Timestamp in Load Module12_Gerald Hodge20_ghodge@ATTGLOBAL.NET31_Sun, 10 Jun 2001 06:42:04 -0500486_iso-8859-1 I went back and identified the original question. The Load module timestamp/consistency token is different from the module timestamp. The consistency token is defined during the precompile and inserted into the DBRM and the code resulting from the precompile. The bind of the DBRM places the consistency token into multiple places in the DB2 Catalog and Directory. The compiler optimizes the token uniquely to the compiler. Yes, C stores it differently from Cobol, etc. [...] 12854 99 43_Re: Bad Container Path - UDB EE V6.1 on AIX11_Judy Kibler21_judith.kibler@TRW.COM31_Sun, 10 Jun 2001 09:39:57 -0500297_us-ascii Hi Jenny,

I think I remember that we had the same problem. I am not sure if this is what fixed it for us, but try going to the /dev directory and make sure that the instance owner/group is the owner/group for the device.

Hope that helps! Judy







12954 126 21_Re: ddf stopping hung12_Isaac Yassin20_yassini@BEZEQINT.NET31_Sun, 10 Jun 2001 18:45:22 +0200517_big5 Hi, I use "F ssssIRLM,ABEND,NODUMP", only if it does not work (very rare) I use MVS cancel ...

Isaac Yassin DBMS & IT Consultant yassini@bezeqint.net ----- Original Message ----- From: "´ö½Òªø" Newsgroups: bit.listserv.db2-l To: Sent: Saturday, June 09, 2001 5:57 AM Subject: Re: ddf stopping hung



To everyone who says they "cancel IRLM" : Do you actually use an MVS Cancel command on it, or do you use the modify as recommended in the manual: [...] 13081 51 22_Re: question on update13_Daniel Turner28_daniel_turner@ALBERTSONS.COM31_Sun, 10 Jun 2001 10:24:02 -0600624_iso-8859-1 with type 2 indexes the locks that did exist on the index pages, now exist on the data pages. PGMB would still be locked.

-----Original Message----- From: Pudukotai, Nagaraj [mailto:Nagaraj.Pudukotai@BLR.HPSGLOBAL.COM] Sent: Saturday, June 09, 2001 1:19 AM To: DB2-L@RYCI.COM Subject: [DB2-L] question on update



Hi List

If you have a TYPE2 index IX1 on a table TAB1 and IX1 has columns col1 and col2. TAB1 has columns col1, col2, col3 and col4. If program PGMA is updating say col1 and col2 on a row say ROWA and has an X lock on the datapage (assuming LOCKSIZE page and no lock [...] 13133 174 33_Re: Question on Runstats Sampling12_Isaac Yassin20_yassini@BEZEQINT.NET31_Sun, 10 Jun 2001 19:35:22 +0200506_big5 Hi, I did not see any gain in samplig 25% instead of a full runstats. For us that was the break-even point . So if you want to gain use much less , but then your sampling may be too low. The sampling method needs to be much quicker.

Isaac Yassin DBMS & IT Consultant yassini@bezeqint.net ----- Original Message ----- From: "´ö½Òªø" Newsgroups: bit.listserv.db2-l To: Sent: Saturday, June 09, 2001 5:55 AM Subject: Re: Question on Runstats Sampling [...] 13308 78 59_Re: Immediate IMS and DB2 DBA Opportunity in Ft. Lauderdale12_Isaac Yassin20_yassini@BEZEQINT.NET31_Sun, 10 Jun 2001 19:36:39 +0200423_big5 That was on the list about 4 months ago ..... Isaac Yassin DBMS & IT Consultant yassini@bezeqint.net ----- Original Message ----- From: "´ö½Òªø" Newsgroups: bit.listserv.db2-l To: Sent: Saturday, June 09, 2001 5:56 AM Subject: Re: Immediate IMS and DB2 DBA Opportunity in Ft. Lauderdale



Would you really want to hire anyone gullible enough to believe this? [...] 13387 61 13_Re: DB2 & SMS12_Isaac Yassin20_yassini@BEZEQINT.NET31_Sun, 10 Jun 2001 19:37:52 +0200358_big5 Hi, Not only Catalog and Directory are out of SMS. All heavy hitters / I/O, important parallel are out as well. Isaac Yassin DBMS & IT Consultant yassini@bezeqint.net ----- Original Message ----- From: "´ö½Òªø" Newsgroups: bit.listserv.db2-l To: Sent: Saturday, June 09, 2001 5:56 AM Subject: Re: DB2 & SMS [...] 13449 67 38_Re: Trying to invoke Query Parallelism12_Isaac Yassin20_yassini@BEZEQINT.NET31_Sun, 10 Jun 2001 19:49:34 +0200676_big5 Hi, What happens when you use "reopt(vars)" ? Isaac Yassin DBMS & IT Consultant yassini@bezeqint.net ----- Original Message ----- From: "´ö½Òªø" Newsgroups: bit.listserv.db2-l To: Sent: Saturday, June 09, 2001 5:57 AM Subject: Trying to invoke Query Parallelism



> I have a LARGE tablespace (203 parts). The following query will access > data from 15 of these partitions based upon the value of MNTH: > > SELECT > PROD_CD, > COUNTRY_CD, > ADMIN_CD, > SERVICE_DATE, > CALLED_NUM, > BILL_DUR_SEC, > POST_CLOSE_IND > FROM #PENS.ENV_TRAF_DETL_INB > WHERE MNTH = ? > AND PART_DAY BETWEEN '01' AND '31' > AND PROD_CD [...] 13517 217 22_Re: Database holy war.12_Isaac Yassin20_yassini@BEZEQINT.NET31_Sun, 10 Jun 2001 20:42:00 +0200412_iso-8859-1 Hi, From my experience it looks like a competence problem. I'm used to 1:3 ratio 1 DB2 DBA per 3 ORACLE DBAs for the same workload.

Isaac Yassin DBMS & IT Consultant yassini@bezeqint.net ----- Original Message ----- From: "Adelino Regio" Newsgroups: bit.listserv.db2-l To: Sent: Friday, June 08, 2001 3:45 PM Subject: Re: Database holy war. [...] 13735 31 16_Re: Newsgroups??10_Fred Hanes17_f_hanes@YAHOO.COM31_Sun, 10 Jun 2001 14:29:17 -0700502_us-ascii --- "Edward(Ed) J. Finnell, III" wrote: > Dejanews sold their "intellectual rights and > property" of the "bit" LISTs to www.google.com. > 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. [...] 13767 36 22_Re: Database holy war.13_Adelino Regio28_adelino.regio@EDINFOR.EDP.PT31_Sun, 10 Jun 2001 23:12:25 +0100448_us-ascii Hi

This has nothing to do with the number of DBAs. We are using a 3:3 ratio. I guess we are being too optimistic.









Isaac Yassin @RYCI.COM> on 10-06-2001 19:42:00

Please respond to DB2 Data Base Discussion List

Sent by: DB2 Data Base Discussion List



To: DB2-L@RYCI.COM cc: Subject: Re: Database holy war. [...] 13804 29 55_Re: MS Access and DB2/OS390 Oddity - "No rows selected"10_Rob Wright17_rwright@LIC.CO.NZ31_Mon, 11 Jun 2001 12:06:05 +1200366_us-ascii Hi Gloria

Do you have a UNIQUE PRIMARY index defined on the tables that you want to update? Some front-end products such as MS-Access check for these to see if they have sufficient information to ensure uniqueness when inserting/updating rows. You can use the following catalog query to determine whether or not you have a UNIQUE PRIMARY index: [...] 13834 75 38_Re: Trying to invoke Query Parallelism16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Mon, 11 Jun 2001 09:59:49 +0530551_- Larry,

Try and see if REOPT(VARS) is feasible to you or not. If it is, your query should have the required accesspath during the incremental bind in run time. Only problem you could have is if the query is in loop and incremental bind occurs high number of times.

If this doesn't work, you can use the OLD technique(0=1) to disable the index access and then check the access path if same as desired by you or not. I don't even remember if the old technique still works but it should logically work for disabling the index access. [...] 13910 17 13_Re: sort heap15_Priyanka Deswal19_prdeswal@IN.IBM.COM31_Mon, 11 Jun 2001 04:20:30 +0000438_us-ascii I dont have the cluster certification guide.But I did go through the admin guide and it does not say anything how to calculate sort space from the dynexpln output.

Regards Priyanka

================================================ 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. 13928 80 28_Re: High Log Write Wait Time16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Mon, 11 Jun 2001 10:29:40 +0530447_- Hi Ashish ,

As per me, the keyword 'deferred' is because of the pages which are updated but not yet written(to disk). These pages are there in the 'deferred write queue' which should have been written during (V)DWTH. Since the checkpoint have been taken(before BP thresholds), DB2 will pick up those and write them to the disk (synch.) because during writes, no one should pick them for usage. This is the scenario for UPDATED page. [...] 14009 14 49_Peter Faller/HRD/Prudential is out of the office.12_Peter Faller27_peter.faller@PRUDENTIAL.COM31_Mon, 11 Jun 2001 01:22:47 -0400365_us-ascii I will be out of the office from 06/09/2001 until 06/14/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. 14024 73 38_Re: Number of Months Between Two Dates16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Mon, 11 Jun 2001 11:48:08 +0530652_big5 What if you try something like this :

SELECT YEAR(CURRENT DATE - 'your date') * 12 + MONTH(CURRENT DATE - 'your date') FROM SYSIBM.SYSDUMMY1

Month difference only takes month into account not the complete date and this is logical as well.

HTH Regards Sanjeev

> -----Original Message----- > From: A000896@MS.SKH.ORG.TW [SMTP:A000896@MS.SKH.ORG.TW] > Sent: Saturday, June 09, 2001 9:25 AM > To: DB2-L@RYCI.COM > Subject: Re: Number of Months Between Two Dates > > I did a test with the command below and i found problems: > > "Select month(current date - '2000-01-25') from sysibm.sysdummy1" . > > If the difference [...] 14098 59 70_Re: Partitioning parent/child should parts & key values be the sa me ?16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Mon, 11 Jun 2001 11:53:15 +0530554_- Robert,

I do not think practically partitioning can be done this way most of the time. It is better to look at the other benifits of choosing the best patitioning key rather than parent/child relations. This might not always give you the results as best way of partitioning.

As far as access of the child data in a RI kind of situation is concerned, i believe if DB2 uses the partitioning index on both the tables then the access will be better rather than choosing NPI on any one of them. This is mostly in case of the delete rules [...] 14158 19 14_Old Postings !16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Mon, 11 Jun 2001 11:57:44 +0530496_- Hi ,

How are we getting the e-mail posting of 2000 now. I believe the list moderators will be able to tell us. I found my mail box with more mails from e-mail id A000896@MS.SKH.ORG.TW and all of them are last year posting.

Regards Sanjeev

================================================ 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. 14178 38 22_Help on Reorg Criteria0_23_janakir@BLORE.TCS.CO.IN31_Mon, 11 Jun 2001 12:36:57 +0530392_us-ascii Hi,

I am new to DB2. I have the following query.

After a BMCSTATS run the following is one of the conditions being used for determining if Reorg is to be done or not on the tablespace.

(T1.FARINDREF + T1.NEARINDREF * 100 / T1.CARD > 0) -----> (I) OR (((T1.SPACE - T1.REORGSPACE) / (T1.SPACE * .01)) > -----> (II) (T1.SPACE / T1.EXTENTS) AND T1.EXTENTS > 1) [...] 14217 35 28_Re: High Log Write Wait Time10_Max Scarpa16_mscarpa@CESVE.IT31_Mon, 11 Jun 2001 09:54:38 +0200421_us-ascii Hi Sanjeev...

As far as I know a page that is IN-UPDATE (lato sensu) by an application during (in the middle of) a DB2 checkpoint is written SYNCRONOUSLY by application TCB (ie applications waits) ASAP, in contrast with all 'normal' pages externalization which is done under a 'classic' (ie standard DB2 externazation) async SRB (LOGLOAD reached ie checkpoint, active log switch, (V)DWQT, stop DB2). [...] 14253 27 15_Timestamp Issue13_Swamy, Ritesh30_Ritesh.Swamy@BLR.HPSGLOBAL.COM31_Mon, 11 Jun 2001 13:54:57 +0500594_- Hi Members,

I know it would sound a bit strange, but I need do get a timestamp value by reducing 1 second from another timestamp i.e TimestampB = timestampA - 1 second.

I wanted to know of someway of getting this done in DB2.

thx in adv, RiteshWARNING: The information in this message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in [...] 14281 86 28_Re: High Log Write Wait Time16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Mon, 11 Jun 2001 14:23:07 +0530620_- Max,

Nice to see the clear picture given by you. Still i have some issues which can be discussed. You are correct that the log externalization and pages externalization follow two different paths. And also about asynch. write of log buffers during its own threshold reached.

Coming down to the IN-UPDATE pages externalization, as you mentioned the pages which are updated after checkpoint and are not externalized between the 2 successive checkpoint(UOW is still running) will be forced. Agreed ! But, how will this condition occur ? How the 2 checkpoint passed when pages are not written to disk ? [...] 14368 12 19_Re: Timestamp Issue20_Dr. Matthias Wehrens29_matthias.wehrens@AM-GRUPPE.DE31_Mon, 11 Jun 2001 04:04:53 -0500355_- Are you searching for something like "select current timestamp - 1 seconds from sysibm.sysdummy1" ? That works!

================================================ 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. 14381 56 26_Re: Help on Reorg Criteria16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Mon, 11 Jun 2001 15:06:26 +0530570_- Is REORGSPACE some column in catalog table ? I don't think it is there upto V7 for OS/390.

Regards Sanjeev

> -----Original Message----- > From: janakir@BLORE.TCS.CO.IN [SMTP:janakir@BLORE.TCS.CO.IN] > Sent: Monday, June 11, 2001 12:37 PM > To: DB2-L@RYCI.COM > Subject: Help on Reorg Criteria > > Hi, > > I am new to DB2. I have the following query. > > After a BMCSTATS run the following is one of the conditions being used for > determining if Reorg is to be done or not > on the tablespace. > > (T1.FARINDREF + T1.NEARINDREF * 100 / T1.CARD > 0) [...] 14438 50 19_Re: Timestamp Issue16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Mon, 11 Jun 2001 15:08:59 +0530621_- You can do this by SQL,

SELECT TIESTAMP(:host-var-timestamp) - 1 SECONDS INTO ::new-host-var-timestamp FROM SYSIBM.SYSDUMMY1

Regards Sanjeev

> -----Original Message----- > From: Swamy, Ritesh [SMTP:Ritesh.Swamy@BLR.HPSGLOBAL.COM] > Sent: Monday, June 11, 2001 2:25 PM > To: DB2-L@RYCI.COM > Subject: Timestamp Issue > > Hi Members, > > I know it would sound a bit strange, but I need do get a timestamp value > by > reducing 1 second from another timestamp > i.e TimestampB = timestampA - 1 second. > > I wanted to know of someway of getting this done in DB2. > > thx in adv, > RiteshWARNING: [...] 14489 90 19_Re: Timestamp Issue13_Swamy, Ritesh30_Ritesh.Swamy@BLR.HPSGLOBAL.COM31_Mon, 11 Jun 2001 15:30:04 +0500473_iso-8859-1 Thx folks,

That should resolve my problem.

Actually I have just started working on DB2 and did not know about this. I was thinking that there would be some function like the dateadd(datepart,amt,date) function in Sybase which I could use in the following way tsB = dateadd(ss,-1,tsA)

regds, Ritesh



-----Original Message----- From: S, Sanjeev (CTS) To: DB2-L@RYCI.COM Sent: 06/11/2001 2:38 PM Subject: Re: Timestamp Issue [...] 14580 55 28_Re: High Log Write Wait Time10_Max Scarpa16_mscarpa@CESVE.IT31_Mon, 11 Jun 2001 13:01:17 +0200411_us-ascii Hi Sanjeev

I'm not sure I understood your questions, but the pages IN-UPDATE when checkpoint (DB2 checkpoint is driven by LOGLOAD parameter that is it depends on this value) occur are not externalized at checkpoint but they are written immediately (sync) as there is a RELPAGE issued by Data Manager. A page in IN-USE/IN-UPDATE between GETPAGE and a RELPAGE instruction, both issued by DM. [...] 14636 113 45_Re: DB2 on OS/390 - Tablespace in RESTP state17_Richard Cotterill24_rl_cotterill@BIGPOND.COM31_Mon, 11 Jun 2001 20:57:37 +1000597_us-ascii David, Just a straight Conditional Restart with Backout=NO would do. We ghd the same problem and that was the advice from IBM.

Richard

David Booher wrote:

> > > I had a situation happen where a transaction was in backout and there > was an error on an archive log that prevented the backout. DB2 > crashed and I brought it up with LBACKOUT=YES instead of > LBACKOUT=AUTO. This left the following state: > > INFLIGHT=0, IN ABORT=0, POSTPONED ABORT=1 > DSNR007I ) RESTART...STATUS TABLE 870 > T CON-ID CORR-ID AUTHID PLAN S URID DAY TIME > - -------- ------------ [...] 14750 113 28_Re: High Log Write Wait Time16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Mon, 11 Jun 2001 17:05:12 +0530439_- Hi Max,

If you are not, i am sure you have understood my points correctly. Now if i understood you, pages which are written in RELPAGE operation are only those which are mentioned in 3 points described by you i.e the pages which survived after 2 successive checkpoints. I may be wrong but as far as i know pages are written to disk in following situation:-- (I am mentioning any kind of pages writes be it synch. or asynch.) [...] 14864 37 25_Re: SYSSTMT/TEXT contents9_Colin Fay13_cfay2@CSC.COM31_Mon, 11 Jun 2001 07:44:38 -0400459_big5 Hi Erkki,

Nice to meet you at IDUG.

You are persistent. I would still be interested in the COBOL program. ALthough I feel I have found al the mismatches , I wouildn't hurt to double check.

Colin







´ö½Òªø @RYCI.COM> on 06/08/2001 11:54:44 PM

Please respond to DB2 Data Base Discussion List

Sent by: DB2 Data Base Discussion List [...] 14902 37 25_Re: SYSSTMT/TEXT contents9_Colin Fay13_cfay2@CSC.COM31_Mon, 11 Jun 2001 08:21:50 -0400469_big5 Hi Erkki,

I am realizing now that the listserv is sending out old messages??@?#? $?

I guess we should ignore this chatter, but it still stands that it was great meeting you at IDUG!!



Colin









´ö½Òªø @RYCI.COM> on 06/08/2001 11:54:44 PM

Please respond to DB2 Data Base Discussion List

Sent by: DB2 Data Base Discussion List [...] 14940 62 36_Error Message Cursor is already open20_Yasas Mallawarachchi14_yasas@SLIIT.LK31_Mon, 11 Jun 2001 17:07:33 +0600294_iso-8859-1 Hi Everyone,

I am using DB2/400 database in my windows application. I get the following error message and I don't know why it comes. My guess is it comes when I try to filter the table in my application.

Theeror message: "Cursor Already Open"

Thanks

Yasas 15003 48 18_Re: Old Postings !14_Richard Yevich26_Richard_Yevich@YLASSOC.COM31_Mon, 11 Jun 2001 07:59:38 -0500663_iso-8859-1 Was that the SENT date or the RECEIVED date? If sent date, anything is possible...They were all answers to current questions.

Regards, Richard +-----+-----+-----+-----+-----+ Richard_Yevich@YLAssoc.com YL&A - http://www.YLAssoc.com DB2 and Sysplex Gold Consultant Certified DB2 DBA for OS/390, z/OS



> -----Original Message----- > From: DB2 Data Base Discussion List [mailto:DB2-L@RYCI.COM]On Behalf Of > S, Sanjeev (CTS) > Sent: Monday, June 11, 2001 1:28 AM > To: DB2-L@RYCI.COM > Subject: Old Postings ! > > > Hi , > > How are we getting the e-mail posting of 2000 now. I believe the list > moderators will be able to tell [...] 15052 61 38_Re: Number of Months Between Two Dates11_David Nance16_DWNance@FHSC.COM31_Mon, 11 Jun 2001 09:13:14 -0400487_US-ASCII Marco, Since you are only asking for difference in months, all you will see is 4. You should check the year(s) as well. Try something like this:

SELECT (INT(SUBSTR(CHAR(CURRENT DATE - '2000-01-25'),2,4)) * 12) + INT(SUBSTR(CHAR(CURRENT DATE - '2000-01-25'),6,2)) FROM SYSIBM.SYSDUMMY1



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

>>> A000896@MS.SKH.ORG.TW 06/08/01 11:54PM >>> I did a test with the command below and i found problems: [...] 15114 99 58_Re: DB2 Connect V7 Automated Install using a Response File17_Jeremy Schleicher28_Jeremy_Schleicher@MAY-CO.COM31_Mon, 11 Jun 2001 08:19:59 -0500387_us-ascii Hello Robert,

We are using a response file to install the 7.1 clients. To my knowledge there is no way to turn off silent mode. What we are doing is having the file reboot the PC, that way the user will know that the install was completed. Also after the reboot have your users check the log file that gets created, it will tell you if the process was successfully. [...] 15214 31 32_SCA & Lock Structure Duplexing ?12_Paul Packham26_paul.packham@CONSIGNIA.COM31_Mon, 11 Jun 2001 14:16:06 +0000360_us-ascii Hi to everyone,

Our sysprogs has asked me to post the following question to the list. "Are there any plans in the pipeline to allow SCA & Lock Structure Duplexing similar to GBP duplexing which we got in DB2 V6.1". I've had a look at what's in V7 and there is no mention of this, however our esteemed system programmer is sure its coming. [...] 15246 81 15_Re: DB2 connect17_Jeremy Schleicher28_Jeremy_Schleicher@MAY-CO.COM31_Mon, 11 Jun 2001 08:25:19 -0500614_us-ascii Hello Tim,

I agree DataJoiner is still the best way to go. 7.1 does have federated databases which is similar to datajoiner and is going to be the replacement for it eventually. However, federated databases has major performance problems. Datajoiner applies the predicates at the data source machine in your case the os390 machine and only gets what it wants. Federated databases when joining more than one table it creates a union all among all the data sources, and brings down every row, to the federated database machine and then applies the predicates (this is exactly what the book says [...] 15328 25 28_Re: High Log Write Wait Time10_Max Scarpa16_mscarpa@CESVE.IT31_Mon, 11 Jun 2001 15:35:12 +0200566_us-ascii Hi Sanjeev

You understood my mail correctly. For WRITE PENDING status I mean the buffer write pending flag is 'on', not the instruction SET WRITE PENDING. as described at point 1). The page in this state has been RELPAGEd, waiting for a write event.

A a page may be in WRITE PENDING status waiting for a write event or may be in WRITE PENDING STATUS while it's IN-USE (you've multiple SET WRITE PENDING in the same page). And these pages may be COMMITed or not. Infact you may have buffer stealable even if the changes were not commited. [...] 15354 28 24_Secondary extent too big0_18_mebert@AMADEUS.NET31_Mon, 11 Jun 2001 15:41:06 +0200563_us-ascii Hello List,

I have this scenario in some partitions of a large TS (but happens elsewhere as well): DB2 PRIQTY 720, SECQTY 3600 (=1CYL/5CYLs). VSAM Primary Qty 1 Cyl, secondary Qty 5 Cyls (from LISTCAT). Used by DB2 45 tracks=3 Cyls. Allocated extents: 1st 1 Cyl, 2nd 6 Cyls (should be 5!!) I've noticed that this happens often - when extending, the secondary extent is one cyl too big - but it does not happen always. I have not found any pattern. Who has an idea what's going on? (It cannot be DB2 preformatting - I'm not using this option, [...] 15383 222 40_Re: SEGMENTED TABLESPACE PRIMARY EXTENTS16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Mon, 11 Jun 2001 19:22:38 +0530356_iso-8859-1 Hi Richard,

For example if you read the message below at the e-mail ids and posting dates at the end of this message. You will find the e-mail ids of DBAS. The date with e-mail id is 04/06/2000. This is with all the e-mail sent with this id. I remember this was discussed. Also the replies to all those mails are coming now as well. [...] 15606 224 57_OLD Posting ! -- FW: SEGMENTED TABLESPACE PRIMARY EXTENTS16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Mon, 11 Jun 2001 19:27:16 +0530516_iso-8859-1 Sorry for the wrong subject in my previous mail.....

> Hi Richard, > > For example if you read the message below at the e-mail ids and posting > dates at the end of this message. You will find the e-mail ids of DBAS. > The date with e-mail id is 04/06/2000. This is with all the e-mail sent > with this id. I remember this was discussed. Also the replies to all those > mails are coming now as well. > > Again, i have also found a mail titles "Global Temp Table" which contains > my e-mail id [...] 15831 66 36_Re: SCA & Lock Structure Duplexing ?14_Richard Yevich26_Richard_Yevich@YLASSOC.COM31_Mon, 11 Jun 2001 08:55:19 -0500668_iso-8859-1 V6 late APAR allows Lock Structure duplexing.

Regards, Richard +-----+-----+-----+-----+-----+ Richard_Yevich@YLAssoc.com YL&A - http://www.YLAssoc.com DB2 and Sysplex Gold Consultant Certified DB2 DBA for OS/390, z/OS



> -----Original Message----- > From: DB2 Data Base Discussion List [mailto:DB2-L@RYCI.COM]On Behalf Of > Paul Packham > Sent: Monday, June 11, 2001 9:16 AM > To: DB2-L@RYCI.COM > Subject: SCA & Lock Structure Duplexing ? > > > Hi to everyone, > > Our sysprogs has asked me to post the following question to the > list. "Are there > any plans in the pipeline to allow SCA & Lock Structure Duplexing > similar to [...] 15898 81 36_Re: SCA & Lock Structure Duplexing ?0_19_Tim.Lowe@STPAUL.COM31_Mon, 11 Jun 2001 09:01:25 -0500356_us-ascii Paul, According to presentation M29, "DB2 UDB for OS/390 Data Sharing Update" at the DB2 Tech conference last October, Lock/SCA duplexing is something that they are looking at for "beyond V7". My notes from this presentation say that "MVS is working on duplexing, so we will not need to handle this. We will use this for lock/SCA duplexing". [...] 15980 46 28_Re: Secondary extent too big21_Sevetson, Phil L B22723_Phil.Sevetson@CIGNA.COM31_Mon, 11 Jun 2001 10:19:52 -0400425_us-ascii I'd encountered a similar phenomenon with a former employer, but it wasn't limited to DB2; QSAM had similar problems. I couldn't get the DASD management team to take it seriously. If your problem isn't confined to DB2 Tablespaces, it may be a file-allocation-routine bug, and it would be worth your while to call IBM about their OS/390 file allocation routines. It _may_ be just a maintenance patch. (We hope.) [...] 16027 113 36_Re: SCA & Lock Structure Duplexing ?14_Richard Yevich26_Richard_Yevich@YLASSOC.COM31_Mon, 11 Jun 2001 09:31:12 -0500688_iso-8859-1 Update: SCA duplexing is V7, and Lock Structure duplexing is a late APAR to V6 according to the latest info I have from IBM.

Regards, Richard +-----+-----+-----+-----+-----+ Richard_Yevich@YLAssoc.com YL&A - http://www.YLAssoc.com DB2 and Sysplex Gold Consultant Certified DB2 DBA for OS/390, z/OS



> -----Original Message----- > From: DB2 Data Base Discussion List [mailto:DB2-L@RYCI.COM]On Behalf Of > Tim.Lowe@STPAUL.COM > Sent: Monday, June 11, 2001 9:01 AM > To: DB2-L@RYCI.COM > Subject: Re: SCA & Lock Structure Duplexing ? > > > Paul, > According to presentation M29, "DB2 UDB for OS/390 Data Sharing Update" at > the DB2 Tech conference last [...] 16141 110 36_Re: SCA & Lock Structure Duplexing ?12_Paul Packham26_paul.packham@CONSIGNIA.COM31_Mon, 11 Jun 2001 15:34:02 +0000582_us-ascii Thanks Richard,

I don't suppose you know the APAR Number ?

Regards, Paul







Please respond to Richard_Yevich@YLAssoc.com



To: DB2-L@RYCI.COM cc: (bcc: Paul Packham/e/POSTOFFICE) Hard Copy To: Hard Copy cc:

Date: 11/06/2001 13:55

From: Richard Yevich @RYCI.COM>

Sent by: DB2 Data Base Discussion List



Subject: Re: SCA & Lock Structure Duplexing ?









V6 late APAR allows Lock Structure duplexing. [...] 16252 22 28_Re: Secondary extent too big10_Max Scarpa16_mscarpa@CESVE.IT31_Mon, 11 Jun 2001 16:46:24 +0200419_us-ascii ARe you using DFSMS 1.5. There's an APAR:

OW46577





For space calculation. I don't know if this is the case....

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. 16275 72 28_Re: Secondary extent too big9_Al Heiden31_alheiden@NORTHWESTERNMUTUAL.COM31_Mon, 11 Jun 2001 09:49:00 -0500414_ISO-8859-1 We have seen this in the past. It happened when we upgraded OS/390 last year (I think to V2.9, but I may be wrong on the version).

The problem was in allocating secondary extents when using SMS managed DB2 datasets.

There is a PTF to OS/390 that our systems people eventually applied that corrected this problem. I am not sure what the PTF is, but you could check IBMLINK to find it. [...] 16348 113 23_Re: NOT CATLG 2 PROBLEM15_Slot, JP (Jaap)23_J.P.Slot@RF.RABOBANK.NL31_Mon, 11 Jun 2001 16:43:52 +0200671_iso-8859-1 Dennis,

Cant you do a disp=(MOD,DELETE) upfront, this would solve your not catlg 2.

Regards,

Jaap Slot

*Mod,delete = delupdel ;-)

-----Original Message----- From: A000896@MS.SKH.ORG.TW [mailto:A000896@MS.SKH.ORG.TW] Sent: Saturday, June 09, 2001 5:57 AM To: DB2-L@RYCI.COM Subject: Re: NOT CATLG 2 PROBLEM

Hi Dennis,

I don't understand by the meaning of fix in this context. You are trying to catalog a dataset which is already there and so such message is issued. We are also running the same version you have and my apps hit this problem once a while as they do not delete the previous dataset or do not [...] 16462 131 58_Re: DB2 Connect V7 Automated Install using a Response File12_Hall, Robert25_Robert.Hall@OCC.TREAS.GOV31_Mon, 11 Jun 2001 11:20:51 -0400612_iso-8859-1 Thanks Jeremy.

How did you report your problem to IBM? I just received my Lotus Passport Advantage and I noticed that we didn't purchase support (just the SW subscription), so I'm guessing I don't have a way to report bugs.

After some experimentation, I discovered that the problem is with the FILE parameter in the response file. If I comment out the FILE parameter (the install directory path then defaults to \program files\sqllib), I can run the install as many times as I like without problems. If however, I specify the FILE parameter with a directory, the install only works [...] 16594 209 31_Pipeline Newsletter - June 200114_Campbell White20_cwhite@REVEALNET.COM31_Mon, 11 Jun 2001 09:24:01 -0400455_us-ascii The June Issue of the Pipeline Database Technology Newsletter is now available in a new and improved format. Here's your link:

http://revealnet.com/newsletter-v2/newsletter_0601.htm

INSIDE THE JUNE ISSUE:

DB2 Technology Articles:

- Implementing STAR Joins, RevealNet Knowledge Base Topic - Using the CASE Statement to Produce a Summary Report, by Lee Hayden - Lee Hayden, Robert Jans Join DB2 Pipeline SYSOP Team [...] 16804 56 40_Re: SEGMENTED TABLESPACE PRIMARY EXTENTS14_Richard Yevich26_Richard_Yevich@YLASSOC.COM31_Mon, 11 Jun 2001 10:24:12 -0500431_iso-8859-1 The ListServer managers will look into this. I have no idea how this can occur since the old stuff is archived, and not in the mailboxes.

But before we go further, let's keep this offline so we don't start a long thread online.

Regards, Richard +-----+-----+-----+-----+-----+ Richard_Yevich@YLAssoc.com YL&A - http://www.YLAssoc.com DB2 and Sysplex Gold Consultant Certified DB2 DBA for OS/390, z/OS [...] 16861 160 23_Re: NOT CATLG 2 PROBLEM0_19_csutfin@AMSOUTH.COM31_Mon, 11 Jun 2001 10:24:41 -0500397_us-ascii By using DISP=(MOD,DELETE) in the step were you are creating the data set, you will actually add data to the end of the data set, not overwrite what is there.

If you put an IEFBR14 step using DISP=(MOD,DELETE) as the first step of the job, You can eliminate the problem. This way you delete and uncatalogue any existing data and then start over in the actual processing step. [...] 17022 161 36_Re: SCA & Lock Structure Duplexing ?12_Susan Lawson22_lawson_susan@YAHOO.COM31_Mon, 11 Jun 2001 08:26:37 -0700587_us-ascii Paul,

The APAR # is PQ45407

Regards, Susan Lawson --- Paul Packham wrote: > Thanks Richard, > > I don't suppose you know the APAR Number ? > > Regards, Paul > > > > > Please respond to Richard_Yevich@YLAssoc.com > > > To: DB2-L@RYCI.COM > cc: (bcc: Paul Packham/e/POSTOFFICE) > Hard Copy To: > Hard Copy cc: > > Date: 11/06/2001 13:55 > > From: Richard Yevich > @RYCI.COM> > > Sent by: DB2 Data Base Discussion List > > > > Subject: Re: SCA & Lock Structure Duplexing ? > > > > > > V6 [...] 17184 159 58_Re: DB2 Connect V7 Automated Install using a Response File17_Jeremy Schleicher28_Jeremy_Schleicher@MAY-CO.COM31_Mon, 11 Jun 2001 10:54:56 -0500418_us-ascii Robert,

I opened a PMR with IBM, I also sent an email to the guy at IBM who did the session at IDUG regarding response files. IBM said to talk to Microsoft.





From: "Hall, Robert" @RYCI.COM> on 06/11/2001 10:20 AM

Please respond to DB2 Data Base Discussion List

Sent by: DB2 Data Base Discussion List [...] 17344 82 13_Re: DB2 & SMS11_Mark Turner29_mark.turner@UCDMC.UCDAVIS.EDU31_Mon, 11 Jun 2001 08:56:05 -0700426_big5

Interesting comments. Could you elaborate on "performance problems" (Device contention, cache hits)?

With the advent of RAID and other storage systems (RAMAC, ICEBERG, HDS), that no longer map 1 logical to 1 physical volume, I find that it is darn near impossible to figure out where your data is physically placed within the storage subsystem regardless of whether you use SMS or DB2 storage groups. [...] 17427 193 23_Re: NOT CATLG 2 PROBLEM14_Jack O'Connell26_jack.oconnell@MCMASTER.COM31_Mon, 11 Jun 2001 11:23:53 -0500465_- If the dataset already exists, are you sure you should be deleting it? GDGs(generation datasets) maybe more helpful. If not, the prior suggestion is correct. However, the dataset may or may not exist prior. The mod,delete will only work if the dataset exists, or if you also supply DCB attributes as well so the dataset is allocated and deleted if it does not exist prior to the IEFBR14. The DCB does not have to match the actual dataset, but must be valid. [...] 17621 22 44_DB2 CICS RDO - Defining new transactions to.11_Cliff Boley32_Maurice.C.BOLEY@ODOT.STATE.OR.US31_Mon, 11 Jun 2001 09:46:27 -0700351_iso-8859-1 Well, I'm stumped, I've tried to define a new transaction to the RDO, CEDA DEF DB2TRAN(XXXX). It looks like the tran is defined but I get a abend when I try to use it. I can't find it using a CEMT I DB2TRAN but it looks like it there using a CEDA DIS DB2TRAN(XXXX) ?? Our CICS guy set up the RDO the first time but he's out this week. [...] 17644 123 48_Re: DB2 CICS RDO - Defining new transactions to.15_Zander, Barb J.19_bzander@STATE.ND.US31_Mon, 11 Jun 2001 12:00:28 -0500456_iso-8859-1 Cliff, When you created the DB2TRAN did you point to an existing DB2ENTRY? You either need to point to an existing one or create a new one. The DB2ENTRY is the definition that points to the name of the plan you want to use.

Barb

-----Original Message----- From: Cliff Boley [mailto:Maurice.C.BOLEY@ODOT.STATE.OR.US] Sent: Monday, June 11, 2001 11:46 AM To: DB2-L@RYCI.COM Subject: DB2 CICS RDO - Defining new transactions to. [...] 17768 51 48_DB2 Connect Automated Install with Response File14_Philip Gunning24_Philip.Gunning@QUEST.COM31_Mon, 11 Jun 2001 10:03:39 -0700435_- Robert, Doesn't look like you got my previous email. We used a VB program to kick off the install and monitor it's progress. You can read the log that the install program creates plus there is another file(I forget the name)created and you can access the list of threads running. We also sent messages to the user via the VB program and had a progress bar and sent a nessage to the screen when the install was complete. Regards, Phil 17820 36 48_Re: DB2 CICS RDO - Defining new transactions to.26_Edward(Ed) J. Finnell, III23_efinnell@SEEBECK.UA.EDU31_Mon, 11 Jun 2001 12:11:48 -0500425_- I use the Fullscreen stuff, so not familiar with the line commands.

===>CEDA DI

Then get a prompt for Group===>* and down a few lines for TRANs===>XXXX

If there's only one, we're OK. Select V to view or A to alter. If everything "looks" OK. Then need to do an I for install by XXXX. Should get INSTALL Successful message in reply> What about the program the transaction is calling? Same gyration. [...] 17857 58 48_Re: DB2 CICS RDO - Defining new transactions to.11_Cliff Boley32_Maurice.C.BOLEY@ODOT.STATE.OR.US31_Mon, 11 Jun 2001 10:30:04 -0700366_iso-8859-1 Ah ha, the Install was the part I was missing. I tried it and the tran works fine. Thanks Ed and Barb for you quick responses. cliff:-)

-----Original Message----- From: Edward(Ed) J. Finnell, III [mailto:efinnell@SEEBECK.UA.EDU] Sent: Monday, June 11, 2001 10:12 AM To: DB2-L@RYCI.COM Subject: Re: DB2 CICS RDO - Defining new transactions to. [...] 17916 120 48_Re: DB2 CICS RDO - Defining new transactions to.15_Zander, Barb J.19_bzander@STATE.ND.US31_Mon, 11 Jun 2001 12:37:50 -0500627_iso-8859-1 Cliff, As Ed mentioned,remember to do the CEDA INSTALL of the DB2TRAN it will not show in the CEMT command until it is installed.

Barb



-----Original Message----- From: Cliff Boley [mailto:Maurice.C.BOLEY@ODOT.STATE.OR.US] Sent: Monday, June 11, 2001 11:46 AM To: DB2-L@RYCI.COM Subject: DB2 CICS RDO - Defining new transactions to.



Well, I'm stumped, I've tried to define a new transaction to the RDO, CEDA DEF DB2TRAN(XXXX). It looks like the tran is defined but I get a abend when I try to use it. I can't find it using a CEMT I DB2TRAN but it looks like it there using a [...] 18037 50 70_Re: Partitioning parent/child should parts & key values b e the same ?21_Sevetson, Phil L B22723_Phil.Sevetson@CIGNA.COM31_Mon, 11 Jun 2001 09:48:35 -0400401_us-ascii Bob,

What I was taught, and I admit not having questioned it because it made sense, was that Keys should, where possible, be the same in different partitioned tables if possible. This would minimize contention in the event that query parallelism were invoked, and would minimize the number of datasets involved in locking and escalations where joins are done (on the key values). [...] 18088 20 25_Stored Procedure question13_Villa Horacio17_hvilla@TTI.COM.AR31_Mon, 11 Jun 2001 14:44:16 -0300482_iso-8859-1 Sorry if you get this twice.

> Hi, > is it possible from a CICS program already accessing a DB2 subsystem on > OS/390 to call a stored procedure on a remote database, perhaps on Windows > 2000? How? > TIA > Horacio Villa >

================================================ 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. 18109 23 25_Re: V7 *WEIRD* blocksize.0_17_JTonchick@AOL.COM29_Mon, 11 Jun 2001 14:04:49 EDT361_US-ASCII I know of no reason why you cannot use a more "DASD friendly" blocksize than 32760. I use 1/2 track blocking for both DB2 & IMS load libraries on the systems I manage. You're dealing with the OS/390 linkage editor/binder when you install software. It's been a long time since I encountered software that hardcoded loadlib blocksizes in it's code. [...] 18133 89 28_DB2 on AS400 Backup/Recovery15_Zander, Barb J.19_bzander@STATE.ND.US31_Mon, 11 Jun 2001 13:16:17 -0500544_iso-8859-1 Hi, We are implementing our first application on a AS/400. Our AS/400 systems programmer says that you have to use the AS/400s journals to do backup and recovery. I am just wondering if there are more options. Doesn't DB2 have any utilities on the AS/400 (ie. image copy, recover)? Wouldn't that be faster than reading thru all the journals and undoing everything that has been done? This just doesn't seem right to me especially for a point in time recovery. Is there some internet documentation I could look at for more info? [...] 18223 171 32_Re: DB2 on AS400 Backup/Recovery12_Novak, Frank21_FNovak@SCHOLASTIC.COM31_Mon, 11 Jun 2001 14:44:31 -0400415_- DB2 on the AS/400 is not the same ad DB2 on other platforms. It is build into the OS, thus you will need to use the OS utilities. On advantage is that you can do both record level processing and SQL processing on the same tables. Also only when you issue a create collection will the tables be automatically journalized. If create a schema within a library you will need to request journalizing from the OS. [...] 18395 153 23_Re: Pessimistic Locking19_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Mon, 11 Jun 2001 13:45:48 -0500607_ISO-8859-1 Hi Sanjeev, Edward, Sanjeev, please note Edward's email on this subject. And thank you Edward for your time and experience. I, like Edward, had first gone for just stampimg the rows involved in locking as the least painful way of achieving partial pessimistic locking; thus obtaining a compromise between full pessimistic locking and performance. But, alas, I found out the user wants full locking or as close to it that we can get given their requirements. So, I figured I'd need a lock table associated with any table in the DB that might become involved with pessimistic locking; kind of [...] 18549 70 25_Re: V7 *WEIRD* blocksize.11_Mark Turner29_mark.turner@UCDMC.UCDAVIS.EDU31_Mon, 11 Jun 2001 11:44:16 -0700417_us-ascii Doesn't the linkage editor/binder write undefined length records UP TO the specified blocksize, thus allowing it to write 1 32k block and a short block to the remainder of the track? If so, this would yield very high track utilization and low EXCPs...

Regards,

Mark Turner Systems Programmer UC Davis Medical Health Systems ---------------------------------------------------------------- [...] 18620 35 16_Re: DB2 security18_Shockley, Connie M26_connie.m.shockley@LMCO.COM31_Mon, 11 Jun 2001 14:50:29 -0400470_windows-1252 Look in the CA-Top Secret(R) Implementation: Other Interfaces Guide, section 4. xxxxDIST needs to be added to STC record and have an ACID associated with it. Define a facility for DB2/DDF. Give the xxxxDIST ACID a MASTFAC of the defined facility. If all else fails call CA. We use Top Secret IBMGROUPs just as you would use RACF Secondary Groups. We have made no changes to the exits provided by IBM. You will also need the DSNR resource group. Connie [...] 18656 172 23_Re: Pessimistic Locking19_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Mon, 11 Jun 2001 14:07:42 -0500605_ISO-8859-1 Hi Mark, Thanks for your suggestions. And yes, we've realized, as you did, that we'll need some cleanup jobs, etc. I can feel your pain!

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 [...] 18829 50 25_Re: V7 *WEIRD* blocksize.16_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM31_Mon, 11 Jun 2001 15:07:07 -0400335_iso-8859-1 Jim, Here is the *really* weird part. We allocated an SDSNLOAD at blksize=6144. This should allow 8 blocks per track or 49,152 used bytes. 32,760 allows 1 block per track or 32,760 used bytes.

Surprise!!! The 'inefficient' 32,760 used *much* less space than the 6144! I have not yet tested 32,760 vs half-track. [...] 18880 81 24_db2 installation problem7_Ask Db218_askdb2@HOTMAIL.COM31_Mon, 11 Jun 2001 15:01:29 -0400532_Windows-1252 New Page 1Hi everyone,

I am having some problem when I am trying to install DB2 V 6.02 on an NT server. At some point during the setup program it asks to create a db2admin(for DB2 Administration) account. If the setup does not find a existing user with this name then it will create one by itself. This works fine when I installed DB2 on 2 of the NT servers. But one of the machines does not create a new user nor it sees the one which I create manually. At this point setup gives a error 'Unable to create [...] 18962 108 28_Re: db2 installation problem14_Philip Gunning24_Philip.Gunning@QUEST.COM31_Mon, 11 Jun 2001 12:41:45 -0700360_iso-8859-1 Smit, I have run into this problem when intalling DB2 on Windows NT 4.0 where it was a stand alone server, not a PDC or BDC. I had to specify the domain name in the box with the password, like BOSDOM2\DB2ADMIN. HTH Phil

-----Original Message----- From: Ask Db2 To: DB2-L@RYCI.COM Sent: 6/11/01 12:01 PM Subject: db2 installation problem [...] 19071 199 44_Re: Identity column and PTF UQ38405 CATMAINT12_Scott Jewell21_sjewell@FREDMEYER.COM31_Mon, 11 Jun 2001 13:10:05 -0700338_iso-8859-1 Hi Jean,

Thanks for the input. I'll be sure to run DSNTIJPM.

The HOLDDATA refers me to the install job DSNTIJTC, step DSNTITC, which is your basic CATMAINT execution.

You're right about the doc for CATMAINT, just not much to say about it I guess. I wonder how CATMAINT knows what I expect from it.... [...] 19271 216 23_Re: Pessimistic Locking0_22_Rohn.Solecki@MTS.MB.CA31_Mon, 11 Jun 2001 15:15:41 -0500601_us-ascii We used to use a similar mechanism on an old hierachical DB in a pseudo conversational application. But rather than pessimistic locking we used pessimistic update (?). Each record had a "current ID number" CURIDF which was NOT part of any key. At initial read for display to user that number was noted. The user made their changes (inserts/updates/deletes) then the changes were sent to the DB for processing. The first thing done was another read of the record and the starting CURIDF was compared to current CURIDF. If they matched, the updated proceded. If not, then someone else had [...] 19488 80 25_Re: V7 *WEIRD* blocksize.15_Billings, Linda30_linda.billings@DOA.STATE.WI.US31_Mon, 11 Jun 2001 15:17:28 -0500365_iso-8859-1 Hi, Eric, That is because of the inter-block gaps that exist between blocks. This would add to the total space consumed by the library. There would be significantly more of them with 6144 block sizes than with 32,760 block sizes.

Linda Billings Enterprise Systems Programmer State of Wisconsin Department of Administration Info-Tech Services [...] 19569 25 39_What the best way to resolve this error14_Zobjeck, A. J.18_Al_Zobjeck@TTX.COM31_Mon, 11 Jun 2001 15:19:14 -0500602_iso-8859-1 I have a ddf application that is getting the following: Any ideas?

13.44.57 STC05835 DSNL032I ¢ DSNLCRTD DRDA EXCEPTION CONDITION IN REQUEST FROM REQUESTOR LOCATION= FOR THREAD WITH LUWID=USTTXA01.LUNT5307.07D1060B0A0C

REASON=00D3101B ERROR ID=DSNLCRTD0001

IFCID=0192 SEE TRACE RECORD WITH IFCID SEQUENCE NUMBER=00000001

===============================================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. 19595 23 25_Re: V7 *WEIRD* blocksize.26_Edward(Ed) J. Finnell, III23_efinnell@SEEBECK.UA.EDU31_Mon, 11 Jun 2001 15:21:23 -0500308_- Remember we're talking about RECFM=U(unformatted). So it's up to the Binder or Utility to handle the blocking/deblocking. Think the average record of a load module is only about 2K and it packs them in as best it can. Some of the newer products have a post installation step to "reblock" the library. [...] 19619 240 23_Re: Pessimistic Locking11_Robert Jans26_robert_jans@ALBERTSONS.COM31_Mon, 11 Jun 2001 13:31:53 -0700289_iso-8859-1 Okay, at the risk of showing my ignorance (which I do have in good supply at times), can someone explain in words of one syllable what is pessimistic locking? Or point me to some documentation on what it is, how it works and what type of application could benefit from it? [...] 19860 225 23_Re: Pessimistic Locking0_19_Tim.Lowe@STPAUL.COM31_Mon, 11 Jun 2001 16:01:24 -0500607_us-ascii Rick, In reading through this, I am concerned about 2 things: First, that the extra Commits after inserting into the locking tables might accidentally commit other data. Second, that the Lock table in exclusive mode described below could create a bottleneck for your system.

Is it possible for you to select from the locking table WITH UR before you insert instead of doing extra commits after the insert? I was just thinking that perhaps this could resolve both problems without creating any waits. The worst case would be if the read returned a notfound using UR, and a wait occurred [...] 20086 40 16_Re: DB2 security12_BOB JEANDRON21_BOB.JEANDRON@USDA.GOV31_Mon, 11 Jun 2001 16:06:00 -0400588_- Get your Top Secret admin. to run a violation report on everything during the interval you are attempting to bring up DIST. >>> DB2-L@RYCI.COM@inter2 06/11/01 01:50PM >>> Look in the CA-Top Secret(R) Implementation: Other Interfaces Guide, section 4. xxxxDIST needs to be added to STC record and have an ACID associated with it. Define a facility for DB2/DDF. Give the xxxxDIST ACID a MASTFAC of the defined facility. If all else fails call CA. We use Top Secret IBMGROUPs just as you would use RACF Secondary Groups. We have made no changes to the exits provided by IBM. You will [...] 20127 30 17_Oracle Challenge?11_Bill Happel22_WRHappel@US.FORTIS.COM31_Mon, 11 Jun 2001 16:16:34 -0500735_US-ASCII This is another DB2 vs Oracle vs MS SQLServer thread.

Has anyone taken or does anyone know someone who has taken the Oracle $1,000,000-We-Are-3-Times-Faster-Challenge?

I am not quite sure what the gimmick is?



**************************************************************** Please Note The information in this E-mail message is legally privileged and confidential information intended only for the use of the individual(s) named above. If you, the reader of this message, are not the intended recipient, you are hereby notified that you should not further disseminate, distribute, or forward this E-mail message. If you have received this E-mail in error, please notify the sender. Thank you [...] 20158 19 25_Re: Performance of MODIFY9_Jim Ruddy18_jaruddy@US.IBM.COM31_Mon, 11 Jun 2001 17:31:44 -0500332_- The easiest way to improve the performance of MODIFY is to apply APAR PQ45184 - the PTFs to watch for are UQ54741 for V5, UQ54742 for V6, or UQ54743 for V7. We have measured roughly a 24 TIMES performance improvement where there are 7,476 tablespace related SYSCOPY records to remove from a total of 975,341 SYSCOPY records. [...] 20178 24 17_-440 during bind.15_Philip, Sibimon20_SPhilip@CSXLINES.COM31_Mon, 11 Jun 2001 18:58:46 -0400527_iso-8859-1 I have defined a stored procedure in DB2 like TEST.SP1 with owner OWNER1. When a I bind a calling program with PATH(TEST) and stored procedure name SP1, I get -440. If I delete and redefine the same procedure like TEST.SP1 with owner TEST. The calling program bind goes through. Any idea about. I think I had posted this earlier, but did not get any reply. Any fix for this. Now we need to do a set current sqlid = 'TEST' before creating the stored procedure in order to call it from a mainframe Cobol program. [...] 20203 55 22_Re: dynamic vs. static12_Cianci, Nick28_Nick.Cianci@TEAM.TELSTRA.COM31_Tue, 12 Jun 2001 09:17:10 +1000488_- An issue we found with dynamic about 1/2 a year ago took us by surprise.

We found that with some complex DYNAMIC SQL most of the elapsed times was being used in the Prepare. Although I don't have the figures at hand, if I remember correctly it was something like 30-40 seconds of prepare time for 2-5 second execution. Using techniques, to re-write the query, so as to disable some of the permutation & combinations of access paths, saw a significant drop in prepare times. [...] 20259 60 21_Re: -440 during bind.10_teldb2kals22_teldb2kals@TELSTRA.COM31_Tue, 12 Jun 2001 10:01:32 +1000519_us-ascii Sibi,

I am just guessing, but its possible that the id (TEST) u r using to bind the calling pgm doesnt have authority to execute the stored procedure. In that case, and if u have validate(bind), the bind might fail because it was not able to find an authorised proc.

In ur case, since u defined the procedure initially with OWNER1, only OWNER1 has execute authority to the proc. So then u will have to GRANT EXECUTE access to TEST. (Generally I prefer to have the schema and owner the same) [...] 20320 70 21_Re: Oracle Challenge?13_Morrill, John12_JohnM@VP.NET31_Mon, 11 Jun 2001 18:23:29 -0600316_- Greetings!

My memory is a bit hazy, but as I remember the gimmick was:

1. Your application had to fit a "profile" (So your Message of the Day Application was not going to bring you a $1,000,000).

2. You had to buy everything Oracle told you to buy, including lots of consulting services. [...] 20391 31 21_Re: Oracle Challenge?14_Joel Goldstein29_joel_goldstein@COMPUSERVE.COM31_Mon, 11 Jun 2001 20:41:37 -0400436_ISO-8859-1 Message text written by DB2 Data Base Discussion List >Has anyone taken or does anyone know someone who has taken the Oracle $1,000,000-We-Are-3-Times-Faster-Challenge?

I am not quite sure what the gimmick is?<

++++++++++++++++++++++++++++++++++++ The gimmick is/was...... the client pays Oracle to convert them to Oracle, that probably costs them more than a Mill.....then they pay software license fees, [...] 20423 66 70_Re: Partitioning parent/child should parts & key values be the sa me ?15_Bell, Raymond W31_Raymond.W.Bell@TEAM.TELSTRA.COM31_Tue, 12 Jun 2001 13:05:20 +1000571_- Hi A000896 (just kidding, Robert),

Want a quick answer? Not necessarily, and no, in that order. I guess it doesn't really matter what the primary key of the child table is, you can still cluster - and, by implication, partition - on the foreign key to the parent if you want. It's probably down to the same issues used to determine clustering. Are you going to process child rows sequentially in foreign key sequence? If so, clustering by it might help. Whether you keep the same key ranges as for the parent is, I suspect, academic. I'd imaging the ranges [...] 20490 44 48_why cannot i find the BSDS on archieve log tape?5_elibs17_elibs@NETEASE.COM31_Tue, 12 Jun 2001 11:34:42 +0800222_gb2312 Hi,list: I want to recovery the BSDS from the DB2 archieve log.But I canot find the DSN.ARCHLOG1.B0000001 on the tape.Since I am new to DB2.could someone kindly help me?

thanks in advance

Larry

20535 45 63_why cannot find the BSDS archieve on the db2 archieve log tape?5_elibs17_elibs@NETEASE.COM31_Tue, 12 Jun 2001 11:41:24 +0800222_gb2312 Hi,list: I want to recovery the BSDS from the DB2 archieve log.But I canot find the DSN.ARCHLOG1.B0000001 on the tape.Since I am new to DB2.could someone kindly help me?

thanks in advance

Larry

20581 42 13_Re: OLR issue15_Bell, Raymond W31_Raymond.W.Bell@TEAM.TELSTRA.COM31_Tue, 12 Jun 2001 13:49:56 +1000325_- Sorry, Michael. Should have twigged that the offline recovery method using an IC was DSN1COPY. As I'm not really employed as a DBA here (and boy, I can't tell you enough how much fun _that_ is) I'm getting a guy here to send me the APAR text from IBMLink for my own info. Nasty if, indeed, the RBA is wrong in the IC. [...] 20624 14 21_Re: Oracle Challenge?0_17_JTonchick@AOL.COM29_Tue, 12 Jun 2001 00:03:11 EDT361_US-ASCII Of course Oracle saved a billion dollars.. they didn't charge themselves their by their new pricing structure.

================================================ 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. 20639 37 27_Summary Table & Performance11_Endy Lambey20_endyl@CENTRIN.NET.ID31_Tue, 12 Jun 2001 11:39:47 +0700365_- Dear all,

In our shop, we have one transaction table with more than 1 mill rows. The data are in details with PK in Date, AU_ID, OU_ID. Is it possible to enhance the query performance if we create 2 summary tables, each summed monthly ( Month(date) ), 1st by AU_ID, and 2nd by OU_ID. Will the Optimizer scan both summary tables when we're accessing ? [...] 20677 39 67_Re: why cannot find the BSDS archieve on the db2 archieve log tape?10_Max Scarpa16_mscarpa@CESVE.IT31_Tue, 12 Jun 2001 08:52:02 +0200445_us-ascii BSDS backup is the first file in an archive log. The name is :

hlq.ARCHLOGn.Dyyddd.Thhmmsst.axxxxxx

where:

hlq VSAM catalog high level qualifier

ARCHLOG Standard part of the name

n Archive log copy, 1 or 2

Dyyddd Date, yy=year (2 or 4 digits), ddd=day of year

Thhmmsst Time, hh=hour, mm=minute, ss=seconds, t=tenths

a A=Archive log, B=BSDS backup

xxxxxx File sequence [...] 20717 15 21_Re: Oracle Challenge?10_Max Scarpa16_mscarpa@CESVE.IT31_Tue, 12 Jun 2001 09:16:04 +0200317_us-ascii I think that dandruff overhelmed them...

Regards 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. 20733 24 36_Re: Re Re: SAP R/3 on DB2 vs. Oracle16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Tue, 12 Jun 2001 12:40:40 +0530557_- Just an FYI:

Go thru the recent redpaper published on 31st May 2001 titled "SAP R/3 on DB2 for OS/390: DB2 Features That Benefit SAP" in http://www.redbooks.ibm.com/redpapers/pdfs/redp0131.pdf . This IBM Redpaper describes the benefits that DB2 for OS/390 provides for SAP R/3. The paper discusses DB2 for OS/390 V5, V6, and V7 functions which address more specifically SAP R/3 data access, performance and maintenance requirements. However, i have not read it because i don't work with SAP. May read during some leisure time. Regards Sanjeev [...] 20758 110 19_Trigger happy (not)12_Cianci, Nick28_Nick.Cianci@TEAM.TELSTRA.COM31_Tue, 12 Jun 2001 17:41:29 +1000272_- Dear DB2 listers, somebody is going to tell me I've missed the blindingly obvious here ( I just know it) but I've read the manual over and over, had a colleague check my work and yet still can't find an explanation (other than may be I should get my eyes checked): [...] 20869 17 11_VSAM to DB214_Bilal YILDIRIM25_byildirim@HALKBANK.COM.TR31_Tue, 12 Jun 2001 10:41:57 +0300381_iso-8859-9 Is there any migration tools to migrate VSAM file to DB2 database ? Please help me! I am using DB2 5.1 on OS/390

regards.

================================================ 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. 20887 48 15_Re: VSAM to DB225_Srirengan Venkatesh Kumar42_SRIRENGAN_VENKATESH_KUMAR/IRAS@IRAS.GOV.SG31_Tue, 12 Jun 2001 16:23:55 +0800569_us-ascii Hi,

There is tools from Forecross called Convert/VSAM. Check out at their website. www.forecross.com.

Regards







(Embedded image moved DB2 Data Base Discussion List to file: (Tel: ) pic31115.pcx) 12/06/2001 03:41 PM







Please respond to DB2 Data Base Discussion List

To: DB2-L@RYCI.COM cc: bcc: Subject: VSAM to DB2



Is there any migration tools to migrate VSAM file to DB2 database ? Please help me! I am using DB2 5.1 on OS/390 [...] 20936 93 34_Lock with DB2 tables Sql code -91115_Durga Vamsidhar22_durga.vamsidhar@DB.COM31_Tue, 12 Jun 2001 10:36:40 +0100445_iso-8859-1 Hi all,

Nice to meet everybody in this Db2 Discussion session. I have a doubt that what happens in this following scenario.

I have the following cursor in my cobol db2 batch program

The table is having LOCKSIZE ROW while creating the TABLESPACE

BATCH :



EXEC SQL DECLARE EZSAMP CURSOR WITH HOLD FOR SELECT ENTDTIME , NUM , SEG , STAT FROM EZSAMP WHERE CURSTAT = 'NEU' AND PROCFLAG = 'N' [...] 21030 29 21_Re: Oracle Challenge?20_Beighton-Dykes, Hugh27_hugh.beighton-dykes@EDS.COM31_Tue, 12 Jun 2001 10:30:41 +0100551_iso-8859-1 Perhaps you've confused it with the "follicle challenge" ?

-----Original Message----- From: Max Scarpa [mailto:mscarpa@CESVE.IT] Sent: 12 June 2001 08:16 To: DB2-L@RYCI.COM Subject: Re: Oracle Challenge?



I think that dandruff overhelmed them...

Regards 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. [...] 21060 21 21_Re: Oracle Challenge?10_Max Scarpa16_mscarpa@CESVE.IT31_Tue, 12 Jun 2001 12:05:46 +0200552_us-ascii No, I think that they started to sniff their pre-existing dandruff if they assert such things.

Or they try to convince the users to sniff their dandruff.

Regards Max Scarpa

no dandruff sniffer DB2 sysprog Playboy's playmate measurement, performance & tuning ultra-certified expert

================================================ 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. 21082 16 27_db2 Connect error !! IMP !!7_Vishy N33_Viswanathan.N@POWAIMAIL.LTITL.COM31_Tue, 12 Jun 2001 15:26:28 +0530480_us-ascii I am facing the problem of 30081 error for long .. can anybody help please .. attached is the query and the error .. I executed thru db2batch .. not the same thing happens thru command center

(See attached file: retr1.msg)

================================================ 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. 21099 135 38_Re: Lock with DB2 tables Sql code -91116_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Tue, 12 Jun 2001 16:11:08 +0530336_iso-8859-1 Hi Vamsi,

While inserting a record, if an index(clustering) exists then DB2 identifies the home page for the records, for this, it has to traverse thru' index and lock the datapage which it has identified. There are chances that the rows to be selected by declare cursor(OPEN/FETCH) also exists in the same page. [...] 21235 68 13_Re: DB2 & SMS15_Toine Michielse18_vndobtm@US.IBM.COM31_Tue, 12 Jun 2001 12:48:32 +0200441_big5

Mark,

Eventhough the data is physically stored on spread out over multiple disks. You still are dealing with UCB contention (logical volume) unless you have ESS and Parallel Access Volumes enable. If you have a very busy logical volume, UCB contention (IOSQ) can still bother you..

Regards,

Toine Michielse



Mark Turner @RYCI.COM> on 06/11/2001 05:56:05 PM [...] 21304 35 67_Re: why cannot find the BSDS archieve on the db2 archieve log tape?5_elibs17_elibs@NETEASE.COM31_Tue, 12 Jun 2001 18:45:19 +0800392_iso-8859-1 Thank you very much.

I had made a mistake with Dyyddd.I had thought it Byyddd was the BSDS backup.What a fool am i.

Larry

----- Original Message ----- From: "Max Scarpa" Newsgroups: bit.listserv.db2-l To: Sent: Tuesday, June 12, 2001 2:52 PM Subject: Re: why cannot find the BSDS archieve on the db2 archieve log tape? [...] 21340 15 67_Re: why cannot find the BSDS archieve on the db2 archieve log tape?10_Max Scarpa16_mscarpa@CESVE.IT31_Tue, 12 Jun 2001 13:02:17 +0200297_us-ascii You're welcome ! :-)))))))))

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. 21356 59 36_Re: Re Re: SAP R/3 on DB2 vs. Oracle0_20_John_Lendman@FPL.COM31_Tue, 12 Jun 2001 07:18:39 -0400269_us-ascii I have read this new Redbook, it is very good. It gives some very good advice both from a programmer and a DBA. It is not very big and you should be able to read it in about 30 minutes.I John C. Lendman DBA Jlendman@fpl.com (561) 694-5085 Beeper FPL 7413 [...] 21416 194 47_Antwort: Re: Lock with DB2 tables Sql code -91115_Durga Vamsidhar22_durga.vamsidhar@DB.COM31_Tue, 12 Jun 2001 13:42:19 +0100717_iso-8859-1 Hi Sanjeev,

Thanks for your response. Does this implies even if the table is having LOCKSIZE ROW. Can you please exactly specify what is MSTR message means.



DSNT408I SQLCODE = -911, ERROR: THE CURRENT UNIT OF WORK HAS BEEN ROLLED BACK DUE TO DEADLOCK OR TIMEOUT. REASON 00C9008E, TYPE OF RESOURCE 00000304, AND RESOURCE NAME EZEDID .EZ3I3S .X'000042' '.X'06' DSNT418I SQLSTATE = 40001 SQLSTATE RETURN CODE DSNT415I SQLERRP = DSNXRRC SQL PROCEDURE DETECTING ERROR DSNT416I SQLERRD = 103 13172746 13172878 13230790 -499118078 536871168 SQL DIAGNOSTIC INFORMATION DSNT416I SQLERRD = X'00000067' X'00C9000A' X'00C9008E' X'00C9E2C6' X'E2401002' X'20000100' SQL DIAGNOSTIC INFORMATION [...] 21611 59 26_Re: Help on Reorg Criteria14_Vassie, Edward21_Edward_Vassie@BMC.COM31_Tue, 12 Jun 2001 07:41:32 -0500565_iso-8859-1 Have you raised this question with BMC Support? They are there to help you.

I guess you are in India. If so, there is a toll-free number. See http://www.bmc.com/info_center_support/supcontact.html click on 'Asia Pacific' and look at the Singapore section for details.

I am not sure you have quoted the formulas correctly. I can find something like them in DASD Manager Plus Reference Manual, Section 5, Subsection BMCTRIG Rules. The manual can be downloaded from http://www.bmc.com/support.html . Registration is required but is free. [...] 21671 178 47_Antwort: Re: Lock with DB2 tables Sql code -91115_Durga Vamsidhar22_durga.vamsidhar@DB.COM31_Tue, 12 Jun 2001 14:42:02 +0100695_iso-8859-1 Hi Sanjeev,

It is me Vamsi again. I found the Master log. Can you please see this and update me.

Thanks for your help Vamsi



Datum: 12.06.2001 12:46 An: DB2-L@RYCI.COM







Antwort an: DB2 Data Base Discussion List

Betreff: Re: Lock with DB2 tables Sql code -911 Nachrichtentext:

Hi Vamsi,

While inserting a record, if an index(clustering) exists then DB2 identifies the home page for the records, for this, it has to traverse thru' index and lock the datapage which it has identified. There are chances that the rows to be selected by declare cursor(OPEN/FETCH) also exists in the same [...] 21850 67 15_Re: VSAM to DB211_David Nance16_DWNance@FHSC.COM31_Tue, 12 Jun 2001 08:46:46 -0400375_US-ASCII You might want to rethink just doing a straight conversion. I am in the middle of one of those processes. The database was designed to be a relational database and should work great, but the majority of the application group are VSAM developers and do not take advantage of DB2. Therefore, this has become very difficult to get any performance out of the code. [...] 21918 145 23_Re: Trigger happy (not)11_Mike Turner29_Michael_Turner@COMPUSERVE.COM31_Tue, 12 Jun 2001 08:50:20 -0400455_ISO-8859-1 Nick

You cannot use a transition table in the same way as a transition variable. When you have a statement trigger, your transition table (N_SLS in your example) refers to the set of all rows updated by the SQL UPDATE statement that fired the trigger. A single UPDATE statement can update many rows. For example UPDATE EMP SET SALARY = SALARY * 1.1 will update all rows in the EMP table and will fire a statement trigger just once. [...] 22064 33 62_How can I diagnose this DDN Protocol error in CSEST - DSNLCRTD14_Zobjeck, A. J.18_Al_Zobjeck@TTX.COM31_Tue, 12 Jun 2001 07:56:55 -0500490_iso-8859-1 I'm getting this error at least once a day. Can anyone tell me how to find the problem. This is a Powerbuilder front-end application into DB2 V5 OS/390. Thanks



13.44.57 STC05835 DSNL032I ¢ DSNLCRTD DRDA EXCEPTION CONDITION IN

REQUEST FROM REQUESTOR LOCATION= FOR THREAD WITH LUWID=USTTXA01.LUNT5307.07D1060B0A0C

REASON=00D3101B

ERROR ID=DSNLCRTD0001

IFCID=0192

SEE TRACE RECORD WITH IFCID SEQUENCE NUMBER=00000001 [...] 22098 40 15_Re: VSAM to DB212_Mark Granger22_the_grange@MBOX.COM.AU31_Tue, 12 Jun 2001 09:08:03 -0400728_us-ascii See http://www.longgrasssystems.com.au/DBGateProducts.php3 for a VSAM to DB2 conversion and Transparency tool (DBGate/VSAM).

Mark Granger Phone: +61 0416-012-262 (Australia) OR +1 617-306-7794 (USA)



----- Original Message ----- From: Bilal YILDIRIM Date: Tuesday, June 12, 2001 3:41 am Subject: VSAM to DB2

> Is there any migration tools to migrate VSAM file to DB2 database ? > Please help me! > I am using DB2 5.1 on OS/390 > > regards. > > ================================================ > 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 [...] 22139 19 14_00C9021B error16_Cockerill, Steve30_SLCockerill@NATIONALGYPSUM.COM31_Tue, 12 Jun 2001 09:10:19 -0400448_iso-8859-1 Good morning I'm receiving abend code 00C9021B during a online reorg. Thanks to all that explain what is happening.

Thanks Steve Cockerill Sr. Peoplesoft DBA slcockerill@nationalgypsum.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. 22159 32 11_Bind Stmts?11_David Nance16_DWNance@FHSC.COM31_Tue, 12 Jun 2001 09:28:55 -0400606_US-ASCII How does everyone handle automating their binds? We are using endevor to automate our bind function when a program is compiled or moved. My question really relates to the different bind parms I want set. The majority of programs will always use the same bind parms(static SQL), then there are the OTHERS(dynamic SQL, global temproary tables, reopt vars, degree, etc...). We could set up different processor groups within Endevor to handle each and every case, but then we have to rely on the developer to ensure they always have the correct processor group, what if they have now removed the [...] 22192 51 18_Re: 00C9021B error10_Fred Hanes17_f_hanes@YAHOO.COM31_Tue, 12 Jun 2001 06:30:13 -0700585_us-ascii Explanation: The data manager detected an inconsistent data condition in a segmented table space. In this case, the space map page indicates a data page that is not empty exists. However, the data page is either not formatted by the data manager or it is beyond the highest VSAM formatted area. This abend reason code is issued by the following CSECT: DSNnnnn The CSECT name identifier given in the dump header and appearing in VRARRK5 of the VRA in the SDWA is 'nnnnn' (see the Problem Determination section of this message). The full CSECT name given in the dump title [...] 22244 176 38_Re: Lock with DB2 tables Sql code -9110_19_Tim.Lowe@STPAUL.COM31_Tue, 12 Jun 2001 08:44:34 -0500464_iso-8859-1 Vamsi, I believe that DB2 is trying to determine if the row being inserted by the online program is part of the result set in the batch program. In order to determine this, it is attempting to lock the row. Would it be possible for this query to be run with isolation UR? And, could you add another predicate to insure that you do not attempt to process rows that are not yet committed? For example, "and entdtime < current timestamp - 5 minutes". [...] 22421 59 43_Re: What the best way to resolve this error19_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Tue, 12 Jun 2001 08:56:25 -0500603_ISO-8859-1 Hi AJ, If I'm reading this right you had a failure at the remote DB for whatever reason. The 'requester' should be prepared to ROLLBACK in this situation.

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 [...] 22481 23 22_DB2 V5 to V7 MIGRATION12_Pierre LeBel19_plebel_ca@YAHOO.COM31_Tue, 12 Jun 2001 06:58:42 -0700442_us-ascii I've been reading a lot on this subject over the past months on this discussion list and I would like to know if someone actually did the migration from V5 to V7 for OS/390. I would like to hear their feedback on how it went.

Thanks. Pierre LeBel

__________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ [...] 22505 47 28_DB2 for Compaq's Tru64 Unix?13_Tzachi Nissim21_tzachi@ATTUNITY.CO.IL31_Tue, 12 Jun 2001 17:05:51 +0200106_iso-8859-1 Is anyone using DB2 on Compaq's Tru64 Unix? Is it even an available product?

TIA, Tzachi 22553 174 13_IMS TXs & DB212_Aedan Molony20_Aedan.Molony@PSIR.IE31_Tue, 12 Jun 2001 15:12:56 +0100499_iso-8859-1 Hello list, Could someone help me out with a direction on the following (please!!):

Occasionally on our production IMS system during the online window we can see a buildup of say 200 input messages on the IMS input queue, due to the MPPs being full of TXs that are themselves delayed for some reason. Sometimes the cause is a batch job with few checkpoints which can be seen on the IMS PI lock reports as causing PI waits - when the holding job is abdumped, the queue clears. [...] 22728 47 51_Re: Antwort: Re: Lock with DB2 tables Sql code -91116_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Tue, 12 Jun 2001 19:30:09 +0530342_iso-8859-1 No, if the locksize is row, then insert should not lock the page. However the next highest key is locked in case of the RR isolation level. It seems you are using timestamp as the key and inserting the incremental records. Check the isolation level for both the transaction.

Is this problem occuring very frequently ?? [...] 22776 57 15_Re: Bind Stmts?16_Thomas E. Faglon21_tfaglon@TELCORDIA.COM31_Tue, 12 Jun 2001 10:08:18 -0400348_us-ascii Hi Dave, I have used endevor for binds - controlcards for the binds were supplied by appl developers and put into a special dataset - for just bind control cards. no special processor groups - only updated when bind parameters changed. HTH Tom F







David Nance on 06/12/2001 09:28:55 AM [...] 22834 59 26_Re: DB2 V5 to V7 MIGRATION16_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM31_Tue, 12 Jun 2001 10:15:24 -0400586_iso-8859-1 We have thus far migrated from V5 to V7: 1 Test subsystem 3 QA subsystems 1 PROD subsystem

This has gone very smoothly with only two exceptions: 1) There is a *lot* more REBIND required than the cover letters would lead you to believe. Just hold your nose and rebind everything to be safe. 2) The factory-supplied SDSNLOAD has changed from BLKSIZE=6144 to BLKSIZE=32760. You will not be able to reuse your existing SDSNLOAD unless you reallocate it. There are three V7 load modules with LRECL > 6144 and thus you cannot even copy them from the SMPE 32760 library [...] 22894 60 15_Re: Bind Stmts?0_22_Rohn.Solecki@MTS.MB.CA31_Tue, 12 Jun 2001 09:23:54 -0500485_us-ascii We have definite program naming standards and use a REXX to parse the program names then build (and submit for execution) the appropriate bind statement. Programs that require execption handling are identified explicitly in the parsing process (ie by the whole name). Programmers have to identify and justify exceptions to DBA. If we agree the exception is valid (not just a lazy programmer/analyst who wants to ignore the standard), then we make the change to the REXX. [...] 22955 158 26_Re: DB2 V5 to V7 MIGRATION15_Zander, Barb J.19_bzander@STATE.ND.US31_Tue, 12 Jun 2001 09:30:42 -0500472_iso-8859-1 Pierre, Eric Just for reference you can use IEBCOPY to a smaller blocksize if you want you just have to add the MAXBLK parm. Going from a small blksize to a larger blksize can be done without any extra parms.

COPYMOD INDD=INFILE,OUTDD=OUTFILE,MAXBLK=6144

Barb

-----Original Message----- From: Pearson, Eric L, [mailto:Eric.Pearson@NSCORP.COM] Sent: Tuesday, June 12, 2001 9:15 AM To: DB2-L@RYCI.COM Subject: Re: DB2 V5 to V7 MIGRATION [...] 23114 76 15_Re: Bind Stmts?15_Robert lawrence21_rlawrence@BOSCOVS.COM31_Tue, 12 Jun 2001 10:32:42 -0400551_iso-8859-1 Dave, Here we use a rexx routine which creates the bind cards based program being compiled. It does various checks to see if the program exists in any current plans(no packages) and builds approrpriate bindparms into a bindlib pds. It will look in a PDS to see if there is a member for that program with any special bind parameters and set those parameters in the bindparms pds. If it finds a member in the bindparm PDS that has PACKAGE in the first line it will bind the program as one or more packages based on the parameters in the [...] 23191 84 23_Re: Pessimistic Locking19_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Tue, 12 Jun 2001 09:32:43 -0500537_ISO-8859-1 Hi Robert, I don't know the textbook definition but I can tell you what our end-users want. The way the see their work is that they may deal with 10s of items spread across several areas of interest which may take 10s of minutes. Because of the long time involved to do their work, they want to make sure that it can be completed before they start. Another concern they have stated: they may deal with 100s of items for a single purpose which may take a very long time and again, they want to make sure they can complete [...] 23276 95 15_Re: VSAM to DB219_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Tue, 12 Jun 2001 09:37:33 -0500614_ISO-8859-1 Kumar, Heed the words of Dave! Don't move out of VSAM into DB2 until you are prepared to normalize the data and write applications that can exploit relational techniques.

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 [...] 23372 73 28_Web Query Tool and Websphere13_Burgess Evans27_BMEVANS@AUDITOR.STATE.OH.US31_Tue, 12 Jun 2001 10:44:57 -0400382_US-ASCII Hi All,

We are currently running DB2 UDB OS/390 V6 and Websphere 3.5 for OS/390. We are now trying to configure the DB2 Web Query Tool V1R1.

The documentation we received with Web Query Tool had instructions for configuring Websphere 1.1.

Has anyone used this combination that would care to share information about configuring with Websphere 3.5? [...] 23446 96 13_Re: DB2 & SMS0_27_jim.leask@RS-COMPONENTS.COM31_Tue, 12 Jun 2001 15:44:50 +0100674_big5 Hi,

They can still be controlled by SMS. Just add ACS rules into SMS to place the cat/dir, heavy hitters etc onto separate volumes.

Jim.

-----Original Message----- From: Isaac Yassin [mailto:yassini@BEZEQINT.NET] Sent: 10 June 2001 18:38 To: DB2-L@RYCI.COM Subject: Re: DB2 & SMS



Hi, Not only Catalog and Directory are out of SMS. All heavy hitters / I/O, important parallel are out as well. Isaac Yassin DBMS & IT Consultant yassini@bezeqint.net ----- Original Message ----- From: "´ö½Òªø" Newsgroups: bit.listserv.db2-l To: Sent: Saturday, June 09, 2001 5:56 AM Subject: Re: DB2 & SMS [...] 23543 18 15_Re: VSAM to DB216_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Tue, 12 Jun 2001 20:23:50 +0530292_- Is it so easy to migrate from VSAM to DB2 ?. I think the ERD needs to be designed. If we are not making things relational, why use RDBMS. I am not sure what any kind of tools/product do. It looks to me as if manual process will give better results but requires time, efforts and cost. [...] 23562 44 67_Re: why cannot find the BSDS archieve on the db2 archieve log tape?20_Edward C. Benoit Jr.19_DB2Automate@AOL.COM29_Tue, 12 Jun 2001 10:53:01 EDT207_US-ASCII Larry, What message did you get? Did you get an S813?



Regards, Ed. DB2 Disaster Off-Site and On-Site Recovery Simplified and Automated http://www.recoveryknowledge.com



23607 46 23_Re: Pessimistic Locking13_Dennis Taylor14_ismgr@PCTC.COM31_Tue, 12 Jun 2001 07:56:51 -0700463_us-ascii At 09:32 AM 6/12/01 -0500, you wrote: >Hi Robert, > I don't know the textbook definition but I can tell you what our >end-users want.

Pessimistic locking:

When you read a record, you lock it. It remains locked until it's updated or released. This is also "naive" locking.

Optimistic locking:

You don't lock a record on read. If it's modified, you lock it before writing, and check to see if it has changed. Update if OK. [...] 23654 78 51_Re: Antwort: Re: Lock with DB2 tables Sql code -9110_22_Rohn.Solecki@MTS.MB.CA31_Tue, 12 Jun 2001 10:01:07 -0500295_iso-8859-1 I see no one else has parsed the message for you yet. In a -911 I ALWAYS look at the "TYPE OF RESOURCE" and "RESOURCE NAME". The list of resource types can be found in the "Messages & Codes" manual. I have printed off a paper copy of the list and keep handy for quick reference. [...] 23733 142 15_Re: VSAM to DB20_22_Rohn.Solecki@MTS.MB.CA31_Tue, 12 Jun 2001 10:18:15 -0500336_us-ascii I'll jump on the band wagon too. We did a conversion from hierarchical to relational DB using a 'conversion tool'. The resulting code is ghastly! We had to throw 3 times the initial (worst case) estimate of MIPS at the app just to get it to work (our service provider had to do an 'emergency' CPU upgrade to support it!). [...] 23876 38 38_Re: Lock with DB2 tables Sql code -91113_Seibert, Dave26_Dave_Seibert@COMPUWARE.COM31_Tue, 12 Jun 2001 11:35:05 -0400344_iso-8859-1 Hi Vamsi,

Rohn gave you the significant information from the error message you posted.

Can you look for the DSNT376I message? It will look like the one below. It should identify which plan is holding the lock. As long as you're not running with distributed threads, it's fairly easy to find the lock holding plan. [...] 23915 16 13_Re: DB2 & SMS10_Max Scarpa16_mscarpa@CESVE.IT31_Tue, 12 Jun 2001 17:52:29 +0200331_us-ascii Same there, with guaranteed space.

Regards Max Scarpa Useless DB2 sysprog

================================================ 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. 23932 85 51_Re: Antwort: Re: Lock with DB2 tables Sql code -91112_Isaac Yassin20_yassini@BEZEQINT.NET31_Tue, 12 Jun 2001 18:50:02 +0200365_iso-8859-1 Hi, The 2nd x value is the row. It means you deal with a row level locking problem. Isaac Yassin DBMS & IT Consultant yassini@bezeqint.net ----- Original Message ----- From: Newsgroups: bit.listserv.db2-l To: Sent: Tuesday, June 12, 2001 5:01 PM Subject: Re: Antwort: Re: Lock with DB2 tables Sql code -911 [...] 24018 29 41_TPC Bench Marks (was: Database Holy Wars)13_Morrill, John12_JohnM@VP.NET31_Tue, 12 Jun 2001 10:00:18 -0600449_- Greetings!

I will be posting a reply to the recent Oracle advertisement in major print media and on the Web regarding Oracle's recent TPC-C benchmark results on IBM eServer pSeries hardware using Oracle8i.

This reply was written by a colleague of Mike Swift from IBM. Because of the size and the 250 line limit of messages, I will break it into 2 parts. The posting will be titled "Benchmarks: the Whole Truth, Parts (1 and 2)" [...] 24048 113 13_Re: DB2 & SMS12_Isaac Yassin20_yassini@BEZEQINT.NET31_Tue, 12 Jun 2001 18:52:38 +0200346_big5 Hi, Try to convince the SMS group :-( they write the ACS when they have time (may be next milenium ???) Isaac Yassin DBMS & IT Consultant yassini@bezeqint.net ----- Original Message ----- From: Newsgroups: bit.listserv.db2-l To: Sent: Tuesday, June 12, 2001 4:44 PM Subject: Re: DB2 & SMS [...] 24162 128 41_Benchmarks: the Whole Truth (part 1 of 2)13_Morrill, John12_JohnM@VP.NET31_Tue, 12 Jun 2001 10:02:33 -0600473_- Dear DB2 Interested Parties,

Many of you have seen a recent Oracle advertisement in major print media and on the Web regarding Oracle's recent TPC-C benchmark results on IBM eServer pSeries hardware using Oracle8i ( http://www.oracle.com/start/oracle9ifastest/intro.html?src=752136&Act=5). Oracle would have you believe that DB2 cannot compete on IBM hardware with Oracle. Oracle says IBM "won't say" how DB2 performs on its own hardware. In fact, we do say. [...] 24291 177 41_Benchmarks: the Whole Truth (part 2 of 2)13_Morrill, John12_JohnM@VP.NET31_Tue, 12 Jun 2001 10:04:59 -0600706_- Facts About Current Application Partner Benchmark Results

E-business application benchmarks are another very important basis with which to measure the performance of DB2. Application benchmarks provide real-world credibility which complements TPC benchmarks. DB2 has been tested with applications from Baan, i2, Lawson, PeopleSoft, SAP and others. Results show DB2's leadership with application partner benchmarks. As of June 2001, here is a partial list of application benchmark results where DB2 delivers the highest performance results includes: o SAP R/3 Three-Tier Assemble-to-Order (#1 = DB2 UDB on RS/6000 S80, #2 = DB2 UDB on Bull-Escala) o SAP R/3 Business Information Warehouse 1.2 [...] 24469 71 23_Re: Pessimistic Locking19_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Tue, 12 Jun 2001 10:59:40 -0500441_ISO-8859-1 Hi Dennis, Thanks for your time and comments. Unless I'm way off base here, for my situation, simply locking a record when its read isn't my end-user's idea of pessimistic locking. The top table in the DB design for this application is the Customer table. It has several other child tables associated with it. Therefore, I'd need to lock all rows pertaining to a Customer the end-user is working in all child tables as well. [...] 24541 151 13_Re: DB2 & SMS16_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM31_Tue, 12 Jun 2001 12:05:05 -0400671_Big5 But ACS routines are so *simple* when you have good naming standards as found in DB2!

Regards. eric pearson NS ITO Database Support



-----Original Message----- From: Isaac Yassin [mailto:yassini@BEZEQINT.NET] Sent: Tuesday, June 12, 2001 12:53 PM To: DB2-L@RYCI.COM Subject: Re: DB2 & SMS



Hi, Try to convince the SMS group :-( they write the ACS when they have time (may be next milenium ???) Isaac Yassin DBMS & IT Consultant yassini@bezeqint.net ----- Original Message ----- From: Newsgroups: bit.listserv.db2-l To: Sent: Tuesday, June 12, 2001 4:44 PM Subject: Re: DB2 & SMS [...] 24693 153 13_Re: DB2 & SMS12_Isaac Yassin20_yassini@BEZEQINT.NET31_Tue, 12 Jun 2001 19:17:11 +0200357_big5 Hi, You tell me ... - tell them ... Anything above one rule is too much ... (one size fits all ...) Isaac Yassin DBMS & IT Consultant yassini@bezeqint.net ----- Original Message ----- From: "Pearson, Eric L," Newsgroups: bit.listserv.db2-l To: Sent: Tuesday, June 12, 2001 6:05 PM Subject: Re: DB2 & SMS [...] 24847 128 51_Re: Antwort: Re: Lock with DB2 tables Sql code -9110_22_Rohn.Solecki@MTS.MB.CA31_Tue, 12 Jun 2001 11:20:29 -0500353_iso-8859-1 Thanks Isaac. What version is that from? Here is the line from the OS390 V6 Message & codes manual. ¦ TYPE Code¦ Type of Resource ¦ Name, Content, ¦ ¦ ¦ Format +----------+------------------+----------- 0000304 ¦ Table space RID ¦ DB.SP.RID

00C9008E, TYPE OF RESOURCE 00000304, AND RESOURCE NAME EZEDID .EZ3I3S .X'000042' '.X'06' [...] 24976 125 38_Re: Lock with DB2 tables Sql code -91113_Mohan, Ashish21_Ashish.Mohan@NIKE.COM31_Tue, 12 Jun 2001 09:32:39 -0700425_iso-8859-1 How did you conclude that it is the CICS transaction that is the cause of timeout for your batch program? Normally it is the other way round. It would be very strange for a CICS transaction to be a 'cause' of timeout. After all, CICS transaction should be holding a lock on the resource for 'quite some time' (around 1 minute) before batch program timed out. Are CICS transactions supposed to run that long?? [...] 25102 38 22_NOT CATLG 2 PROBLEM(R)10_Ben Alford21_PA7280@UTKVM1.UTK.EDU29_Tue, 12 Jun 2001 12:26:41 EDT376_US-ASCII OS/390 (or possibly MVS/ESA) was enhanced to allow each installation to decide how to deal with the NOT CATLG 2 issue. I'm not sure which release added the support, but it IS in V1.3. Using the CATLG_ERR statements of member ALLOCxx in SYS1.PARMLIB, each installation can taylor the system's action when a dataset cannot be cataloged. Ask your SYSPROG to check. [...] 25141 67 36_Re: SCA & Lock Structure Duplexing ?13_Morrill, John12_JohnM@VP.NET31_Tue, 12 Jun 2001 10:47:16 -0600705_- Note:

The author of this reply is Chris Munson . However, his reply was caught in in a list server error filter.

I am reposting is reply.

---------------------------------------------------------------------------- ------------------

Paul, I see that there were several other notes on this subject but I wanted to add a few things on the subject. Lock structure duplexing was initially introduced with PQ45407. Shortly thereafter it was disabled (temporarily) with PQ47526 because there was no code to check which version of DB2 you were running with. Technically you could have used IRLM with PQ45407 and attempted lock duplexing with V6 of DB2 but [...] 25209 134 51_Re: Antwort: Re: Lock with DB2 tables Sql code -91112_Isaac Yassin20_yassini@BEZEQINT.NET31_Tue, 12 Jun 2001 19:53:05 +0200311_iso-8859-1 Hi, It's just divided. For "small" tables RID is four bytes, X'000042' is 3 bytes - the page. X'06' - the row. For non-row level locking you'll get just the first 3 bytes of the page involved (or 4 for "large" tables where the full RID is 5 bytes) . It's since row level locking was introduced. [...] 25344 16 38_Order of Processing: Join and Subquery13_Penny Treptow21_Penny.Treptow@UAL.COM31_Tue, 12 Jun 2001 12:00:42 -0500522_- Is there anyway to see the execution sequence used by the Optimizer to determine if a correlated subquery was processed before a join? For the particular SQL I'm using, I've looked at both DB2 Explain and DB2 Estimator to try and validate what I think is the execution sequence.

================================================ 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. 25361 30 32_Re: Benchmarks: the Whole Truth?13_Henry J. Cobb14_hcobb@SLIP.NET31_Tue, 12 Jun 2001 12:13:25 -0500462_- > From: "Morrill, John"

>(DB2 UDB V7.1 on IBM xSeries 370 with Windows 2000: 440,879 tpmC, >$25.03/tpmC, system availability = 12/7/00)

>(Oracle8i on pSeries 680 with AIX: 220,807 tpmC, $35.73/tpmC, system >availability = 4/13/01)

>Preventing apples-to-apples comparisons prevents hardware vendors, >including IBM, from alienating valuable software partners.

So you could beat them on AIX but you don't want to? [...] 25392 22 38_SAS V8 & declaring global temp tables?14_Jessen Michael27_JessenMichael@JOHNDEERE.COM31_Tue, 12 Jun 2001 12:14:24 -0500532_iso-8859-1 Has anyone attempted to declare global temp tables using SAS? (or been asked if this is possible?)

If so, I would appreciate an example of how this is coded... as I am SAS illiterate...

Thanks for your help! Mike

ps - We are running SAS V8, DB2 V6 on OS/390.

================================================ 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. 25415 122 14_Reorg Criteria0_23_janakir@BLORE.TCS.CO.IN31_Tue, 12 Jun 2001 23:10:56 +0530512_us-ascii Thanks Edward, I don`t think it is a problem with BMC. I was curious to know what the Where condition means.

Actually my DBAs are using these conditions to determine neccessity of reorg. I don`t feel they make sense. But then these guys are THE DBAs.

I guess T1.FARINDREF and T1.NEARINDREF can be negative only when stats(?) are not collected. what is the point in dividing with T1.CARD and all other fuss to compare with Zero(!). it is equivalent to T1.FARINDREF + T1.NEARINDREF > 0 [...] 25538 81 26_Re: Help on Reorg Criteria11_Kwan, James18_James_Kwan@BMC.COM31_Tue, 12 Jun 2001 13:19:13 -0500486_iso-8859-1 Janakiram Garimella

I don't know where did you get this information from (DASD Manager or Reorg Plus). These are the standard IBM recommendations which can be found either in Admin guide or utility guide.

Let me know if you still can solve the puzzle.

James Kwan



-----Original Message----- From: Vassie, Edward [mailto:Edward_Vassie@bmc.com] Sent: Tuesday, June 12, 2001 7:42 AM To: DB2-L@RYCI.COM Subject: Re: Help on Reorg Criteria [...] 25620 49 46_partition number for nonpartitioned tablespace16_Deborah L. Brown23_Deborah.Brown@PHILA.GOV31_Tue, 12 Jun 2001 14:15:27 -0400439_us-ascii Hi List, In preparing to decrease the number of extents for DB2 VSAM data sets the following was in the list for a non partitioned TS. We don't know why this second data set exist. Could it be because of space on the dasda, there are 23,000,000 records in this table. Is there anything special we should do to either of them before doing an alter of primary and secondary space followed by a reorg of . . . sssss.I0001.A001? [...] 25670 22 23_document for DB2 on AIX13_mike Goodrich23_mgoodrich28@HOTMAIL.COM31_Tue, 12 Jun 2001 14:20:06 -0400585_- Hi,

Does anybody know any good book or document about DB2 administration on AIX? I used DB2 on NT before but new to AIX environment. Is control center supported on AIX?

Thanks a lot!

Marry _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.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. 25693 39 27_DB2 vs Oracle Query Parsing13_Morrill, John12_JohnM@VP.NET31_Tue, 12 Jun 2001 12:41:33 -0600564_iso-8859-1 Greetings!

I was reading a book about Oracle optimization, and there was a section about how the order of the tables in the FROM statement effect query performance. The example was a simple three table join on keys. My first thought was the author had not kept up on advances in query parser advances since 1988. But when I ask an Oracle DBA, I was told that the author was right, the order of the table did effect performance unless a optional (read pay more) Oracle package was installed. To me this is like selling a car with an optional [...] 25733 88 50_Re: partition number for nonpartitioned tablespace14_Johnson, Daryl28_Daryl.Johnson@PACIFICORP.COM31_Tue, 12 Jun 2001 11:52:18 -0700656_iso-8859-1 >than2Gig?

-----Original Message----- From: Deborah L. Brown [mailto:Deborah.Brown@PHILA.GOV] Sent: Tuesday, June 12, 2001 11:15 AM To: DB2-L@RYCI.COM Subject: partition number for nonpartitioned tablespace





Hi List, In preparing to decrease the number of extents for DB2 VSAM data sets the following was in the list for a non partitioned TS. We don't know why this second data set exist. Could it be because of space on the dasda, there are 23,000,000 records in this table. Is there anything special we should do to either of them before doing an alter of primary and secondary space followed by a reorg of . [...] 25822 70 31_Re: DB2 vs Oracle Query Parsing16_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM31_Tue, 12 Jun 2001 15:01:47 -0400369_iso-8859-1 John,

You said: /* a lot of SQL statements are written by application programmers who only have basic knowledge of SQL */

Actually it is much worse than that. Much SQL (dynamic) is written by software and is usually abysmal. And much really horrid static SQL is vendor-supplied (can you say T*CT) and cannot even be fixed by the customer! [...] 25893 32 28_Using DECIMAL(31) from COBOL13_Tim K. Larsen23_tim-kent.larsen@UBS.COM31_Tue, 12 Jun 2001 21:11:53 +0200348_US-ASCII Hi there, could anyone point me to a sample of how to access a DECIMAL(31) column from COBOL/COBOL-2 ?



SQL Reference, DB2 Universal Database for OS/390, Version 6 says: In COBOL, decimal numbers can be represented in the packed decimal format used for columns or in the format denoted by DISPLAY SIGN LEADING SEPARATE. [...] 25926 60 27_Re: document for DB2 on AIX0_22_BILL_GALLAGHER@PHL.COM31_Tue, 12 Jun 2001 15:12:25 -0400379_us-ascii You should be able to administer your DB2/AIX databases from your NT Control Center, if you set up your communuications correctly. That's what we do in our shop. Control Center is supported on AIX, and it has the same look and feel as the NT Control Center, but I've always found that it's a little "clunky" in our shop (we're using Exceed for our X-Windows tool). [...] 25987 59 31_Re: DB2 vs Oracle Query Parsing0_22_Rohn.Solecki@MTS.MB.CA31_Tue, 12 Jun 2001 14:38:32 -0500545_us-ascii Seems companies would often rather buy bad software than pay their staff to write it.

Or pay for extra CPU cycles rather than fixing/optimizing what they can ...

PS: (don't you mean, pay their staff to write GOOD software?? )



Back to the original question. I'm no expert but from what I've read order tables are defined in FROM does not matter, but even with DB2 optimizer rewriting some queries, exactly how you define WHERE clauses and their order is sometimes still important. [...] 26047 97 18_Career Opportunity11_Harold Hill24_hhill@EMPYREAN-GROUP.COM31_Tue, 12 Jun 2001 15:34:00 -0400584_iso-8859-1 Hello everyone,

This message is from Harold Hill with SunTrust Bank. Currently, we are looking for several IT resources, in particular a DB2 DBA to join our Advanced Technology Team. I would like to speak to you in detail in regards to this position and your current situation. Please give me a call at your earliest convenience at the number below, so that we may discuss these opportunities further. If for any reason you are not interested at this time, please contact me as you may know of someone currently looking that we can both help. I look forward to [...] 26145 33 52_DB2 Systems Programmer Opportunity in Harrisburg, PA13_Brian Charles20_bcharles@RITEAID.COM31_Tue, 12 Jun 2001 15:49:00 -0400370_iso-8859-1 Rite Aid Corporation is currently seeking a Systems Programmer to work in the DB2 OS/390 environment. Qualified candidates should possess solid system level knowledge of DB2, IBM / OEM utilities and SMP/E installations. Additional experience in Data Sharing, DB2 system tuning, BMC and Platinum tools and disaster recovery are desired but not necessary. [...] 26179 19 28_Compression for Image Copies11_Ruth Sutlic24_ruth.sutlic@DILLARDS.COM31_Tue, 12 Jun 2001 14:55:05 -0500373_- Afternoon Listers, Our DASD people are wanting to turn compression on for our image copy datasets. We ran a small test to be certain we could read the image copy after compression was turned on. We tried DSN1COPY with the check option. Everything appears normal. Has anybody else tried this? Any negative results from attempting compression for image copy datasets? [...] 26199 64 50_Re: partition number for nonpartitioned tablespace19_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Tue, 12 Jun 2001 15:09:48 -0500633_ISO-8859-1 What Daryl is saying is that for a non-partitioned DB2 dataset, A002 will be automatically created when the first dataset reaches 2GB when STOGROUP managed.



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 [...] 26264 18 24_UDB indexable predicates11_Paul Turpin32_pault@ALUMMAIL.SSB.ROCHESTER.EDU31_Tue, 12 Jun 2001 14:59:54 -0500465_- I am going to cross-post this message to db2eug.

In the UDB (on UNIX) world has anyone seen a list of indexable predicates, similar to the list you see for OS/390 DB2.

Does anyone know if there is something like Stage 1 and Stage 2 (OS/390 DB2) processing in UDB? I have read the chapter in the UDB Admin. Guide: Performance, entitled "Understanding the SQL Compiler", but I was unable to find the indexable predicate information I am seeking. [...] 26283 98 31_Re: DB2 vs Oracle Query Parsing17_Sanfilippo, David34_David.Sanfilippo@GMACINSURANCE.COM31_Tue, 12 Jun 2001 16:07:32 -0400332_iso-8859-1 I think the original point was that in Oracle land, the sequence does matter. Or at least it can.

In Oracle rule-based optimization, the order of the tables in the FROM clause is the tiebreaker. In cost-based optimization, you can use hints to tell the optimizer to access the tables in FROM clause sequence. [...] 26382 25 42_Re: DB2 V5 to V7 MIGRATION budget surprise0_17_JTonchick@AOL.COM29_Tue, 12 Jun 2001 16:27:04 EDT578_US-ASCII Sorry, I can't report a successful migration. We hit the wall at the budgeting table! The "surprise" pricing of the V7 OS/390 utilities as a one-time-charge instead of monthly lease killed the upgrade. We're going V6 from V5.

I'd like to know if only the V7 UDB for OS/390 was selected for this utility removal surgery, or does IBM do the same for the non-mainframe versions of UDB? What about DB2 UDB V7 for Linux/390 are the utilities separate for them too? If not, why is only the mainframe OS/390-z/OS version targeted for this crazy pricing structure? [...] 26408 18 31_Re: DB2 vs Oracle Query Parsing26_Edward(Ed) J. Finnell, III23_efinnell@SEEBECK.UA.EDU31_Tue, 12 Jun 2001 15:57:08 -0500571_- We've discovered it's also size related. One general query was order by name address where some criteria exists. For small tables worked great, for large tables read the whole magilla into storage. Subsecond query turned into 49 second tuning opportunity. 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. 26427 112 50_Re: partition number for nonpartitioned tablespace12_Kirk Hampton16_khampto1@TXU.COM31_Tue, 12 Jun 2001 15:53:13 -0500416_us-ascii



Your first dataset has extended up to the 2 gigabyte VSAM limit, and DB2 automatically allocated a second dataset. This is not a partition, it is merely an extension. If you reorg and your space requirement becomes less than 2 gig, the second dataset will go away.











"Johnson, Daryl" on 06/12/2001 01:52:18 PM [...] 26540 68 32_Re: Using DECIMAL(31) from COBOL16_Bhogale, Pushkar24_Bhogale.Pushkar@MBCO.COM31_Tue, 12 Jun 2001 16:47:41 -0500444_iso-8859-1 I faced the same problem today when one of our Utility programs couldn't be compiled as one of the columns was defined with DECIMAL (23,4). The COBOL compiler flagged up the error and mentioned the maximum size of 18 digits for a Decimal field.

When I browsed through some COBOL book, I am under the impression that the numeric field can have a maximum of 18 bytes whether it is defined as USAGE COMP-3, COMP or DISPLAY. [...] 26609 57 29_DB2 SYS-PROG in O'BURG, NY...16_Charles Valentin15_VALENCH@AOL.COM29_Tue, 12 Jun 2001 18:29:48 EDT609_US-ASCII To Members of ListServ, *** No Agencies Please *** I currently have an opening for a Sr. DB2 Systems Programmer to work at our Orangeburg, NY location (Rockland County). Experience in SMP/E, Product Installations, Monitoring,IBMLink, Tuning, QMF,DB2PM,Data Sharing, BMC, CDB, Compuware Tools. Environment: OS/390 2.10, DB2 V6.1, CICS, OnDemand/OAM,MQ

Qualified Candidates: Please call, e-mail or fax resume & salary requirements to: Charles Valentin Sr. Verizon Wireless Mgr. DB2 Systems Support (845) 365-7220 (M-F 9am-6pm) (845) 365-5937 (Fax) e-mail: valench@bam.com e-mail: valench@aol.com 26667 27 44_Online Reorg Bug (DB2 v6) (reason 00C9007F )12_HARBRY ARIZA20_harbry_a@HOTMAIL.COM31_Tue, 12 Jun 2001 18:56:52 -0500 26695 72 23_Re: Trigger happy (not)12_Cianci, Nick28_Nick.Cianci@TEAM.TELSTRA.COM31_Wed, 13 Jun 2001 09:58:28 +1000563_- Hi Mike, Thanks for the reply.

....the long piece of 2x4 slowly descends across the back of the head, and the light comes on ().

My intention was to use the transition table like a true global temporary table (GTT) to accept all the changed rows. My trouble was that I was looking at the syntax diagram pathways, and not thinking SQL! So I converted the updates to a "Where exists correlated subquery" to N_SLS and pushed the WHEN clause into the subquery predicates. .... AND it works, vveerrryyyyyy sssslllooowwwlllyy. Shock horror! [...] 26768 93 32_Re: Using DECIMAL(31) from COBOL10_teldb2kals22_teldb2kals@TELSTRA.COM31_Wed, 13 Jun 2001 10:33:55 +1000605_us-ascii The Appl. Pgm Guide does talk abt this difference, and also mentions that a warning message is issued at precompile time regarding the same.

One of the alternatives that is suggested is to use the CHAR function.

"The CHAR function returns a string representation of a datetime value or a decimal number. This can be useful when the precision of the number is greater than the maximum precision supported by the host language. For example, if you have a number with a precision greater than 18, you can retrieve it into a host variable by using the CHAR function. Specifically, [...] 26862 62 15_Re: Bind Stmts?15_Bell, Raymond W31_Raymond.W.Bell@TEAM.TELSTRA.COM31_Wed, 13 Jun 2001 10:39:26 +1000511_- Dave,

I see you've had a few good replies already. Just wanted to say that many moons ago (before automation) one place I was at kept bind parm members in a PDS just like load modules, DBRMs, etc. One per program. Infinitely tailorable but a bit manual. Promoting program abc1234 involved copying the load module, dbrm and bind statements for abc1234 into the appropriate target libraries and running the standard bind job with the program name passed as a parm to the Systsin DD. Something like: [...] 26925 24 31_Re: DB2 vs Oracle Query Parsing8_Gary Rue25_Gary.Rue@MAIL.STATE.KY.US31_Tue, 12 Jun 2001 21:29:40 -0400476_iso-8859-1 The positioning of tables, the order of the predicates and some other stuff are old rule base optimization, from which Oracle is moving away. The positioning is only used to break cost-based optimizer ties when determining inner/outer table in joins when the costs are equal. Though I run into a few puzzling DB2 optimizer decisions, there are rare. In Oracle, I'm continually amazed at some of its decisions, though it seems to improve with each new release. [...] 26950 139 56_Re: Stored procedure debugging on OS390 using a COBOL SP8_K.Balaji19_K.Balaji@TARGET.COM31_Tue, 12 Jun 2001 20:49:48 -0500703_iso-8859-1 I am using OUTDD(MYNAME) precompiler option. And it works. WLM puts display message to seperate DD statement.

-----Original Message----- From: Jim Medlock [mailto:jmedlock@ALLIANCESYS.COM] Sent: Wednesday, April 18, 2001 5:08 AM To: DB2-L@RYCI.COM Subject: Re: Stored procedure debugging on OS390 using a COBOL SP





I'm issuing DISPLAY's from a stored procedure with no problems. The output is routed to SYSOUT. We've found it very useful to have some stored procedures DISPLAY a line or two of basic information when they are invoked. This is especially helpful when trying to debug callers running on other platforms (like VB applications runnng under NT). [...] 27090 55 42_Re: Order of Processing: Join and Subquery13_Terry Purcell25_Terry_Purcell@YLASSOC.COM31_Tue, 12 Jun 2001 22:04:25 -0500390_iso-8859-1 Penny,

Apart from running an application trace, I am unaware of a way to distinguish the execution sequence from any tool (I'm not a Visual Explain user either). V7 does however add a new column to the plan table called PARENT_QBLOCK which contains the parent query block number. Although this will not be much benefit if the table joins are in the same query block. [...] 27146 75 28_Re: UDB indexable predicates13_Terry Purcell25_Terry_Purcell@YLASSOC.COM31_Tue, 12 Jun 2001 22:17:58 -0500585_iso-8859-1 Paul,

I am not aware of any formal list, and as you say the manual is quite vague. What I have been able to decipher is as follows......

Yes there is Data Manager (Stage 1) and RDS (Stage 2) in UDB, similar to OS/390.

Basically, everything indexable in OS/390 DB2 is also indexable in UDB, plus non-column CASE expressions (stage 2 in OS/390) and some column expressions provided they can be transposed to the non-column side or to the predicate of first table processed in a pair-wise join (also indexable in OS/390 V7 but no transposing occurs). [...] 27222 74 30_Re: Database holy war - UPSERT0_24_ujjwal@LOT.TATASTEEL.COM31_Wed, 13 Jun 2001 09:25:05 +0530343_us-ascii They ( Oracle) have a very good concept of ROWID long since the early 90's . They even had Triggers in the early 90's.So as far as SQL functionality is concerned they are way ahead of others . All this is from a developer's point of view.



Regards Ujjal Bhattacharya

Let's call it a future and document it . [...] 27297 51 30_Re: Database holy war - UPSERT16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Wed, 13 Jun 2001 10:40:59 +0530419_- Hi Ujjwal,

Not sure but it seems good point mentioned, So you have started working on Oracle now a days. Good to hear that.

All the best with all the best features.

I liked the end of your e-mail....i.e. "Let's call it a future and document it ." But i am making slight modification for the way i think,..... "Let's stop calling the past to be same as future, wait and see who is the best". [...] 27349 28 30_Re: Database holy war - UPSERT10_Max Scarpa16_mscarpa@CESVE.IT31_Wed, 13 Jun 2001 09:06:46 +0200310_us-ascii Yes and then the poor ORACLE sysprog become crazy to understand why the CPU exploded after that a new realease

of a software went into production with this nice and well optmized features.

The only thing to do is to call ORACLE and to pay. But I think is what they have planned.... [...] 27378 34 50_Including a new column in the middle of the table.9_Aristotle21_db2_learner@YAHOO.COM31_Wed, 13 Jun 2001 00:14:00 -0700521_us-ascii Hello ListUsers, Thanks a lot for your response last time. I thank Steen Rasmussen, CA- Denmark, Ken McDonald - BMC Software, & Tony. Now I have to rename a column & include a new column in an existing table. I am with DB2 5 plus S/390. I knew I need to drop the existing column and recreate the entire stuff. Here my question is I am going to unload the data before dropping it. But here my question is if I have include a new column in the middle of the existing table, what should I do? How my reloading [...] 27413 24 16_Identity columns11_Michael Lim22_MichaelLim@HKEX.COM.HK31_Wed, 13 Jun 2001 15:21:32 +0800393_- Hi,

I heard that it is possible to issue the following command in UDB on Unix platforms: "ALTER TABLE ALTER COLUMN RESTART WITH " This provides a way to reset identity column values when the maximum value is reached. However, this is currently not possible in my OS/390 DB2 V6. Does anyone know if there is a fix which will allow this on OS/390 DB2 V6? [...] 27438 17 54_Re: Including a new column in the middle of the table.15_Priyanka Deswal19_prdeswal@IN.IBM.COM31_Wed, 13 Jun 2001 12:59:05 +0530492_us-ascii You can use import utility to import data into your table.Use Method N option of import command to explicity specify the name of columns in which you want to import data.So you can just exclude the newly added column.

Regards Priyanka

================================================ 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. 27456 30 26_DB2 Query problem in V6 !!7_Vishy N33_Viswanathan.N@POWAIMAIL.LTITL.COM31_Wed, 13 Jun 2001 09:40:10 +0530340_us-ascii hi , We have 2 LPARS of OS/390 .. one running DB2 V5 on os/390 2.6 and the other V 6 on os/390 2.9 . Now .. we were facing problems executing large queries from Windows thru DB2 Connect / other apps like Centura. the problem of 30081 error use to come. but the same query use to run fine on the mainframe itself in batch mode [...] 27487 21 54_Re: Including a new column in the middle of the table.20_Dr. Matthias Wehrens29_matthias.wehrens@AM-GRUPPE.DE31_Wed, 13 Jun 2001 02:47:41 -0500509_- For the renamed column you have to change the load control statemment subtituting the old column name by the new.

For the new column it depends:

If defined as "nullable"/"not null with default" and the default value is to be loaded you have to do nothing

If there are specific values to be loaded you have to - expand the sysrec-dataset with these values - and to change the load control statement expanding it with field specifications for that column (name, type, position, ...) [...] 27509 16 10_Autoloader15_Priyanka Deswal19_prdeswal@IN.IBM.COM31_Wed, 13 Jun 2001 13:25:38 +0530370_us-ascii IS decimal datatype is converted to binary format whilesplitting process by autoloader utility.

Regards Priyanka

================================================ 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. 27526 20 26_DB2 IMAGE COPY PERFORMANCE12_HARBRY ARIZA20_harbry_a@HOTMAIL.COM31_Wed, 13 Jun 2001 02:57:51 -0500 27547 170 54_Re: Including a new column in the middle of the table.16_Rasmussen, Steen22_Steen.Rasmussen@CA.COM31_Wed, 13 Jun 2001 09:15:50 +0100548_- Hello again Aristotle,

If you dont have any tools available, you might have to EDIT the LOAD SYSIN cards to reflect which positions in the unload dataset are to be loaded into which columns. If you use DSNTIAUL to do the unload, and you remember to use SYSPUNCH to get the LOAD cntl generated, you can use SYSPUNCH as it is to do the reload since it specifies the columns and the positions in the unload dataset.If the new column does NOT allow NULLS - then you will have to edit the SYSPUNCH to specify which positions in the unload [...] 27718 155 18_Re: Reorg Criteria0_23_janakir@BLORE.TCS.CO.IN31_Wed, 13 Jun 2001 14:24:09 +0530341_us-ascii Thanks James,

I would be happy if you could resolve it for me. You already must be familiar with the tables and columns involved in the query. Just in case I am pasting the definitions at the bottom of this mail.

My DBAs are using these conditions to determine a reorg.

For me the condtions looks wayward, [...] 27874 34 28_Degradation in response time12_David Parker20_db2share@HOTMAIL.COM31_Wed, 13 Jun 2001 08:55:27 -0000393_- We have a query which runs in about 1 sec when executed.

SELECT COL1, COL2, COL3, COL4 FROM VIEW1 WHERE (COL4 like 'First%>Second%' OR COL3 like 'abc%' OR COL4 like 'Fourth%>Fifth%') AND COL1 IN (SELECT distinct TABLE1.COL1 FROM TABLE1, TABLE2 WHERE TABLE1.COL1 IN (SELECT MAX(COL1) FROM TABLE3 WHERE COL10 = '0900000036') AND TABLE1.COL1 = TABLE2.COL1) ORDER BY VIEW1.COL1 DESC [...] 27909 60 32_Re: Degradation in response time15_Toine Michielse18_vndobtm@US.IBM.COM31_Wed, 13 Jun 2001 12:20:55 +0200496_us-ascii If you want to see if DB2 address spaces are delayed, check RMF.

Regards,

Toine Michielse



David Parker @RYCI.COM> on 06/13/2001 10:55:27 AM

Please respond to DB2 Data Base Discussion List

Sent by: DB2 Data Base Discussion List



To: DB2-L@RYCI.COM cc: Subject: Degradation in response time





We have a query which runs in about 1 sec when executed. [...] 27970 76 42_Re: DB2 V5 to V7 MIGRATION budget surprise12_Paul Packham26_paul.packham@CONSIGNIA.COM31_Wed, 13 Jun 2001 11:24:25 +0000336_us-ascii Jim

"The "surprise" pricing of the V7 OS/390 utilities as a one-time-charge instead of monthly lease killed the upgrade."

It was my understanding the the one-time-charge was for the new DB2 Tools not the utilities. V7 base code + V7 utilities should cost no more than V5 (or V6) plus normal upgrade charges. [...] 28047 33 42_AW: DB2 V5 to V7 MIGRATION budget surprise12_Peter, Georg15_G.Peter@DZBW.DE31_Wed, 13 Jun 2001 12:56:26 +0200908_iso-8859-1 Just a question: "V7 base code + V7 utilities should cost no more than V5 (or V6)plus normal upgrade charges.."

Is this statement just your hope or is it also IBM's opinion announced somewhere ?

With kind regards - mit freundlichen Grüssen, Georg H. Peter DB2 Data Base Administrator c/o ------------------------------------------------------------------- Datenzentrale Baden-Wuerttemberg Software Development & Technology Center Knowledge Center Database Systems Krailenshaldenstrasse 44, 70469 Stuttgart, Germany e:mail G.Peter@dzbw.de Phone 0049-711-8108-271 PC-Fax 004971189696071 Internet (only in german language):http://www.dzbw.de ---------------------------------------------------------------------- Linux is like a wigwam: no gates, no windows, and an apache inside..... ===============================================To change your subscription options or to cancel [...] 28081 55 32_Re: Degradation in response time16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Wed, 13 Jun 2001 16:41:48 +0530587_- What if IRLM waits for the lock ? What is the isolation level ? There may be chances that the query for other user is waiting for locks to be released. Just a guess !!

Regards Sanjeev

> -----Original Message----- > From: David Parker [SMTP:db2share@HOTMAIL.COM] > Sent: Wednesday, June 13, 2001 2:25 PM > To: DB2-L@RYCI.COM > Subject: Degradation in response time > > We have a query which runs in about 1 sec when executed. > > SELECT COL1, COL2, COL3, COL4 FROM VIEW1 WHERE (COL4 like 'First%>Second%' > OR COL3 like 'abc%' OR COL4 like 'Fourth%>Fifth%') AND COL1 [...] 28137 16 32_Re: Compression for Image Copies13_Patric Becker25_Patric_Becker@SIS-WEST.DE31_Wed, 13 Jun 2001 06:02:27 -0500367_- Hi Ruth !

We ran several Image Copies using Compression, no problems at all. Hope this helps.

Regards, Patric

================================================ 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. 28154 21 15_Re: Bind Stmts?15_Walter Janissen27_walter.janissen@VICTORIA.DE31_Wed, 13 Jun 2001 06:06:54 -0500588_- Hello David

Although you already got a lot of replies, I want to comment as well, because we also use Endevor to bind our packages. To specify some different bind parameters as the standad ones we use an Endevor type which we called PKGCNTL. It will be managed by the application developer similar as he creates or changes programs. Before using some bind parameter which could have a negative influence on concurreny (as changing the isolation level) or performance (REOPT(VAR) for example) the program has be inserted in a - as you called it - bind table. The insert must [...] 28176 72 54_Re: Including a new column in the middle of the table.16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Wed, 13 Jun 2001 17:02:10 +0530446_- Aristotle,

First of all great to see your modesty level. You also reflected this in your e-mail id ( db2_learner@yahoo.com).

If you want to add the column in between, you need to first think (just think or write, don't run) about how the DDL looks when you are going to create it with new column. For unloading the data, in SELECT query you can mention the blank/zero/date/time/timestamp(depending on the data type) for e.g. [...] 28249 14 48_Re: Online Reorg Bug (DB2 v6) (reason 00C9007F )15_Daniel Sullivan28_daniel.sullivan@ZURICHNA.COM31_Wed, 13 Jun 2001 06:52:14 -0500468_us-ascii Is it possible that there is something wrong with the tablespace being reorged? The error message indicates that there is a dictionary problem. Have you tried to do a recovery and then a reorg? That's what I would do.

================================================ 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. 28264 120 29_Re: DB2 Developer's Guide, V411_Paul Turpin32_pault@ALUMMAIL.SSB.ROCHESTER.EDU31_Wed, 13 Jun 2001 07:02:55 -0500757_- You might also want to look at the Fourth Edition book at the BooksaMilliom.com website, http://www.booksamillion.com/ncom/books?id=9924330801254&pid=0672318288

and possibly run a book search at http://www.addAll.com/ before making your purchase. I think you will be pleased with the prices you find.

--------------------------------------------------------------------------- On Fri, 8 Jun 2001 22:56:55 -0500, =?big5?B?tPa90qr4?= wrote:

>Gene, >Craig's book has the "IBMese" written into English. There are examples and >samples. All in one book. I would guess that 75 percent of the questions you >need answered are in the one book. He also breaks out the differences in V4, V5 >and I assume V6 in the [...] 28385 16 48_Re: Online Reorg Bug (DB2 v6) (reason 00C9007F )10_Max Scarpa16_mscarpa@CESVE.IT31_Wed, 13 Jun 2001 14:24:50 +0200384_us-ascii Is the reorg a 3rd party utility ? If yes there are some APARs (actually very old APARs) with this error...

Regards 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. 28402 107 42_Re: Order of Processing: Join and Subquery13_Penny Treptow21_Penny.Treptow@UAL.COM31_Wed, 13 Jun 2001 07:45:11 -0500487_- As requested, Here's the SQL and Explain output.

SELECT A.KEYID ,A.OLDVALUE ,A.NEWVALUE ,A.AUDIT_STAMP ,J.REG_TEMP ,J.BEN_STAT ,J.KEY_GRP FROM TABLE_A_HIST A, TABLE_J J WHERE J.KEYID = A.KEYID AND J.KEY_RCD# = A.KEY_REC# AND J.KEY_GRP NOT IN ('IFN', 'CMT', 'CSL', 'VAG', 'TAG', 'ZZZ') AND ((J.KEY_STATUS <> 'R' AND J.BEN_STAT = A.NEWVALUE) OR (J.KEY_STATUS = 'R' AND A.NEWVALUE = 'M') OR (J.KEY_STATUS = 'D' AND A.NEWVALUE = 'G')) AND J.EFFDT = A.AUDIT_EFFDT AND J.EFFDT = [...] 28510 63 23_Re: Trigger happy (not)11_Mike Turner29_Michael_Turner@COMPUSERVE.COM31_Wed, 13 Jun 2001 08:49:33 -0400433_ISO-8859-1 Hi Nick

Glad to be of help. EXISTS with correlated subquery is a winner for performance PROVIDED you create an index on the correlation columns of the subquery table. Pity you cannot create an index on a transition table!

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

Message text written by DB2 Data Base Discussion List >Hi Mike, Thanks for the reply. [...] 28574 49 42_Re: DB2 V5 to V7 MIGRATION budget surprise11_Mike Turner29_Michael_Turner@COMPUSERVE.COM31_Wed, 13 Jun 2001 08:49:31 -0400343_ISO-8859-1 Jim

The reason IBM made utilities chargeable was to avoid an anti-trust lawsuit from a third-party vendor of DB2 for OS/390 utilities. Third party vendor claimed IBM were putting them out of business by not charging for utilities. There is no third party competition on non-OS/390 platforms, so no need to change there. [...] 28624 220 23_Re: Pessimistic Locking19_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Wed, 13 Jun 2001 07:53:46 -0500606_ISO-8859-1 Hi Tim, Thanks for your keen insights into this issue. Your first concern: "... Commits after inserting into the locking tables might accidentally commit other data." Yes, I agree and I envision the locking code to either be separate, called program(s) or Stored Procedures (V7) -- the actual application is a 2-tier client/server design at present. Your second concern: " ... the Lock table in exclusive mode described below could create a bottleneck for your system." Yes, again, I agree but I can't figure out a better way to ensure that two or more concurrent users don't lock the same [...] 28845 50 42_Re: DB2 V5 to V7 MIGRATION budget surprise11_Tina Hilton21_Tina.Hilton@BMSUS.COM31_Wed, 13 Jun 2001 08:07:05 -0500377_iso-8859-1 That was what IBM said at Share this spring.

Tina

-----Original Message----- From: Peter, Georg [mailto:G.Peter@DZBW.DE] Sent: June 13, 2001 5:56 AM To: DB2-L@RYCI.COM Subject: AW: DB2 V5 to V7 MIGRATION budget surprise



Just a question: "V7 base code + V7 utilities should cost no more than V5 (or V6)plus normal upgrade charges.." [...] 28896 105 46_Re: AW: DB2 V5 to V7 MIGRATION budget surprise12_Paul Packham26_paul.packham@CONSIGNIA.COM31_Wed, 13 Jun 2001 14:05:20 +0000516_us-ascii



Georg,

I'm not a bean counter, but following a meting with our IBM Rep I believe this to be true.

Regards, Paul











Please respond to DB2 Data Base Discussion List



To: DB2-L@RYCI.COM cc: (bcc: Paul Packham/e/POSTOFFICE) Hard Copy To: Hard Copy cc:

Date: 13/06/2001 10:56

From: "Peter, Georg" @RYCI.COM>

Sent by: DB2 Data Base Discussion List [...] 29002 26 42_AW: DB2 V5 to V7 MIGRATION budget surprise12_Peter, Georg15_G.Peter@DZBW.DE31_Wed, 13 Jun 2001 15:30:05 +0200599_iso-8859-1 Thanks, Tina.

With kind regards - mit freundlichen Grüssen, Georg H. Peter

-----Ursprüngliche Nachricht----- Von: Tina Hilton [mailto:Tina.Hilton@BMSUS.COM] Gesendet am: Mittwoch, 13. Juni 2001 15:07 An: DB2-L@RYCI.COM Betreff: Re: DB2 V5 to V7 MIGRATION budget surprise

That was what IBM said at Share this spring.

Tina

===============================================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. 29029 210 13_Re: DB2 & SMS15_Billings, Linda30_linda.billings@DOA.STATE.WI.US31_Wed, 13 Jun 2001 08:37:13 -0500263_BIG5 Do all SMS people come from the same gene pool? Ours are the same way. Even I can even code ACS rules and I don't know that much about it. It's not that hard. I always have to write it up for them and supply the test plans before they will do anything. [...] 29240 41 36_DB2 V7 and CA utilities P99D caution16_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM31_Wed, 13 Jun 2001 09:38:52 -0400448_iso-8859-1 Caution!

If you upgrade to DB2 V7, there has been an enhancement to Online Reorg. It is called FASTSWTICH. YES is the default for FASTSWITCH.

FASTSWITCH really does work well to reduce the outage time.

However, it breaks CA QUICK COPY and FAST UNLOAD (even at the latest non-Beta P99D)

FASTSWITCH results in the last two nodes of the object dataset name being J0001.Annn (where nnn is partition number). [...] 29282 57 42_Re: DB2 V5 to V7 MIGRATION budget surprise16_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM31_Wed, 13 Jun 2001 09:53:17 -0400362_iso-8859-1 I don't have the numbers handy but I think utils + base as two items opposed to utils + base as one item is a wash. There was the usual 'new version costs more than old version' increase.

Our bean counters are as tight-fisted and nitpicky as they come and they did not balk at the cost after they read all the licensing and pricing stuff. [...] 29340 233 13_Re: DB2 & SMS16_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM31_Wed, 13 Jun 2001 10:02:56 -0400605_Big5 I think SMS folks do come from the same gene pool - also from the same gene pool as bean counters.

Regards. eric pearson NS ITO Database Support



-----Original Message----- From: Billings, Linda [mailto:linda.billings@DOA.STATE.WI.US] Sent: Wednesday, June 13, 2001 9:37 AM To: DB2-L@RYCI.COM Subject: Re: DB2 & SMS



Do all SMS people come from the same gene pool? Ours are the same way. Even I can even code ACS rules and I don't know that much about it. It's not that hard. I always have to write it up for them and supply the test plans before they will do [...] 29574 65 42_Re: DB2 V5 to V7 MIGRATION budget surprise13_Kenski, David25_David.Kenski@MARRIOTT.COM31_Wed, 13 Jun 2001 10:08:02 -0400479_iso-8859-1 We are missing one utility from our DB2 utility vendor to have 3rd party utilities duplicating the functionality of the IBM Utility Suite. The one time charge I was quoted on the Utilities Suite for our machine was still 1.5 times less than the cost of the single utility that we were missing from our DB2 utility vendor. The IBM utilities are available now, where as not all of the other vendor utilities are available presently. Pick your poison I suppose..... [...] 29640 54 22_Re: Database holy war.14_James Campbell25_jacampbell@ACSLINK.NET.AU31_Wed, 13 Jun 2001 09:15:39 -0500750_- Some epistles from the other side:

http://www.oracle.com/corporate/press/index.html?705229.html

"Confused about conflicting database claims? Get the real story from The Oracle Insider.

REDWOOD SHORES, Calif., May. 9, 2001 - (http://www.oracle.com/tellmemore/? 705229) The database wars are heating up, with market leaders in a sometimes dramatic, always fascinating contest for the multi-billion-dollar database market. In these wars, the ammunition is information. Never before has so much been generated-and never before has it been so important to distinguish between fact and fiction. In its first installment of an insightful new weekly online column, "The Oracle Insider," Oracle offers a look at both the facts and [...] 29695 117 42_Re: DB2 V5 to V7 MIGRATION budget surprise0_26_JCameron@MSI-INSURANCE.COM31_Wed, 13 Jun 2001 09:12:29 -0500416_iso-8859-1 We checked into going from V5 to V7 and were surprised by a very significant one-time charge for the utilities suite. We may stay on V5 for awhile longer ...



JCameron@msi-insurance.com







Tina Hilton cc: Sent by: DB2 Subject: Re: DB2 V5 to V7 MIGRATION budget surprise Data Base Discussion List [...] 29813 89 42_Re: DB2 V5 to V7 MIGRATION budget surprise16_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM31_Wed, 13 Jun 2001 10:27:16 -0400524_iso-8859-1 Another benefit - all the DB2 V7 utilities actually work with all DB2 objects. And IBM will even address problems as such rather than 'candidates for V7 exploitation in a future version'.

My days of recommending non-IBM utilities are past.

Regards. eric pearson NS ITO Database Support



-----Original Message----- From: Kenski, David [mailto:David.Kenski@MARRIOTT.COM] Sent: Wednesday, June 13, 2001 10:08 AM To: DB2-L@RYCI.COM Subject: Re: DB2 V5 to V7 MIGRATION budget surprise [...] 29903 62 31_Re: DB2 vs Oracle Query Parsing11_Bill Happel22_WRHappel@US.FORTIS.COM31_Wed, 13 Jun 2001 09:36:13 -0500568_US-ASCII It was interesting what Willie said. I just went to an Oracle DBA class in February and the Oracle teacher told us the story of how Oracle got it's optimizer. Supposedly, back in the 1980's, Oracle was having problems developing an optimizer. At this time, the IBM developers were able to create one for their DBMS (I am not sure which one?). The IBM developers were so proud of their code, they posted it onto a public bulletin board. The IBM developers were yelled at and Oracle was laughing as they thought they stole a very important piece for their [...] 29966 31 15_Re: VSAM to DB29_Judy Saxe18_judysaxe@M3NET.NET31_Wed, 13 Jun 2001 09:21:42 -0500302_- Bilal, A conversion from VSAM to DB2 can be done quick and easy with a SoftBase product called Data Generation Facility (DGF). This is a tool my company sells which can scrub, edit, security mask and randomize your VSAM data coming in. It can split the data to output many tables from one file. [...] 29998 104 22_Re: Database holy war.15_Slot, JP (Jaap)23_J.P.Slot@RF.RABOBANK.NL31_Wed, 13 Jun 2001 16:41:59 +0200567_iso-8859-1 Thanks James,

It is always good to know what the O-faction is up to. They're not only balding but also bold in their efforts to get a bigger marketshare. They're upserting their products (if its there override it, if it's not..get it in!) Problem with DB2 and Oracle in our shop is the knowledge available.. Because you need 3 dbas for Oracle and 1 for DB2, there is a lot more knowledge available for Oracle (especially on UNIX). Thus our management has said Oracle to be the prefferred rdbms for UNIX. Can either one on the list give me some [...] 30103 53 40_Re: DB2 V7 and CA utilities P99D caution9_Rob Crane22_racrane@CONCENTRIC.NET31_Wed, 13 Jun 2001 08:41:59 -0600329_us-ascii P99D is tolerant of V7, meaning all things that worked in V6 and below will continue to work under a V7 UDB DB2 for OS390 environment as long as you do not exploit V7 features. FASTSWITCH is new V7 functionality. The P01 series will exploit V7. The P99 series exploits V6 (with P99E being the most recent release). [...] 30157 72 56_Re: Stored procedure debugging on OS390 using a COBOL SP12_BOB JEANDRON21_BOB.JEANDRON@USDA.GOV31_Wed, 13 Jun 2001 09:45:00 -0400351_- I had a lot of trouble getting this to work as well. I finally ran a PM trace and found that the procedure was getting a -805. After that was resolved, everything started working.

>>> DB2-L@RYCI.COM@inter2 06/12/01 08:49PM >>> I am using OUTDD(MYNAME) precompiler option. And it works. WLM puts display message to seperate DD statement. [...] 30230 89 32_Re: Degradation in response time15_Toine Michielse18_vndobtm@US.IBM.COM31_Wed, 13 Jun 2001 16:50:55 +0200471_us-ascii Hello Sanjeev,

IRLM waits would increase the class 2 elapsed. From the description I understand that those times are fairly consistent and don't increase too much. Therefor I concur with the port that it's something outside of DB2.



Regards,

Toine Michielse



"S, Sanjeev (CTS)" @RYCI.COM> on 06/13/2001 01:11:48 PM

Please respond to DB2 Data Base Discussion List [...] 30320 74 40_Re: DB2 V7 and CA utilities P99D caution16_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM31_Wed, 13 Jun 2001 10:58:47 -0400673_iso-8859-1 This is precisely why I no longer recommend non-IBM utilities. IBM provides timely support for their utilities.

Regards. eric pearson NS ITO Database Support



-----Original Message----- From: Rob Crane [mailto:racrane@concentric.net] Sent: Wednesday, June 13, 2001 10:42 AM To: DB2-L@RYCI.COM Subject: Re: DB2 V7 and CA utilities P99D caution



P99D is tolerant of V7, meaning all things that worked in V6 and below will continue to work under a V7 UDB DB2 for OS390 environment as long as you do not exploit V7 features. FASTSWITCH is new V7 functionality. The P01 series will exploit V7. The P99 series exploits V6 (with [...] 30395 45 31_Re: DB2 vs Oracle Query Parsing15_Lankester, Andy22_Andy_Lankester@BMC.COM31_Wed, 13 Jun 2001 10:08:38 -0500489_iso-8859-1 Best of both worlds?

If you want DB2 quality optimisation against Oracle data you can go through the IBM Data Joiner. As I understand it (and I am sure the list will correct me if I am wrong) when DJ sees an Oracle query it goes the the Oracle catalog and retrieves the object statistics, optimises the SQL using the DB2 optimiser and then TELLS the Oracle optimiser exactly what to do by adding Oracle Hints to the SQL before submitting it to Oracle for execution. [...] 30441 35 15_Re: VSAM to DB212_Carl Shinkle24_carl.shinkle@MANTECH.COM31_Wed, 13 Jun 2001 10:54:58 -0400389_iso-8859-1 Bilal Our company, ManTech Systems Solutions specializes in conversions from legacy databases to DB2. Would be glad to discuss our capability with you. Regards..Carl Shinkle

-----Original Message----- From: DB2 Data Base Discussion List [mailto:DB2-L@RYCI.COM] On Behalf Of Bilal YILDIRIM Sent: Tuesday, June 12, 2001 3:42 AM To: DB2-L@RYCI.COM Subject: VSAM to DB2 [...] 30477 21 25_Stored Procedure question13_Villa Horacio17_hvilla@TTI.COM.AR31_Wed, 13 Jun 2001 12:11:08 -0300311_iso-8859-1 I asked this twice but got no answers. Nobody knows it or nobody understands what i'm asking?

> Hi, > is it possible from a CICS program already accessing a DB2 subsystem on > OS/390 to call a stored procedure on a remote database, perhaps on Windows > 2000? How? > TIA > Horacio Villa > [...] 30499 114 32_Re: Degradation in response time12_Isaac Yassin20_yassini@BEZEQINT.NET31_Wed, 13 Jun 2001 18:16:08 +0200531_iso-8859-1 Hi, Are the increas consistent around the clock ? (eg: Have you eliminated all other possible disturbing factors ?) Did you check how it behaves if used "with UR" ? Do you have a monitor to try to use detailed trace ? Hope it helps you in your search . Isaac Yassin DBMS & IT Consultant yassini@bezeqint.net ----- Original Message ----- From: "Toine Michielse" Newsgroups: bit.listserv.db2-l To: Sent: Wednesday, June 13, 2001 4:50 PM Subject: Re: Degradation in response time [...] 30614 99 30_Re: Database holy war - UPSERT12_Isaac Yassin20_yassini@BEZEQINT.NET31_Wed, 13 Jun 2001 18:33:45 +0200465_iso-8859-1 Hi, Oracle has started more as an application tool based upon some "half-relational" model, so they implemeted programming needs first (triggers, rowid). Now they try to build up the DBMS side.

Isaac Yassin DBMS & IT Consultant yassini@bezeqint.net ----- Original Message ----- From: Newsgroups: bit.listserv.db2-l To: Sent: Wednesday, June 13, 2001 5:55 AM Subject: Re: Database holy war - UPSERT [...] 30714 80 42_Re: Order of Processing: Join and Subquery12_Isaac Yassin20_yassini@BEZEQINT.NET31_Wed, 13 Jun 2001 18:36:53 +0200520_iso-8859-1 Hi, Most of the times (but not all) I found out that if you have a clean explain table and you select from it without "order by" then by reading the result from the last row to the 1st one you get the execution order...

Isaac Yassin DBMS & IT Consultant yassini@bezeqint.net ----- Original Message ----- From: "Terry Purcell" Newsgroups: bit.listserv.db2-l To: Sent: Wednesday, June 13, 2001 5:04 AM Subject: Re: Order of Processing: Join and Subquery [...] 30795 43 38_DB2 High Performance Design and Tuning22_Sajja Nagalinga Murthy19_snlmurthy@YAHOO.COM31_Wed, 13 Jun 2001 08:57:34 -0700427_us-ascii

DB2 High Performance Design and Tuning by Susan Lawson, Richard A. Yevich, Warwick Ford

http://www.amazon.com/exec/obidos/ASIN/0132037955/o/qid=992444943/sr=2-3/ref=aps_sr_b_1_3/103-9776800-7082253

Hi,

I am planning to buy this book. Any recommendations. Any better alternatives. Any suggestions.

Thanks Murthy





--------------------------------- Do You Yahoo!? 30839 46 30_Re: DB2 Query problem in V6 !!13_Shapiro, Dave26_Shapiro.Dave@PRINCIPAL.COM31_Wed, 13 Jun 2001 11:05:47 -0500378_iso-8859-1 Vishy,

What is your error message? Attachments are not allowed on the Listserv. If your SQL is running long on the host, your apps may be timing out. Try tuning the SQL and possibly increasing the default timeout value for your client app(s)?? Do you have a monitor/tracing tool for DB2? Have a look at the output from a DB2 Connect client trace as well. [...] 30886 99 22_Re: Database holy war.12_Gregg Sawyer26_gregg.a.sawyer@VERIZON.COM31_Wed, 13 Jun 2001 11:55:43 -0400438_us-ascii James, The atrocious marketing calumnies don't irritate me too much, but the insult to my intelligence really raises my blood pressure; to paraphrase the drivel below :

This makes their report analogous to saying that "Leading Ford repair shops recommend customers buy Ford cars." Of course, you should listen to your trusty GM dealer, because he'll give you the _real_ unbiased assessment on those crappy Ford cars. [...] 30986 142 30_Re: Database holy war - UPSERT0_26_Steve.Westfall@EQUIFAX.COM31_Wed, 13 Jun 2001 11:14:31 -0500468_us-ascii Isaac, I don't think that is an accurate statement. I don't particularly care for Oracle as a product or a company for a number of reasons, but I recall that they were selling Oracle as a truly relational database in the early 1980's, at which time someone tried to sell it to me. This was before DB2 was introduced. Over the years they have complemented their flagship rdbms product with a large array of application development tools and applications. [...] 31129 28 33_upgrading DB2 UDB for NT to Win2K12_Kirk Hampton16_khampto1@TXU.COM31_Wed, 13 Jun 2001 11:22:00 -0500526_us-ascii We have a DB2 UDB for Win/NT v 5.2, fixpak 8, database running on a Win/NT server. The server is scheduled to be replaced with a Win/2000 machine. I am the OS/390 DB2 sysprog, but as I have the connections with the group here, I was asked to forward the following questions: 1) Are there any certification or support issues with any DB2 version and Win/2000 ? 2) Which level of UDB would be the preferred level to go to ? v7.2 ? And can we migrate directly to 7.2 from 5.2, or is there an intermediate step ? 3) [...] 31158 67 42_Re: DB2 High Performance Design and Tuning19_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Wed, 13 Jun 2001 11:42:58 -0500596_ISO-8859-1 HI Murthy, I have and use the book. Its an excellent attachment to the DB2 manuals on the same subject and covers many areas the DB2 manuals don't.

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 [...] 31226 49 38_00C9007F - resend due to mail problems12_Isaac Yassin20_yassini@BEZEQINT.NET31_Wed, 13 Jun 2001 19:46:13 +0200436_iso-8859-1 Hi, From V7 Msg&Codes it says your compression dictionary is invalid and you should recover TS.

00C9007F Explanation:The compression dictionary for the table space or partition is invalid.Therefore,the table space

or partition cannot be opened.

System Action:The table space or partition is

implicitly stopped by DB2.Messages DSNT501I and

System Action:The table space or partition is [...] 31276 167 30_Re: Database holy war - UPSERT12_Isaac Yassin20_yassini@BEZEQINT.NET31_Wed, 13 Jun 2001 19:48:47 +0200446_iso-8859-1 Hi, Interesting. They tried to sell it to us on the "ease of programming environmet " (or something like that - I don't have the papers anymore ...) - But what the heck ...

Isaac Yassin DBMS & IT Consultant yassini@bezeqint.net ----- Original Message ----- From: Newsgroups: bit.listserv.db2-l To: Sent: Wednesday, June 13, 2001 6:14 PM Subject: Re: Database holy war - UPSERT [...] 31444 19 30_Re: Database holy war - UPSERT11_Mike Hately20_MHately@ETECH-UK.COM31_Wed, 13 Jun 2001 17:46:54 +0100307_us-ascii I totally agree. I don't like Oracle's current assault on DB2 but they've had a good product for a lot of years now. It's always entertaining though. Hang out at the DB2 sites and see Oracle get slagged; nip over to Oracle sites and see DB2 take a hammering. helps to pass the time I suppose. [...] 31464 136 42_Re: DB2 High Performance Design and Tuning12_Isaac Yassin20_yassini@BEZEQINT.NET31_Wed, 13 Jun 2001 19:53:13 +0200387_iso-8859-1 I recommend . I would also recommend Gabriel Wiorkowski book (the new version) - not alternative but complements.

Isaac Yassin DBMS & IT Consultant yassini@bezeqint.net ----- Original Message ----- From: Sajja Nagalinga Murthy Newsgroups: bit.listserv.db2-l To: DB2-L@RYCI.COM Sent: Wednesday, June 13, 2001 5:57 PM Subject: DB2 High Performance Design and Tuning [...] 31601 151 32_Re: Degradation in response time10_Shukla, JR18_JR.Shukla@BNSF.COM31_Wed, 13 Jun 2001 12:08:10 -0500450_iso-8859-1 Have you compared the NOT ACCOUNTED time? If it is going up, then DB2 is waiting longer for MVS services. Also, do you know if the transactions are waiting longer in the IMS queue (if you are using IMS, for example) or they are spending more time in DB2?

-----Original Message----- From: David Parker [mailto:db2share@HOTMAIL.COM] Sent: Wednesday, June 13, 2001 3:55 AM To: DB2-L@RYCI.COM Subject: Degradation in response time [...] 31753 112 42_Re: DB2 High Performance Design and Tuning11_Judy Kibler21_judith.kibler@TRW.COM31_Wed, 13 Jun 2001 12:16:57 -0500432_us-ascii Hello all,

I too am looking for good DB2 administration books to supplement the IBM manuals. However, we are utilizing DB2 UDB on AIX. Is this book helpful for any DB2 environment, or mostly only for DB2 for OS/390?

Thanks, Judy Kibler







"DAVIS, RICK (SBCSI)" on 06/13/2001 11:42:58 AM

Please respond to DB2 Data Base Discussion List [...] 31866 23 46_Trying to connect DB2 OS/390 to DB2 Connect V715_Jardim, Luciano18_LJardim@BANDAG.COM31_Wed, 13 Jun 2001 12:55:08 -0500327_iso-8859-1 I am installing DB2 Connect V7 and have a problem. When I ask to add a database using CCA, I am unable to type our Location Name because it is longer than 8 bytes.

I believe this is a bug but couldn't find a fix for it in the IBM web site. Any of you had a similar problem? If so, what was the solution? [...] 31890 24 26_Re: Size of a UDB database11_Paul Turpin32_pault@ALUMMAIL.SSB.ROCHESTER.EDU31_Wed, 13 Jun 2001 13:08:11 -0500377_- This answer is for Version 6 (but it appears the size limits are the same for Version 7.1).

According to the SQL Reference, Volume 2 (SC09-2848-00) in Appendix A (SQL Limits) Table 31 the max size of a table per partition is determined by the page size. Here are the stated limits: 4k page size 64 GB 8k page size 128 GB 16k page size 256 GB 32k page size 512 GB [...] 31915 42 50_Re: Trying to connect DB2 OS/390 to DB2 Connect V712_Myron Miller22_myronwmiller@YAHOO.COM31_Wed, 13 Jun 2001 11:13:36 -0700517_us-ascii Are you sure its allowed to be longer than 8 bytes? Lunames are restricted to 8 bytes. LINKNAMES in SYSIBM.IPNAMES is 8 bytes. LOCATION is 16 bytes in SYSIBM.LOCATIONS, but LINKNAMES is 8 bytes. --- "Jardim, Luciano" wrote: > I am installing DB2 Connect V7 and have a problem. When I ask to add > a > database using CCA, I am unable to type our Location Name because it > is > longer than 8 bytes. > > I believe this is a bug but couldn't find a fix for it in the IBM web > site. > [...] 31958 53 37_Re: upgrading DB2 UDB for NT to Win2K12_Myron Miller22_myronwmiller@YAHOO.COM31_Wed, 13 Jun 2001 11:15:45 -0700555_us-ascii 1) %.2 goes off support as of 6/30/01 or thereabouts. 2) You can migrate directly from 5.2 to 7.2 but its a very careful and controlled process. Its documented in the Quick Beginnings and in USER guide. We also did export/import on AIX from 5.2 to 7.1 fine. Can't speak about 7.2. Haven't upgraded directly to it. --- Kirk Hampton wrote: > We have a DB2 UDB for Win/NT v 5.2, fixpak 8, database running on a > Win/NT server. The server is scheduled to be replaced with a > Win/2000 > machine. I am the OS/390 DB2 sysprog, [...] 32012 33 50_Re: Trying to connect DB2 OS/390 to DB2 Connect V715_Benjamin Reches33_Benjamin.Reches@MORGANSTANLEY.COM31_Wed, 13 Jun 2001 14:21:56 -0400507_us-ascii if your host server is os390 then make sure that on the Protocol tab sheet you check the checkbox like this:

[Image]

"Jardim, Luciano" wrote:

> I am installing DB2 Connect V7 and have a problem. When I ask to add a > database using CCA, I am unable to type our Location Name because it is > longer than 8 bytes. > > I believe this is a bug but couldn't find a fix for it in the IBM web site. > Any of you had a similar problem? If so, what was the solution? > > Thanks, > [...] 32046 51 31_Re: DB2 vs Oracle Query Parsing13_Helen Johnson25_helen_johnson@RAC.RAY.COM31_Wed, 13 Jun 2001 13:42:52 -0500535_us-ascii I saw a demo of this at IDUG last year. It was pretty amazing.

"Lankester, Andy" wrote:

> Best of both worlds? > > If you want DB2 quality optimisation against Oracle data you can go through > the IBM Data Joiner. As I understand it (and I am sure the list will > correct me if I am wrong) when DJ sees an Oracle query it goes the the > Oracle catalog and retrieves the object statistics, optimises the SQL using > the DB2 optimiser and then TELLS the Oracle optimiser exactly what to do by > adding Oracle [...] 32098 35 19_Cursors and updates22_Claudio Meluzzi Mendes18_p000002@BEG.COM.BR31_Wed, 13 Jun 2001 15:50:30 -0300604_iso-8859-1 Our programmers have coded a program which opens a cursor for an SQL joining three tables in the FROM clause. I suppose the cursor will be read-only. For each fetched row the program issues an UPDATE (without WHERE CURRENT OF clause) of the same fetched row, updating another column not used in the cursor definition. The cursor misteriously processes the same rows twice and this behaviour has been causing problems. For temporarily solving the problem, the SELECT of the cursor has now an ORDER BY clause, for enforcing the creation of a result table after the invoked SORT because the [...] 32134 26 21_Re: Database holy war13_Helen Johnson25_helen_johnson@RAC.RAY.COM31_Wed, 13 Jun 2001 14:21:00 -0500574_us-ascii Steve.Westfall@EQUIFAX.COM wrote:

> I recall that they were selling Oracle as a truly relational database in the > early 1980's, at which time someone tried to sell it to me.

I recall that a number of PC databases also said they were "truly relational" databases in the 1980's. They last time I saw an article on the 10 points that made a database truly relational, none of the databases including DB2 or Oracle fully met all ten points. But that was five or so years ago that I saw that last article so things could have changed. I believe that [...] 32161 16 17_online statistics12_Jeff Frazier26_Jeffrey_Frazier@WENDYS.COM31_Wed, 13 Jun 2001 15:30:43 -0400353_us-ascii Hi all. We are trying to run a reorg tablespace .REORG TABLESPACE DBACCD03.BDLARGE LOG YES SORTDEVT SYSDA SORTNUM 4 SORTDATA STATISTICS TABLE ( ALL) INDEX(ALL) KEYCARD. Some of the indexes were created using DEFER YES. It abends collecting index stats with a RC00e40202. Has anyone else run in to this? Any suggestions or ideas? TIA, Jeff [...] 32178 36 21_Re: online statistics16_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM31_Wed, 13 Jun 2001 15:49:02 -0400687_iso-8859-1 Take out the STATISTICS stuff and add a RUNSTATS SHRLEVEL CHANGE after the REORG?

Regards. eric pearson NS ITO Database Support



-----Original Message----- From: Jeff Frazier [mailto:Jeffrey_Frazier@WENDYS.COM] Sent: Wednesday, June 13, 2001 3:31 PM To: DB2-L@RYCI.COM Subject: online statistics



Hi all. We are trying to run a reorg tablespace .REORG TABLESPACE DBACCD03.BDLARGE LOG YES SORTDEVT SYSDA SORTNUM 4 SORTDATA STATISTICS TABLE ( ALL) INDEX(ALL) KEYCARD. Some of the indexes were created using DEFER YES. It abends collecting index stats with a RC00e40202. Has anyone else run in to this? Any suggestions or ideas? TIA, Jeff [...] 32215 24 23_Re: Cursors and updates13_Seibert, Dave26_Dave_Seibert@COMPUWARE.COM31_Wed, 13 Jun 2001 15:55:05 -0400315_iso-8859-1 This is a classic problem. I believe I first ran into it back in 1989 or so.

The solution is using the UPDATE WHERE CURRENT OF clause.

Why can't or why doesn't the program use that clause?

Updating rows outside the cursor can cause the same rows to qualify over and over again. [...] 32240 91 42_Re: Order of Processing: Join and Subquery15_Smith, Dennis J22_dennis.j.smith@EDS.COM31_Wed, 13 Jun 2001 14:56:42 -0500313_iso-8859-1 The short answer is yes, you should be able to sort the plan_table and get a close execution sequence. However, looking at this SQL, you can derive that DB2 will not do the joins before the sub queries. This reminds me of the Hotel SQL example that Richard Yevich has in one of his presentations. [...] 32332 63 21_Re: online statistics12_Jeff Frazier26_Jeffrey_Frazier@WENDYS.COM31_Wed, 13 Jun 2001 15:58:58 -0400414_us-ascii By the way the indexes were created with DEFINE NO not DEFER yes. We have Peoplesoft. We also ran it without INDEX(ALL) and also ran it going against the index that has the underlying vsam clusters and it runs fine.







"Pearson, Eric L," @RYCI.COM> on 06/13/2001 03:49:02 PM

Please respond to DB2 Data Base Discussion List [...] 32396 69 50_Passing locators from Triggers to Stored Procedure11_Suresh Sane21_data_arch@HOTMAIL.COM31_Wed, 13 Jun 2001 15:20:51 -0500367_- Listers,

Need some help form someone who has hopefully managed to do this.

Environment: DB2 on OS/390, V6 (May refresh), COBOL

I have a trigger that passes a parm + old & new tables to an SP:

.... REFERENCING OLD_TABLE AS OT NEW_TABLE AS NT FOR EACH ROW MODE DB2SQL BEGIN ATOMIC CALL MFLSTPR.SPSUBTRI('A', TABLE OT, TABLE NT); END# [...] 32466 86 54_Re: Passing locators from Triggers to Stored Procedure15_Philip, Sibimon20_SPhilip@CSXLINES.COM31_Wed, 13 Jun 2001 16:31:36 -0400377_- Thanks to this question. I wanted to do exactly the same, could not figure out a way to do this. So I am just temporarily holding on using trigger.

thanks..sibi

-----Original Message----- From: Suresh Sane [mailto:data_arch@HOTMAIL.COM] Sent: Wednesday, June 13, 2001 03:21 PM To: DB2-L@RYCI.COM Subject: Passing locators from Triggers to Stored Procedure [...] 32553 120 26_Re: DB2 v6.1 and old dbrms34_Pillay, Venkat (USPC.PCT.Hopewell)20_venkat_pillay@ML.COM31_Wed, 13 Jun 2001 17:17:58 -0400445_iso-8859-1 There are two issues here. One is if colon is missing for a descriptor variable then there is no issue with bind/rebind/autobind or re-compile of source.

Second issue is if colon is missing for other host variable and DBRM happens to be DB2 Version 2.2 and older then autobind/bind or rebind will fail after migrating to V6. The program will continue to in work in v6 without problem unless bind operation is done/needed. [...] 32674 40 54_Re: Including a new column in the middle of the table.10_Rob Wright17_rwright@LIC.CO.NZ31_Thu, 14 Jun 2001 09:19:23 +1200331_us-ascii If you use the DB2 supplied unload utility, DSNTIAUL, to unload the table, you can name the new column in your SQL statement for the unload. The new name will be generated for the LOAD statement. For example, the follwoing SQL will rename COL3 to COL5, and add the data 'New column text' with the column name NEWCOL: [...] 32715 60 51_Rexx Stored Procedure Builder - Address Space Setup12_David Booher22_David.Booher@QUEST.COM31_Wed, 13 Jun 2001 15:01:21 -0700256_iso-8859-1 Rexx exec: DSNTPSMP

Does anyone know where the doc is to setup the procedure address space for this exec? We're bombing out on an allocation for SQLSRC and I don't seem to be getting any hits in the doc.

Thanks! Dave Booher

32776 17 32_db2 image copy performance issue12_HARBRY ARIZA20_harbry_a@HOTMAIL.COM31_Wed, 13 Jun 2001 17:04:14 -0500 32794 31 48_Re: Online Reorg Bug (DB2 v6) (reason 00C9007F )12_HARBRY ARIZA20_harbry_a@HOTMAIL.COM31_Wed, 13 Jun 2001 17:19:38 -0500 32826 65 21_Re: Database holy war0_26_Steve.Westfall@EQUIFAX.COM31_Wed, 13 Jun 2001 16:35:35 -0500480_us-ascii It's true that there was a lot of debate back then over whose dbms product was really relational. My point was that Oracle didn't start out as an application development tool, as had been asserted in a previous posting. It started as a database.

Steve Westfall Equifax, Inc.







Helen Johnson cc: Sent by: DB2 Data Subject: Re: Database holy war Base Discussion List [...] 32892 88 55_Re: Rexx Stored Procedure Builder - Address Space Setup17_Linda F. Claussen18_lindafc@NETINS.NET31_Wed, 13 Jun 2001 18:18:10 -0500432_iso-8859-1 Rexx Stored Procedure Builder - Address Space SetupDave,

Start with PQ30492: SQL PROCEDURES INSTALL AND SAMPLES SUPPORT

It guides you to the setup steps and documentation -----Original Message----- From: DB2 Data Base Discussion List [mailto:DB2-L@RYCI.COM]On Behalf Of David Booher Sent: Wednesday, June 13, 2001 5:01 PM To: DB2-L@RYCI.COM Subject: Rexx Stored Procedure Builder - Address Space Setup [...] 32981 52 20_Re: Identity columns14_Richard Yevich26_Richard_Yevich@YLASSOC.COM31_Wed, 13 Jun 2001 18:22:17 -0500665_iso-8859-1 IBM has been asked for this feature for the OS/390, and the last time I followed up on this, it was my understanding that it was being addressed.

Regards, Richard +-----+-----+-----+-----+-----+ Richard_Yevich@YLAssoc.com YL&A - http://www.YLAssoc.com DB2 and Sysplex Gold Consultant Certified DB2 DBA for OS/390, z/OS



> -----Original Message----- > From: DB2 Data Base Discussion List [mailto:DB2-L@RYCI.COM]On Behalf Of > Michael Lim > Sent: Wednesday, June 13, 2001 2:22 AM > To: DB2-L@RYCI.COM > Subject: Identity columns > > > Hi, > > I heard that it is possible to issue the following command in UDB on Unix > platforms: [...] 33034 73 54_Re: Including a new column in the middle of the table.16_Thomas E. Faglon21_tfaglon@TELCORDIA.COM31_Wed, 13 Jun 2001 19:30:58 -0400301_us-ascii Hi, Just another way of many to do this . alter add column- reorg the table - there is no reason why the new column has to be in the middle of the table. no dropping, recreating -unloads changing cc's . access via views--db2 does not care where it is. KISS(keep it simple sister) Tom F. [...] 33108 38 21_Re: -440 during bind.9_Eric Kwai18_Eric_Kwai@DTCC.COM31_Wed, 13 Jun 2001 18:39:27 -0500667_- Sibi: Try the following link, it has lots of info regarding DB2 Stored Procedure including how to debug -440 sqlcode.

http://www-4.ibm.com/software/data/db2/os390/spb/exciting/

Regards, Eric On Mon, 11 Jun 2001 18:58:46 -0400, Philip, Sibimon wrote:

>I have defined a stored procedure in DB2 like TEST.SP1 with owner OWNER1. >When a I bind a calling program with PATH(TEST) and stored procedure name >SP1, I get -440. If I delete and redefine the same procedure like TEST.SP1 >with owner TEST. The calling program bind goes through. Any idea about. I >think I had posted this earlier, but did not get any reply. Any [...] 33147 21 48_Calling db2 stored procedure from siebel appln.?9_Sai Ragam16_sragam@YAHOO.COM31_Wed, 13 Jun 2001 19:15:41 -0500393_- Hello All,

Does anyone have any experience with calling a stored procedure(cobol) on mainframe (os/390, db2 v6.1) from the siebel application interface. I have been told that the siebel application interface cannot process a result set returned by the stored procedure. Has anyone been able to find a workaround for this or is it something that falls into unchartered territory? [...] 33169 64 30_Re: DB2 Query problem in V6 !!10_teldb2kals22_teldb2kals@TELSTRA.COM31_Thu, 14 Jun 2001 10:42:23 +1000367_us-ascii Vishy,

Ur first problem (30081) cd have been due to some error in DDF settings. Not necessarily in the version of DB2.

And when u moved the query to v6, its quite possible that the access path changed leading to a deterioration in performance. (it happens sometimes).

Cd u repost the query as "text" ? Attachments get filtered out. [...] 33234 54 30_Re: Database holy war - UPSERT15_Bell, Raymond W31_Raymond.W.Bell@TEAM.TELSTRA.COM31_Thu, 14 Jun 2001 11:16:23 +1000359_- Good morning, Mr. Hately. Your mission, should you choose to accept, is to find evidence of favourable comments on DB2 on any Oracle-focused web site. A secondary objective is to find evidence of favourable comments on Oracle anywhere. ;o)

Naturally if you or any of your IM force are captured, DB2-L will disavow any knowledge of your actions. [...] 33289 19 37_regarding db2 image performance issue12_HARBRY ARIZA20_harbry_a@HOTMAIL.COM31_Wed, 13 Jun 2001 22:03:53 -0500 33309 162 42_Re: Order of Processing: Join and Subquery13_Terry Purcell25_Terry_Purcell@YLASSOC.COM31_Wed, 13 Jun 2001 23:37:42 -0500509_iso-8859-1 Dennis,

There are mixed messages in your reply.....

Firstly, although it would be nice if you could, you cannot determine the subquery execution sequence from explain. Query blocks are listed in the plan table in the order they are coded (after any query rewrite and view/NTE merge). And for someone to suggest that you can simply select the data without an ORDER BY and the data will return in sequence is contrary to relational theory and data independence. Do not rely on it. [...] 33472 200 42_Re: Order of Processing: Join and Subquery15_Mallett, Steven31_Steven.Mallett@TEAM.TELSTRA.COM31_Thu, 14 Jun 2001 15:35:57 +1000364_iso-8859-1 Hi Terry,

How are you finding the weather all the way up there where you are? I wonder if you could elucidate on what 'the snowflake' process is, as we can't recall having heard that term before.

Also I know (a little) about star joins but you used mentioned a 'star join dimension table' - could you expand a little on that as well? [...] 33673 44 10_Snowflakes15_Bell, Raymond W31_Raymond.W.Bell@TEAM.TELSTRA.COM31_Thu, 14 Jun 2001 16:25:38 +1000452_- Steve,

I'm pretty sure 'snowflake' is another term for star schema i.e. a central fact table and lots of small dimension tables scattered around it, kinda like a snowflake (if you squint a lot). Um, I think I might have answered your 2nd point too. Dimension tables are the little reference-type tables surrounding your big fact table. Like a 2-column table with state_code (VA, NSW, etc) and state_text (Victoria, New South Wales, etc). [...] 33718 47 29_Re: Stored Procedure question11_Iztok Jeras27_Iztok.Jeras@OMVISTRABENZ.SI31_Thu, 14 Jun 2001 08:33:50 +0200601_- Horacio,

it is possible, we have done via CICS PL/1 program doing

DB2 CONNECT to database on Win NT and DB2 CALL your stored procedure

Iztok JERAS, DBA OMV ISTRABENZ Slovenija



> -----Original Message----- > From: Villa Horacio [SMTP:hvilla@TTI.COM.AR] > Sent: Wednesday, June 13, 2001 5:11 PM > To: DB2-L@RYCI.COM > Subject: Stored Procedure question > > I asked this twice but got no answers. Nobody knows it or nobody > understands > what i'm asking? > > > Hi, > > is it possible from a CICS program already accessing a DB2 subsystem on > > OS/390 to call [...] 33766 55 42_Re: Order of Processing: Join and Subquery16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Thu, 14 Jun 2001 12:15:25 +0530370_- Hi,

I think the things are getting messed up here with the query given by Penny.



As per Terry's mail, about the sequence:

i) Subquery will be extecuted as soon as it gets all the correlation predicates coded on it and needed by it. ii) It has nothing to do with the cost. iii) It definitely depends on the coding order or predicates. [...] 33822 178 14_Re: Snowflakes11_Rolf Kramer23_RKramer@POWERLAN.COM.AU31_Thu, 14 Jun 2001 17:14:23 +1000490_- Hi folks,

This is Data Warehouse jargon where basically there are two table design schemas, Star and Snowflake.

STAR SCHEMA has become the more popular. This schema is also used by IBM in their Warehouse Manager/OPAP Server.

Simply, snowflakes are a hierarchical flow of dimension tables.

-----Original Message----- From: Bell, Raymond W [mailto:Raymond.W.Bell@TEAM.TELSTRA.COM] Sent: Thursday, 14 June 2001 4:26 PM To: DB2-L@RYCI.COM Subject: Snowflakes [...] 34001 21 30_Re: Database holy war - UPSERT11_Mike Hately20_MHately@ETECH-UK.COM31_Thu, 14 Jun 2001 09:34:00 +0100340_us-ascii I'm attacking this from the other side. 10 years of Oracle experience and just trying DB2 ( v7.1 ). It's interesting to spot the common ground between the 2 products. And how they struggle to give different names to common features = ) I'd love to see a chronology for the features of both so that I could see who stole what. [...] 34023 33 14_Re: Snowflakes11_Endy Lambey20_endyl@CENTRIN.NET.ID31_Thu, 14 Jun 2001 16:02:16 +0700401_- Hi guys...

With Star Schema design, the fact table are usually normalized with several dimension tables, but the dimension tables are not normalized.

The Snowflake (from my experience), can consist of several Star join with several facts using the same dimension tables. It can also be (almost) the opposite of Star schema, where the fact and dimension tables are all normalized. [...] 34057 159 32_Re: Degradation in response time12_David Parker20_db2share@HOTMAIL.COM31_Thu, 14 Jun 2001 09:42:22 -0000408_- Isaac,

The originating application is C++ accessing through DB2 Connect. In order to try and isolate the query I have created a C++ app with just this query in that simulates 20 users each running the query 10 times, and (to check it was nothing to do with distributed app) a piece of REXX using DSNREXX that loops through the query 100 times and is kicked off in 10 batch jobs simultaneously. [...] 34217 69 41_Re: regarding db2 image performance issue15_Toine Michielse18_vndobtm@US.IBM.COM31_Thu, 14 Jun 2001 12:31:32 +0200502_iso-8859-1 Hello Harbry,

As a starting point I would suggest checking that your sequetial prefetch threshold on the bufferpool being used actually allows seq.pf. It could have been altered by accident. Further check the bufferpool statistics to see if seq prefetch has been disabled.

Regards,

Toine Michielse





HARBRY ARIZA @RYCI.COM> on 06/14/2001 05:03:53 AM

Please respond to DB2 Data Base Discussion List [...] 34287 55 32_Re: Degradation in response time16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Thu, 14 Jun 2001 16:03:17 +0530355_- David/Carl,

Did you compare the two accounting reports i.e. one with the less number of users(running satisfactorily) and one with more number of users (Not running satisfactorily). You might need to check all the existence of the running query.

You can also look for the DB2 waiting for MVS resource if you have some online monitor. [...] 34343 21 45_Re: Performance Considerations for Log files.15_Priyanka Deswal19_prdeswal@IN.IBM.COM31_Thu, 14 Jun 2001 16:25:34 +0530552_us-ascii Daniel

I thought that Secondary log file are not used only when you are using a raw device for storing log files with LOGRETAIN=YES.But If you are using filesystem to store log files then secondary log files will be used even if LOGRETAIN=YES. Please clarify.

Thanks and Regards Priyanka

================================================ 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. 34365 25 12_sqlcode -9040_24_ujjwal@LOT.TATASTEEL.COM31_Thu, 14 Jun 2001 16:43:14 +0530462_us-ascii Is there a way to recover from this ? I am getting this message while running a query in QMF in this tablespace.

Unsuccessful execution caused by an unavailable resource. Reason code 00C200E5, type of resource 00000300, and resource name DATABAS1.TSSPACE1.X'00000001'.

I do not have any imagecopy for this tablespace and I have tried REPAIR and then delete this particular entry but it did not happen . Any ideas will be appreciated. [...] 34391 24 28_QMF errors after maint apply12_Stan Goodwin29_STANLEY_GOODWIN@MECH.DISA.MIL31_Thu, 14 Jun 2001 07:25:46 -0400596_us-ascii Did anyone out there experience any QMF errors or different outcome form queries after apply the 0103 put level maint for DB2 V6.1 OS390.

It looks to us that the sqlcode of -802 was change to +802,

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. 34416 42 16_Re: sqlcode -90429_=?US-ASCII?Q?R.Teoman_KOCER?=22_tkocer@HALKBANK.COM.TR31_Thu, 14 Jun 2001 14:32:44 +0300535_US-ASCII recover table space

-----Original Message----- From: DB2 Data Base Discussion List [mailto:DB2-L@RYCI.COM]On Behalf Of ujjwal@LOT.TATASTEEL.COM Sent: Thursday, June 14, 2001 2:13 PM To: DB2-L@RYCI.COM Subject: sqlcode -904



Is there a way to recover from this ? I am getting this message while running a query in QMF in this tablespace.

Unsuccessful execution caused by an unavailable resource. Reason code 00C200E5, type of resource 00000300, and resource name DATABAS1.TSSPACE1.X'00000001'. [...] 34459 185 16_Re: sqlcode -9040_24_Bruce.Williamson@PSIR.IE31_Thu, 14 Jun 2001 12:53:15 +0100611_windows-1252 Howzit Ujjal?

Try RECOVER TABLESPACE DATABAS1.TSSPACE1 ERROR RANGE

Cheers

__________________________________

Bruce Williamson DB2 Database Administrator

Perot Systems Information Resource Computer Centre Cabinteely Dublin 18 Ireland

Bruce.Williamson@psir.ie

-----Original Message----- From: ujjwal@LOT.TATASTEEL.COM [mailto:ujjwal@LOT.TATASTEEL.COM] Sent: 14 June 2001 12:13 To: DB2-L@RYCI.COM Subject: sqlcode -904



Is there a way to recover from this ? I am getting this message while running a query in QMF in this tablespace. [...] 34645 84 14_Re: Snowflakes13_Terry Purcell25_Terry_Purcell@YLASSOC.COM31_Thu, 14 Jun 2001 06:43:06 -0500465_iso-8859-1 To get the description of a Dimension Table, do a search on Star Schema in the V6/7 Application Programming and SQL Guide.

Basically a star schema is a Large Fact table (ie. Sales transactions) surrounded by many small code tables (ie. Store, Product, etc). The Dimension tables are a result of the normalization process, since you don't want to store this duplicate detail information in the Fact table (because it has 100 million records). [...] 34730 78 55_Re: Rexx Stored Procedure Builder - Address Space Setup12_David Booher22_David.Booher@QUEST.COM31_Thu, 14 Jun 2001 05:04:16 -0700434_iso-8859-1 Does anyone have the text of this document? If so, can you please e-mail it to me offlist?

Thanks! Dave Booher





Start with PQ30492: SQL PROCEDURES INSTALL AND SAMPLES SUPPORT

It guides you to the setup steps and documentation

-----Original Message-----



Rexx exec: DSNTPSMP

Does anyone know where the doc is to setup the procedure address space for this exec? 34809 119 42_Re: Order of Processing: Join and Subquery13_Terry Purcell25_Terry_Purcell@YLASSOC.COM31_Thu, 14 Jun 2001 07:03:10 -0500462_iso-8859-1 Sanjeev,

As always, there is too much to put into a single email so I was vague in my reply.

I should clarify the cost. Yes the subqueries are costed to determine the table join sequence, as these are a stage 2 predicate on whatever table the correlation predicates refer; so will filter rows. But these are the most expensive form of stage 2 predicate also, so the optimizer does not favor these over tables with other predicates. [...] 34929 190 16_Re: sqlcode -90415_Billings, Linda30_linda.billings@DOA.STATE.WI.US31_Thu, 14 Jun 2001 07:07:43 -0500449_windows-1252 According to the utility manual image copies are still needed and Ujjal says there aren't any. Any other possibilities?

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



"When you are courting a nice girl an hour seems like a second. When you sit on a red-hot cinder a second seems like an hour. That's relativity." -Albert Einstein On relativity [...] 35120 121 42_Re: DB2 V5 to V7 MIGRATION budget surprise16_Vermaak, Sanette18_svermaak@FNB.CO.ZA31_Thu, 14 Jun 2001 13:59:06 +0200445_iso-8859-1 Die ander kant van die prentjie



-----Original Message----- From: Pearson, Eric L, [mailto:Eric.Pearson@NSCORP.COM] Sent: 13 June 2001 04:27 To: DB2-L@RYCI.COM Subject: Re: DB2 V5 to V7 MIGRATION budget surprise



Another benefit - all the DB2 V7 utilities actually work with all DB2 objects. And IBM will even address problems as such rather than 'candidates for V7 exploitation in a future version'. [...] 35242 58 14_Re: Snowflakes12_Raman Murali19_rmurali28@YAHOO.COM31_Thu, 14 Jun 2001 05:01:00 -0700567_us-ascii --- Endy Lambey wrote: > Hi guys... > > With Star Schema design, the fact table are usually > normalized with several dimension tables, but the > dimension tables are not normalized. > > The Snowflake (from my experience), can consist of > several Star join with several facts using the same > dimension tables. It can also be (almost) the > opposite of Star schema, where the fact and > dimension tables are all normalized. > > I think the main difference is in the hirearchy of > the dimension tables. > > Cheers > > >Hi folks, [...] 35301 97 16_Re: sqlcode -90415_Lankester, Andy22_Andy_Lankester@BMC.COM31_Thu, 14 Jun 2001 07:17:35 -0500355_windows-1252 If you have only recently created the tspace and have not done any LOG NO utilities (LOAD/REORG) and you still have the archive logs since the create then DB2 should be able to recover without an image copy. List the SYSCOPY entries for the object to see if this is the case. Or just try the recover, DB2 will tell if and why it cannot. [...] 35399 219 16_Re: sqlcode -90416_Thomas E. Faglon21_tfaglon@TELCORDIA.COM31_Thu, 14 Jun 2001 08:17:55 -0400588_us-ascii

try start tablespace access force







"Billings, Linda" on 06/14/2001 08:07:43 AM

Please respond to DB2 Data Base Discussion List

To: DB2-L@RYCI.COM cc: (bcc: Thomas E. Faglon/Telcordia) Subject: Re: sqlcode -904





According to the utility manual image copies are still needed and Ujjal says there aren't any. Any other possibilities?

Linda Billings Enterprise Systems Programmer State of Wisconsin Department of Administration Info-Tech Services [...] 35619 58 21_Re: Database holy war50_Knight, Robert A. (Cameron of Pittsburgh at Alcoa)23_Robert.Knight@ALCOA.COM31_Thu, 14 Jun 2001 08:22:34 -0400315_iso-8859-1 You are absolutely correct :

SUPRA SYBASE ???? ???? DB2 Oracle

And I remember reading a Gartner Paper from the mid to late 80's that there would be a 5-7 year window where these other DBMS would be the market choice. We ended up with Supra. In the mid 90's they were converted to DB2. [...] 35678 29 15_Re: Bind Stmts?14_James Campbell25_jacampbell@ACSLINK.NET.AU31_Thu, 14 Jun 2001 07:28:13 -0500460_- Dave,

One extra trick that I found that makes over-riding aomewhat simpler is that the BIND command (being a DSN command) uses TSO to parse the command. Hence, whan a parameter is repeated, the sub-value of the last occurance will be used. (eg BIND ... CURRENTDATA(YES) ... CURRENTDATA(N0) means NO.) This means that you can give standard values followed by overrides quite happily - you don't have to excise standard values to insert overrides. [...] 35708 71 14_Re: Snowflakes14_Campbell White20_cwhite@REVEALNET.COM31_Thu, 14 Jun 2001 08:51:12 -0400462_us-ascii For further information about star schemas and star joins, please refer to this month's issue of the Pipeline Database Newsletter. The lead article for DB2 is entitled "Implementing STAR Joins". This article, originally written by Gabrielle Wiorkowski is extracted from RevealNet's Knowledge Base for DB2. Here's the newsletter:

http://www.revealnet.com/newsletter-v2/newsletter_0601.htm

Best wishes,

Cam White RevealNet, Inc. [...] 35780 83 21_Re: Database holy war15_Lankester, Andy22_Andy_Lankester@BMC.COM31_Thu, 14 Jun 2001 08:04:08 -0500310_iso-8859-1 I think I am right in saying that IBM's Query by Example for VM first released in 1977 (based on Moshe Zloof's engine out of Yorktown Heights) was the first commercially available RDBMS based on Dr. Codd's papers. It did have one of the more memorable APARs: 'Some queries give wrong results'! [...] 35864 57 23_Re: Pessimistic Locking14_James Campbell25_jacampbell@ACSLINK.NET.AU31_Thu, 14 Jun 2001 07:57:10 -0500549_- Dennis

DB2 rowids came with V6. A rather different format from Oracle's (there was a thread on the topic last year), but same concept.

Have used a slightly different scheme - every row had a last updated timestamp flag - when a row was updated, a trigger was used to to update this flag and to force an update on any parent rows (which would update the timestamp in the parent row and force updates on its parent rows, etc) - when a row was retrieved this timestamp would be noted - when a row was updated the current timestamp [...] 35922 100 42_Re: Order of Processing: Join and Subquery16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Thu, 14 Jun 2001 18:59:15 +0530511_- Thanks Terry,

Everything is perfectly explained. As you said, you have not raised any more questions but still one more thing remained unsatisfactory to me.

If the join to table T3 is going to be stage 2 predicate(if subquery is processed in between) then why perform the subquery. Why not optimizer chooses to join and then do all the stage 2 processing. In that case probably less things to be passed to stage 2. The answer might be with IBM, i just want to check if i am correct or not. [...] 36023 119 14_Re: Snowflakes13_Terry Purcell25_Terry_Purcell@YLASSOC.COM31_Thu, 14 Jun 2001 08:38:13 -0500384_us-ascii Since the initial introduction of Star Join processing there has been a number of APARs which have significantly altered the way Star Schemas are costed, optimized and processed.

There has only been one externalized document which includes much of this detail, Gene Fuh's IDUG presentation. Gene is the manager of the optimization team at IBM Silicon Valley Lab. [...] 36143 19 10_DB2 to IMS10_Lisa Bates19_lbates@JHANCOCK.COM31_Thu, 14 Jun 2001 08:30:06 -0500294_- This question is on behalf of our IMS sysprog. Does anybody have any experience using DB2 Connect to execute a IMS transaction thru the DB2 subsystem? Is it possible to use Db2Connect to connect directly to IMS? If not, do you know of other options to call IMS from client workstations? [...] 36163 23 18_Impossible update?10_Steve Lamb25_steve.lamb@POWERGEN.CO.UK31_Thu, 14 Jun 2001 08:59:26 -0500516_- Dear List,

Here's a little brain-teaser for you SQL experts. A client of ours has a table in which 2 columns (c1 and c2) are date format and a third (c3) is a Char 9 column. This third column holds a date in 9's complement form in the first 8 bytes e.g. 79989691A (the last character is not used). The client wants to update columns c1 and c2 with the date extracted from column c3 (c1 and c2 are not part of a key) in a single SQL statement. So, the question is, is it possible? My first thoughts are [...] 36187 154 16_Re: sqlcode -9040_24_Bruce.Williamson@PSIR.IE31_Thu, 14 Jun 2001 15:10:48 +0100598_windows-1252 Howzit Linda?

Assuming the tables were loaded with logging, imagecopies won't be needed, just the logs. Might not be pretty, but it will work provided the logs are available. Cheers

Bruce

__________________________________

Bruce Williamson DB2 Database Administrator

Perot Systems Information Resource Computer Centre Cabinteely Dublin 18 Ireland

Bruce.Williamson@psir.ie

-----Original Message----- From: Billings, Linda [mailto:linda.billings@DOA.STATE.WI.US] Sent: 14 June 2001 13:08 To: DB2-L@RYCI.COM Subject: Re: sqlcode -904 [...] 36342 47 34_Unload from copy sharelevel change13_Hanne Lyssand10_han@VPS.NO31_Thu, 14 Jun 2001 16:05:14 +0200500_us-ascii Hallo!

We are testing out the new unload utilitie who came with version 7 of UDB for OS390. We have a discusion on how this work with a sharelevel change copy? The utilitie manual states: "If an image copy was created by an inline copy operation (LOAD or REORG TABLESPACE), the image copy can contain duplicate pages. If duplicate pages exist, the UNLOAD utility issues a warning message, and all the qualified rows in duplicate pages will be unloaded into the output data set." [...] 36390 18 13_SQLCODE - 9040_24_ujjwal@LOT.TATASTEEL.COM31_Thu, 14 Jun 2001 19:39:49 +0530262_us-ascii I have tried Start Tablespace with Access Force and it did not work .I have no entry for that Tablespace in SYSCOPY ( I mean there are one or two entries but of last year and for those the dataset is not existing ) since it is in TEST environment. [...] 36409 68 14_Re: DB2 to IMS15_Slot, JP (Jaap)23_J.P.Slot@RF.RABOBANK.NL31_Thu, 14 Jun 2001 16:09:54 +0200469_iso-8859-1 Lisa,

You might want to use a stored procedure on DB2 which connects with IMS.

Kind regards,

Jaap Slot

Data Service Center Rabobank ICT

tel: 030 215 2220 fax: 030 215 3003 mob: 06 5374 0167 mailto:J.P.Slot@rf.rabobank.nl











-----Original Message----- From: Lisa Bates [mailto:lbates@JHANCOCK.COM] Sent: Thursday, June 14, 2001 3:30 PM To: DB2-L@RYCI.COM Subject: DB2 to IMS [...] 36478 20 55_Re: Rexx Stored Procedure Builder - Address Space Setup23_Jain, Sanjay (Exchange)19_sanjayjain@BEAR.COM31_Thu, 14 Jun 2001 10:10:08 -0400585_us-ascii ********************************************************************** Please be aware that, notwithstanding the fact that the person sending this communication has an address in Bear Stearns' e-mail system, this person is not an employee, agent or representative of Bear Stearns. Accordingly, this person has no power or authority to represent, make any recommendation, solicitation, offer or statements or disclose information on behalf of or in any way bind Bear Stearns or any of its affiliates. ********************************************************************** [...] 36499 190 16_Re: sqlcode -90415_Billings, Linda30_linda.billings@DOA.STATE.WI.US31_Thu, 14 Jun 2001 09:22:18 -0500526_windows-1252 I was wondering about that. The manual isn't very clear. It says that image copies will be applied first and then the log apply. I am looking at the V6 manual. I don't understand how it can get by by only applying the logs without an image copy. I can see where this is possible if you just created and loaded the table and all changes are still on logs that you still have. Does DB2 keep any logs that are needed by really old tables like this that don't have image copies? If this goes on too long doesn't [...] 36690 26 54_Cannot see data in tables from DB2 Connect workststion9_Don Cross20_Don.Cross@TC.FAA.GOV31_Thu, 14 Jun 2001 10:17:17 -0400399_us-ascii A client cannot see his own data and gets SQL0904N which leads to 00C90084 saying a temporary file is not available . The OS/390 MVS (2.9) counterpart message appears below.



DSNT501I - DSNIWKFL RESOURCE UNAVAILABLE 518 0090 CORRELATION-ID=jrew.exe 0090 CONNECTION-ID=SERVER 0090 LUW-ID=AC1A5506.J204.01EE13171412=457 0090 REASON 00C90084 0090 TYPE 00000230 0090 NAME 4K [...] 36717 29 15_DB2 & FLASHCOPY15_Patrick Jackson23_pjackson@SUMMITBANK.COM31_Thu, 14 Jun 2001 10:15:34 -0400407_us-ascii DB2 List:

Has anyone been using the ESS feature FLASHCOPY in conjunction with DB2??

PROS?? CONS??

We are looking at FLASHCOPY'ing approximately 100 3390 volumes on a weekly basis to provide a starting point for our Disaster Recovery plan.

If anyone is willing to share experiences either reply to the LIST or to:

pjackson@summitbank.com

Thanks a lot. [...] 36747 109 47_Re: exec a program that has all DB2 ref removed14_Wayne Driscoll24_Wayne.Driscoll@QUEST.COM31_Thu, 14 Jun 2001 07:31:40 -0700503_iso-8859-1 Roger, While I agree that this message is most likely from some sort of call attach manager, I can state for sure that the message is NOT being issued by a Quest Product. Wayne Driscoll Product Developer Quest Software Inc. wdriscoll@quest.com Note: All opinions are strictly my own.

-----Original Message----- From: Roger Miller [mailto:millerrl@US.IBM.COM] Sent: Friday, June 08, 2001 11:21 AM To: DB2-L@RYCI.COM Subject: Re: [DB2-L] exec a program that has all DB2 ref removed [...] 36857 30 36_Loading of Data into a smaller table12_Rakesh Kumar21_rakesh457@HOTMAIL.COM31_Thu, 14 Jun 2001 14:30:57 -0000497_- ALL, I have a table which has a LRECL of 13000 (roughly ) and in most of the columns there is data which is half junk. I mean if I could just extract the first 15 characters from each column of that table then I can have another table with an LRECL of say 1200 and load all the data into this new table and delete the old one. Now can I use the LOAD utility to load the selective data from the columns with using POSITION parameter in LOAD and by editing the SYSPUNCH. When I tried this it [...] 36888 191 17_Re: SQLCODE - 9040_24_Bruce.Williamson@PSIR.IE31_Thu, 14 Jun 2001 15:45:56 +0100482_windows-1252 Howzit Ujjal?

Have you tried doing an UNLOAD?

Without imagecopies and logs you may have to recreate the data from scratch.

Do you have the original data used to load the table(s)?

Can you get the data from production?

Good luck!

Cheers Bruce

__________________________________

Bruce Williamson DB2 Database Administrator

Perot Systems Information Resource Computer Centre Cabinteely Dublin 18 Ireland [...] 37080 153 16_Re: sqlcode -9040_24_Bruce.Williamson@PSIR.IE31_Thu, 14 Jun 2001 15:46:24 +0100467_windows-1252 Howzit Linda?

You're spot on, recovery is dependent on what imagecopies and logs are kept. This is outside of DB2's control (i.e. dependent on data retention periods). All DB2 does is keep info in the catalog on where the data for recovery is kept.

Cheers Bruce __________________________________

Bruce Williamson DB2 Database Administrator

Perot Systems Information Resource Computer Centre Cabinteely Dublin 18 Ireland [...] 37234 229 16_Re: sqlcode -90416_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM31_Thu, 14 Jun 2001 10:41:29 -0400476_windows-1252 If the physical dataset containing the tablespace is still intact, try: RECOVER TABLESPACE databasename.tablespacename LOGONLY (of course that requires that you have all the logs since the last point of consistency).



Regards. eric pearson NS ITO Database Support

-----Original Message----- From: Billings, Linda [mailto:linda.billings@DOA.STATE.WI.US] Sent: Thursday, June 14, 2001 10:22 AM To: DB2-L@RYCI.COM Subject: Re: sqlcode -904 [...] 37464 50 23_Re: Pessimistic Locking13_Dennis Taylor14_ismgr@PCTC.COM31_Thu, 14 Jun 2001 07:47:41 -0700546_us-ascii At 07:57 AM 6/14/01 -0500, you wrote: >Dennis > >DB2 rowids came with V6. A rather different format from Oracle's (there >was a thread on the topic last year), but same concept. > >Have used a slightly different scheme >- every row had a last updated timestamp flag >- when a row was updated, a trigger was used to to update this flag and to >force an update on any parent rows (which would update the timestamp in the >parent row and force updates on its parent rows, etc) >- when a row was retrieved this timestamp would be noted [...] 37515 42 42_Re: DB2 V5 to V7 MIGRATION budget surprise0_17_JTonchick@AOL.COM29_Thu, 14 Jun 2001 10:48:05 EDT615_US-ASCII In a message dated 06/13/2001 5:51:57 AM Central Daylight Time, paul.packham@CONSIGNIA.COM writes:

<< It was my understanding the one-time-charge was for the new DB2 Tools not the utilities. V7 base code + V7 utilities should cost no more than V5 (or V6) plus normal upgrade charges. >>

Wrong... I called IBM direct to get the exact pricing for both V6 & V7. The pricing I received back included an explanation that the DB2 Utility Suite (what you need to retain complete utility functions available in V5 &V6) was now a separate product with it's own development path separate from the [...] 37558 100 58_Re: Cannot see data in tables from DB2 Connect workststion12_David Booher22_David.Booher@QUEST.COM31_Thu, 14 Jun 2001 07:50:36 -0700553_iso-8859-1 This error looks to me like the TEMP 4K workspace [defined by DSNTIJTM] on the OS/390 system is missing.

Dave Booher Quest Software



-----Original Message----- From: Don Cross [mailto:Don.Cross@TC.FAA.GOV] Sent: Thursday, June 14, 2001 9:17 AM To: DB2-L@RYCI.COM Subject: Cannot see data in tables from DB2 Connect workststion



A client cannot see his own data and gets SQL0904N which leads to 00C90084 saying a temporary file is not available . The OS/390 MVS (2.9) counterpart message appears below. [...] 37659 120 54_Re: Passing locators from Triggers to Stored Procedure14_James Campbell25_jacampbell@ACSLINK.NET.AU31_Thu, 14 Jun 2001 09:49:41 -0500415_- The precompiler uses the SQL type to setup SQLTYPE in the SQLDA used for the input parameters. SQL TYPE IS TABLE -> SQLDA.SQLTYPE=976; PIC S9(9) COMP-4 -> SQLDA.SQLTYPE = 496.

Possibly (ie, I'm speculating) you could write a semi-generic program:

REFERENCING OLD_TABLE AS OT NEW_TABLE AS NT FOR EACH ROW MODE DB2SQL BEGIN ATOMIC CALL MFLSTPR.SPSUBTRI('A', 'BW5_A999', TABLE OT, TABLE NT); END# [...] 37780 48 58_Re: Cannot see data in tables from DB2 Connect workststion16_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM31_Thu, 14 Jun 2001 10:55:43 -0400570_iso-8859-1 Do a -DISPLAY DB(DSNDB07) SPACE(*) and correct all replies where the result is not status RW.



Regards. eric pearson NS ITO Database Support



-----Original Message----- From: Don Cross [mailto:Don.Cross@TC.FAA.GOV] Sent: Thursday, June 14, 2001 10:17 AM To: DB2-L@RYCI.COM Subject: Cannot see data in tables from DB2 Connect workststion



A client cannot see his own data and gets SQL0904N which leads to 00C90084 saying a temporary file is not available . The OS/390 MVS (2.9) counterpart message appears below. [...] 37829 126 54_Re: Passing locators from Triggers to Stored Procedure14_James Campbell25_jacampbell@ACSLINK.NET.AU31_Thu, 14 Jun 2001 09:49:41 -0500424_iso-8859-1 The precompiler uses the SQL type to setup SQLTYPE in the SQLDA used for the input parameters. SQL TYPE IS TABLE -> SQLDA.SQLTYPE=976; PIC S9(9) COMP-4 -> SQLDA.SQLTYPE = 496.

Possibly (ie, I'm speculating) you could write a semi-generic program:

REFERENCING OLD_TABLE AS OT NEW_TABLE AS NT FOR EACH ROW MODE DB2SQL BEGIN ATOMIC CALL MFLSTPR.SPSUBTRI('A', 'BW5_A999', TABLE OT, TABLE NT); END# [...] 37956 51 58_Re: Cannot see data in tables from DB2 Connect workststion11_Bikash Paul19_bikash_db@YAHOO.COM31_Thu, 14 Jun 2001 07:57:42 -0700672_us-ascii Hi, Temporary tablespaces (Which are created in DSNDB07 database) is not available for page size 4K... This tablespace is used by DB2 as temporary work area. DSNHLQ.NEW.SDSNSAMP will have sample job to do that.

Thanks and Regards, Bikash

--- Don Cross wrote: > A client cannot see his own data and gets SQL0904N which leads to > 00C90084 > saying a temporary file is not available . The OS/390 MVS (2.9) > counterpart > message appears below. > > > DSNT501I - DSNIWKFL RESOURCE UNAVAILABLE 518 > 0090 CORRELATION-ID=jrew.exe > 0090 CONNECTION-ID=SERVER > 0090 LUW-ID=AC1A5506.J204.01EE13171412=457 > 0090 REASON 00C90084 [...] 38008 52 14_Re: DB2 to IMS15_Robert lawrence21_rlawrence@BOSCOVS.COM31_Thu, 14 Jun 2001 10:58:19 -0400646_iso-8859-1 Lisa,

IMS-L you can subscribe at listproc@lists.missouri.edu in the normal fashion Subscibe IMS-L your name and ask the question there. The answer will probably forthcoming from the GURUS there.

HTH Bob Lawrence DBA Boscov's Dept Stores LLc



> -----Original Message----- > From: DB2 Data Base Discussion List [mailto:DB2-L@RYCI.COM]On Behalf Of > Lisa Bates > Sent: Thursday, June 14, 2001 9:30 AM > To: DB2-L@RYCI.COM > Subject: DB2 to IMS > > > This question is on behalf of our IMS sysprog. > Does anybody have any experience using DB2 Connect to execute a IMS > transaction thru the DB2 subsystem? [...] 38061 73 58_Re: Cannot see data in tables from DB2 Connect workststion0_19_csutfin@AMSOUTH.COM31_Thu, 14 Jun 2001 10:01:17 -0500493_us-ascii Don

You are running out of 4K work space. (Name 4K) Add more tablespaces to DSNDB07 or make the existing tablespaces larger.

Check in the Administration Guide



Carol Sutfin Corporate DBA AmSouth Bank csutfin@amsouth.com (205)326-5214









Don Cross cc: Sent by: DB2 Subject: Cannot see data in tables from DB2 Data Base Connect workststion Discussion List [...] 38135 35 14_Re: DB2 to IMS0_17_JTonchick@AOL.COM29_Thu, 14 Jun 2001 11:02:38 EDT359_US-ASCII In a message dated 06/14/2001 9:02:49 AM Central Daylight Time, lbates@JHANCOCK.COM writes:

<< Does anybody have any experience using DB2 Connect to execute a IMS transaction thru the DB2 subsystem? Is it possible to use Db2Connect to connect directly to IMS? If not, do you know of other options to call IMS from client workstations? >> [...] 38171 34 58_Re: Cannot see data in tables from DB2 Connect workststion10_bob riehle19_bob.riehle@WAMU.NET31_Thu, 14 Jun 2001 08:07:23 -0700621_us-ascii how are your dsndb07,dsn4k tablespaces looking?

Don Cross wrote:

> A client cannot see his own data and gets SQL0904N which leads to 00C90084 > saying a temporary file is not available . The OS/390 MVS (2.9) counterpart > message appears below. > > DSNT501I - DSNIWKFL RESOURCE UNAVAILABLE 518 > 0090 CORRELATION-ID=jrew.exe > 0090 CONNECTION-ID=SERVER > 0090 LUW-ID=AC1A5506.J204.01EE13171412=457 > 0090 REASON 00C90084 > 0090 TYPE 00000230 > 0090 NAME 4K > > Any ideas on how to solve this? We have DDF running and the client can > connect. Even our systems group cannot see any data in any [...] 38206 12 42_Re: DB2 V5 to V7 MIGRATION budget surprise0_26_truman.g.brown@VERIZON.COM31_Thu, 14 Jun 2001 11:06:47 -0400279_us-ascii Do you want fries with that?

================================================ 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. 38219 134 14_Re: Snowflakes0_26_Steve.Westfall@EQUIFAX.COM31_Thu, 14 Jun 2001 10:11:06 -0500496_us-ascii Terry,

To WHICH "document below" are you referring? Both "Implementing STAR Joins," by Gabrielle Wiorkowski, and "V6/7 Application Programming and SQL Guide" had been mentioned.

Thanks.

Steve Westfall







Terry Purcell cc: Sent by: DB2 Data Subject: Re: Snowflakes Base Discussion List



06/14/2001 08:38 AM Please respond to DB2 Data Base Discussion List [...] 38354 49 58_Re: Cannot see data in tables from DB2 Connect workststion17_Linda F. Claussen18_lindafc@NETINS.NET31_Thu, 14 Jun 2001 10:26:04 -0500456_iso-8859-1 Don,

Did you check to see if there is a TEMPSPACE1 temporary tablespace on the workstation? The Temp Space is similar to the OS/390 Work file database.

Linda Claussen Claussen & Associates

-----Original Message----- From: DB2 Data Base Discussion List [mailto:DB2-L@RYCI.COM]On Behalf Of Don Cross Sent: Thursday, June 14, 2001 9:17 AM To: DB2-L@RYCI.COM Subject: Cannot see data in tables from DB2 Connect workststion [...] 38404 63 42_Re: Order of Processing: Join and Subquery15_Smith, Dennis J22_dennis.j.smith@EDS.COM31_Thu, 14 Jun 2001 10:34:41 -0500436_iso-8859-1 Terry;

I think you might have miss understood my response. I did not say that the plan table will come back in the correct order without an order by. I said that you can "sort" the table and get a "close" execution sequence. Yes query blocks from the plan table can be executed in any sequence, but the book states the there is a chance that the query block might be in the correct sequence. That is what I said. [...] 38468 48 19_Re: DB2 & FLASHCOPY12_Myron Miller22_myronwmiller@YAHOO.COM31_Thu, 14 Jun 2001 08:35:17 -0700596_us-ascii My client has been using Flashcopy for several months with relatively few problems. They take a flashcopy every night (about 250 volumes) for disaster recovery purposes. Once in a while the split fails. Other than that everything works great. --- Patrick Jackson wrote: > DB2 List: > > Has anyone been using the ESS feature FLASHCOPY in conjunction with > DB2?? > > PROS?? CONS?? > > We are looking at FLASHCOPY'ing approximately 100 3390 volumes on a > weekly > basis to > provide a starting point for our Disaster Recovery plan. > > If anyone is willing [...] 38517 32 40_Re: Loading of Data into a smaller table13_Hanne Lyssand10_han@VPS.NO31_Thu, 14 Jun 2001 17:37:50 +0200491_us-ascii Hallo!

You can do this but check if the columnes you omit are nullable or with default. What kind of error did you get???

regards Hanne Lyssand





********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. [...] 38550 42 58_Re: Cannot see data in tables from DB2 Connect workststion13_Shapiro, Dave26_Shapiro.Dave@PRINCIPAL.COM31_Thu, 14 Jun 2001 10:24:55 -0500440_iso-8859-1 Don,

The message would indicate that the 4K workfiles (DSNDB07 in non-datasharing) are unavailable. We've seen this when a process or processes have used all available space. You might set an automation rule to issue a display database(dsndb07) use when the error is hit. This would show the mix of work at the time. Just increasing the size may help but if a "hog" process is suboptimal you may not want to do that. [...] 38593 39 14_Re: DB2 to IMS12_Myron Miller22_myronwmiller@YAHOO.COM31_Thu, 14 Jun 2001 08:51:29 -0700549_us-ascii Two ways that I know of: 1) purchase IMS connect software - add-on to DB2 connect and it allows the direct access of IMS. 2) Call Stored procedure which can access IMS directly (if IMS is >= release 6 and DB2 Release 6 or greater). --- Lisa Bates wrote: > This question is on behalf of our IMS sysprog. > Does anybody have any experience using DB2 Connect to execute a IMS > transaction thru the DB2 subsystem? > Is it possible to use Db2Connect to connect directly to IMS? > If not, do you know of other options [...] 38633 129 16_Re: sqlcode -90414_Crichton, Jean21_jcrichton@FEDDATA.COM31_Thu, 14 Jun 2001 12:16:34 -0400538_iso-8859-1 Just for the record, DB2 only keeps logs for the period of time specified on the DSNTIPA installation panel. This can be anything from 1 - 9999 days. If you use 9999 (unlimited retention), then the length of time logs are kept depends on the tape management system (if you use tape) or SMS on disk (if the SMS retention is smaller). Also, the actual number of log datasets to keep in the BSDS is also set on the DSNTIPA panel. If this value is set too low, you may have unexpired log datasets drop off the BSDS inventory. [...] 38763 59 14_Re: DB2 to IMS12_Isaac Yassin20_yassini@BEZEQINT.NET31_Thu, 14 Jun 2001 19:33:22 +0200620_iso-8859-1 We're on IMS V5 (on move to V7). We use MQ-series to access IMS data from external clients.

Isaac Yassin DBMS & IT Consultant yassini@bezeqint.net ----- Original Message ----- From: "Myron Miller" Newsgroups: bit.listserv.db2-l To: Sent: Thursday, June 14, 2001 5:51 PM Subject: Re: DB2 to IMS



> Two ways that I know of: 1) purchase IMS connect software - add-on to > DB2 connect and it allows the direct access of IMS. > 2) Call Stored procedure which can access IMS directly (if IMS is >= > release 6 and DB2 Release 6 or greater). > --- [...] 38823 172 16_Re: sqlcode -90415_Billings, Linda30_linda.billings@DOA.STATE.WI.US31_Thu, 14 Jun 2001 11:47:53 -0500544_iso-8859-1 I read the manual a little more closely and now see the LOGONLY option available for a recover for error range. It has been ages since I have done a recovery and have never done a LOGONLY recovery. This is a nice review. Then if a recovery using LOGONLY is used there has to be some known point of consistency for the tablespace. Ujjal would have to know at what point in time the tablespace was not damaged in order to do a log apply and end up with an uncorrupted tablespace. Logically, a recovery cannot be done without one, [...] 38996 212 16_Re: sqlcode -90416_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM31_Thu, 14 Jun 2001 12:54:13 -0400448_iso-8859-1 Yes, a quiesce point is a good start for LOGONLY. Unless the data has been subsequently damaged by non-logged tasks (DSN1COPY? OEM software?), this should do (given availability of sufficient logs).

Regards. eric pearson NS ITO Database Support

-----Original Message----- From: Billings, Linda [mailto:linda.billings@DOA.STATE.WI.US] Sent: Thursday, June 14, 2001 12:48 PM To: DB2-L@RYCI.COM Subject: Re: sqlcode -904 [...] 39209 30 40_Re: DB2 V7 and CA utilities P99D caution12_Scott Fauque19_scott.fauque@CA.COM31_Thu, 14 Jun 2001 11:48:08 -0500298_- 1) Rob's rule of thumb is true but in some cases doing exploitation changes is just about the same as doing toleration changes. In the case of this instance node (J0001) DB2 change many products will add or have already added exploitation support (in P99E or via PTFs to previous versions). [...] 39240 228 22_Re: Impossible update?0_24_Bruce.Williamson@PSIR.IE31_Thu, 14 Jun 2001 18:07:49 +0100586_iso-8859-1 Howzit Steve?

It is possible but pretty ugly. How big is the table you plan to update?

Here's a start anyway:

UPDATE table SET C1 = DATE ( STRIP (STRIP (CHAR (DEC (99 - DEC (SUBSTR (C3,7,2)),2,0)),L,' ') || STRIP (CHAR (DEC (99 - DEC (SUBSTR (C3,5,2)),2,0)),L,' ') || STRIP (CHAR (DEC (9999 - DEC (SUBSTR (C3,1,4)),4,0)),L,' ') ,T,'.')) , C2 = DATE ( STRIP (STRIP (CHAR (DEC (99 - DEC (SUBSTR (C3,7,2)),2,0)),L,' ') || STRIP (CHAR (DEC (99 - DEC (SUBSTR (C3,5,2)),2,0)),L,' ') || STRIP (CHAR (DEC (9999 - DEC (SUBSTR (C3,1,4)),4,0)),L,' ') ,T,'.')) [...] 39469 57 19_V6 & Reserved Words14_Riedel, Marcia26_MRiedel@TUCSONELECTRIC.COM31_Thu, 14 Jun 2001 10:10:48 -0700588_iso-8859-1 Hello:

I am currently researching impact of migrating from DB2 OS/390 V5 to V6. I am puzzled by the new reserved words documentation. Some of the new reserved words are column names of existing application tables here. What has been your experience with reserved words when moving to V6?

For instance, in V5, OBID is a reserved word, yet I can SELECT OBID FROM SYSIBM.SYSTABLESPACE with no error. In V6 will I need to put delimiters around OBID (as well as all reserved words)? Has the way DB2 handles reserved words changed? I would like to have an idea of [...] 39527 204 32_Re: Degradation in response time12_Isaac Yassin20_yassini@BEZEQINT.NET31_Thu, 14 Jun 2001 20:22:44 +0200370_Windows-1252 Hi Carl, Can you add "with ur" to your query in the C++ code (dealing with "select")? DSNREXX is a hog (at least in our place) so I'm not sure if it's a good check. Can you use DSNTEP2 or DSTIAUL instead ? Can it be that the problem lies in the connection pooling (look for the definitions in DB2 Connect). Is IRLM memory too low for the locks taken ? [...] 39732 90 14_Re: DB2 to IMS9_Chu, Pius14_ChuP@CONED.COM31_Thu, 14 Jun 2001 13:27:13 -0400519_ISO-8859-1 Hi Lisa, We are currently coding DB2 Stored Procedure accessing IMS data in the test environment. We are on DB2 V5 and IMS V6. It is a must to have DB2 Stored Procedure defined under Work Load Manager to access IMS data. Our WLM is in COMPAT mode and we are moving to GOAL mode in the future. OS/390 RRS is required for the unit of work. We are coding LE/390 COBOL accessing IMS databases through the use of IMS Open Database Access (ODBA). The ODBA code is part of IMS V6. We just hit a bug that I can [...] 39823 22 14_Re: Snowflakes12_Isaac Yassin20_yassini@BEZEQINT.NET31_Thu, 14 Jun 2001 20:26:33 +0200556_Windows-1252 Hi, I've sent a short pps about Star Join to the document list (should be there shortly). It is based upon the 1st description given in the V6 redbook. After the new features/computations will be published I'll prepare a new version of it.

Isaac Yassin DBMS & IT Consultant yassini@bezeqint.net

================================================ 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. 39846 71 40_Re: DB2 V7 and CA utilities P99D caution16_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM31_Thu, 14 Jun 2001 13:33:59 -0400596_iso-8859-1 It is interesting that what CA told the public: http://ca.com/press/2001/03/db2.htm

specifically: Islandia, N.Y., March 8, 2001 - Computer Associates International, Inc. (CA) today announced that its DB2 for OS/390 and z/OS solutions will provide same-day support for DB2 UDB Server for OS/390 and z/OS, Version 7 when the IBM database management system becomes generally available on March 30. CA's robust suite of integrated tools enable database administrators to manage complex DB2 UDB Server for OS390 and z/OS environments that optimize performance and availability. [...] 39918 16 23_Reorg with inline stats12_Jeff Frazier26_Jeffrey_Frazier@WENDYS.COM31_Thu, 14 Jun 2001 13:42:19 -0400378_us-ascii Hi all. just an update on my question from yesterday. It was concerning running a Reorg tablespace index(all) collecting statistics with some of the indexes that were created with define no. The job was abending with RC00e40202. There is an open apar PQ47805 on this. This apar also addresses a problem with REBUILD INDEX(ALL) with indexes created with DEFINE NO. [...] 39935 150 40_Re: DB2 V7 and CA utilities P99D caution12_Moulder, Tom19_Tom_Moulder@BMC.COM31_Thu, 14 Jun 2001 12:56:07 -0500525_iso-8859-1 Just a reply from the other side ...

IBM has announced utilities that support Version 7, but I haven't seen a lot of posts from people that are actually using those new functions. Even all of the LOB variations added in version 6 are supported. But what that really means if that if IBM didn't get it right, they will APAR the problem and try to come up with a fix to get it right the next time around. So what commonly happens with IBM code is that you get it right away and then you work with IBM to [...] 40086 192 40_Re: DB2 V7 and CA utilities P99D caution16_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM31_Thu, 14 Jun 2001 14:21:29 -0400442_iso-8859-1 We have no LOBs yet. They are 3-6 months away here. The only LOB testing we have done is what is in the IVPs. However, we have flexed most of what is possible with the V7 utilities. No problems so far. Of course we have a fairly simple environment - only single-table segmented tablespaces, partitioned tablespaces, and LARGE partitioned tablespaces. No simple tablespaces or segmented tablespaces containing multiple tables. [...] 40279 148 22_Re: Impossible update?0_24_Bruce.Williamson@PSIR.IE31_Thu, 14 Jun 2001 19:30:35 +0100502_iso-8859-1 Howzit Steve?

Here's an improvement:

UPDATE table SET C1 = DATE ( SUBSTR (CHAR (99999999 - INT (SUBSTR (C3,1,8))),7,2) CONCAT '.' CONCAT SUBSTR (CHAR (99999999 - INT (SUBSTR (C3,1,8))),5,2) CONCAT '.' CONCAT SUBSTR (CHAR (99999999 - INT (SUBSTR (C3,1,8))),1,4)) , C2 = DATE ( SUBSTR (CHAR (99999999 - INT (SUBSTR (C3,1,8))),7,2) CONCAT '.' CONCAT SUBSTR (CHAR (99999999 - INT (SUBSTR (C3,1,8))),5,2) CONCAT '.' CONCAT SUBSTR (CHAR (99999999 - INT (SUBSTR (C3,1,8))),1,4)) [...] 40428 58 29_Re: [Re: Pessimistic Locking]13_Larry Findley17_llfindley@USA.NET29_Thu, 14 Jun 2001 13:50:21 CDT474_US-ASCII Dennis Taylor wrote: At 07:57 AM 6/14/01 -0500, you wrote: Actually,

The DB2 rowid can be selected, and then subsequently used to directly access the row, bypassing index processing.

Larry

It *sounds*, though, like the row-id isn't a direct index into the physical location of the row in the database (as it is with Oracle). 'Course you aren't writing documentation, so you may just not have mentioned that part (I hope). [...] 40487 88 43_Traces, Classes and IFCIDs for DB2 OS390 V613_Mike Lawrence29_mlawrence@ASCENSIONHEALTH.ORG31_Thu, 14 Jun 2001 13:45:59 -0500497_US-ASCII Hello, I am looking for a list that will show me the IFCIDs associated with a specific type of trace and class. I have the book "DB2 Answers" by RYC and they say that this list exists in a member DSNMSGS in SDSNSAMP lib...but I don't have this member. I have a wonderful CA Version 6 Reference guide that has the Performance Trace records...but I would like the others too. Is there such a list within the DB2 Manuals (I am having trouble finding it if there is). Thanks in advance. [...] 40576 122 47_Re: Traces, Classes and IFCIDs for DB2 OS390 V613_Mike Lawrence29_mlawrence@ASCENSIONHEALTH.ORG31_Thu, 14 Jun 2001 13:57:00 -0500638_US-ASCII Ok, answered my own question.. I took RYC to literal.. I found them in DSNWMSGS in sdsnsamp. Thanks Have a Great day! Mike



Michael S. Lawrence Systems Programmer Ascension Health, ISD MLawrence@Ascensionhealth.org







>>> Mike Lawrence 1:45:59 PM Thursday, June 14, 2001 >>>

Hello, I am looking for a list that will show me the IFCIDs associated with a specific type of trace and class. I have the book "DB2 Answers" by RYC and they say that this list exists in a member DSNMSGS in SDSNSAMP lib...but I don't have this member. I have a wonderful CA Version 6 Reference guide [...] 40699 45 47_Re: Traces, Classes and IFCIDs for DB2 OS390 V611_Jeff Schade21_JSCHADE@MAIL2.PCH.COM31_Thu, 14 Jun 2001 15:14:20 -0400590_US-ASCII Hi Mike,

I believe the member you are looking for is DSNWMSGS in the DB2 sample library.

Jeff

>>> mlawrence@ASCENSIONHEALTH.ORG 06/14/01 02:45PM >>> Hello, I am looking for a list that will show me the IFCIDs associated with a specific type of trace and class. I have the book "DB2 Answers" by RYC and they say that this list exists in a member DSNMSGS in SDSNSAMP lib...but I don't have this member. I have a wonderful CA Version 6 Reference guide that has the Performance Trace records...but I would like the others too. Is there such a list within the [...] 40745 79 38_Re: Unload from copy sharelevel change34_Pillay, Venkat (USPC.PCT.Hopewell)20_venkat_pillay@ML.COM31_Thu, 14 Jun 2001 15:29:49 -0400335_iso-8859-1 I had this problem with BMC UNLOAD Version 5.x, while unloading from inline Imagecopy. The similar problem was also there with DSN1COPY using inline copy. BMC had a fix for this in newer version 6.x and same with DSN1COPY.

Due to duplicate or pages out of sequence, the inline copy was causing all this problem. [...] 40825 21 47_Re: exec a program that has all DB2 ref removed5_Chris17_isatcjk@YAHOO.COM31_Thu, 14 Jun 2001 12:38:29 -0700528_us-ascii QST...might be the Quickstart product currently being phased out by BMC?

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

__________________________________________________ Do You Yahoo!? Spot the hottest trends in music, movies, and more. http://buzz.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. 40847 98 55_Re: Rexx Stored Procedure Builder - Address Space Setup13_Kenski, David25_David.Kenski@MARRIOTT.COM31_Thu, 14 Jun 2001 16:01:50 -0400420_iso-8859-1 Look for member DSN8WLMP in your SDSNSAMP library.... That should help.

Dave Kenski

-----Original Message----- From: David Booher [mailto:David.Booher@QUEST.COM] Sent: Thursday, June 14, 2001 8:04 AM To: DB2-L@RYCI.COM Subject: Re: Rexx Stored Procedure Builder - Address Space Setup



Does anyone have the text of this document? If so, can you please e-mail it to me offlist? [...] 40946 30 17_DRDA problem.....16_Sreedhar Bobbadi24_sbobbadi@DUKE-ENERGY.COM31_Thu, 14 Jun 2001 16:08:16 -0400672_us-ascii Hi Folks

Has anybody experienced the following error. when I looked up -30020 it says refer to Refer to IBM Distributed Data Management (DDM) Reference Guide and I am not able to find this on the WEB...

DSNT408I SQLCODE = -30020, ERROR: EXECUTION FAILED DUE TO A DISTRIBUTION PROTOCOL ERROR THAT CAUSED DEALLOCATION OF THE CONVERSATION: REASON 1245 (0100) DSNT418I SQLSTATE = 58009 SQLSTATE RETURN CODE DSNT415I SQLERRP = DSNLZRPA SQL PROCEDURE DETECTING ERROR DSNT416I SQLERRD = 13848857 0 0 0 0 0 SQL DIAGNOSTIC INFORMATION DSNT416I SQLERRD = X'00D35119' X'00000000' X'00000000' X'00000000' X'00000000' X'00000000' SQL DIAGNOSTIC INFORMATION [...] 40977 169 21_Re: DRDA problem.....12_Vernon, John27_John.Vernon@TRS.STATE.TX.US31_Thu, 14 Jun 2001 15:23:41 -0500496_iso-8859-1 -30020





-30020 EXECUTION FAILED DUE TO A DISTRIBUTION PROTOCOL ERROR THAT CAUSED

DEALLOCATION OF THE CONVERSATION: REASON





Explanation: A DRDA protocol error has occurred that prevented the

successful execution of the current SQL statement or command, as well as

any subsequent SQL statements.





The 'reason-code' identifies the DDM code point which represents the DDM [...] 41147 12 25_Recall: DRDA problem.....12_Vernon, John27_John.Vernon@TRS.STATE.TX.US31_Thu, 14 Jun 2001 15:25:18 -0500311_- Vernon, John would like to recall the message, "DRDA problem.....".

================================================ 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. 41160 103 40_Re: DB2 V7 and CA utilities P99D caution13_John Arbogast32_john.arbogast.cquz@STATEFARM.COM31_Thu, 14 Jun 2001 15:43:03 -0500503_- Don't forget about easy of use, restartability and support.

-----Original Message----- From: Tom_Moulder@BMC.COM [mailto:Tom_Moulder@BMC.COM] Sent: Thursday, June 14, 2001 12:56 PM To: DB2-L@RYCI.COM Subject: Re: DB2 V7 and CA utilities P99D caution



Therefore, if you are find that the 3rd party vendor supports everything you are doing in DB2, then the choice of utilities comes down to a question of price/performance/availability. Pick the one that best fits your needs. [...] 41264 22 23_irlm storage question ?10_Tom Taylor17_ttaylor@CHUBB.COM31_Thu, 14 Jun 2001 16:43:34 -0400430_us-ascii Hi all Can someone explain the following output...expecially the bold face types and why we haven't crashed Tom

DXR100I DX2T002 STOR STATS PC: NO MAXCSA: 6M CSA USE: ACNT: 4868K AHWM: 4996K CUR: 6054K HWM: 6182K ABOVE 16M: 105 6049K BELOW 16M: 3 5K CLASS TYPE SEGS MEM TYPE SEGS MEM TYPE SEGS MEM ACCNT T-1 73 4672K T-2 3 192K T-3 1 4K PROC WRK 10 60K SRB 1 1K OTH 1 1K MISC VAR 18 1101K N-V 10 26K FIX 1 24K [...] 41287 48 32_Re: Degradation in response time16_Norbert Thiebaud23_norbert@INFOTELCORP.COM31_Thu, 14 Jun 2001 16:59:05 -0400433_iso-8859-1 I don't know what kind of lock strategy you have for this request but in any case an EXPLAIN would give you a first indication on what DB2 is trying to do. With a restrictive locking strategy you might end up serializing all your requests (the numbers you give are quite consistant with this hypothesis... if 1 user is 1 second then 10 user at the same time would observe a 5.5 secs average responce time (n(n+1)/2n) [...] 41336 62 40_Re: Loading of Data into a smaller table13_Daniel Turner28_daniel_turner@ALBERTSONS.COM31_Thu, 14 Jun 2001 15:01:25 -0600486_iso-8859-1 I would unload using dsntiaul parm('sql')

select substr(col1,1,15) as col1 substr(col2,2,15) as col2 . . . from fattable

this would unload the data and a matching syspunch. Change the table name on the load card and load it.

DT









-----Original Message----- From: Hanne Lyssand [mailto:han@VPS.NO] Sent: Thursday, June 14, 2001 9:38 AM To: DB2-L@RYCI.COM Subject: Re: [DB2-L] Loading of Data into a smaller table [...] 41399 124 40_Re: DB2 V7 and CA utilities P99D caution12_Moulder, Tom19_Tom_Moulder@BMC.COM31_Thu, 14 Jun 2001 16:13:51 -0500455_iso-8859-1 ok

I knew I'd leave something out. point well taken

Tom Moulder (BMC software, Inc.) my opinions, not my employer's, they can speak for themselves

-----Original Message----- From: John Arbogast [mailto:john.arbogast.cquz@STATEFARM.COM] Sent: Thursday, June 14, 2001 3:43 PM To: DB2-L@RYCI.COM Subject: Re: DB2 V7 and CA utilities P99D caution



Don't forget about easy of use, restartability and support. [...] 41524 163 14_Re: Snowflakes13_Terry Purcell25_Terry_Purcell@YLASSOC.COM31_Thu, 14 Jun 2001 16:39:05 -0500562_us-ascii Steve,

The IBM manual was correct at the time of initial release. Neither are correct now (the online manuals have not yet been updated).

Regards Terry Purcell Yevich Lawson & Assoc Inc (YL&A) IBM Gold Consultant - DB2 IBM Certified Solutions Expert DB2 V7 Database Administration OS/390 http://www.ylassoc.com



-----Original Message----- From: DB2 Data Base Discussion List [mailto:DB2-L@RYCI.COM]On Behalf Of Steve.Westfall@EQUIFAX.COM Sent: Thursday, June 14, 2001 10:11 AM To: DB2-L@RYCI.COM Subject: Re: Snowflakes [...] 41688 20 19_websphere and java?13_Dennis Taylor14_ismgr@PCTC.COM31_Thu, 14 Jun 2001 15:32:36 -0700536_us-ascii Anyone using Websphere and java servlets? I'm wondering how much documentation is included in the package on that subject? Any support from IBM?



Dennis Taylor -------------------------------- Sex drive: A physical craving that begins in adolescence and ends at marriage.

================================================ 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. 41709 192 14_Re: Snowflakes15_Mallett, Steven31_Steven.Mallett@TEAM.TELSTRA.COM31_Fri, 15 Jun 2001 09:17:17 +1000423_iso-8859-1 Thankyou all for those most interesting responses, they did in fact answer my original questions. Unfortunately I now have several additional questions on this topic, but first I'll digest the information provided.

Although I would have thought our application would have a few Star Joins already, but apparently we don't ( on OS/390 DB2 V6.1 ). Is there a ZPARM which enables/disables this feature? [...] 41902 204 14_Re: Snowflakes15_Mallett, Steven31_Steven.Mallett@TEAM.TELSTRA.COM31_Fri, 15 Jun 2001 09:29:35 +1000638_iso-8859-1 Actually don't worry about that last question - I've just discovered our subsystems have Starjoin disabled.

regards, Steve

> -----Original Message----- > From: Mallett, Steven > Sent: Friday, June 15, 2001 9:17 AM > To: 'DB2 Data Base Discussion List' > Subject: RE: Snowflakes > > Thankyou all for those most interesting responses, they did in fact answer > my original questions. Unfortunately I now have several additional > questions on this topic, but first I'll digest the information provided. > > Although I would have thought our application would have a few Star Joins > already, but apparently we [...] 42107 112 51_WinNT, Win2000 Utilities Scheduling - backup, reorg11_Rolf Kramer23_RKramer@POWERLAN.COM.AU31_Fri, 15 Jun 2001 09:59:04 +1000309_iso-8859-1 Does anyone have any recommendations as to the best method of scheduling jobs on Windows NT or 2000 using DB2 UDB.

I have used the AT command to start a script that runs DB2CMD from another command file. Works, but I wonder if there is a better way to achieve the same eg using DB2CC ? [...] 42220 62 11_Index usage13_Jaydeep Ghosh29_Jaydeep_Ghosh@PROGRESSIVE.COM31_Thu, 14 Jun 2001 20:03:33 -0400560_us-ascii Hello All ,

I have a query like this :

SELECT COUNT (*), SUM (HLD_TM), SUM (TK_TM), SUM (WRK_TM) FROM WOM.TERM_CALL_DETAIL WHERE CALL_DT BETWEEN '2001-05-05' AND '2001-06-01' AND DIGITS_DIAL IN (8774982562, 8888008523)

The table is partitioned , with 52 partitions ( 4 per month , total 13 months ) . There is a npi with the following specifications : Index1 : CALL_DT , COLB , COLC , where only CALL_DT is used in this query . The stats are : FIRSTKEYCARDF : 391 ( as would be expected for 13 months ) FULLKEYCARDF : 217243 [...] 42283 102 15_Re: Index usage24_Leblanc, Francis C - CNF23_Leblanc.Francis@CNF.COM31_Thu, 14 Jun 2001 17:14:12 -0700322_- Hi!

As I recall, even though the PLAN_TABLE indicates a tablespace scan, the actual scan is still probably only on the actual partitions used in the query. Since you need to access the data component anyway, a scan of the relevant partitions should outperform the same query accessing the data via an index. [...] 42386 53 55_Re: WinNT, Win2000 Utilities Scheduling - backup, reorg11_Endy Lambey20_endyl@CENTRIN.NET.ID31_Fri, 15 Jun 2001 07:36:14 +0700551_- Rolf,

If you have the Task Scheduler serice active/started on W2k/NT, you can save the command into a DB2 Script Center file. Then you can schedule the script to run at any time you want using the schedule from Script Center.

H T H

>Does anyone have any recommendations as to the best method of scheduling >jobs on Windows NT or 2000 using DB2 UDB. > >I have used the AT command to start a script that runs DB2CMD from another >command file. Works, but I wonder if there is a better way to achieve the >same eg using DB2CC [...] 42440 62 14_Re: Snowflakes15_Bell, Raymond W31_Raymond.W.Bell@TEAM.TELSTRA.COM31_Fri, 15 Jun 2001 10:38:31 +1000477_- Steve,

Bummer, huh? Sent myself on the V6 Transition course a few weeks ago and came back as keen as mustard to play with the 'new' stuff. However I found, like you just did, that some of it is disabled here.

Oh, and I guess I can only give myself 1/2 marks on the snowflake thing. Got the star/dimension/fact thing right, failed the snowflake bit. But now I do know, so feel free to ask again and I'll impress you all with my new-found knowledge. Or not. [...] 42503 180 55_Re: WinNT, Win2000 Utilities Scheduling - backup, reorg11_Rolf Kramer23_RKramer@POWERLAN.COM.AU31_Fri, 15 Jun 2001 10:46:03 +1000554_- I had problems combining OS commands with DB2 commands. Script centre asks for one or the other.

-----Original Message----- From: Endy Lambey [mailto:endyl@CENTRIN.NET.ID] Sent: Friday, 15 June 2001 10:36 AM To: DB2-L@RYCI.COM Subject: Re: WinNT, Win2000 Utilities Scheduling - backup, reorg



Rolf,

If you have the Task Scheduler serice active/started on W2k/NT, you can save the command into a DB2 Script Center file. Then you can schedule the script to run at any time you want using the schedule from Script Center. [...] 42684 45 30_Re: Database holy war - UPSERT15_Bell, Raymond W31_Raymond.W.Bell@TEAM.TELSTRA.COM31_Fri, 15 Jun 2001 11:01:17 +1000588_- I think 'Frankie goes to Hollywood' had the right idea. Get Lou Gerstner and Larry Ellison in a ring and let them slug it out. The one standing at the end is the winner. Just as civilized as any other method of determining the 'winner'.

Go Lou-u! Go Lou-u!



Raymond

> -----Original Message----- > From: Mike Hately [SMTP:MHately@ETECH-UK.COM] > Sent: Thursday, 14 June 2001 6:34 pm > To: DB2-L@RYCI.COM > Subject: Re: Database holy war - UPSERT > > I'm attacking this from the other side. 10 years of Oracle experience and > just > trying DB2 ( v7.1 ). [...] 42730 88 23_Re: V6 & Reserved Words15_Mallett, Steven31_Steven.Mallett@TEAM.TELSTRA.COM31_Fri, 15 Jun 2001 11:46:28 +1000384_- Marcia,

We've found a similar problem with a column named "TABLE" in one of our GTT's. After implementation of DB2 V6 the parser would no longer allow it to appear in the SELECT list of column names. We've now renamed it as well as other potential problem names to be on thew safe side - but I think you can still get away with columns named "TABLESPACE", "INDEX", etc. [...] 42819 54 55_** The Univac Turns 50 -in the beginning before db2 :->16_Thomas E. Faglon21_tfaglon@TELCORDIA.COM31_Thu, 14 Jun 2001 21:59:04 -0400623_us-ascii ** The Univac Turns 50 Look at what a half-century has wrought. It was 50 years ago today that the famed Univac, widely considered the first commercial computer, made its public debut during a dedication at the U.S. Census Bureau. At the time, proponents assured the world that computers would give us shorter workweeks and paperless offices. But there's no disputing the impact the subsequent computer revolution has had on business and, more recently, lifeaway from work. The first implications of the widespread influence Univac and its offspring would have came in the fall of 1952, when the fifth Univac [...] 42874 85 14_Re: Snowflakes15_Mallett, Steven31_Steven.Mallett@TEAM.TELSTRA.COM31_Fri, 15 Jun 2001 12:08:17 +1000571_- Raymond,

I'm just as keen to get into the new stuff but without the training - must be the cowboy left in me by my old boss?

regards, Steve



> -----Original Message----- > From: Bell, Raymond W [SMTP:Raymond.W.Bell@TEAM.TELSTRA.COM] > Sent: Friday, June 15, 2001 10:39 AM > To: DB2-L@RYCI.COM > Subject: Re: Snowflakes > > Steve, > > Bummer, huh? Sent myself on the V6 Transition course a few weeks ago and > came back as keen as mustard to play with the 'new' stuff. However I > found, > like you just did, that some of it is disabled [...] 42960 183 67_NYTimes.com Article: Pioneers of the 'Fortran' Programming Language16_Thomas E. Faglon21_tfaglon@TELCORDIA.COM31_Thu, 14 Jun 2001 22:06:39 -0400509_us-ascii FYI - Think about it!





Pioneers of the 'Fortran' Programming Language



By STEVE LOHR





THEY were young, in their 20's and early 30's, brimming with energy and optimism, a tightknit team. Their goal was to simplify programming and open up computing to more people. The industry consensus was that they were trying the impossible. They suffered setbacks and disappointments. A six- month timetable for completion became nearly three years. [...] 43144 84 55_Re: WinNT, Win2000 Utilities Scheduling - backup, reorg11_Endy Lambey20_endyl@CENTRIN.NET.ID31_Fri, 15 Jun 2001 09:29:29 +0700693_- You can add your BKUPSAM.CMD (I prefer to rename it first to BKUPSAM.BAT) to the Task Scheduler by using the Scheduled Task window, in Windows 2000 you can acces it from Start-Programs-Accesories-System Tools-Scheduled Task, Add a new task and browse for your BKUPSAM.CMD

Good Luck...





>I had problems combining OS commands with DB2 commands. Script centre asks >for one or the other. > >-----Original Message----- >From: Endy Lambey [mailto:endyl@CENTRIN.NET.ID] >Sent: Friday, 15 June 2001 10:36 AM >To: DB2-L@RYCI.COM >Subject: Re: WinNT, Win2000 Utilities Scheduling - backup, reorg > > >Rolf, > >If you have the Task Scheduler serice active/started on [...] 43229 92 56_Re: Stored procedure debugging on OS390 using a COBOL SP8_K.Balaji19_K.Balaji@TARGET.COM31_Thu, 14 Jun 2001 22:33:46 -0500569_iso-8859-1 Where do we mention the following line : MSGFILE(SYSPRINT,FBA,121,0,ENQ),RPTSTG(ON),RPTOPTS(ON)). I dont exactly get this one ?

-----Original Message----- From: BOB JEANDRON [mailto:BOB.JEANDRON@USDA.GOV] Sent: Wednesday, June 13, 2001 6:45 AM To: DB2-L@RYCI.COM Subject: Re: Stored procedure debugging on OS390 using a COBOL SP Sensitivity: Personal



I had a lot of trouble getting this to work as well. I finally ran a PM trace and found that the procedure was getting a -805. After that was resolved, everything started working. [...] 43322 68 40_Re: Loading of Data into a smaller table16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Fri, 15 Jun 2001 09:38:21 +0530369_- Rakesh,

If you would have given the error message we could exactly have thought what you are trying to do. But here what i can understand is you want to avoid loading the junk values of all the columns and use the selective positions extraction. What i am able to understand if you are loading on the same table or different one. If it is the same table. [...] 43391 96 48_udf in c on linux fails, SQL0465N Reason code 4212_Jason Pyeron16_jason@PYERON.COM31_Fri, 15 Jun 2001 00:46:40 -0400546_US-ASCII stuck on this one here, trying to create a udf to do some string stuff, so i tried the sample udf first. it compiles, the create function succeeds, but on call it fails

does anyone have experience on this one, and is able to help?

Sincerely, Jason Pyeron

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron Pyerotechnics Development - - Projects Manager Suite 101/2937 St Paul St - - +1 410 467 2266 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- [...] 43488 169 42_Re: Order of Processing: Join and Subquery13_Terry Purcell25_Terry_Purcell@YLASSOC.COM31_Thu, 14 Jun 2001 23:46:58 -0500465_iso-8859-1 Dennis,

You did not say that about the ordering in the plan table, but someone else did. My apologies for not being clear that I was not referring to you in that instance. I would agree with your statement about the ordering of the query blocks only for the simplest SQL statements containing subqueries. As soon as you introduce one table join, the subquery execution will appear in explain after the 2nd table even if it refers to the 1st. [...]