1 WWW.IDUGDB2-L.ORG /home/listserv/home/db2-l May 2001, week 2 2 60 45_can stored procedures be called from triggers11_Arvind Heda40_arvind_heda@INTERSOLUTIONS.STPN.SOFT.NET30_Tue, 8 May 2001 12:59:12 -0400297_iso-8859-1 hi list members,

I am tring to call a stored procedure through a trigger on some column updates . but the trigger is not accepting the "CALL" statement, (giving it as an unexpected token). Is this not possible or there is some problem with the syntax.

thanx arvind

63 47 49_Re: can stored procedures be called from triggers10_teldb2kals22_teldb2kals@TELSTRA.COM30_Tue, 8 May 2001 17:58:49 +1000454_us-ascii Hi Arvind,

Yes, Triggers can call stored procedures. (Refer to the App.Programming Guide for more details - Sec 3.5). It wd be helpful if u can post ur trigger description, along with the error u get.

Cheers, Kals

-----Original Message----- From: Arvind Heda [SMTP:arvind_heda@INTERSOLUTIONS.STPN.SOFT.NET] Sent: Wednesday, May 09, 2001 2:59 AM To: DB2-L@RYCI.COM Subject: can stored procedures be called from triggers [...] 111 115 36_Re: Stored procedures using MSAccess10_teldb2kals22_teldb2kals@TELSTRA.COM30_Tue, 8 May 2001 18:06:43 +1000395_us-ascii Hi Colin,

U can try having some debugging DISPLAY statements in ur stored procedure code to check what data is coming thru, and whether the SQL queries in the code are getting executed correctly. (display sqlcode)

I am not sure immediately abt any upper/lower case conversion. (U have a lowercase 'y' in ur CALL, but the program might be expecting an uppercase 'Y'). [...] 227 113 49_Re: can stored procedures be called from triggers16_Dylan Vanderhoof20_DylanV@SEMAPHORE.COM30_Tue, 8 May 2001 02:06:55 -0700557_iso-8859-1 Depends on your architecture. If you're using UDB on Windows/UNIX, then no they cannot. I've tried numerous times.

Apparently you can on DB2/390 or DB2/400, you'll need to ask one of the mainframers how though.

-D

----------------------------------------------------------------------- Dylan C. Vanderhoof Internal Software Developer Semaphore Corporation http://www.semaphore.com/ perl -e "print(pack('h38','c6c616279616e604c6c616279616e6e2e65647'))"

"RFC 822 puts the 'dot' in .com" [...] 341 59 34_Re: How long does DB2 keep a disk?0_19_mike.holmans@BT.COM30_Tue, 8 May 2001 09:41:17 +0100413_- Thanks to all those who replied with ideas. Max wins the prize for being right for our case with his mention of multi-vol datasets. Some multi-vols still thought they resided on the volume even though they didn't by that time.

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

This post represents the views of the author and does not necessarily accurately represent the views of BT [...] 401 20 34_Re: How long does DB2 keep a disk?10_Max Scarpa16_mscarpa@CESVE.IT30_Tue, 8 May 2001 11:32:08 +0200430_us-ascii Thanks for the prize Mike :-). I'm glad if my 2 cents helped you (in some manner) to resolve your problem.



Regards

Max Scarpa

DB2 Sysprog (believe it)

================================================ 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. 422 27 15_Backup/Recovery22_SERDAR SABRI OZKUBULAY22_sozkubul@AKBANK.COM.TR30_Tue, 8 May 2001 13:39:22 +0300436_windows-1254 Hello list, We use RVA's snapshot feature to backup some 7/24 data. In order to write buffered data to disk, firstly we run a QUIESCE, then backup the datasets and finally run another QUIESCE to obtain a consistent point for recovery. We have some problems nowadays despite of running backup process after midnight, because of the heavy transaction flow. QUIESCE utility stops the access to data this causes timeouts. [...] 450 56 19_Re: Backup/Recovery16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM30_Tue, 8 May 2001 17:14:08 +0530537_- > How is your QUIESCE control statements ?. Are you doing this for multiple > tablespaces in a single set or separate tablespace each have different > statements in the same JCL. It depends on the need if we require to > establish single point of consistency for all the tablespaces in a list. > The purpose for which we are using WRITE YES, we may not require the > QUIESCE statement in a list. Instead if we separate the statements, the > duration of the quiesce and hence the drained writers will be less. > Would like to hear [...] 507 20 47_timming out in DB2 connect and no error message13_Steven Kinler17_SKinler@VNSNY.ORG30_Tue, 8 May 2001 07:58:48 -0400426_- Hello all thanks in advance for your help. We have a new application using DB2 connect to access DB2 on OS390. The application is experiencing time outs on the client side. The problem we are having is this is not generating an error code. Is there some way to get an error returned so we can code for the time out and stop processing. Any information on any parameters that control the time out would also be helpful. [...] 528 35 26_DB2 connect & Windows 200011_Tina Hilton21_Tina.Hilton@BMSUS.COM30_Tue, 8 May 2001 07:23:11 -0500563_iso-8859-1 Background: We have DB2 Connect 5.2 (7.1 is still being tested) and DB2 for OS/390 V6.1. The client connects to a Connect server on Windows NT, and from there to the mainframe via SNA.

We are having a heck of a problem with users being able to connect to DB2 on OS/390 after their PC is upgraded to Windows 2000. It saves the userid and password in the ODBC connection. The user is no longer prompted to enter their id and password so when their mainframe password expires and is changed, they can't connect any more. We discovered that it [...] 564 72 19_Re: Backup/Recovery13_Mackey, Glenn21_GMackey@GUIDEMAIL.COM30_Tue, 8 May 2001 07:35:19 -0500637_iso-8859-1 If you are on Db2 Version 6.1, look at the SET LOG SUSPEND and SET LOG RESUME to replace the use of the QUIESCE.



-----Original Message----- From: S, Sanjeev (CTS) [mailto:SSanjeev@CAL.COGNIZANT.COM] Sent: Tuesday, May 08, 2001 6:44 AM To: DB2-L@RYCI.COM Subject: Re: Backup/Recovery



> How is your QUIESCE control statements ?. Are you doing this for multiple > tablespaces in a single set or separate tablespace each have different > statements in the same JCL. It depends on the need if we require to > establish single point of consistency for all the tablespaces in a list. > The purpose [...] 637 16 47_Reference on DB2 Unix for a DB2 OS390 installer12_BOB JEANDRON21_BOB.JEANDRON@USDA.GOV30_Mon, 7 May 2001 17:07:00 -0400295_- We are exploring the possibility of installing DB2 UDB on AIX. Is there a reference out there written with a view point of a DB2 for OS390 person to install/administer DB2 on UXIX? I have installed Oracle on AIX, so a reference with a view point of Oracle to DB2 on UNIX would also help. [...] 654 38 51_Re: timming out in DB2 connect and no error message13_Shapiro, Dave26_Shapiro.Dave@PRINCIPAL.COM30_Tue, 8 May 2001 07:54:59 -0500526_iso-8859-1 Steve,

Are you using DB2 Connect EE? If so do you have the boxes checked for "Disconnect...." on the "Host or AS/400" tab of the Client Configuration Assistant (I don't remember if PE has a similar setup option...)? This should stop processing if your timeout is a SQL30081N TCPIP 10053 type situation. You might also consider bumping up the application's timeout threshold, and maybe also investigate where the time is being spent (in DB2?) and if there is anything that can be done to "help" the SQL. [...] 693 172 30_Re: DB2 connect & Windows 200012_David Booher22_David.Booher@QUEST.COM30_Tue, 8 May 2001 06:12:52 -0700595_iso-8859-1 We circumvented a similar problem by adding a userid to the Win2K machine that consisted only of the first eight bytes of the logon id (i.e. david_booher ==> david_bo). This was added under Control Panel/Administrative Tools/Computer Management/Local Users and Groups.

We then updated the local DB2 database with that 8 byte id, so that the user could update the local DB2 database. The user still logs on with their normal id to Win2K, but it seems that DB2 was only interested in the first eight bytes of that id. Once that was added, then the user is allowed to update [...] 866 13 31_Re: Excellent Job Opportunities13_Villa Horacio17_hvilla@TTI.COM.AR30_Tue, 8 May 2001 10:06:16 -0300328_iso-8859-1 Are the positions available to non-USA citizens? Wil they sponsor H1B visa?

================================================ 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. 880 91 19_Re: Backup/Recovery22_SERDAR SABRI OZKUBULAY22_sozkubul@AKBANK.COM.TR30_Tue, 8 May 2001 16:24:14 +0300386_iso-8859-1 We are on DB2 5.1 now, but I think SET LOG SUSPEND stops whole update activity on the DB2, I just want to do this for a particular tablespace. Thanks for your reply.

-----Original Message----- From: DB2 Data Base Discussion List [mailto:DB2-L@RYCI.COM]On Behalf Of Mackey, Glenn Sent: Tuesday, May 08, 2001 3:35 PM To: DB2-L@RYCI.COM Subject: Re: Backup/Recovery [...] 972 13 28_DB2 OS/390 Vs. MS SQL Server14_Zobjeck, A. J.18_Al_Zobjeck@TTX.COM30_Tue, 8 May 2001 08:29:16 -0500386_ISO-8859-1 I'm looking for some comparisons between the two products. Advantages and disadvantages are there any white papers out on this topic.

================================================ 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. 986 37 26_DB2 for OS390 V6 Migration0_22_Tim.T.Dupree@LOWES.COM30_Tue, 8 May 2001 09:32:36 -0400525_- We just performed a V6 migration (maintenance level 0012) on one of our production subsystems. As a result, certain batch processes are running 3-4 times longer and consuming 25% more CPU. We have not experienced this in any of our testing or other migrations (3 test subsystems). Of course, the workload in the production subsystem doesn't really compare to any test subsystem. The same process will run in the expected runtime during a different time of day, however it still consumes additional CPU compared to V5. [...] 1024 183 30_Re: DB2 connect & Windows 200011_Tina Hilton21_Tina.Hilton@BMSUS.COM30_Tue, 8 May 2001 08:36:16 -0500358_iso-8859-1 Their normal id for loggin on the lan and Windows is the same as their mainframe RACF id. They don't normally make these ids administrators, though. When this particular user tried to change her password in the Client Configuration Assistant, the userid that was in there was ADMINST -- probably the id that was used to install Windows 2000. [...] 1208 168 15_Re: db2 monitor12_tim malamphy20_timalamphy@YAHOO.COM30_Tue, 8 May 2001 06:36:23 -0700588_us-ascii I'd recommend you add the monitors from Database Guys...now also known as DGI to your list if you're doing a product evaluation. I'm not affiliated with them, but I do like their products. tim --- Murali Kanaga wrote: > Hi, > > Thanks for your reply. WE are located in > N.California. (Closed to San > Francisco). > You can reach me via e-mail or phone: 650-578-7283. > > thx, > Murali > > > -----Original Message----- > > From: Aurora Dell'Anno > [mailto:Aurora_E_DellAnno@CANDLE.COM] > > Sent: Sunday, May 06, 2001 2:15 PM > > To: DB2-L@RYCI.COM > > [...] 1377 81 38_Re: LPL Status and Rebuilding an Index23_Pendlebury-Bowe, Leslie34_Leslie.Pendlebury-Bowe@EU.SONY.COM30_Tue, 8 May 2001 14:33:47 +0100404_iso-8859-1 Interesting .. but why when it is just the unload phase .... there must be some magic happening inside db2 that requires a full rebuild ... nasty old trap to fall into though.

Leslie

-----Original Message----- From: Billings, Linda [mailto:linda.billings@DOA.STATE.WI.US] Sent: Monday, May 07, 2001 9:04 PM To: DB2-L@RYCI.COM Subject: Re: LPL Status and Rebuilding an Index [...] 1459 30 8_BIND ADD16_Daryl G Spletzer24_dgspletzer@CMSENERGY.COM30_Tue, 8 May 2001 09:49:17 -0400523_us-ascii HI, we had the same problem last week. Users could get to DB2 thru DB2 connect in test subsystem and not in production. When db2 connect was installed in there was a job that ran some bind files in test DB2 system . Those same bind files need to be bound in the production. They a bound into a collection called NULLID. DB2 Connect provides a number of Bind files (like a DBRM) that must be bound by a DB2 Connect administrator or the DB2 OS/390 DBA (using one of our DBA TSO Id's) The bind must be done from [...] 1490 100 38_Re: LPL Status and Rebuilding an Index15_Billings, Linda30_linda.billings@DOA.STATE.WI.US30_Tue, 8 May 2001 09:08:41 -0500454_iso-8859-1 I was wondering that, too. I haven't had occasion to cancel a rebuild lately so haven't run into this problem. I was a bit surprised to read this in the manual. Perhaps I interpreted it wrong but I don't think so.

Linda

-----Original Message----- From: Pendlebury-Bowe, Leslie [mailto:Leslie.Pendlebury-Bowe@EU.SONY.COM] Sent: Tuesday, May 08, 2001 8:34 AM To: DB2-L@RYCI.COM Subject: Re: LPL Status and Rebuilding an Index [...] 1591 142 19_Re: Backup/Recovery15_Murley, Michael22_Michael_Murley@BMC.COM30_Tue, 8 May 2001 09:16:35 -0500526_iso-8859-1 ( Warning! Product endorsement follows.)

One approach you might consider is the use of BMC COPY PLUS Instant Snapshot, which works with RVA. Instead of doing volume-level snaps, it does data set-level snaps for specific table spaces or indexes. If you want a SHRLEVEL REFERENCE copy, you would still need a quiesce point, but if you just want a really fast SHRLEVEL CHANGE copy of the space, Instant Snapshot can work with no outage at all and register the copy appropriately for later use in recovery. [...] 1734 45 33_OLR on multi-dataset segmented TS0_18_mebert@AMADEUS.NET30_Tue, 8 May 2001 16:17:20 +0200580_us-ascii Hello list,

Environment: DB2 V5.1, OS/390. We have a multi-dataset segmented TS that has grown to about 4.5GB (3 datasets, .A001-.A003). I have altered it to COMPRESS YES and run Online Reorg to compress the data which worked fine. At the end of the RELOAD phase, the shadow TS had about 32.000 tracks used (43695 allocated), as predicted. I had set PRIQTY to 2097360 which is 2GB (43691 tracks) rounded up to a CYL multiple (43695 tracks) so I had all the data in one dataset, as planned. To my surprise, after OLR finished (there were a couple thousand log [...] 1780 21 40_regarding cursor ...... immediate reply.17_ravi kumar hassan18_ravibh@HOTMAIL.COM30_Tue, 8 May 2001 09:13:58 -0500 1802 63 30_Re: DB2 for OS390 V6 Migration12_Jeff Frazier26_Jeffrey_Frazier@WENDYS.COM30_Tue, 8 May 2001 10:17:55 -0400742_us-ascii Hi Tim, what release of OS/390 you at?







Tim.T.Dupree@LOWES.COM@RYCI.COM> on 05/08/2001 09:32:36 AM

Please respond to DB2 Data Base Discussion List

Sent by: DB2 Data Base Discussion List



To: DB2-L@RYCI.COM cc:

Subject: DB2 for OS390 V6 Migration



We just performed a V6 migration (maintenance level 0012) on one of our production subsystems. As a result, certain batch processes are running 3-4 times longer and consuming 25% more CPU. We have not experienced this in any of our testing or other migrations (3 test subsystems). Of course, the workload in the production subsystem doesn't really compare to any test [...] 1866 28 36_Re: Stored procedures using MSAccess12_Jason Hughes20_jason.hughes@TRW.COM30_Tue, 8 May 2001 09:21:45 -0500445_- Colin, I don't know how much help this info will be since it has been nearly two years since I worked regularly with Access & DB2 so here goes. I spent most of my time working with returning result sets (cursors) from SP. If I remember correctly, Access treats returning a cursor and returning an I/O parameter differently. Returning a cursor can be done in the method you are performing simply by calling the DB2 SP via an Access query. [...] 1895 82 30_Re: DB2 for OS390 V6 Migration0_22_Tim.T.Dupree@LOWES.COM30_Tue, 8 May 2001 10:43:34 -0400613_- Hello Jeff, OS390 2.9. Thanks...Tim.

> -----Original Message----- > From: Jeff Frazier [SMTP:Jeffrey_Frazier@WENDYS.COM] > Sent: Tuesday, May 08, 2001 10:18 AM > To: DB2-L@RYCI.COM > Subject: Re: DB2 for OS390 V6 Migration > > Hi Tim, what release of OS/390 you at? > > > > > Tim.T.Dupree@LOWES.COM@RYCI.COM> on 05/08/2001 09:32:36 AM > > Please respond to DB2 Data Base Discussion List > > Sent by: DB2 Data Base Discussion List > > > To: DB2-L@RYCI.COM > cc: > > Subject: DB2 for OS390 V6 Migration > > > We just performed a V6 migration (maintenance level 0012) [...] 1978 17 37_Re: Logical partitions / node (EEE) ?12_Doug Kestner23_dhsts57@DHS.STATE.IL.US30_Tue, 8 May 2001 09:25:10 -0500369_- Take a look at the redbook "Managing VLDB Using DB2 UDB EEE"

Within the first chapter, the authors recommend 1 database partition per two CPUs. This would apply to only VLDB. They also have recommendations of separating the catalogs into a partition with very little data. This catalog partition can also be the coordinator partition and the ADSM server. [...] 1996 14 44_Re: regarding cursor ...... immediate reply.20_Dr. Matthias Wehrens29_matthias.wehrens@AM-GRUPPE.DE30_Tue, 8 May 2001 09:26:38 -0500418_- The cursor is closed by DB2 when the program terminates (see e.g. Appl. Prog. Guide). But not closing cursors is bad programing style (my opinion)!

Dr.Matthias Wehrens

================================================ 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. 2011 13 24_Re: Dynamic SQL question12_Roger Miller19_millerrl@US.IBM.COM30_Tue, 8 May 2001 09:33:50 -0500406_- If that does not do the job, you could also look at the instrumentation. IFCID 0022 has pretty much the same information as the explain table.

Roger Miller

================================================ 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. 2025 156 38_Re: LPL Status and Rebuilding an Index16_Machnik, Stanley19_MachnikS3@AETNA.COM30_Tue, 8 May 2001 10:42:59 -0400348_iso-8859-1 I work with Bill and we have been discussing this at length. We executed a test on canceling a REBUILD in the UNLOAD phase. The index was in R/W and not adversely affected after we terminated the utility. Unfortunately, we could not duplicate the problem we had because when we performed this test, the index was not in LPL status. [...] 2182 117 44_Re: regarding cursor ...... immediate reply.6_Babu d16_sdevin2@HOME.COM30_Tue, 8 May 2001 07:53:13 -0700582_iso-8859-1 LUW completes at program termination and so all the cursors will be closed at that point. I think it is not a good practice. Babu "ravi kumar hassan" wrote in message news:F228U1O6YalkXh3wFDx0000098a@hotmail.com... Hi Folks,

We are using DB2 V6 on os390. actually in one of user using a cursor in his cobol - db2 programe. but he did not close the cursor. and he is not using any commits in his prog. when he ran the programe it went thru. but my doubt is he should abend becuase he is not closing the cursor. the prog. went thru without [...] 2300 15 32_Re: Audit information for Tables12_Roger Miller19_millerrl@US.IBM.COM30_Tue, 8 May 2001 09:36:52 -0500518_- If you are looking for the data changes, then the best source is probably the log data. The Administration Guide has a section on Security and Auditing, with a chapter on Auditing. You'll find a number of other suggestions there.

Roger Miller, DB2 for z/OS and 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. 2316 15 32_Re: Performance Class 9 overhead12_Roger Miller19_millerrl@US.IBM.COM30_Tue, 8 May 2001 09:53:51 -0500299_- How much sorting do you do? How big are they? If you have lots of little sorts, then the overhead will probably be higher than if you have large sorts. If you can restrict the users or records, you can reduce the costs. I don't have any numbers, but the variability would exceed the average. [...] 2332 110 30_Re: DB2 for OS390 V6 Migration12_Jeff Frazier26_Jeffrey_Frazier@WENDYS.COM30_Tue, 8 May 2001 11:18:05 -0400774_us-ascii Thanks Tim. Would be real interested in the solution. We will be migrating our production DB2's in June.







Tim.T.Dupree@LOWES.COM@RYCI.COM> on 05/08/2001 10:43:34 AM

Please respond to DB2 Data Base Discussion List

Sent by: DB2 Data Base Discussion List



To: DB2-L@RYCI.COM cc:

Subject: Re: DB2 for OS390 V6 Migration



Hello Jeff, OS390 2.9. Thanks...Tim.

> -----Original Message----- > From: Jeff Frazier [SMTP:Jeffrey_Frazier@WENDYS.COM] > Sent: Tuesday, May 08, 2001 10:18 AM > To: DB2-L@RYCI.COM > Subject: Re: DB2 for OS390 V6 Migration > > Hi Tim, what release of OS/390 you at? > > > > > Tim.T.Dupree@LOWES.COM@RYCI.COM> on 05/08/2001 [...] 2443 76 49_Re: can stored procedures be called from triggers11_Bikash Paul19_bikash_db@YAHOO.COM30_Tue, 8 May 2001 07:36:58 -0700730_us-ascii Hi, On OS/390, you can call a stored procedure/user written function from a trigger.

Regards, Bikash --- Dylan Vanderhoof wrote: > Depends on your architecture. > If you're using UDB on Windows/UNIX, then no they cannot. I've > tried > numerous times. > > Apparently you can on DB2/390 or DB2/400, you'll need to ask one of > the > mainframers how though. > > -D > > ----------------------------------------------------------------------- > Dylan C. Vanderhoof > Internal Software Developer > Semaphore Corporation > http://www.semaphore.com/ > perl -e > "print(pack('h38','c6c616279616e604c6c616279616e6e2e65647'))" > > "RFC 822 puts the 'dot' in .com" > > [...] 2520 25 23_MQ Series Position need13_kathryn sears24_ksears@DPCONSULTANTS.COM30_Tue, 8 May 2001 11:18:04 -0400557_iso-8859-1 Hi- Again, it is I-- the recruiter from North Carolina. I hope this isn't off-topic, but I know that you folks know a lot of people and in the mainframe world, the people I'm looking for are hard to find. I am searching for MQ Series Managers, Business Analysts, Programmers at the moment. Anybody with MQ Series-- We'd love to talk to them. These are good opportunities with a strong company and really fall at all levels of the range of MQ skills. We also need EDI/ datacom/ tso people, by the way! As an incentive, we offer $1K placement [...] 2546 38 31_Re: Excellent Job Opportunities10_West, Dawn16_dwest@AJILON.COM30_Tue, 8 May 2001 11:31:01 -0400423_- We would be willing to sponsor for a H1B visa. However, the DB2 and IMS positions are all now filled. We do have 3 more UDB DBA positions open. Do you have any UDB experience? Please advise. Dawn West Sr. Technical Recruiting Manager AJILON 4647 N. 32nd Street, Suite 280B Phoenix, AZ 85018 602-230-1008 - Phone 602-279-0505 - Fax dwest@ajilon.com www.ajilon.com [...] 2585 45 32_Re: Audit information for Tables13_McDonald, Ken20_Ken_McDonald@BMC.COM30_Tue, 8 May 2001 10:36:37 -0500404_iso-8859-1 Hi Juan,

Native DB2 has auditing capabilities using the AUDIT NONE/CHANGES/ALL clause on the CREATE/ALTER TABLE statement in conjunction with activating DB2 AUDIT TRACES.

Changes to data are also logged and there are vendor products available to post process the DB2 log for auditing (among other) purposes. BMC, CA, and IBM (and maybe others) have offerings in this arena. [...] 2631 86 37_Re: OLR on multi-dataset segmented TS21_Rechsteiner, Tom (TH)20_trechsteiner@DOW.COM30_Tue, 8 May 2001 10:41:17 -0500538_iso-8859-1 Ran into this similar problem but we were using the REUSE option. Opened a etr with ibm, their response was; If the dataset is on a volume that's in the stogroup, DB2 should be okay. However, it would be better to do the Reorg.

In our situation (very high profile 2GB TS also) this was not very comforting, so we did our own testing. Couple of questions for you to ask; - did you use the REUSE option with the reorg? - is dataset on a volume within the stogroup? - via 3.4/LCB check the HI-U-RBA for A001, A002. Is [...] 2718 49 51_Re: Reference on DB2 Unix for a DB2 OS390 installer18_Gert van der Kooij15_geko@WANADOO.NL30_Tue, 8 May 2001 17:42:37 +0200391_iso-8859-1 Hi,

If you've installed Oracle on AIX then installing DB2 on AIX shouldn't be a problem. Reading the Quick beginnings for Unix should provide you with enough information to install it with success.

You can also find an (very) old redbook at http://www.redbooks.ibm.com/redbooks/GG244431.html which explains DB2/6000 with DB2 MVS in mind.

Hope this help. [...] 2768 49 44_Re: regarding cursor ...... immediate reply.17_Rajkumar Gurusamy32_Rajkumar.G@CHENNAIMAIL.LTITL.COM30_Tue, 8 May 2001 21:17:32 +0530514_us-ascii Hi kumar,

DB2 implicitly closes all cursors opened by the program, when a DB2 program is finished. But you should close cursor explicitly to increase performance.

Thanks Rajkumar













ravi kumar hassan on 08/05/2001 07:43:58 PM

Please respond to DB2 Data Base Discussion List

To: DB2-L@RYCI.COM cc: (bcc: Rajkumar G/LTITLCHEN)

Subject: regarding cursor ...... immediate reply. [...] 2818 44 51_Re: timming out in DB2 connect and no error message11_Bikash Paul19_bikash_db@YAHOO.COM30_Tue, 8 May 2001 08:10:02 -0700556_us-ascii Hi, There is a parameter available in DSNZPARM called IDLE THREAD TIMEOUT which defines after how many seconds, the idle thread will be timed out.

Regards, Bikash --- Steven Kinler wrote: > Hello all thanks in advance for your help. We have a new > application using > DB2 connect to access DB2 on OS390. The application is > experiencing time > outs on the client side. The problem we are having is this is not > generating an error code. Is there some way to get an error > returned so we > can code for the time [...] 2863 82 19_v7 copy - stack yes13_John O'Conner26_John.OConner@COURTS.WA.GOV30_Tue, 8 May 2001 08:52:31 -0700498_iso-8859-1 Hello list,

We are working with DB2 v7 for OS/390 2.10, and I have been trying to do image copies using LISTDEF, Templates, and the STACK YES parameter. The first tablespace copies fine, but I get a DDNAME error when it tries to copy the second tablespace. Either I'm coding the JCL incorrectly, or our version of the utility has a problem (it's a "pre-release" version of COPY). I would really appreciate it if someone who has done this already could take a look at my JCL. [...] 2946 73 44_Re: regarding cursor ...... immediate reply.12_Paul Corbani17_PCorbani@WSGC.COM30_Tue, 8 May 2001 09:11:15 -0700617_- general question ... new to environment and list ...

how big are the differences between the DB2's (AS400,OS390 etc.), can I assume a comment like below is true across all platforms, or do we need to always be platform specific?

> ---------- > From: Rajkumar Gurusamy[SMTP:Rajkumar.G@CHENNAIMAIL.LTITL.COM] > Reply To: DB2 Data Base Discussion List > Sent: Tuesday, May 08, 2001 8:47 AM > To: DB2-L@RYCI.COM > Subject: Re: regarding cursor ...... immediate reply. > > Hi kumar, > > DB2 implicitly closes all cursors opened by the program, when a > DB2 > program is finished. But you should close [...] 3020 111 37_Re: OLR on multi-dataset segmented TS9_Al Heiden31_alheiden@NORTHWESTERNMUTUAL.COM30_Tue, 8 May 2001 11:32:56 -0500358_ISO-8859-1 What I have found is that when a tablespace or index gets to be a certain percent full (98 or 99 percent?), DB2 will allocate the next extent for the dataset.

What it looks like happenned is that DB2 decided to allocate the next extent for your tablespace since the current allocation was 100% full based on the statistics you quoted. [...] 3132 75 12_Re: Bind Add0_15_leon@CA.IBM.COM30_Tue, 8 May 2001 13:03:12 -0400373_us-ascii You do not have to issue BINDADD privilege to users of Business Objects. What is happening is Business Objects requires that CLI/ODBC packages be bound to your database. Obviously they are not bound to your database so our CLI driver attempts to bind under the covers and it fails because the user of the application does not have the authority to do a bind. [...] 3208 84 48_Possible Utility Serializatin Problem - Solution14_Richard Arnold24_Richard.Arnold@CHASE.COM30_Tue, 8 May 2001 12:26:26 -0500445_us-ascii All,

When we reorged all partitions of a 176 partition table with IBM reorg, the reorg job caused a lock escalation on SYSIBM.SYSUTILX. When one utility held a tablespace lock on SYSIBM.SYSUTILX, it denied access on SYSIBM.SYSUTILX to all other utilities, causing other utility jobs to abend.

We found an APAR that made the problem go away. It is PQ41517. It changes the locksize on SYSIBM.SYSUTILX from ANY to PAGE. [...] 3293 46 30_DB2 V6 reorg w/ discard? OS39010_Missy Case28_Missy.Case@FIRSTDATACORP.COM30_Tue, 8 May 2001 12:47:41 -0500416_us-ascii All,

I have reached my ingenuity limit on this. I am trying to reorg the Candle historical accounting tables to discard everything older than x days. Here's what I have

REORG TABLESPACE H2DBASE.H2TSACCT LOG NO SHRLEVEL REFERENCE KEEPDICTIONARY DISCARD FROM TABLE CANDLE.H2ACCT WHEN (START_TIMESTAMP + 7 DAYS <= CURRENT_TIMESTAMP) SORTDEVT SYSDA COPYDDN(SYSCPY01) SORTDEVT SYSDA SORTNUM 6 [...] 3340 103 44_Re: regarding cursor ...... immediate reply.19_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM30_Tue, 8 May 2001 12:58:13 -0500654_iso-8859-1 Paul, Currently, I would always try to obtain a platform specific answer.



HTH, Rick Davis

"This e-mail and any files transmitted with it are the property of SBC, are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender at 314-235-6854 and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited." [...] 3444 62 12_Re: Bind Add13_Larry Hubbard29_Larry_Hubbard@CMS.STATE.IL.US30_Mon, 7 May 2001 22:08:34 -0500 3507 20 20_DBA responsibilities0_26_mmetcalf@NOTES.STATE.NE.US30_Tue, 8 May 2001 13:13:24 -0500314_us-ascii "Our shop has DBA's supporting DB2 UDB for OS/390 V6. Our Management would like for us to support the AS/400 UDB in future. Do other shops have the same DBA's supporting both the S/390 and AS/400 UDB's? Do they have separate AS/400 and S/390 UDB DBA's? Also, are there list groups for AS/400 DBA's?" [...] 3528 75 34_Re: DB2 V6 reorg w/ discard? OS39034_Pillay, Venkat (USPC.PCT.Hopewell)20_venkat_pillay@ML.COM30_Tue, 8 May 2001 14:21:28 -0400712_us-ascii Try the following

REORG TABLESPACE H2DBASE.H2TSACCT LOG NO SHRLEVEL REFERENCE KEEPDICTIONARY DISCARD FROM TABLE CANDLE.H2ACCT WHEN (START_TIMESTAMP < CURRENT_TIMESTAMP - 7 DAYS) COPYDDN(SYSCPY01) SORTDEVT SYSDA SORTNUM 6

We have been reorging with discard option for over year without any trouble.

-Venkat Pillay





> -----Original Message----- > From: Missy Case [SMTP:Missy.Case@FIRSTDATACORP.COM] > Sent: Tuesday, May 08, 2001 1:48 PM > To: DB2-L@RYCI.COM > Subject: DB2 V6 reorg w/ discard? OS390 > > All, > > I have reached my ingenuity limit on this. I am trying to reorg the > Candle > historical accounting tables to discard everything older than x [...] 3604 35 24_Re: DBA responsibilities18_Krawetzky, Peter J21_KrawetzkyPJ@AETNA.COM30_Tue, 8 May 2001 14:34:26 -0400631_iso-8859-1 Do more with less... I have responsibility for Oracle, DB2 OS/390 and UDB for Solaris. Looks good on my resume!

-----Original Message----- From: mmetcalf@NOTES.STATE.NE.US [mailto:mmetcalf@NOTES.STATE.NE.US] Sent: Tuesday, May 08, 2001 2:13 PM To: DB2-L@RYCI.COM Subject: DBA responsibilities



"Our shop has DBA's supporting DB2 UDB for OS/390 V6. Our Management would like for us to support the AS/400 UDB in future. Do other shops have the same DBA's supporting both the S/390 and AS/400 UDB's? Do they have separate AS/400 and S/390 UDB DBA's? Also, are there list groups for AS/400 DBA's?" [...] 3640 118 20_Re: backups and logs11_Jeremy Dodd21_jeremy.dodd@WHICH.NET30_Tue, 8 May 2001 19:57:39 +0100437_us-ascii John, Judy, Phil,

Be wary of putting the logs straight to TSM. We initially sent ours to ADSM (upgrade due next week). The ADSM work is handled by our system administrators. However, what we found was that if ADSM had a problem, the logs could stop being archived. The log directory fills up and problem. The only way we could get the logs archiving correctly was to stop and start the database - not good for 24x7. [...] 3759 20 33_Stored procedures and result sets14_Toppins, Smike21_smike.toppins@GWL.COM30_Tue, 8 May 2001 13:08:47 -0600522_- I'm interested in looking into stored procedures using result sets. I've looked in the Application Programming and SQL Guide for starts. Are there any other good place to get information/examples?



SMike Toppins Great-West Life smike.toppins@gwl.com (303) 737-5094

================================================ 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. 3780 57 24_Re: DBA responsibilities22_Claudio Meluzzi Mendes18_p000002@BEG.COM.BR30_Tue, 8 May 2001 16:13:03 -0300603_iso-8859-1 From my point of view, the number of different databases and operating systems you have to work with is proportional to the investment in personnel qualification. Our team is responsible for DB2 OS/390 and MS Sql Server (Win NT platform), but internally there are people who have a deeper understanding of one or other platform, but not both. Working with different operating systems and DBMSs increases the amount of time dedicated to learn about each platform, more training is needed, etc. However, if the use of a new platform is inevitable, I would think a single DBA team would be [...] 3838 64 37_Re: Stored procedures and result sets0_26_JCameron@MSI-INSURANCE.COM30_Tue, 8 May 2001 14:12:55 -0500494_us-ascii IBM Redbook titled :

"Getting Started with DB2 Stored Procedures: Give Them a Call through the Network"

This book helped me out.

John Cameron JCameron@msi-insurance.com 651.631.7188







"Toppins, Smike" To: DB2-L@RYCI.COM Subject: Stored procedures and result sets Sent by: DB2 Data Base Discussion List



05/08/01 02:08 PM Please respond to DB2 Data Base Discussion List [...] 3903 72 42_FW: [DB2-L] DB2 V6 reorg w/ discard? OS39013_Daniel Turner28_daniel_turner@ALBERTSONS.COM30_Tue, 8 May 2001 13:43:51 -0600565_iso-8859-1 The utilities don't have the same predicate processor as SQL. There are some restrictions on WHEN that don't appear on real WHERE clauses.

the syntax diagram on 278 talks about a Basic Predicate of the form

column name <= labeled-duration-expression

I think it might like

WHEN START_TIMESTAMP <= (CURRENT_TIMESTAMP - 7 days)

DT



-----Original Message----- From: Missy Case [mailto:Missy.Case@FIRSTDATACORP.COM] Sent: Tuesday, May 08, 2001 11:48 AM To: Subject: [DB2-L] DB2 V6 reorg w/ discard? OS390 [...] 3976 130 37_Re: Problem running DSNTEP2 from REXX0_22_Rohn.Solecki@MTS.MB.CA30_Tue, 8 May 2001 14:48:01 -0500507_us-ascii I'm back ... (took a day to track down a looping problem, and another trying to define SYSPRINT for DSNTEP2, it just wouldn't accept SYSOUT=*, even though that was OK for SYSIN, go figure ...)

Thanks all, I've (finally) tried the suggestions to invoke the DSNTEP2 via DSN processor rather than via TSO CALL. I've had limited luck, it seems to be closer to working than before, now I'm currently getting a RC(3000) and I can't figure out where that code is coming from, TSO/REXX/DB2 ??? [...] 4107 37 44_Re: regarding cursor ...... immediate reply.17_ravi kumar hassan18_ravibh@HOTMAIL.COM30_Tue, 8 May 2001 14:37:54 -0500747_- Hi Folks,

Thanks for your help..... it helps me alot.

Kumar.



>From: "Dr. Matthias Wehrens" >Reply-To: DB2 Data Base Discussion List >To: DB2-L@RYCI.COM >Subject: Re: regarding cursor ...... immediate reply. >Date: Tue, 8 May 2001 09:26:38 -0500 > >The cursor is closed by DB2 when the program terminates (see e.g. Appl. >Prog. Guide). >But not closing cursors is bad programing style (my opinion)! > >Dr.Matthias Wehrens > >================================================ >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. [...] 4145 70 36_Re: Stored procedures using MSAccess9_Colin Fay13_cfay2@CSC.COM30_Tue, 8 May 2001 16:10:15 -0400414_us-ascii Hi Jason,

Thanks for the reply. Since my appeal for help I have been able to get rows back by converting the SP to cursors WITH RETURN instead of a seingleton select even though I was returning only one row . In addition I needed to turn off COMMIT ON RETURN on the SP definition. (I guess CURSOR WITH HOLD would override that parameter setting). As you say it seems to work with result sets. [...] 4216 34 27_RI in a testing environment0_36_doreenrowland@NORTHWESTERNMUTUAL.COM30_Tue, 8 May 2001 15:25:04 -0500571_ISO-8859-1 We wanted to compare with other sites how they might be configured to handle application testing when RI is a major concern amongst several tables of an application.

Some sites have sets of tables per application programmer's id and they code their id in the code's qualifier. Before the changes are promoted to production, the individual's qualifier/id is changed to put the production one, or removed to default to the qualifier of the production package/plan. Therefore, RI is maintained in testing by that individual using just his/her tables. [...] 4251 12 30_Re: DB2 connect & Windows 200013_Shauna Hadden24_shauna.hadden@BCBSKS.COM30_Tue, 8 May 2001 15:11:15 -0500339_- What happens when you remove UID and PWD from the db2cli.ini file? Does it put them right back?

================================================ 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. 4264 65 31_Re: RI in a testing environment0_22_Rohn.Solecki@MTS.MB.CA30_Tue, 8 May 2001 15:44:03 -0500420_us-ascii Some developers have 'personal' databases created in our developement subsystem (on OS390). The DB name is based on their userid rather than production DB name. Everything else: TS , TB , IX etc, including RI name and RI is same as production. No extra columns or qualifiers. We have a process in place so that developers can create tables (using standard ddl), and delete tables within their own db only. [...] 4330 88 34_Re: DB2 V6 reorg w/ discard? OS39018_Bruce W Williamson26_Bruce.Williamson@NT.GOV.AU30_Wed, 9 May 2001 06:49:40 +0930541_us-ascii Howzit Missy?

I'm not sure whether this will work but it should perform better as the evaluation of CURRENT_TIMESTAMP - 7 DAYS only happens once:

WHEN (START_TIMESTAMP <= CURRENT_TIMESTAMP - 7 DAYS)

HTH

Cheers Bruce Williamson

DB2 Database Administrator DCIS NT Government Darwin NT 0800 Australia











Missy Case @RYCI.COM> on 09/05/2001 03:17:41

Please respond to DB2 Data Base Discussion List [...] 4419 180 37_Re: Problem running DSNTEP2 from REXX11_Bikash Paul19_bikash_db@YAHOO.COM30_Tue, 8 May 2001 14:03:16 -0700577_us-ascii Hi, If you want to see SYSPRINT on the screen, then allocation should be "alloc dd(sysprint) ds(*)"

Regards, Bikash

--- Rohn.Solecki@MTS.MB.CA wrote: > I'm back ... (took a day to track down a looping problem, and > another > trying to define SYSPRINT for DSNTEP2, it just wouldn't accept > SYSOUT=*, > even though that was OK for SYSIN, go figure ...) > > Thanks all, I've (finally) tried the suggestions to invoke the > DSNTEP2 via > DSN processor rather than via TSO CALL. I've had limited luck, it > seems to > be closer to working than before, [...] 4600 25 46_Re: FW: [DB2-L] DB2 V6 reorg w/ discard? OS39010_Bob Irving16_Rightbob@AOL.COM28_Tue, 8 May 2001 17:39:38 EDT494_US-ASCII This solution involves slightly more work, but we wrote a simple program that calculated the date we needed (using SQL or course) to discard from on a rolling 2 year basis, and wrote out the WHEN clause in total to a pds member. Then we concatenated in this pds ( contains the "when date_colum < 'xxxx-xx-xx'" clause" ) with the rest of the control card of the reorg step. Scheduling thisprogram that spins out the WHEN clause with the reorg together 1x / month is working great. [...] 4626 14 12_Ditching QMF11_Brazil, Pat27_PBrazil@MIDATLANTIC.AAA.COM30_Tue, 8 May 2001 17:56:52 -0400366_iso-8859-1 We have very little QMF development and are thinking about ditching it. It's a very clunky product. Any thoughts?

================================================ 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. 4641 124 34_Re: DB2 V6 reorg w/ discard? OS39010_Missy Case28_Missy.Case@FIRSTDATACORP.COM30_Tue, 8 May 2001 17:12:57 -0500336_us-ascii Many thanks to Venkat & Bruce for the replies.

With their help I have finally tripped over the syntax that worked. The - 7 days calculation works at the end. Multiple tables only allow 1 discard keyword. The syspunch dataset is required.

Thanks for helping to end my frustration on this reorg with discards. [...] 4766 34 16_Re: Ditching QMF16_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM30_Tue, 8 May 2001 18:20:36 -0400461_iso-8859-1 I sure wish I could kill QMF here! It *encourages* users to hold catalog locks!!!

regards,

eric pearson NS ITO Database Support



-----Original Message----- From: Brazil, Pat [mailto:PBrazil@MIDATLANTIC.AAA.COM] Sent: Tuesday, May 08, 2001 5:57 PM To: DB2-L@RYCI.COM Subject: Ditching QMF



We have very little QMF development and are thinking about ditching it. It's a very clunky product. Any thoughts? [...] 4801 122 37_Re: OLR on multi-dataset segmented TS15_Mallett, Steven31_Steven.Mallett@TEAM.TELSTRA.COM30_Wed, 9 May 2001 08:27:27 +1000642_- Tom,

Forgive my ignorance but what's a 3.4/LCB ?

regards, Steve

I 5/484 St Kilda Rd, Melbourne

' (03) 9865 7647 7 (03) 9866 1753 *





> -----Original Message----- > From: Rechsteiner, Tom (TH) [SMTP:trechsteiner@DOW.COM] > Sent: Wednesday, May 09, 2001 1:41 AM > To: DB2-L@RYCI.COM > Subject: Re: OLR on multi-dataset segmented TS > > Ran into this similar problem but we were using the REUSE option. Opened > a > etr with ibm, their response was; If the dataset is on a volume that's in > the stogroup, DB2 should be okay. However, it would be [...] 4924 38 31_Re: Excellent Job Opportunities12_Trever Neves27_TNeves@ACCLAIMTECHNICAL.COM30_Tue, 8 May 2001 16:50:29 -0700457_- Hello Villa,

Unfortunately at this point the company is not willing to sponsor H1B visa candidates, however, please send me a copy of your resume because I may have other client who would be willing to sponsor.

Thanks for your response.

Trever



-----Original Message----- From: Villa Horacio [mailto:hvilla@TTI.COM.AR] Sent: Tuesday, May 08, 2001 6:06 AM To: DB2-L@RYCI.COM Subject: Re: Excellent Job Opportunities [...] 4963 49 36_Re: Stored procedures using MSAccess12_Jason Hughes20_jason.hughes@TRW.COM30_Tue, 8 May 2001 19:21:35 -0500506_- Colin, I haven't found exactly what I was looking for and I'm not sure if I still have an example of what you are trying to do. I have a 100+ Megs worth of zipped Access database archives that it could be in. What I did find so far is a start to what you wanted. The following VBA code calls the CHGCLNT SP and passes in several input parameters. No variables are returned. If the SP encountered an error, it issued a rollback and we trapped the 3146 Error that Access translates the rollback into. [...] 5013 110 37_Re: OLR on multi-dataset segmented TS12_Cianci, Nick28_Nick.Cianci@TEAM.TELSTRA.COM30_Wed, 9 May 2001 11:09:22 +1000372_- DITTO! Although I thought that the point at which DB2 allocates the next extent was lower, can't remember the figure!

One thing else though

NPAGES=381878 is 1.456749G NACTIVE=524289 is 2.000004G (which implies either PREFORMATING or a small FREEPAGE value on the TSpace definition)

This implies that you don't actually need that 2G allocation. [...] 5124 66 44_Re: regarding cursor ...... immediate reply.16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM30_Wed, 9 May 2001 09:43:47 +0530428_- Just to add some more inference, if the distance between COMMIT(not WITH HOLD cursor)/CLOSE CURSOR and the Normal Completion of the program (STOP RUN(in batch) / RETURN TRANS ID(in CICS)) is not too large then CLOSING a cursor is a little bit(very less, may be un-noticeable) of performance overhead in the application. It probably have to do some extra work rather than implicitly closing it at the program termination. [...] 5191 26 24_Re: DBA responsibilities13_Henry J. Cobb14_hcobb@SLIP.NET30_Tue, 8 May 2001 23:44:55 -0500587_- Are your DBAs responsible for care of the corporate data or just the platforms?

If all they are called upon is to ensure that the systems are running and available for use then the DBAs for different types of systems don't even need to talk to each other.

However, if you are the Data Mangement group, then you need a plan for maintaining, storing and providing access to the data. In that case your DBAs are responsible for devising and maintaining the map that shows where data comes into your systems, what replication scenarios move it across different types of [...] 5218 17 30_Re: DB2 for OS390 V6 Migration10_Rob Wright17_rwright@LIC.CO.NZ30_Wed, 9 May 2001 17:11:52 +1200498_us-ascii Is it possible you have non-correlated sub-queries? I noticed one of our queries was doing a tablespace scan when it should have been using an index. There are a few APAR hits in this area. Check out PQ44255, this isn't on 0012.

Regards Rob

================================================ 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. 5236 41 32_AW: DB2 OS/390 Vs. MS SQL Server12_Thomas Weber23_thomas.weber@LDS.NRW.DE30_Wed, 9 May 2001 08:12:58 +0200690_iso-8859-1 Hi Al,

try www.ylassoc.com. The last time I was there, a white paper about DB2 vs. SQL Server was announced.

HTH

Thomas

> -----Ursprüngliche Nachricht----- > Von: Zobjeck, A. J. [mailto:Al_Zobjeck@TTX.COM] > Gesendet am: Dienstag, 8. Mai 2001 15:29 > An: DB2-L@RYCI.COM > Betreff: DB2 OS/390 Vs. MS SQL Server > > I'm looking for some comparisons between the two products. > Advantages and > disadvantages are there any white papers out on this topic. > > ================================================ > 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 [...] 5278 23 8_JAVA UDF13_Emrah Çadýrcý20_emrca@KOCBANK.COM.TR30_Wed, 9 May 2001 11:02:05 +0300476_iso-8859-1 Hello list,

Environment: DB2 V7.1, AIX. How I can write and register JAVA UDF (User Defined function)? Do you know good book or documantation about writing UDF ?

Regards



Emrah Çadirci Koçbank A.S.

===============================================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. 5302 37 25_No Write Engine available15_Thomas Karlsson19_thkar97@HOTMAIL.COM30_Wed, 9 May 2001 10:10:57 +0200434_- Hi! -------------- We are suddenly starting to get DSNB421I - DWT HIT = 0 VERTICAL DWT HIT = 0 NO WRITE ENGINE = 11

We are using CA/DB2 i.e Platinum P97G which says in PSA:

S -View activity, C -View contents, L -View alloc, D -View detail

BPID DMTH PFDISAB WIOENGN GPFAIL EXPFAIL IOPQCUT IOPOTHR ------ ------- ------- ------- ------- ------- ------- _ BP0 0 0 2 0 0 0 _ BP1 0 0 18 0 0 0 _ BP2 0 0 1 0 0 0 [...] 5340 44 34_Re: DB2 V6 reorg w/ discard? OS39010_Max Scarpa16_mscarpa@CESVE.IT30_Wed, 9 May 2001 10:46:31 +0200404_us-ascii Hi Missy.....How is it ?

I think this is not a solution to your problem, probably Mr Venkat gave the right answer. Just an info.

I smashed against this problem some month ago. I tried all combinations but nope, nada, Nix Vaporub, reorg didn't work

(search ' REORG option DISCARD ' in the archives). I tried to unload records using a column not declared in partitioning [...] 5385 10 29_Re: No Write Engine available10_Max Scarpa16_mscarpa@CESVE.IT30_Wed, 9 May 2001 10:48:00 +0200244_-

================================================ 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. 5396 112 31_Re: RI in a testing environment10_Alan Johns26_AlanJ@PRINCETONSOFTECH.COM30_Wed, 9 May 2001 05:01:45 -0400502_ISO-8859-1 Hi Doreen. The trick with any RI implimentation within a testing environment is identifying individual subsets of data within a single testing envirronment. Many sites cannot afford to replicate tables to support multiple programmers/testers due to the administrative overhead. Conversely , some sites support multiple unit testing environments, where they need to be able to identify quite minimalistic subs of RI-intact data that can be used to quickly refresh those areas on demand. [...] 5509 55 29_Re: No Write Engine available16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM30_Wed, 9 May 2001 14:42:12 +0530576_- What is the DWTH and VDWTH(in general for datasets) threshold ? It seems that asynch. writes are not scheduled. It looks you may have to decrease this value for getting away with NO WRITE ENGINE.

Regards Sanjeev

> -----Original Message----- > From: Thomas Karlsson [SMTP:thkar97@HOTMAIL.COM] > Sent: Wednesday, May 09, 2001 1:41 PM > To: DB2-L@RYCI.COM > Subject: No Write Engine available > > Hi! > -------------- > We are suddenly starting to get > DSNB421I - DWT HIT = 0 VERTICAL DWT HIT = 0 > NO WRITE ENGINE = 11 > > We are using CA/DB2 i.e Platinum [...] 5565 29 0_13_Arora, Ashish26_ashish.arora@HPSGLOBAL.COM30_Wed, 9 May 2001 16:04:25 +0530576_- Hi,



I am using Db2TextExtenders 7.1 for my keyword search.However there is one major problam which I am encountering.While enabling the index in the updatefreq clause I gave "min(1) d(*) h(*) m(0)" and in the updateindex clause i supplied "update".However when records are being added after the enabling of the text column they are not being updated in the index.Neither is the update index command working.For the index to include the new records,I have to disable the index and then enable it again using the same format.Can someone provide any help?? [...] 5595 22 29_Re: No Write Engine available10_Max Scarpa16_mscarpa@CESVE.IT30_Wed, 9 May 2001 12:35:17 +0200530_us-ascii It seems what you aren't able to externalize quickly data pages so your 300 engine (are u in DB2 V5?). Did you checked

the response time of DASDs ? Is your DFW enabled ? How many pages do u externalize ? What are your DWQT &

VDWQT ?

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. 5618 70 0_10_Mark Savin31_Mark.Savin@SCOOT-TECHNOLOGY.COM30_Wed, 9 May 2001 11:43:42 +0100752_iso-8859-1 Hi,

What messages are you getting when you run these commands?

Cheers,

Mark





-----Original Message----- From: Arora, Ashish [mailto:ashish.arora@HPSGLOBAL.COM] Sent: Wednesday, May 09, 2001 11:34 AM To: DB2-L@RYCI.COM Subject:



Hi,



I am using Db2TextExtenders 7.1 for my keyword search.However there is one major problam which I am encountering.While enabling the index in the updatefreq clause I gave "min(1) d(*) h(*) m(0)" and in the updateindex clause i supplied "update".However when records are being added after the enabling of the text column they are not being updated in the index.Neither is the update index command working.For the index to include the [...] 5689 64 29_Re: No Write Engine available23_Pendlebury-Bowe, Leslie34_Leslie.Pendlebury-Bowe@EU.SONY.COM30_Wed, 9 May 2001 12:09:58 +0100421_iso-8859-1 look to smooth out the writes for this pool ... it may be a spike that is causing it.

Les

-----Original Message----- From: Thomas Karlsson [mailto:thkar97@HOTMAIL.COM] Sent: Wednesday, May 09, 2001 9:11 AM To: DB2-L@RYCI.COM Subject: No Write Engine available



Hi! -------------- We are suddenly starting to get DSNB421I - DWT HIT = 0 VERTICAL DWT HIT = 0 NO WRITE ENGINE = 11 [...] 5754 44 27_FW: can someone help please14_Mohan Bezawada29_Mohan_Bezawada@CPR.SATYAM.COM30_Wed, 9 May 2001 17:35:35 +0530420_- Dear All Can anyone throw some light on this problem.

TIA

Regards

Mohan Bezawada

-----Original Message----- From: Kasinath_Sahoo Sent: Wednesday, May 09, 2001 4:02 PM To: Mohan_Bezawada Subject:

Hi, I am getting the following error while trying to call a Non-response MPP program(No screen) from a MPP program. DFS555I TRAN CNGP8251 ABEND S000,U2220 SYS ID 113; MSG IN PROCESS: [...] 5799 85 27_FW: can someone help please13_Seibert, Dave26_Dave_Seibert@COMPUWARE.COM30_Wed, 9 May 2001 08:34:24 -0400364_iso-8859-1 Hello Mohan,

Looks to me like this error is occurring in an application at a major automotive manufacturer in Dearborn MI, USA.

If so, U2220 is the common fatal error abend issued by the Applications-Services based programs at that installation. The code included looks like Apps-svcs code also as does the program naming convention. [...] 5885 24 12_Re: Bind Add13_Seibert, Dave26_Dave_Seibert@COMPUWARE.COM30_Wed, 9 May 2001 08:40:06 -0400604_iso-8859-1 >You will also need to have whomever performs the BINDADDs to GRANT EXECUTE on the packages to PUBLIC

You're absolutely correct Larry.

The CCA has an *Options* button which allows one to grant Execute or Bind authorities.

Good point.

David Seibert Compuware Corporation File-AID Product Architect Dave.Seibert@Compuware.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. 5910 60 16_Re: Ditching QMF18_Elizabeth A. Pratt14_prattea@NU.COM30_Wed, 9 May 2001 08:53:39 -0400467_us-ascii Hi Pat -

From a development point of view, QMF can be an extremely useful and time saving debugging tool. When clients are heavy into testing, they will ultimately tell me that a specific account was not updated and that their test data has been corrupted. Along with the fact that we have audit trails on all of our DB2 tables, QMF allows me to see what the data actually is without writing a lengthy one timer to write the data to a flat file. [...] 5971 142 37_Re: OLR on multi-dataset segmented TS21_Rechsteiner, Tom (TH)20_trechsteiner@DOW.COM30_Wed, 9 May 2001 09:03:56 -0400360_iso-8859-1 Steve,

At our shop os/390 v2r4 within ISPF, option 3 Utilities, then 4 Dslist in front of the dataset we can enter lcb for listcat browse. I don't know if this command is specific to our shop or not, but regardless of version OS or ISPF you should be able to do a TSO command "LISTCAT ENT('dataset.name.here') ALL" to find the HI-U-RBA. [...] 6114 166 47_SQL to List off latest image copy dataset names14_William Gannon33_wgannon@EMAIL.PALMBEACH.K12.FL.US30_Wed, 9 May 2001 09:09:49 -0400666_us-ascii Hi fellow listers,

I have a requirement to generate a list of the most recent image copy dataset names (DSNAME) for all the tablespaces in any given database. But I am having trouble creating the SQL required to do so.

What I have come up with so far is :

SELECT O.DBNAME, O.TSNAME, O.DSNAME, O.ICTIME, O.ICTYPE, O.FILESEQNO, O.TIMESTAMP FROM SYSIBM.SYSCOPY O WHERE O.DBNAME = 'DCHIPS' AND O.TSNAME IN (SELECT C.NAME FROM SYSIBM.SYSTABLESPACE C WHERE DBNAME='DCHIPS') AND O.ICTYPE ='F' AND O.SHRLEVEL ='R' AND O.TIMESTAMP IN (SELECT MAX(TIMESTAMP) FROM SYSIBM.SYSCOPY D WHERE D.DBNAME = O.DBNAME AND TSNAME = O.TSNAME AND ICTYPE = [...] 6281 90 29_Re: No Write Engine available12_Gerald Hodge20_ghodge@ATTGLOBAL.NET30_Wed, 9 May 2001 08:23:56 -0500485_iso-8859-1 Thomas:

If this is sudden then there should have been a change in workload. I am taking from your presentation that the event is also isolated to a set period of time. The base reason for the failures is the system does not have enough write SRBs (engines to DB2) to complete the I/Os in a timely manner. This means there is an I/O issue. Since the List just finish a thread where it was decided that system tuning was irrelevant, lets treat this as an anomoly. [...] 6372 22 23_Philip Nelson user exit17_John Breidenstine31_JBreidenstine@LEGIS.STATE.PA.US30_Wed, 9 May 2001 09:24:11 -0400457_iso-8859-1 Hello Phil,

Here is the user exit we are using for our test system. Inside you will see the command we use to compile it.

good luck





<> John L. Breidenstine

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 6395 28 26_partitioning with identity14_Craig McKellar26_craig.mckellar@BIGPOND.COM30_Wed, 9 May 2001 08:03:50 -0500565_- Here we go again, yet another question on identity. it will never lie down.

I am looking for feed back from anyone that has used a column defined with identity for partitioning in the os/390 platform. My plan is to let it loose on a high activity table as the partitioning key. The column will be used purely for physical placement and plays no part in the application. The application is mostly insert and read with only a few updates. The areas of feedback I am looking for are: 1) performance impact in creating an application hot spot. 2) locking [...] 6424 25 33_Regarding Breaking the tablespace12_Rakesh Kumar21_rakesh457@HOTMAIL.COM30_Wed, 9 May 2001 13:33:26 -0000357_- ALL, I would like to have some more responses in this issue. I have a tablespace which has 12 tables and I would like to change this. I would like to have a single table per tablespace so that I do not have any problems with recovery in future and the present system also should not be hampered. Any Ideas will be appreciated. Thanx in anticipation. [...] 6450 18 49_DB2 Datajoiner 2.1.1 on NT and DB2 UDB v7.1 on NT11_Paul Murphy22_Paul_Murphy@MAY-CO.COM30_Wed, 9 May 2001 08:47:57 -0500443_us-ascii Hello List,

We've been running DB2 DataJoiner v2.1.1 on NT for a while now joining DB2 UDB v5.2 data sources. Does any know if Datajoiner can see v7.1 databases?

TIA, Paul Murphy

================================================ 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. 6469 75 37_Re: Regarding Breaking the tablespace0_20_John_Lendman@FPL.COM30_Wed, 9 May 2001 10:02:48 -0400485_us-ascii I am not sure what you are looking for here, but this should be straight forward.

We have 99% of our tables in their own tablespace. You just need to redefine them, giving each it's own tablespace. One thing we found was to get the tablespace and the table name the same. That is we put a TS on the end of the tablespace and TB on the end of the table. This way they are easy to identify which table is in which tablespace. Hope this is what you were looking for. [...] 6545 89 59_FW: [DB2-L] SQL to List off latest image copy dataset names13_Daniel Turner28_daniel_turner@ALBERTSONS.COM30_Wed, 9 May 2001 08:11:22 -0600615_iso-8859-1 Try this. It flies on here.







SELECT C.DBNAME ,C.TSNAME ,C.DSNAME ,C.ICTYPE ,C.FILESEQNO ,MAX(ICTS) FROM( SELECT DBNAME, TSNAME, DSNAME, ICTYPE , "TIMESTAMP" ICTS , FILESEQNO FROM SYSIBM.SYSCOPY A WHERE DBNAME = 'DSNDB06' AND EXISTS (SELECT 1 FROM SYSIBM.SYSTABLESPACE B WHERE A.DBNAME = B.DBNAME AND A.TSNAME = B.NAME) ) C GROUP BY C.DBNAME ,C.TSNAME ,C.DSNAME ,C.ICTYPE -----Original Message----- From: William Gannon [mailto:wgannon@email.palmbeach.k12.fl.us] Sent: Wednesday, May 09, 2001 7:10 AM To: Subject: [DB2-L] SQL to List off latest image copy dataset names [...] 6635 64 37_Re: Regarding Breaking the tablespace15_Billings, Linda30_linda.billings@DOA.STATE.WI.US30_Wed, 9 May 2001 09:20:03 -0500561_ISO-8859-1 Hi, Rakesh, Having one table per tablespace is the standard here unless the tables are very small. If they are very small, space can be saved by putting them in one tablespace. You are correct in that recovery is easier when there is one table per tablespace. Also, when doing loads you have to be careful not to use load replace or you will delete the contents of all the other tables but the one that you are loading (Been there, done that, in production. Oooops! But recovered before the customers noticed. Whew!). I am not sure what kind of [...] 6700 49 53_Re: DB2 Datajoiner 2.1.1 on NT and DB2 UDB v7.1 on NT0_15_leon@CA.IBM.COM30_Wed, 9 May 2001 10:20:45 -0400365_us-ascii If all you are doing is read-only access to multiple DB2 databases then you no longer need Data Joiner. DB2 UDB V7.1 and DB2 Connect V7.1 provide this function. If you need to include Oracle, then you need to add DB2 Relational Connect to the picture. If you also want Microsoft SQL Server, Sybase and Informix then move up to V7.2 of these products. [...] 6750 95 24_Re: Dynamic SQL question15_Mohammed Nayeem25_Mohammed_Nayeem@MOMED.COM30_Wed, 9 May 2001 09:22:17 -0500301_us-ascii Using DNSTEP2 , this simple dynamic sql query is doing TableSpace scan EXPLAIN ALL SET QUERYNO = 1 FOR DELETE FROM TABLEX WHERE COL_X = 'H';

whereas same query when we embed to use it as a STATIC SQL in small cobol program , it is using the index scan. Index does exists on COL_X [...] 6846 50 49_DB2 Datajoiner 2.1.1 on NT and DB2 UDB v7.1 on NT11_Paul Murphy22_Paul_Murphy@MAY-CO.COM30_Wed, 9 May 2001 09:28:16 -0500407_us-ascii Hello List,

Never mind... I found the following on IBM's DataJoiner website -



Frequently Asked Questions for Version 2

This page contains answers to frequently asked questions about DB2 DataJoiner Version 2.1 and 2.1.1. We frequently update this page, so if you have a DataJoiner question or feedback about DataJoiner products or publications, please let us know. [...] 6897 63 31_Re: FW: can someone help please13_Dennis Taylor14_ismgr@PCTC.COM30_Wed, 9 May 2001 07:35:16 -0700647_us-ascii This takes a bit of a tangent, but....

We're currently looking at purchasing db2 to replace oracle. I'm interested in finding out how ibm's telephone support compares to oracle's. Anyone have an opinion? Would IBM support help with a question like this?



At 05:35 PM 5/9/01 +0530, you wrote: >Dear All >Can anyone throw some light on this problem. > >TIA > >Regards > >Mohan Bezawada > >-----Original Message----- >From: Kasinath_Sahoo >Sent: Wednesday, May 09, 2001 4:02 PM >To: Mohan_Bezawada >Subject: > >Hi, > I am getting the following error while trying to call a Non-response MPP >program(No screen) from [...] 6961 30 21_What causes 00C200FA?45_=?iso-8859-1?Q?=22LeBlanc=2C_Andr=E9-ITB=22?=30_AndreD.Leblanc@CCRA-ADRC.GC.CA30_Wed, 9 May 2001 10:36:35 -0400447_iso-8859-1 Hi Listers,

Would any of you know what would prevent me from getting an open lock on a indexspace? Is the problem with the number of locks, IRLM or the index itself? I get a 00C200FA error message which has the following explanation:

The buffer manager (BM) subcomponent of DB2 is unable to obtain an open lock to perform a physical open or close of a page set. A timeout error was detected by the IRLM LOCK request. [...] 6992 24 22_User defined functions13_Dennis Taylor14_ismgr@PCTC.COM30_Wed, 9 May 2001 07:38:41 -0700430_us-ascii This question may be FAQ-level. If so, apologies, but I'm still evaluating db2 and I don't have the manuals or the courses (yet).

In Oracle (8i), I was able to create a table with a function as an index. Specifically, I was able to index a table on "UPPER(name)" - essentially, index and search based on an upper-cased name, even though the data is stored in mixed case. Can something similar be done in DB2? [...] 7017 65 31_Re: Excellent Job Opportunities14_William Poston21_william.poston@DB.COM30_Wed, 9 May 2001 09:43:27 -0600719_us-ascii Trever where are the job opportunities



---------------------------------------- Message History ----------------------------------------



From: Trever Neves @ryci.com> on 05/08/2001 04:50 PM MST

Please respond to DB2 Data Base Discussion List

DELEGATED - Sent by: DB2 Data Base Discussion List@ryci.com>



To: DB2-L@ryci.com cc: Subject: Re: Excellent Job Opportunities



Hello Villa,

Unfortunately at this point the company is not willing to sponsor H1B visa candidates, however, please send me a copy of your resume because I may have other client who would be willing to sponsor. [...] 7083 94 31_Re: RI in a testing environment12_Mckay, Wayne24_Wayne.Mckay@ATCOITEK.COM30_Wed, 9 May 2001 08:46:33 -0600482_iso-8859-1 We maintain multiple testing databases which are identical to the production environment including RI structures. They of course have downsized tablespace and index sizes. All database environments are maintained by DBA from a single source which is on Excel. A REXX process reads this source and generates the required DDL object definitions including security for either production or the test databases. Each database is generated with it's own unique qualifier. [...] 7178 123 59_FW: [DB2-L] SQL to List off latest image copy dataset names13_Daniel Turner28_daniel_turner@ALBERTSONS.COM30_Wed, 9 May 2001 08:49:39 -0600689_iso-8859-1 My apologies. The last post had an coding error AND I missed one of the requirements. You need to find the MAX date before you look up the dataset names. SQL requires caffeine

DT

SELECT C.DBNAME ,C.TSNAME ,C.ICTYPE ,C.ICTS ,D.DSNAME ,D.FILESEQNO FROM (SELECT DBNAME, TSNAME, ICTYPE ,MAX("TIMESTAMP") ICTS FROM SYSIBM.SYSCOPY A WHERE DBNAME LIKE 'DSNDB06%' AND ICTYPE = 'F' AND EXISTS (SELECT 1 FROM SYSIBM.SYSTABLESPACE B WHERE A.DBNAME = B.DBNAME AND A.TSNAME = B.NAME) GROUP BY DBNAME,TSNAME,ICTYPE) C INNER JOIN SYSIBM.SYSCOPY D ON C.DBNAME = D.DBNAME AND C.TSNAME = D.TSNAME AND C.ICTS = D."TIMESTAMP" -----Original Message----- From: Daniel Turner Sent: [...] 7302 16 24_Re: Dynamic SQL question0_26_truman.g.brown@VERIZON.COM30_Wed, 9 May 2001 10:51:24 -0400423_us-ascii Look at the bind parameters for the different plans; they may have different options that affect execution (DSN???CS/DSN???RR, and your imbedded static plan).

George

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 7319 84 31_Re: FW: can someone help please16_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM30_Wed, 9 May 2001 10:51:45 -0400632_iso-8859-1 I don't know about Oracle phone support. However, at this shop IBM phone support is excellent.

regards,

eric pearson NS ITO Database Support



-----Original Message----- From: Dennis Taylor [mailto:ismgr@PCTC.COM] Sent: Wednesday, May 09, 2001 10:35 AM To: DB2-L@RYCI.COM Subject: Re: FW: can someone help please



This takes a bit of a tangent, but....

We're currently looking at purchasing db2 to replace oracle. I'm interested in finding out how ibm's telephone support compares to oracle's. Anyone have an opinion? Would IBM support help with a question like this? [...] 7404 23 30_Re: DB2 for OS390 V6 Migration12_Roger Miller19_millerrl@US.IBM.COM30_Wed, 9 May 2001 09:29:28 -0500298_- Were the plans rebound on V6? What I like to compare for starters is the DB2 PM long accounting trace before and after, looking for the big differences. Often that leads to digging into explains for differences. Usually that process means finding some very likely suspects in a few minutes. [...] 7428 24 44_Re: regarding cursor ...... immediate reply.12_Roger Miller19_millerrl@US.IBM.COM30_Wed, 9 May 2001 09:46:43 -0500461_- Not closing cursors is a bad practice for every DB2. The environments and ability to detect program termination is variable. If this routine gets called in another program, which does not finish for a few hours, you may be stopping some other process from working, while holding some resources. Those are SQL semantics. For most programming techniques, the consistency is fairly high. We have done our SQL design across products for almost 20 years now. [...] 7453 63 79_SQL challenge - is there a faster way to invoke break logic (there should be!!)0_34_L-IS.Kirkpatrick@MUTUALOFOMAHA.COM30_Wed, 9 May 2001 10:00:38 -0500554_us-ascii We were running a query here that boils down to producing the distinct values of an indexed column on a table. An example of this query is:

SELECT DATE_COL FROM BIG_TABLE GROUP BY DATE_COL;

As I ran the query against the 50,000,000 row table, and the result came back several minutes later (and several minutes of CPU later), it became apparent to me that this process could be done much quicker. The access path that DB2 chose for the above query involved the scan of an index that consisted of the single column "DATE_COL". [...] 7517 92 31_Re: Excellent Job Opportunities12_Trever Neves27_TNeves@ACCLAIMTECHNICAL.COM30_Wed, 9 May 2001 08:19:05 -0700610_- William,

The jobs are located in Los Angeles, CA.

Trever



-----Original Message----- From: William Poston [mailto:william.poston@DB.COM] Sent: Wednesday, May 09, 2001 8:43 AM To: DB2-L@RYCI.COM Subject: Re: Excellent Job Opportunities



Trever where are the job opportunities



---------------------------------------- Message History ----------------------------------------



From: Trever Neves @ryci.com> on 05/08/2001 04:50 PM MST

Please respond to DB2 Data Base Discussion List [...] 7610 133 31_Re: Excellent Job Opportunities16_Aurora Dell'Anno28_Aurora_E_DellAnno@CANDLE.COM30_Wed, 9 May 2001 16:08:43 +0100397_us-ascii Hey guys is this the DB2-L or Steppingstone or whatever they're called? anyway, it's ALL in the archives...

Ciao!

Aurora Emanuela Dell'Anno Systems Engineer Candle Service Ltd.

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

1 Archipelago Lyon Way Frimley Camberley Surrey GU16 7ER UK [...] 7744 89 53_Re: DB2 Datajoiner 2.1.1 on NT and DB2 UDB v7.1 on NT11_Paul Murphy22_Paul_Murphy@MAY-CO.COM30_Wed, 9 May 2001 10:11:40 -0500350_us-ascii Leon, thanks for the note. We actually just converted our 5.2 databases to 7.1. That's how this problem developed. I found the correct server mapping paramaters at the DB2 DataJoiner website in the FAQ's and just finished fixing the problem. All is right with my world again!

Thanks Again!

Paul Murphy May Dept Stores Co. [...] 7834 86 24_FW: [DB2-L] Ditching QMF13_Daniel Turner28_daniel_turner@ALBERTSONS.COM30_Wed, 9 May 2001 08:11:47 -0700355_iso-8859-1 There are client/server tools that are SQL script editors that can replace the basic funtions of QMF. Looking at what the don't replace I see:

1. online tutorial and error code help 2. SAVE DATA 3. PROCS and FORMS 4. export/import

I would miss number 1 the most. It's a great place to refer new people who are self starters. [...] 7921 63 26_Re: User defined functions0_27_jim.leask@RS-COMPONENTS.COM30_Wed, 9 May 2001 15:53:48 +0100266_iso-8859-1 As far as I am aware this cannot be done on DB2 for Os390. Normally this is achieved by always storing data in upper case or have two fields, one with mixed case data and the other with the same data in upper case and indexing the upper case column. [...] 7985 116 31_Re: FW: can someone help please0_27_jim.leask@RS-COMPONENTS.COM30_Wed, 9 May 2001 16:14:53 +0100486_iso-8859-1 I have found Oracles phone support as patchy, but raising problems via their metalink internet site results in a good service. I have also found IBM phone support excellent.

Jim.

-----Original Message----- From: Pearson, Eric L, [mailto:Eric.Pearson@NSCORP.COM] Sent: 09 May 2001 15:52 To: DB2-L@RYCI.COM Subject: Re: FW: can someone help please



I don't know about Oracle phone support. However, at this shop IBM phone support is excellent. [...] 8102 37 51_IBM vs Oracle support >was: can someone help please13_Seibert, Dave26_Dave_Seibert@COMPUWARE.COM30_Wed, 9 May 2001 11:27:30 -0400331_iso-8859-1 > I'm interested in finding out how ibm's telephone support compares to oracle's. Anyone have an opinion? Would IBM support help with a question like this?

This is not a DB2 (or IBM) problem. It is application code written by a customer.

In my experience, you can't even compare IBM & Oracle support. [...] 8140 49 29_Re: No Write Engine available14_Joel Goldstein29_joel_goldstein@COMPUSERVE.COM30_Wed, 9 May 2001 11:30:04 -0400462_ISO-8859-1 Since you are not hitting either VDWQT or DWQT, you may be triggering the I/O workload when DB2 takes a checkpoint. Calculate the Avg pages written per write I/O. If this is a single digit % (like 1.5, or 4.8, etc), then try setting VDWQT to 0 (Zero). This will keep a trickle write going and avoid flooding the system with writes at checkpoint. Also, review the frequency of DB2 Checkpoint - that is based on the LOGLOAD parameter in the Zparm. [...] 8190 115 28_Re: FW: [DB2-L] Ditching QMF11_David Nance16_DWNance@FHSC.COM30_Wed, 9 May 2001 11:39:29 -0400536_US-ASCII Something else you may not realize is that with the procs and forms, you can do away with most programs that write reports. In the past I've always used QMF just for querying tables and manipulating data. In my new position I was introduced to using QMF for reporting. I would say about 80 - 90 % of reports could be done in QMF. One of our developers has even written a program to dynamically use batch qmf reports. You may want to rethink getting rid of it as its not clunky at all, very flexible with all the different [...] 8306 179 51_Re: SQL to List off latest image copy dataset names13_Mohan, Ashish21_Ashish.Mohan@NIKE.COM30_Wed, 9 May 2001 08:45:27 -0700466_iso-8859-1 The following would not give those tablespaces which have never been imagecopied ; apparently that is what you want.

SELECT T1.DBNAME,T1.TSNAME,T1.DSNUM, T1.DSNAME FROM SYSIBM.SYSCOPY T1, ( SELECT DBNAME, TSNAME, DSNUM, MAX(TIMESTAMP) STAMP FROM SYSIBM.SYSCOPY WHERE DBNAME = 'DSNDB06' AND ICTYPE = 'F' GROUP BY DBNAME,TSNAME,DSNUM ) T2 WHERE T1.DBNAME = T2.DBNAME AND T1.TSNAME = T2.TSNAME AND T1.DSNUM = T2.DSNUM AND T1.TIMESTAMP = T2.STAMP [...] 8486 108 31_Re: FW: can someone help please22_Piontkowski, Michael L35_michael.piontkowski@ASTRAZENECA.COM30_Wed, 9 May 2001 11:34:15 -0400435_iso-8859-1 Same here. Don't know about Oracle. DB2 phone support is excellent.



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



-----Original Message----- From: Pearson, Eric L, [mailto:Eric.Pearson@NSCORP.COM] Sent: Wednesday, May 09, 2001 11:21 To: DB2-L@RYCI.COM Subject: Re: [DB2-L] FW: can someone help please [...] 8595 83 91_FW: [DB2-L] SQL challenge - is there a faster way to invoke break logic (there should be!!)13_Daniel Turner28_daniel_turner@ALBERTSONS.COM30_Wed, 9 May 2001 08:50:02 -0700436_iso-8859-1 What kind of runstats are performed on the table on the index? are they current? The optimizer needs this for a fair comparison.

DT



-----Original Message----- From: L-IS.Kirkpatrick@MUTUALOFOMAHA.COM [mailto:L-IS.Kirkpatrick@MUTUALOFOMAHA.COM] Sent: Wednesday, May 09, 2001 9:01 AM To: DB2-L@RYCI.COM Subject: [DB2-L] SQL challenge - is there a faster way to invoke break logic (there should be!!) [...] 8679 15 24_DB2/Oracle Sync software9_Ben Jones21_bengjones@HOTMAIL.COM30_Wed, 9 May 2001 10:43:29 -0500453_- Does anyone know of a software package to keep DB2 and Oracle tables in sync? _________________________________________________________________ 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. 8695 55 27_Making Executables Portable19_Ohling, Tim R - CNF18_Ohling.Tim@CNF.COM30_Wed, 9 May 2001 08:56:21 -0700571_- > We're supporting a DB2 UDB on AIX environment, currently at V6.1. > > The developers are using C++ with embedded SQL, and employ a build script > based on that in the Application Building Guide. > > When the build environment was first set up, the convention used was that > each developer would build their applications under they're own ID, and > not the instance owner profile. Since the build process embeds a path > list into the executable of where to search for called modules, and this > list did NOT include the /home/$DB2INSTANCE/SQLLIB path, they had [...] 8751 187 31_Re: FW: can someone help please0_36_doreenrowland@NORTHWESTERNMUTUAL.COM30_Wed, 9 May 2001 10:58:59 -0500628_ISO-8859-1 In my humble opinion (not necessarily that of my company.....etc) , no comparison!

Everyone is pretty much familiar with Oracle's poor phone service. At another company where I supported Oracle Transparent Gateway to DB2 MetaLink was no better.

With IBM, of course depending on your company's support agreement, even using their IBMLINK electronic web based service is excellent. The web site access via IP is kind of slow (might be our site or heavy web site use of IBMLINK) versus having a SNA connection, but once there the service and response is usually excellent. When you open a question or [...] 8939 131 31_Re: FW: can someone help please10_Raghu Kota21_raghukota@HOTMAIL.COM30_Wed, 9 May 2001 16:00:46 -0000742_- Yeah Iam doing recovery two months back, I got some doubts I called IBM for support they helped with commands. Totally phone support is good.

Raghu.



>From: "Piontkowski, Michael L" >Reply-To: DB2 Data Base Discussion List >To: DB2-L@RYCI.COM >Subject: Re: FW: can someone help please >Date: Wed, 9 May 2001 11:34:15 -0400 > >Same here. Don't know about Oracle. >DB2 phone support is excellent. > > >Mike Piontkowski >Technisource for >IBM Global Services >Service Delivery Center - Northeast >Voice: +1 302.886.4612 >Fax: +1 302.886.4612 > > >-----Original Message----- >From: Pearson, Eric L, [mailto:Eric.Pearson@NSCORP.COM] >Sent: Wednesday, May 09, 2001 [...] 9071 43 51_Re: SQL to List off latest image copy dataset names20_Edward C. Benoit Jr.19_DB2Automate@AOL.COM28_Wed, 9 May 2001 12:23:23 EDT393_US-ASCII Hi Bill, Try the site below. The tool will even pre-allocate the Image Copies datasets if they are on tape and cataloged if you request a recovery of all Tablespaces in a specified Database. Example: If you have fifty (50) or any number of Tablespaces in a database and they are image copies to one tape you will get only one tape mount. Your operations personnel will love you. [...] 9115 114 34_Re: DB2 V6 reorg w/ discard? OS39016_Aurora Dell'Anno28_Aurora_E_DellAnno@CANDLE.COM30_Wed, 9 May 2001 17:25:33 +0100563_us-ascii Missy,

because of the utilities' syntax being slightly different, your statements should be coded as following:

REORG TABLESPACE H2DBASE.H2TSACCT LOG NO SHRLEVEL REFERENCE KEEPDICTIONARY DISCARD FROM TABLE CANDLE.H2ACCT WHEN (START_TIMESTAMP < CURRENT_TIMESTAMP - 7 DAYS) COPYDDN(SYSCPY01) SORTDEVT SYSDA SORTNUM 6

HTH.

Ciao!

Aurora Emanuela Dell'Anno Systems Engineer Candle Service Ltd.

Office: +44 (0) 1276 41 4752 Mobile: +44 (0) 7881 818 867 Fax: +44 (0) 1276 41 4777 email: aurora_dellanno@candle.com [...] 9230 65 25_Re: What causes 00C200FA?19_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM30_Wed, 9 May 2001 11:38:20 -0500588_iso-8859-1 Hi André, I'll take a guess or two . . . Check the dsnIRLM dispatching priority, it should be higher than all other DB2 address spaces. Could this be related to MAX datasets?

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 [...] 9296 23 16_Re: Ditching QMF14_David Williams30_David.Williams@DOL.STATE.GA.US30_Wed, 9 May 2001 12:52:39 -0400322_us-ascii I cannot imagine not having QMF in a mainframe DB2 environment. Use it every day for a variety of purposes relating to DBA activities. I take from your comment that you do not have very much production QMF running. It is possible that your programmers are using QMF heavily in other application development. [...] 9320 19 31_Re: Excellent Job Opportunities10_Max Scarpa16_mscarpa@CESVE.IT30_Wed, 9 May 2001 18:53:35 +0200424_us-ascii Do you accept Italian DBA/Syprog (as the new Prime Minister will cut our salary) ;-) ?

(Sorry, I wanted to take part in the game....)

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. 9340 25 20_Error during Runstat11_Tom Marcano23_marcano_db2@HOTMAIL.COM30_Wed, 9 May 2001 17:02:29 -0000 9366 62 24_Re: Error during Runstat15_Toine Michielse18_vndobtm@US.IBM.COM30_Tue, 8 May 2001 19:32:58 +0200538_iso-8859-1 Hello Tom,

Did you get a DSNT500I. If not, what were the contents of register 2. Regards,

Toine Michielse





Tom Marcano @RYCI.COM> on 05/09/2001 07:02:29 PM

Please respond to DB2 Data Base Discussion List

Sent by: DB2 Data Base Discussion List



To: DB2-L@RYCI.COM cc: Subject: Error during Runstat







Hi All,

I wonder if somebody has ran over this problem before : [...] 9429 29 24_Re: ERROR DURING RUNSTAT16_Bernard Greenman27_Bud.Greenman@ONONDAGA.NY.US30_Wed, 9 May 2001 13:32:00 -0400491_- Explanation: An error was detected while updating the statistics in the SYSIBM.SYSTABLES Catalog table.

This abend reason code is issued by the following CSECTs: DSNUSCT5, DSNUSUTB

System Action: Utilities processing is abended. The abend might be accompanied by message DSNT500I. An SDUMP might be taken.

User Response: Correct the 'resource unavailable' condition identified by the DSNT500I message, terminate the utility and start it again from the beginning. [...] 9459 23 24_DB2/OS390 V6 and DB2/AIX11_Moore, Tony15_TMoore@IKON.COM30_Wed, 9 May 2001 13:39:34 -0400427_iso-8859-1 Yo Listers, Does anyone have any excessively old releases of DB2/AIX connecting (successfully) to DB2/OS390 V6? We currently have a DB2/6000 V2.1.2 system on AIX accessing data in DB2/MVS V4. We are about to begin an upgrade to DB/OS390 V6 and are having doubts about the compatibility between the two releases. Questioning support about this has gained us nothing more than directions to the DB2/UDB web site. [...] 9483 17 16_Db2 connect v7.110_Bob Riehle19_bob.riehle@WAMU.NET30_Wed, 9 May 2001 10:47:18 -0700395_us-ascii I have a developer who has installed DB2 Connect PE V7.1 and wants to know which JAR file to use when connecting to DB2 v6.1 os/390? Thanks, Bob

================================================ 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. 9501 91 24_Re: Error during Runstat0_25_Ed_Vetock@NAVYFEDERAL.ORG30_Wed, 9 May 2001 13:57:39 -0400528_iso-8859-1 Tom,

check to see if SYSIBM.SYSTABLES is available.







Toine Michielse @RYCI.COM> on 05/08/2001 01:32:58 PM

Please respond to DB2 Data Base Discussion List

Sent by: DB2 Data Base Discussion List



To: DB2-L@RYCI.COM cc:

Subject: Re: Error during Runstat



Hello Tom,

Did you get a DSNT500I. If not, what were the contents of register 2. Regards,

Toine Michielse [...] 9593 17 20_crystal report & DB211_Richard Yan23_dhspa3f@DHS.STATE.IL.US30_Wed, 9 May 2001 12:25:04 -0500404_- Hi List,

Does anyone know about if Crystal report v6.0 is compatible with DB2 v7.1 ODBC.

Thanks in advance. Richard Yan IL dept of Human Services.

================================================ 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. 9611 209 59_FW: [DB2-L] SQL to List off latest image copy dataset names13_Daniel Turner28_daniel_turner@ALBERTSONS.COM30_Wed, 9 May 2001 12:06:19 -0600383_iso-8859-1 Ashish is correct. To pull in the uncopied TS's my query needs a right outer join against systablespace with a where clause that shows all the TS's in the DB.

Also I increased the speed by changing the original IN list to an existance subquery. But neither is needed because RI is enforced by the application (DROP TS will clean up syscopy as part of its LUW. [...] 9821 64 26_DB2 for OS390 V6 Migration11_James Drewe20_James.Drewe@AEXP.COM30_Wed, 9 May 2001 11:02:57 -0700461_us-ascii Tim

We had a similar problem in a project I supported back when we came up on Version 5. In this project, we have dynamic SQL. Apparently, DB2 was trying to make use of statistics columns (particularly in SYSCOLDIST), but they weren't populated. We ran RUNSTATS (IBM's, not the third party software equivalent), and the performance problems went away. If your problem application(s) are static SQL, then of course you would have to REBIND. [...] 9886 100 28_Re: FW: [DB2-L] Ditching QMF11_Jim Medlock24_jmedlock@ALLIANCESYS.COM30_Wed, 9 May 2001 13:25:04 -0500 9987 95 28_Re: FW: [DB2-L] Ditching QMF13_Helen Johnson25_helen_johnson@RAC.RAY.COM30_Wed, 9 May 2001 13:34:37 -0500450_us-ascii Some of our applications have no COBOL reports written at all. The users just use QMF. Some write their own queries using SQL or prompted queries and others use canned PROCs written by the programmers (usually in less than 5 minutes).

As a DBA, QMF is invaluable tool. I use batch QMF reports for documenting the tables for the programmers and to create control cards and/or jcl when I have a lot or complex utilities to set up. [...] 10083 39 8_Triggers12_Cory Heislen23_heiska4@DSS.STATE.MO.US30_Wed, 9 May 2001 13:33:13 -0500564_us-ascii Hello listers

I have a question concerning how I can capture errors produced by a trigger.

Ex.

I have a trigger created to update information in one out to another table. My question is how do i capture in a batch db2/cobol program or db2/cics program an error that is produced by the audit table. In my case I make it error intentionally by performing an update that produces a -803. When i write the sqlca field out in my program i display a -723 that tells me (an error occured in a triggered sql statement). So where would i [...] 10123 53 26_Re: User defined functions13_Dennis Taylor14_ismgr@PCTC.COM30_Wed, 9 May 2001 11:45:16 -0700 10177 77 24_Re: Error during Runstat11_Tom Marcano23_marcano_db2@HOTMAIL.COM30_Wed, 9 May 2001 18:46:05 -0000675_- Hello Toine an all,

I did not get any DSNT500I message and output regarding the unavailable resource usually accompanied by this error . Also How can I check the contents of register 2?



>From: Toine Michielse >Reply-To: DB2 Data Base Discussion List >To: DB2-L@RYCI.COM >Subject: Re: Error during Runstat >Date: Tue, 8 May 2001 19:32:58 +0200 > >Hello Tom, > >Did you get a DSNT500I. If not, what were the contents of register 2. >Regards, > >Toine Michielse > > > >Tom Marcano @RYCI.COM> on 05/09/2001 07:02:29 PM > >Please respond to DB2 Data Base Discussion List [...] 10255 112 28_Re: FW: [DB2-L] Ditching QMF11_Matt Kelley18_mgk333@HOTMAIL.COM30_Wed, 9 May 2001 13:33:39 -0500452_- The QMF High Performance Option includes a Compiler component that allows you to take QMF queries, forms, and procedures and generate standalone COBOL source code (i.e., without running QMF at all) to produce the same result as if they were run from QMF. In most cases, this significantly improves performance. It also gives you static SQL, which helps for performance and security. Programs can be generated to run in batch, TSO/ISPF, or CICS. [...] 10368 50 84_Re: SQL challenge - is there a faster way to invoke break logic ( there should be!!)12_Gregg Sawyer26_gregg.a.sawyer@VERIZON.COM30_Wed, 9 May 2001 14:48:32 -0400566_us-ascii Maybe there was a tyop., or maybe I'm flaunting my low IQ, but have you tried :

SELECT DISTINCT DATE_COL FROM BIG_TABLE GROUP BY DATE_COL;

?

Gregg Sawyer









L-IS.Kirkpatrick@MUTUALOFOMAHA.COM@RYCI.COM> on 05/09/2001 11:00:38 AM

Please respond to "DB2 Data Base Discussion List"

Sent by: "DB2 Data Base Discussion List"



To: DB2-L@RYCI.COM cc: Subject: SQL challenge - is there a faster way to invoke break logic ( there should be!!) [...] 10419 49 24_Re: Error during Runstat11_David Nance16_DWNance@FHSC.COM30_Wed, 9 May 2001 15:06:58 -0400902_US-ASCII Tom, Try db2 cmd -dis utility(*) and if that doesn't show you anything try -dis database(DBNAME) spacenam(TS NAME) limit(*) restrict. Sounds like you might have had a utility already abend against that tablespace.

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

>>> marcano_db2@HOTMAIL.COM 05/09/01 01:02PM >>>
Hi All,
 
I wonder if somebody has ran over this problem before :
 
Executing RUNSTATS, I am getting the followinf error :  
UTILITY DATA BASE SERVICES MEMORY EXECUTION ABENDED, REASON=X'00E40210'
 
It's a single Tablespace containing one table (which is empty). Also, I [...] 10469 62 37_Re: Problem running DSNTEP2 from REXX0_22_Rohn.Solecki@MTS.MB.CA30_Wed, 9 May 2001 14:36:53 -0500283_us-ascii Thanks all for your help. I still haven't got DSN (and DSNTEP2) to run from within the rexx but I have a reasonable workaround. The generated SQL is written to a temp DD that is passed to the next job step which uses it as input to DSNTEP2 which is exec'd in that step [...] 10532 125 83_Re: SQL challenge - is there a faster way to invoke break logic (there should be!!)13_Terry Purcell25_Terry_Purcell@YLASSOC.COM30_Wed, 9 May 2001 14:37:27 -0500601_us-ascii Larry,

No, there is no faster way to process the query than the way you have broken it out into your program. I must assume that you are achieving the increased performance due to an I1 access path for the program which has significantly reduced your I/O.

Every solution would require either a stage 2 correlated subquery, or the non-matching index scan that you obtained; in either case every row of the 50,000,000 table needs to be read. Unless the distinct values for date were stored in another table and the V6 correlated nested table functions could perform an Index [...] 10658 56 24_Re: Dynamic SQL question13_Terry Purcell25_Terry_Purcell@YLASSOC.COM30_Wed, 9 May 2001 14:45:47 -0500439_us-ascii Nayeem,

Look for anything different between the two, which is what George was eluding to.

Are these in the run against the same database, DB2 subsystem etc.?

Has DB2 maintenance been applied or runstats run since the program was bound?

Is the program using a host variable whereas the DSNTEP2 sql did not? Program will use default stats whereas dynamic would utilize frequency distribution stats. [...] 10715 192 83_Re: SQL challenge - is there a faster way to invoke break logic ( thereshould be!!)0_34_L-IS.Kirkpatrick@MUTUALOFOMAHA.COM30_Wed, 9 May 2001 14:51:17 -0500500_us-ascii I should probably provide a context to my question (and discovery).

My "GROUP-BY" query really originated from a query looking for the orphans from a child table.

We were originally attempting to run a simple referential integrity check (or orphan check) for the rows in a child table that do not match up with a parent row. We put together this query for tables using a star schema design. The typical query that we run to do this is (names use star schema conventions): [...] 10908 93 37_Re: Problem running DSNTEP2 from REXX14_Toppins, Smike21_smike.toppins@GWL.COM30_Wed, 9 May 2001 13:54:14 -0600433_- Maybe I missed something but why not use DSNREXX directly from within a REXX module. Something to the effect of ...

altersql = "ALTER TABLESPACE "||dbname||"."||spacename if partno <> 0 then do altersql = altersql||" PART "||partno end altersql = altersql||" PRIQTY "||priqty||" SECQTY "||secqty Address DSNREXX EXECSQL altersql





SMike Toppins Great-West Life smike.toppins@gwl.com (303) 737-5094 [...] 11002 103 37_Re: Problem running DSNTEP2 from REXX12_Isaac Yassin20_yassini@BEZEQINT.NET30_Wed, 9 May 2001 23:02:15 +0200688_iso-8859-1 Hi, You may want to try something like that (partial code):

GENCMD: DELSTACK QUEUE "SELECT DBNAME,NAME FROM SYSIBM.SYSTABLESPACE " QUEUE "WHERE STATUS = 'A' AND " QUEUE " DBNAME LIKE '"DBID"%' " QUEUE "ORDER BY 1 , 2 ; " LINES = QUEUED() /*FIND NUMBER OF STACK LINES */ "EXECIO " LINES " DISKW SYSIN(FINIS" /*COPY STACK TO OUTPUT DATASET */ "FREE F(SYSIN,SYSPUNCH,SYSREC00)" "ALLOC F(SYSIN) DA('"U".IMAGE.COMD') SHR REUSE" "ALLOC F(SYSPUNCH) DUMMY" "ALLOC F(SYSREC00) DA('"U".IMAGE.REC') SHR REUSE" QUEUE "RUN PROGRAM(DSNTIAUL) PLAN(DSNTIAUL) , LIB('TBW.RUNLIB.LOAD') PARMS('SQL')" QUEUE "END" ADDRESS TSO "DSN SYSTEM(DST)" "FREE F(SYSIN,SYSPUNCH,SYSREC00)" RETURN [...] 11106 101 37_Re: Problem running DSNTEP2 from REXX0_19_Tim.Lowe@STPAUL.COM30_Wed, 9 May 2001 15:13:02 -0500283_us-ascii Rohn, Since you do not appear to have the DB2 load libraries in your steplib for your TSO step, then are you running DB2 from linklist? These are the 2 methods that you can get access to DSN. Is it possible that this is the problem with running DSN?

Thanks, Tim [...] 11208 16 24_Re: crystal report & DB213_Shauna Hadden24_shauna.hadden@BCBSKS.COM30_Wed, 9 May 2001 15:08:21 -0500466_- Have you tried posting that question on Seagate's web site?

http://www.crystaldecisions.com/products/crystalreports/

I believe they have an "Ask Crystal" section under their support pull down that might work.

================================================ 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. 11225 38 57_Stored Procedures updating Trigger Transitional Variables13_Karen Vogeley17_kvogeley@UNEB.EDU30_Wed, 9 May 2001 15:24:14 -0500471_us-ascii I coded an update trigger that called a stored procedure to update a transitional value for the updated row. I know the stored procedures executes correctly, but the new value does not show up in the row after the update. I even coded the trigger to hard-code a literal into the transitional variable before the stored procedure executes, and it's the literal that shows up after the update, not what the stored procedure calculated. What am I doing wrong? [...] 11264 87 24_Re: Dynamic SQL question15_Mohammed Nayeem25_Mohammed_Nayeem@MOMED.COM30_Wed, 9 May 2001 15:51:48 -0500724_us-ascii Yes, running against same db after runstats. Purpose is to delete required rows faster from a table defined in partitioned tablespace containing 7 NPIs.



----- Forwarded by Mohammed Nayeem/MoMedicaid/US on 05/09/01 03:45 PM ----- |--------+---------------------------> | | Terry Purcell | | | | | | | | | 05/09/01 02:45 PM| | | Please respond to| | | DB2 Data Base | | | Discussion List | | | | |--------+---------------------------> >--------------------------------------------------------| | | | To: DB2-L@RYCI.COM | | cc: (bcc: Mohammed Nayeem/MoMedicaid/US) | | Subject: Re: Dynamic SQL question | >--------------------------------------------------------| [...] 11352 165 28_Re: FW: [DB2-L] Ditching QMF16_Aurora Dell'Anno28_Aurora_E_DellAnno@CANDLE.COM30_Wed, 9 May 2001 21:53:03 +0100322_us-ascii Since this is a chipping in to give your opinion thread, I will venture mine...

I have nenver been a DBA - when I was an application developer in a previous lifetime, I remember that in a few assignments we were NOT allowed to use QMF at all - it had been taken out of our personalised ISPF panel.... [...] 11518 38 28_Re: DB2/Oracle Sync software5_chris22_hhardy1@HOUSTON.RR.COM30_Wed, 9 May 2001 16:00:54 -0500485_iso-8859-1 Embarcadero has a solution as well which is very flexible, check them out.....

CA has or had enterprise database manager (Platinum - check with CA) which featured schema and to some degree data propagation functionality per db2-oracle sync...





----- Original Message ----- From: "Ben Jones" Newsgroups: bit.listserv.db2-l To: Sent: Wednesday, May 09, 2001 10:43 AM Subject: DB2/Oracle Sync software [...] 11557 65 24_Re: Error during Runstat11_Tom Marcano23_marcano_db2@HOTMAIL.COM30_Wed, 9 May 2001 21:02:48 -0000 11623 184 83_Re: SQL challenge - is there a faster way to invoke break logic (there should be!!)13_Terry Purcell25_Terry_Purcell@YLASSOC.COM30_Wed, 9 May 2001 16:04:23 -0500567_us-ascii Larry,

I just reread your mail and Jeff's offline response to you and I have some further notes to add.

I just noticed the fact that you already have used the small table technique (I missed that first time). I know of this as being used many times at other sites using either date ranges (which you have) or distinct number ranges or account # ranges etc to increase the matchcols to a larger table, rather than coding a between. I recall you mentioning this to DB2-L a while ago using a V6 non-correlated IN subquery on the small table. [...] 11808 92 61_Re: Stored Procedures updating Trigger Transitional Variables12_Steve Grimes30_Steve_Grimes@AISMAIL.WUSTL.EDU30_Wed, 9 May 2001 16:27:03 -0500472_us-ascii Hi.

This is my favorite pet peeve with DB2 V6 OS/390. You are sunk because your trigger is a "BEFORE" trigger. Your only option is a UDF (which requires WLM.) Set with Sub-select won't work in a "BEFORE" trigger either.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Steve Grimes Washington University Information Systems OS/390 V2R10 DB2 UDB 6.1 W: 314-935-4376 H: 636-928-5005 Isa.64:6 Steve_Grimes@aismail.wustl.edu ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [...] 11901 19 28_Re: FW: [DB2-L] Ditching QMF10_Max Scarpa16_mscarpa@CESVE.IT30_Wed, 9 May 2001 23:49:33 +0200493_us-ascii Why ditching QMF ? Is so nice, heavy but nice, with GDDM interface and other nice features.

I would be very happy if I had it....Is great for skilled people.

Max Scarpa

DB2 sysprog (from the coming soon 'Banana Republic')

================================================ 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. 11921 103 83_Re: SQL challenge - is there a faster way to invoke break logic (there should be!!)18_Bruce W Williamson26_Bruce.Williamson@NT.GOV.AU31_Thu, 10 May 2001 07:56:32 +0930586_us-ascii Howzit Larry?

How about the following:

SELECT DISTINCT DATE_COL FROM BIG_TABLE;

Cheers Bruce Williamson

DB2 Database Administrator DCIS NT Government Darwin NT 0800 Australia









L-IS.Kirkpatrick@MUTUALOFOMAHA.COM@RYCI.COM> on 10/05/2001 00:30:38

Please respond to DB2 Data Base Discussion List

Sent by: DB2 Data Base Discussion List



To: DB2-L@RYCI.COM cc: Subject: SQL challenge - is there a faster way to invoke break logic (there should be!!) [...] 12025 72 16_Re: Ditching QMF0_19_Tim.Lowe@STPAUL.COM30_Wed, 9 May 2001 17:26:29 -0500524_us-ascii Pat, If nobody uses QMF at your shop, then you should certainly get rid of it. After all, why pay for something that you do not use?

Many of the things that QMF are used for can be done using other tools, such as SPUFI, DSNTEP2 and DSNTIAUL. But, while these tools do not cost anything, they also do not have all of the functionality in QMF. (Like creating simple reports with subtotals, and row limits. And, building stored queries, procs and forms for people to use. What about the QMF table editor?) [...] 12098 59 37_Re: Problem running DSNTEP2 from REXX0_22_Rohn.Solecki@MTS.MB.CA30_Wed, 9 May 2001 17:40:48 -0500562_us-ascii Thanks Smike and Todd (and any others who made a similar suggestion). You missed nothing. I was stuck in a rut trying to recreate the original process, using DSNTEP2, when I didn't have to. I was simply generating another SQL, just like the cursor, so why not do it your way. I almost didn't try it (because I has something that worked well enough), but changing to DSNREXX EXECSQL took just a couple of minutes and it ended up as the perfect solution to my requirement. ***** Issac, I'll try your suggest later since I'm in learning mode, just to [...] 12158 166 34_Re: DB2 V6 reorg w/ discard? OS39018_Bruce W Williamson26_Bruce.Williamson@NT.GOV.AU31_Thu, 10 May 2001 08:32:48 +0930423_us-ascii Howzit Aurora & Venkat?

I'd just like to point out that

WHEN (START_TIMESTAMP < CURRENT_TIMESTAMP - 7 DAYS)

is not the same as

WHEN (START_TIMESTAMP + 7 DAYS <= CURRENT_TIMESTAMP)

it should be

WHEN (START_TIMESTAMP <= CURRENT_TIMESTAMP - 7 DAYS)

Goes back to relational maths theory. Use arbitrary values for 0 for START_TIMESTAMP and 7 for CURRENT_TIMESTAMP. [...] 12325 108 52_Re: Possible Utility Serializatin Problem - Solution15_Bell, Raymond W31_Raymond.W.Bell@TEAM.TELSTRA.COM31_Thu, 10 May 2001 09:07:53 +1000620_- Hmmm. Just FYI, but in DB2 OS/390 V6 I've noticed messages in the log indicating that lock escalation has occurred for a particular object. This might also be a clue as to this kind of problem.

Like I say, just FYI.



Raymond

> -----Original Message----- > From: Richard Arnold [SMTP:Richard.Arnold@CHASE.COM] > Sent: Wednesday, 9 May 2001 3:26 am > To: DB2-L@RYCI.COM > Subject: Possible Utility Serializatin Problem - Solution > > All, > > When we reorged all partitions of a 176 partition table with IBM reorg, > the reorg job caused a lock escalation on SYSIBM.SYSUTILX. When one > [...] 12434 110 24_Re: Error during Runstat15_Toine Michielse18_vndobtm@US.IBM.COM30_Wed, 9 May 2001 01:14:51 +0200511_us-ascii Tom,

Was there no snap of the general registers in the job output? System log?

regards,

Toine Michielse DB2 S/390 Advocate Silicon Valley Laboratory Mobile: +31 6 537 23 256 Email: vndobtm@us.ibm.com Lotus: Toine Michielse/Santa Teresa/Contr/IBM@IBMUS



Tom Marcano @RYCI.COM> on 05/09/2001 08:46:05 PM

Please respond to DB2 Data Base Discussion List

Sent by: DB2 Data Base Discussion List [...] 12545 79 84_Re: SQL challenge - is there a faster way to invoke break logic ( there should be!!)11_Bikash Paul19_bikash_db@YAHOO.COM30_Wed, 9 May 2001 16:24:22 -0700606_us-ascii Hi, If you use DISTINCT when you can avoid GROUP BY. So it can look like SELECT DISTINCT DATE_COL FROM BIG_TABLE;



Regards, Bikash --- Gregg Sawyer wrote: > Maybe there was a tyop., or maybe I'm flaunting my low IQ, but have > you > tried : > > SELECT DISTINCT DATE_COL FROM BIG_TABLE GROUP BY DATE_COL; > > ? > > Gregg Sawyer > > > > > > L-IS.Kirkpatrick@MUTUALOFOMAHA.COM@RYCI.COM> on 05/09/2001 11:00:38 > AM > > Please respond to "DB2 Data Base Discussion List" > > Sent by: "DB2 Data Base Discussion List" > > [...] 12625 72 34_Re: DB2 V6 reorg w/ discard? OS39015_Bell, Raymond W31_Raymond.W.Bell@TEAM.TELSTRA.COM31_Thu, 10 May 2001 09:22:10 +1000449_- Just been doing this with a 'log' table of ours, getting rid of old rows. Like you, the column is a timestamp, but I only wanted to delete rows 'where date(timestamp_column) < current date - 7 days'. Seems you can't apply functions to the column name in your discards option. It must be column_name only, then your selection criteria. Pay close attention to the syntax diagrams in the Utility Guide; it's what gave it away for me in the end. [...] 12698 237 83_Re: SQL challenge - is there a faster way to invoke break logic ( thereshould be!!)18_Bruce W Williamson26_Bruce.Williamson@NT.GOV.AU31_Thu, 10 May 2001 08:59:42 +0930362_us-ascii Howzit Larry?

With the current spec try putting the existence check in a having clause instead of in the where predicate.

> When I ran this second query, the total elapsed time was under 50 seconds > compared with the original query running in over 8 minutes of CPU time!

BTW, why are you comparing elapsed time with CPU time? [...] 12936 16 37_-805 after migration to DB2 Version 60_20_bjnigh@HOUSEHOLD.COM30_Wed, 9 May 2001 15:53:03 -0700514_us-ascii We migrated to DB2 Version 6 for OS/390 over the weekend and have been experiencing -805 error messages when executing application programs that executed fine before the migration took place. Has anyone else experienced this? If so, how did you solve the 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. 12953 58 36_Re: Stored procedures using MSAccess12_Jason Hughes20_jason.hughes@TRW.COM30_Wed, 9 May 2001 18:20:01 -0500326_- Colin, Well, I discovered that my previous thought was wrong ... way wrong. I got lucky and found what I believe is working code that does what you are trying to do. I cannot test this because I'm working in a different office this month and this PC does not have DB2 Connect on it. Anyways, here's the VBA code I had. [...] 13012 31 40_Tablespace Detailed Information from SQL13_Mark kirkwood30_Mark.R.Kirkwood@POLICE.GOVT.NZ31_Thu, 10 May 2001 11:37:25 +1200582_us-ascii Dear list,

I have recent;ly started using DMS tablespaces and they are great from a performance prespective.

However administration wise it seems that the only place detailed information about space usage is available from is the "...show detail" option in "list tablespaces".

Is there any way to obtain this information via SQL, as this would be really convenient for monitoring scripts etc etc ( I have examined the "sysibm" schema for anything suitable, and not tables I could see had "used pages" or "free pages" type entries for tablespaces) [...] 13044 97 28_Re: DB2/Oracle Sync software16_Thomas E. Faglon21_tfaglon@TELCORDIA.COM30_Wed, 9 May 2001 19:48:09 -0400329_iso-8859-1 Hi, you may not need to keep them in sync just access them from db2! DB2 7.2 has many new features imcluding Wrappers Relational Connect provides wrappers that make it easy to access data on different DBMSs (federated systems). Version 7.2 enhances the Relational Connect feature with the following new wrappers: [...] 13142 107 63_June 18th - Pittsburgh DB2 User Group Meeting - Agenda attached10_Cathy Peck23_cathy.peck@HIGHMARK.COM30_Wed, 9 May 2001 20:23:23 -0400327_iso-8859-1 Below is the agenda for the kickoff meeting for the Pittsburgh DB2 Users Group.

If you work in the Pittsburgh area & I do not have you on the Pitts DB2 User Group contact list, drop me an email.

Please RSVP if you are planning to attend the 6/18 mtg.

Hope everyone can make it! Tks!! Seeya [...] 13250 220 83_Re: SQL challenge - is there a faster way to invoke break logic ( thereshould be!!)13_Terry Purcell25_Terry_Purcell@YLASSOC.COM30_Wed, 9 May 2001 19:19:34 -0500365_us-ascii Bruce,

A subquery (or any predicate) written in the HAVING clause but not dependent on the GROUP BY (ie. does not contain a column function) will be rewritten by the optimizer to execute in the WHERE clause before the GROUP BY. That's why I add the "OR COUNT(*) = 0". It's like OR 0=1, doesn't affect the result but disables the query rewrite. [...] 13471 21 35_DB2 Version 7 Operational Utilities13_Jodi Murawski27_Jodi.Murawski@METAVANTE.COM30_Wed, 9 May 2001 19:40:52 -0500544_us-ascii Has anyone worked with the Unload tool in the Operational Utilities suite? I am interested in finding out if it can handle joins. Also, I heard it only supports one unload format - DSNTIAUL. Can anyone confirm this?

Thank You,

Jodi Murawski Database Administrator Metavante Corp.

================================================ 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. 13493 109 31_Re: Making Executables Portable12_tim malamphy20_timalamphy@YAHOO.COM30_Wed, 9 May 2001 19:10:48 -0700587_us-ascii Hi guys- Hope all's well in the pacific northwest.

I'm not that familiar with exactly what C++ is doing with the hardcoded link, but I'm not having any problems. I have each user execute the db2profile that the instance owner executes, which sets up all the paths dynamically. So when you run under a version 6 instance you get the version 6 paths, and when you run it under version 7, executing that instance's db2profile, you get the new version. The only problem I had was having the developers remember which profile to execute depending on which version of db2 [...] 13603 57 46_Re: Restart Logic with Sequential Output Files15_Bell, Raymond W31_Raymond.W.Bell@TEAM.TELSTRA.COM31_Thu, 10 May 2001 12:08:31 +1000560_- William,

Don't know if you've had the responses you were looking for on this one, but I've got a couple of comments. When writes to an output file are externalised depends on your block size (and probably a whole bunch of other stuff). Writes to DB2 tables are governed by commits. You'd be lucky if they matched. One technique - and in my inexperienced opinion a good one - is to write to a 'temporary' output file instead of the table, then post-process the table writing it out to your output file. There may be several drawbacks, but the one [...] 13661 46 41_Re: -805 after migration to DB2 Version 623_Pendlebury-Bowe, Leslie34_Leslie.Pendlebury-Bowe@EU.SONY.COM31_Thu, 10 May 2001 06:21:14 +0100625_iso-8859-1 Hi

I am sure there was something bought up here a year ago about this.

Have you looked through the Archives?

Les

-----Original Message----- From: bjnigh@HOUSEHOLD.COM [mailto:bjnigh@HOUSEHOLD.COM] Sent: Wednesday, May 09, 2001 11:53 PM To: DB2-L@RYCI.COM Subject: -805 after migration to DB2 Version 6



We migrated to DB2 Version 6 for OS/390 over the weekend and have been experiencing -805 error messages when executing application programs that executed fine before the migration took place. Has anyone else experienced this? If so, how did you solve the problem. [...] 13708 18 53_Debra Jordan/Riverwoods/BT/DFSI is out of the office.15_Debra D. Jordan33_debrajordan@DISCOVERFINANCIAL.COM31_Thu, 10 May 2001 01:25:06 -0500476_us-ascii I will be out of the office starting 05/10/2001 and will not return until 05/15/2001.





I will respond to your message when I return. If you require immediate attention, please contact Dona Bell at x2822.

================================================ 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. 13727 35 30_Performamce with Db2 V6 & JDBC18_Ermanno Bertolotti18_ebertolotti@BCI.IT31_Thu, 10 May 2001 08:52:37 +0200 13763 26 28_Re: FW: [DB2-L] Ditching QMF0_18_mebert@AMADEUS.NET31_Thu, 10 May 2001 10:50:47 +0200529_us-ascii To get a vote from the other side as well, I hate it if I ever have to use QMF... I have a strong dislike for programs that redefine the PF keys, that do not honor authorisations (if I want to save a query for user XYZ, I always have to execute a "SET CURRENT SQLID" first even though I'm SYSADM), and that take seconds to process each keystroke. The QMF "look and feel" reminds me of my programming apprentice days. It may be useful for developers and end users, for writing reports (not really a DBA task). I use [...] 13790 42 39_Re: DB2 Version 7 Operational Utilities16_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM31_Thu, 10 May 2001 05:18:36 -0400593_iso-8859-1 I should have an answer for you by Monday. We are doing our first V7 upgrade Sunday.

regards,

eric pearson NS ITO Database Support



-----Original Message----- From: Jodi Murawski [mailto:Jodi.Murawski@METAVANTE.COM] Sent: Wednesday, May 09, 2001 8:41 PM To: DB2-L@RYCI.COM Subject: DB2 Version 7 Operational Utilities



Has anyone worked with the Unload tool in the Operational Utilities suite? I am interested in finding out if it can handle joins. Also, I heard it only supports one unload format - DSNTIAUL. Can anyone confirm this? [...] 13833 101 36_Re: Stored procedures using MSAccess9_Colin Fay13_cfay2@CSC.COM31_Thu, 10 May 2001 07:57:25 -0400428_us-ascii Hi Jason,

Thanks for the information!

I will try this method when I return from IDUG and post what I find. Much as I dislike the code generated by the Jet engine I would like to figure out how to make it function so that it is consistent between function calls and result sets without having to code special VBA code. The clients here are generally not coders but use the vanilla MSAccess front end. [...] 13935 20 7_DSNTEP213_Thomas Schulz20_thomas.schulz@SVI.DE31_Thu, 10 May 2001 06:34:00 -0500396_ISO-8859-1 If my collegs are runníng SPUFIS with Plan DSNTEP51 e.G. Select * from anytable they are locking the whole Database DSNDB06 so that I can't do any Create or Drop on a Objekt. With Omegamon i saw a IS Lock from plan DSNTEP51. This Spufis are running sometimes a few hours, so that i can't do any maintenance. Message 00C9008E is returning from the System. Any Idea whar I can do?? [...] 13956 36 41_Re: -805 after migration to DB2 Version 617_Richard Cotterill24_rl_cotterill@BIGPOND.COM31_Thu, 10 May 2001 22:00:09 +1000322_us-ascii Hi, Not sure if your problem, we had the problem occuring on a SET statement it was due to the structure of the SET command changing for V6 problem. There us an APAR around to fix it.

From memeory if you do a precompile using V5 then BIND on V6 it will work, however getting APAR/PTF would be better. [...] 13993 45 28_Re: FW: [DB2-L] Ditching QMF11_Brazil, Pat27_PBrazil@MIDATLANTIC.AAA.COM31_Thu, 10 May 2001 08:03:21 -0400497_- Max,

I think the interface is archaic and not intuitive. Someone who has no mainframe background will wonder from what planet QMF arrived. There are so many GUI tools available that are much easier to use for the users. For those familiar with the mainframe interface, like the developers, we have CA's RC/Query and Easytrieve. I don't know if we will actually get rid of QMF, but it really needs a lot of work and IBM does not seem to be doing anything with it, and it's not cheap. [...] 14039 64 30_Re: DB2 for OS390 V6 Migration0_22_Tim.T.Dupree@LOWES.COM31_Thu, 10 May 2001 08:03:40 -0400399_- We have performed Runstats and Rebinds for the problem applications with no change in results. The accounting trace comparisons point directly to CPU dispatching (80% of DB2 time (V6) versus 30% of DB2 time (V5)). Unfortunately, I cannot create a V5 explain to compare to. We have an open PMR with IBM's performance group and have provided all the diagnostic information they have requested. [...] 14104 24 8_Recovery10_Fritz Rapp21_fritzrapp@T-ONLINE.DE31_Thu, 10 May 2001 06:42:24 -0500571_- Hello, we run DB2 V6.1 under OS/390 2.8. I'm about to prepare for catalog recovery for future use(not desired) Our e.g. DSNDB01.SPT01 spans more than two volumes and it is not SMS managed. So if I want to prepare the JCL to DEFINE the VSAM datasets for DSNDB01.SPT01 and use the OS/390 catalog to extract the actual definitions, I have a problem. I wanted to get the information for DEFINE by LISTCAT - so far so good, but LISTC doesn't show me the candidate volumes, only the ones where data/cluster is already written/defined on. So my question is: does anybody [...] 14129 78 28_Re: FW: [DB2-L] Ditching QMF0_27_jim.leask@RS-COMPONENTS.COM31_Thu, 10 May 2001 13:29:11 +0100706_iso-8859-1 Pat,

QMF is available with a windows GUI front end. It has many other new features see http://www.rocketsoftware.com/

Jim.

-----Original Message----- From: Brazil, Pat [mailto:PBrazil@MIDATLANTIC.AAA.COM] Sent: 10 May 2001 13:03 To: DB2-L@RYCI.COM Subject: Re: FW: [DB2-L] Ditching QMF



Max,

I think the interface is archaic and not intuitive. Someone who has no mainframe background will wonder from what planet QMF arrived. There are so many GUI tools available that are much easier to use for the users. For those familiar with the mainframe interface, like the developers, we have CA's RC/Query and Easytrieve. I don't know if we will actually [...] 14208 49 11_Re: DSNTEP219_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Thu, 10 May 2001 07:33:57 -0500445_iso-8859-1 Thomas, I hope I understand your problem correctly. Isn't DSNTEP51 the PLAN/PACKAGE for DSNTEP2? The 00C9008E indicates a timeout or resource unavailable. You might want to investigate why these DSNTEP2 jobs are running so long. As for SPUFI, most shops don't BIND the SPUFI "...RR" PLAN/PACKAGE, just the "...CS". Another thing is to make sure to use AUTOCOMMIT YES (the default) in SPUFI sessions unless NO is really required. [...] 14258 57 12_Re: Recovery19_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Thu, 10 May 2001 07:40:36 -0500628_iso-8859-1 Fritz, Going on memory here so check it out. LISTC, in the past, would identify candidate volumes with an entry something like this: LISTC ENTRY(vcat.DSNDBC.dbname.*) ALL or this: LISTC ENT(vcat.*) ALL

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 [...] 14316 83 41_Re: -805 after migration to DB2 Version 69_Andy Hunt33_Andy.Hunt@SCOTTISH-SOUTHERN.CO.UK31_Thu, 10 May 2001 13:44:18 +0100394_us-ascii Ive just had a look through our HOLD for DB2 V6... PTF UQ52076 talks about -805's for CLI programs. Might be worth a look at -if your programs use CLI... Kind Regards, Andy Hunt - Scottish And Southern Energy







Richard Cotterill on 10/05/2001 13:00:09

Please respond to DB2 Data Base Discussion List [...] 14400 72 22_Stumped on access path14_Lisa Ouellette29_Lisa.Ouellette@FIRSTUNION.COM31_Thu, 10 May 2001 07:38:19 -0500424_- Help! I have an SQL statement that I can't get to take the access path I want. Here it is - an existence check (is there a stop on the check I am about to cash? - stops are done in ranges - like you lost your checkbook):

SELECT 1 FROM STOPS WHERE STP_ORG = ? AND STP_ACC = ? AND ( STP_TYPE = + 22020 OR STP_TYPE = + 22021 ) AND STP_DEL_IND = 'N' AND STP_LOW_NBR <= ? AND STP_HGH_NBR >= ? AND STP_EXP_IND = 'N' [...] 14473 39 8_Triggers12_Cory Heislen23_heiska4@DSS.STATE.MO.US31_Thu, 10 May 2001 08:06:26 -0500565_us-ascii Help needed still

I have a question concerning how I can capture errors produced by a trigger.

Ex.

I have a trigger created to update information out to another table. My question is how do i capture in a batch db2/cobol program or db2/cics program an error that is produced by the audit table. In my case I make it error intentionally by performing an update that produces a -803. When i write the sqlca field out in my program i display a -723 that tells me (an error occured in a triggered sql statement). So where would i get [...] 14513 151 34_Re: DB2 V6 reorg w/ discard? OS39016_Aurora Dell'Anno28_Aurora_E_DellAnno@CANDLE.COM31_Thu, 10 May 2001 14:43:39 +0100405_us-ascii Bruce,

you're right of course. I was working from home without a mouse and I hate these little touchpad thingies - so I retyped the syntax and missed a bit out (the = sign)...

Ciao!

Aurora Emanuela Dell'Anno Systems Engineer Candle Service Ltd.

Office: +44 (0) 1276 41 4752 Mobile: +44 (0) 7881 818 867 Fax: +44 (0) 1276 41 4777 email: aurora_dellanno@candle.com [...] 14665 22 28_Re: FW: [DB2-L] Ditching QMF10_Max Scarpa16_mscarpa@CESVE.IT31_Thu, 10 May 2001 15:51:44 +0200581_us-ascii The mainframe interface is the 'poor' classic S390 interface (did you worked in a UNIX environment ?), as many tools

other toolz (CA,BMC). But now there's QMF for windows, which is a nice features , not so sophisticated as some GUI

tools, but it's a first step toward 'Visual' tools.

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. 14688 32 45_primary key (1 col) supported by 3 col index?5_Chris17_isatcjk@YAHOO.COM31_Thu, 10 May 2001 06:53:36 -0700351_us-ascii Hi Everybody, Will DB2 enforce uniqueness on a one column primary key from the create table statement, if there is a supporting index which starts with that column, and then has two additional columns?

No answer yet on whether the key generation guarantees uniqueness.

There is no DB2 defined RI.

Thanks again Chris [...] 14721 236 83_Re: SQL challenge - is there a faster way to invoke break logic ( thereshould be!!)0_34_L-IS.Kirkpatrick@MUTUALOFOMAHA.COM31_Thu, 10 May 2001 09:24:27 -0500564_us-ascii Bruce - I believe that Terry gave an answer to the reason I did not use "SELECT DISTINCT". This actually slows down my original query that I wish to make run faster.

My reason for comparing CPU and ELAPSED is to really contrast the performance improvements that I realized. I am not running using parallel techniques (or parallel optimization options) so my elapsed time is at least as large as my CPU. When I said that my original query ran in 8 minutes of CPU time, it actually ran in 15+ minutes of elapsed time (but the elapsed time would [...] 14958 17 35_Image Copy CAT/DIR to tape, bufno=?10_Tom Taylor17_ttaylor@CHUBB.COM31_Thu, 10 May 2001 10:27:22 -0400402_us-ascii Hi all

Curiosity question: I'm image copying sct02 to 36 track tape. Coded in the jcl is bufno=30 is this suffcient or a hinderence.?

Tom

================================================ 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. 14976 71 19_Optimize For N Rows11_Endy Lambey27_endyl@MITRAINFOSARANA.CO.ID31_Thu, 10 May 2001 21:28:29 +0700326_us-ascii Dear all,

I like to know what really the use of Optimize for N Rows in SQL statement... Does the command make the data fetch every N rows during it's process or else ?

T.I.A Best Regards



Endy Lambey PT. MITRA INFOSARANA endyl@mitrainfosarana.co.id



'Do I.T. Smartly'

15048 61 49_Re: primary key (1 col) supported by 3 col index?11_Bikash Paul19_bikash_db@YAHOO.COM31_Thu, 10 May 2001 07:34:07 -0700427_us-ascii Hi, If you define, one column as primary key, then i understand that you need to have one unique index defined on that primary key column. However you can have other unique index defined on the table taking primary key column and other columns (which is always unique).

May be , i did not understand the problem right. If you want to have an unique column generated by DB2, you can think about using ROWID [...] 15110 23 7_DB2 log13_Juan Mautalen22_jmautalen@ANSES.GOV.AR31_Thu, 10 May 2001 11:37:02 -0300436_us-ascii Hi, In our Organization, we need to keep information related to modifications on data of the last 3 years. In case we get one of the products you mentioned (CA Log-analyser, for instance) , we would have to keep many copies of the DB2 log. As longer as we know, this log contains much more information than that needed for auditing. Don't you know of a product that would allow us to extract only the information we need? [...] 15134 18 17_Stored procedures14_Toppins, Smike21_smike.toppins@GWL.COM31_Thu, 10 May 2001 08:51:11 -0600388_- Just curious if anyone is doing stored procedures in Assembly?



SMike Toppins Great-West Life smike.toppins@gwl.com (303) 737-5094

================================================ 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. 15153 30 26_Re: Stumped on access path12_Jim Harrison17_jharrison@GMX.NET31_Thu, 10 May 2001 10:53:29 -0400506_us-ascii What release are you on? Starting in V6 there are some tricks you can use to guide the optimizer to use the index you want.

At 07:38 AM 05/10/2001 -0500, Lisa Ouellette said: >Help! I have an SQL statement that I can't get to take the access path I >want. Here it is - an existence check (is there a stop on the check I am >about to cash? - stops are done in ranges - like you lost your checkbook): > >SELECT 1 >FROM STOPS >WHERE STP_ORG = ? >AND STP_ACC = ? >AND ( STP_TYPE = + 22020 [...] 15184 72 12_Re: Triggers11_Suresh Sane21_data_arch@HOTMAIL.COM31_Thu, 10 May 2001 10:08:37 -0500523_- Cory,

Welcome to what Richard Yevich called "a gray area" (pitch dark, if you ask me).

This area of error handling in Triggers including those that call UDFs and SPs leaves a lot to be desired in V6. The only alternative I see is to pull the logic form the trigger and place it in an SP. The SP would then do the error checking and optionally write diagnostic info to a DTT. The main program that invoked the trogger would then issue a select to the session.xxx DTT table to see ehat really happended. [...] 15257 54 11_Re: DB2 log15_Lankester, Andy22_Andy_Lankester@BMC.COM31_Thu, 10 May 2001 10:17:34 -0500417_iso-8859-1 Since you are explicitly asking about products can I say that BMC's Logmaster for DB2 can produce a 'logical log' based on filtering criteria that you set. It is reformatted so as to be MUCH more easily processed by a user written program. For example it does:

Row completion of before/after rows Decompression Format conversion from DB2 internal field formats and much much more [...] 15312 81 30_Subselect and correlation name33_=?iso-8859-1?Q?F=F6llmi_Kathrin?=29_Kathrin.Foellmi@WINTERTHUR.CH31_Thu, 10 May 2001 17:08:12 +0200486_iso-8859-1 Hello!

Lately, I found in a magazine some SQL statement to check the length of character varying fields.

Statement:

SELECT LEN, COUNT(*) FROM (SELECT LENGTH(column_varchar) AS LEN FROM creator.table) GROUP BY LEN



Testing the statement with DB2 UDB for OS/390 Version 6.1, I received an SQLCODE -104.

Error:

DSNT408I SQLCODE = -104, ERROR: ILLEGAL SYMBOL "". SOME SYMBOLS THAT MIGHT BE LEGAL ARE: CORRELATION NAME [...] 15394 19 26_Re: Stumped on access path14_Lisa Ouellette29_Lisa.Ouellette@FIRSTUNION.COM31_Thu, 10 May 2001 10:08:35 -0500296_- Both production and test are v6. We haven't used Hints here at the bank as far as I know - not sure we really want to. Do you have any hints on Hints? Or is that what you are thinking of?

Also, we have avoided manually updating stats and don't want to really get into that I think. [...] 15414 65 11_Re: DSNTEP213_Derez D. Lusk20_ddlusk@HOUSEHOLD.COM31_Thu, 10 May 2001 10:23:20 -0500703_iso-8859-1 when using at the end of the sql statement place "with ur;"







Thomas Schulz To: DB2-L@RYCI.COM Subject: DSNTEP2

05/10/2001 06:34 AM Please respond to DB2 Data Base Discussion List













If my collegs are runníng SPUFIS with Plan DSNTEP51 e.G. Select * from anytable they are locking the whole Database DSNDB06 so that I can't do any Create or Drop on a Objekt. With Omegamon i saw a IS Lock from plan DSNTEP51. This Spufis are running sometimes a few hours, so that i can't do any maintenance. Message 00C9008E is returning from [...] 15480 161 54_Pipeline DB2 & Oracle Technology Newsletter - May 200114_Campbell White20_cwhite@REVEALNET.COM31_Thu, 10 May 2001 11:27:12 -0400682_US-ASCII See you at IDUG, Booth 301!

The May Issue of the Pipeline Newsletter for Oracle and DB2 Technology is now available. Click below to view this issue.

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

In the May Issue:

- Free Sun Solaris Hot Backup & Recovery Scripts, by Michael R. Ault - Introduction to Oracle Parallel Server Option, Knowledge Base Topic - DB2 Version 7 Scrollable Cursors, Knowledge Base Topic - PL/SQL Best Practices: "Ask for Help After 30 Minutes", by Steven Feuerstein - Solving Designer Compatibility Problems with ERDs, by Victor Slootsky - Use of the new CASE function, by Andrew Simkovsky - Determining Data [...] 15642 96 26_Re: Stumped on access path0_19_mike.holmans@BT.COM31_Thu, 10 May 2001 16:29:13 +0100376_- According to you, the third column of the partitioning index is STP_CREATE_DATE. Since the query does not include a predicate for that column, the optimizer will not be able to match on it.

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

This post represents the views of the author and does not necessarily accurately represent the views of BT [...] 15739 61 39_FW: Online Reorg-True 24x7 Availability14_Jennifer Moody22_jmoody@CDBSOFTWARE.COM31_Thu, 10 May 2001 10:37:23 -0500713_ISO-8859-1 For Immediate Release For Further Information Contact: Jennifer Moody 800-627-6561

CDB Software Achieves Full 24X7 With Online REORG

CDB Software, Inc. announces the ability of its flagship reorganization product, CDB/Auto-Online Reorg(R), to allow DB2(R) applications full read/write access to tablespaces and indexes during a reorganization, even during the rename phase.

Prior to this technology breakthrough, users had to allocate some downtime as part of the reorganization process for the reorg product to switch datasets from the old, disorganized copy to the newly reorganized copy. It was a small amount of time, but in environments that required full 24x7 access to [...] 15801 67 19_Automated Utilities14_Jennifer Moody22_jmoody@CDBSOFTWARE.COM31_Thu, 10 May 2001 10:42:49 -0500612_ISO-8859-1 For Immediate Release For Further Information Contact: Jennifer Moody 800-627-6561

CDB Software Takes DB2(R) Utility AutomationTo A New Level

CDB Software, Inc. announces its vision and strategy for automating the operation and management of DB2 objects. CDB's automation solution is one that is integrated into its DB2 utilities offerings and is integral to their operation. It is implemented through an array of strategically placed exits, which are called from within the CDB/Auto-Utilities(R) suite to allow the site to direct and influence the behavior of CDB's DB2 utilities. [...] 15869 97 30_Re: DB2 for OS390 V6 Migration10_Moden, Jim17_jim.moden@EDS.COM31_Thu, 10 May 2001 10:42:01 -0500458_iso-8859-1 Tim:

Did you run reorgs before you ran runstats?

It sounds to me like V6 is not cleaning up all of its internal storage at task termination time. We had a similar problem in V5 and IBM provided a fix to both the operating system(OS/390 2.4 and DB2 to insure that all the insternal storage sub-pools and DB2 TCBs cleaned up and released the resources they used when they were running. The same areas should be looked at for ZOS. [...] 15967 65 49_Re: primary key (1 col) supported by 3 col index?16_Michael McCarthy18_mmccarthy@DTCC.COM31_Thu, 10 May 2001 11:34:30 -0400496_us-ascii Hi Chris,

You did not specify which platform.

On OS/390, a table is marked as incomplete if you define a primary key without a unique index to back it up. If you do not specify a primary key, DB2 has no idea which columns are to be unique. On the distributed side, if you create a table with a primary key, DB2 creates a unique index to back it up. However, on the distributed side, you may create a unique index on one or more columns and INCLUDE non unique columns. [...] 16033 61 34_Reorg for Non-Partitioning Indexes14_Jennifer Moody22_jmoody@CDBSOFTWARE.COM31_Thu, 10 May 2001 10:47:45 -0500567_ISO-8859-1 For Immediate Release For Further Information Contact: Jennifer Moody 800-627-6561

CDB Announces Extremely Fast Non-Partitioning Index Reorg Utility

CDB Software, Inc. announces a new technology called CDB/Auto-Reorg XL(R). CDB/Auto-Reorg XL is an extremely fast index reorganization utility for DB2(R) UDB for OS/390(R) and z/OS(R) platforms. It operates exclusively on non-partitioning indexes defined with multiple pieces, achieving I/O rates of up to 15 cylinders per second, or about 15 times faster than IBM"s Reorg Index utility. [...] 16095 62 40_Advanced Solution for Partitioned Tables14_Jennifer Moody22_jmoody@CDBSOFTWARE.COM31_Thu, 10 May 2001 10:51:16 -0500531_ISO-8859-1 For Immediate Release For Further Information Contact: Jennifer Moody 800-627-6561

CDB Merges DB2(R) Partitioned Tablespaces Technologies into an Advanced Solution

CDB Software, Inc. is combining the packaging of two of their partitioned tablespace management products, making them available as one, high value offering. The two formerly individual offerings are CDB/RePart(R) and CDB/PartRoll. The new offering will be called CDB/RePart and will contain the functionality of both previous offerings. [...] 16158 32 39_Re: Ditching QMF - not if i can help it12_Reid, Louise25_ReidL@CI.FORT-WORTH.TX.US31_Thu, 10 May 2001 10:50:50 -0500425_iso-8859-1 Maybe you aren't using QMF for Windows or a recent version of the green screen QMF- We have over 250 customers trained to use QMF for Windows. They are using it to query the data warehouse. Some of our tables have 23 million rows of data. They also use the plug ins to bring small amounts of data down to Access and Excell. Maybe our advantage is this is not the operational system they are querying against. [...] 16191 27 21_Segmented Tablespaces12_Mark Anzmann24_manzmann@DHR.STATE.MD.US31_Thu, 10 May 2001 10:24:53 -0500380_- Listers-

In our shop, we have 1 table per tablespace, no mass deletes and our tablespaces are either segmented or partitioned.

We were reviewing some performance information and came across a recommendation on segsize (see Application Programming and SQL Guide pg 656). It stated that <= 28 pages should 4 to 28, >28 <128 should be 32 and >=128 should be 64. [...] 16219 12 26_Re: Stumped on access path14_Lisa Ouellette29_Lisa.Ouellette@FIRSTUNION.COM31_Thu, 10 May 2001 10:29:52 -0500430_- But the 3rd column of the non-partitioning index is Low_nbr and I was hoping for a match on it - and I got it in test!!! Just can't seem to get it in prod where the table is partitioned.

================================================ 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. 16232 68 39_Re: DB2 Version 7 Operational Utilities10_Moden, Jim17_jim.moden@EDS.COM31_Thu, 10 May 2001 10:53:17 -0500313_iso-8859-1 If there is a PARM SQL option, then unload will handle joins by writing the SQL to do the join as a select under the SYSTSIN DD. However, run time can and will suffer greatly if you join mult-million row tables and sort them inside an unload utility. CPU utilization also increases significantly. [...] 16301 64 26_db2dari eating the memory.11_Arvind Heda40_arvind_heda@INTERSOLUTIONS.STPN.SOFT.NET31_Thu, 10 May 2001 21:21:09 -0400456_iso-8859-1 hi list members,

I am calling a set of stored procedures repeatedly which in turn calls certain classes, with each successive calls the size of db2dari process increases by an avg of 40 k and it goes on increases always. Also I am facing a problem that very randomly the db2dari process goes nto read memory error (access to 00000004) and dies out. Can anyone suggest the possible cause for these scenario, and where to look for it. [...] 16366 20 34_Re: DB2 V6 reorg w/ discard? OS3909_Jim Ruddy18_jaruddy@US.IBM.COM31_Thu, 10 May 2001 10:55:47 -0500534_- Max,

DISCARD in REORG does not care how your partitioning index is defined.

A simple predicate of PROGR > 1000 should have worked. The correct syntax would be DISCARD FROM TABLE x WHEN ( PROGR > 1000 )

Perhaps you forget the parens.

Jim Ruddy IBM DB2 Development

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 16387 13 39_Re: DB2 Version 7 Operational Utilities9_Jim Ruddy18_jaruddy@US.IBM.COM31_Thu, 10 May 2001 10:57:02 -0500329_- The UNLOAD Utility in V7 does not support joins.

Jim Ruddy IBM DB2 Development

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 16401 41 26_Re: Stumped on access path0_19_mike.holmans@BT.COM31_Thu, 10 May 2001 17:19:49 +0100558_- In that case, the major clue is the difference in clusterratio. The optimizer will see that it will be able to prefetch the data via the perfectly clustered partitioning index, while with the NPI at 72% clustered, it assumes that it will spend a lot of time doing sync I/O. Presumably another difference between test and production is that production is many times bigger. Once the volume reaches a certain level, the benefits accruing from the third column match on the NPI are going to seem less weighty than the disbenefits of death by random I/O. [...] 16443 28 13_AS400 DB2 Sql12_Paul Corbani17_PCorbani@WSGC.COM31_Thu, 10 May 2001 09:31:34 -0700333_- AS400 DB2 Sql -

1. how does someone "select * from multi_member_file". I have found that if you create an alias, you can point it at file (member):

create alias ws_ctf for mmlabctf (ws) Alias WS_CTF created . select * from ws_ctf SELECT statement run complete.

can it be done without creating the alias ? [...] 16472 93 23_FW: Optimize For N Rows17_Polley, Mike (M.)16_mpolley@FORD.COM31_Thu, 10 May 2001 12:52:11 -0400508_iso-8859-1 Hi Endy,

Often times db2 developers think they should optimize for as many rows as their screen or output requires, but this is not true. The clause is for the DB2 optimizer to determine the best access path. Bonnie Baker has an excellent article "Demystifying 'Optimize for N Rows' " on the db2mag.com web site. HTH -----Original Message----- From: Endy Lambey [mailto:endyl@mitrainfosarana.co.id] Sent: Thursday, May 10, 2001 10:28 AM To: DB2-L@RYCI.COM Subject: Optimize For N Rows [...] 16566 35 39_Re: DB2 Version 7 Operational Utilities10_Moden, Jim17_jim.moden@EDS.COM31_Thu, 10 May 2001 11:54:42 -0500433_iso-8859-1 Does the UNLOAD utility in V7 support PARM SQL? Is DSNTIAUL the program that is executed to run an UNLOAD in V7 of DB2? Is IBM still going to distribute DSNTIAUL as a sample program in V7?

Regards, Jim Moden Jim.Moden@eds.com

-----Original Message----- From: Jim Ruddy [mailto:jaruddy@US.IBM.COM] Sent: Thursday, May 10, 2001 10:57 AM To: DB2-L@RYCI.COM Subject: Re: DB2 Version 7 Operational Utilities [...] 16602 46 26_Re: Stumped on access path12_Jim Harrison17_jharrison@GMX.NET31_Thu, 10 May 2001 12:57:56 -0400501_us-ascii Ooops. What I was thinking of were not technically hints and I'm not sure what they're called. I agree, I'd be a little leery of jumping into the real hint mechanism involving the plan table entries.

I just went to a class by Sheryl Larsen and she talked about using NoOps and bogus predicates, but in looking at your SQL statement, I'm not exactly sure how you would implement these. (Everything was sooooooo clear in class, but boy wait a few weeks and it's a different story!) [...] 16649 16 23_Re: v7 copy - stack yes9_Jim Ruddy18_jaruddy@US.IBM.COM31_Thu, 10 May 2001 11:40:13 -0500415_- John,

Make sure you have PQ44494/UQ50308 applied. If you do then please open a problem with the support center.

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

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 16666 23 26_Re: Stumped on access path14_Lisa Ouellette29_Lisa.Ouellette@FIRSTUNION.COM31_Thu, 10 May 2001 11:45:42 -0500345_- I guess I am still a little stumped because there is no prefetch in either access path and once you apply the filter factors the npi is < 1 row.

rows=451183 STP_ORG - asc 3 STP_ACC - asc 41984 STP_LOW_NBR - desc 348160



rows for partitioning index = 451183/(3*41984) =~ 3.6 rows for npi = 451183/(3*41984*300) = 0.01 [...] 16690 14 26_Re: Stumped on access path14_Lisa Ouellette29_lisa.ouellette@FIRSTUNION.COM31_Thu, 10 May 2001 11:48:14 -0500443_- Thanks! Keep me posted on what you find out. I know what you mean by it being so clear until you have a real situation. By the way, I did try optimize for 1 row.... no luck.

Thanks in advance!

================================================ 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. 16705 63 26_Re: Stumped on access path9_Don Alden25_Don.Alden@I-STRUCTURE.COM31_Thu, 10 May 2001 11:16:45 -0600448_iso-8859-1 Howdy All,

Maybe I missed something, but I haven't seen any mention of Number-of-Levels (NLEVELS) and Leaf-Distance (LEAFDIST) whose statistics play a role in Access Path. You might check these stats out.

Best Regards, Don Alden



-----Original Message----- From: mike.holmans@BT.COM [mailto:mike.holmans@BT.COM] Sent: Thursday, May 10, 2001 9:20 AM To: DB2-L@RYCI.COM Subject: Re: Stumped on access path [...] 16769 70 39_Re: DB2 Version 7 Operational Utilities15_Toine Michielse18_vndobtm@US.IBM.COM30_Wed, 9 May 2001 19:23:46 +0200377_us-ascii Hello Jim,

In V7 there will be a new UTILITY called UNLOAD in addition to the SAMPLE dsntiaul. DSNTIAUL is the one that accepts PARM(SQL) just like in previous releases. The unload utility will remind you a little of REORG UNLOAD but has some very nice features such as ability to unload from an image copy and what's even better... very good performance. [...] 16840 89 49_Re: primary key (1 col) supported by 3 col index?5_Chris17_isatcjk@YAHOO.COM31_Thu, 10 May 2001 10:40:51 -0700542_us-ascii Hi Michael, It's on os/390, so I can assume from what you said that the primary key's supporting index must be only the columns specified in the primary key... which is what I figured. Thanks everybody, Chris

--- Michael McCarthy wrote: > Hi Chris, > > You did not specify which platform. > > On OS/390, a table is marked as incomplete if you define a primary key > without a > unique index to back it up. If you do not specify a primary key, DB2 has no > idea which columns are to be unique. On the [...] 16930 19 66_Having 00C900A5 DSNIXWKF Resource not available problem. Any Idea?13_Carlton Enuda24_carltonenuda@HOTMAIL.COM31_Thu, 10 May 2001 13:46:41 -0400 16950 67 70_Re: Having 00C900A5 DSNIXWKF Resource not available problem. Any Idea?19_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Thu, 10 May 2001 13:05:20 -0500583_iso-8859-1 Carlton, these errors are usually caused by huge sorts . . . check out the program . . . you can usually find a way to reduce the rows returned.

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 [...] 17018 41 12_Re: Recovery20_Edward C. Benoit Jr.19_DB2Automate@AOL.COM29_Thu, 10 May 2001 14:06:17 EDT383_US-ASCII Hi Fritz, We have a tool that automate the define/delete for Cat/Dir, BSDS, Active Logs, and User Tablespaces with space allocation for Disaster Recovery so you do not have to do a Dump/Restore for DR Testing. If you are interested in viewing some documentation drop me a note off-list.

Ed DB2 Recovery On-site and Off-site DR http://www.recoveryknowledge.bigstep.com 17060 19 16_inserting qoutes10_Chris Kern23_Chris_Kern@VANGUARD.COM31_Thu, 10 May 2001 14:06:58 -0400399_us-ascii Hey list, How do I insert quotes as part of a text string ex INSERT INTO my_table ( name_col) values ( 'ponce de'leon') ;





TIA

================================================ 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. 17080 12 26_Re: Stumped on access path14_Lisa Ouellette29_Lisa.Ouellette@FIRSTUNION.COM31_Thu, 10 May 2001 12:50:35 -0500423_- Well both indexes in test and production are 3 levels. Did not check out LEAFDIST - didn't think optimizer used it? If it does, do you know how it is used? Thanks in advance, Lisa

================================================ 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. 17093 37 20_Re: inserting qoutes14_Sinha, Abhijit20_Abhijit.Sinha@GS.COM31_Thu, 10 May 2001 14:29:52 -0400408_iso-8859-1 Try:

INSERT INTO my_table ( name_col) values ( 'ponce de''leon') ;

Abhijit

-----Original Message----- From: Chris Kern [mailto:Chris_Kern@VANGUARD.COM] Sent: Thursday, May 10, 2001 2:07 PM To: DB2-L@RYCI.COM Subject: inserting qoutes



Hey list, How do I insert quotes as part of a text string ex INSERT INTO my_table ( name_col) values ( 'ponce de'leon') ; [...] 17131 99 70_Re: Having 00C900A5 DSNIXWKF Resource not available problem. Any Idea?12_Kirk Hampton16_khampto1@TXU.COM31_Thu, 10 May 2001 13:28:32 -0500341_us-ascii Hi Carlton, I am curious about how you "verified" that there was sufficient 4k work space for this program to run. I have been unable to tell how much of our work space is actually being used, but we frequently have similar errors when several tasks are running concurrently, and there is no error when they run one at a time. [...] 17231 33 20_Re: inserting qoutes13_Steven Kinler17_SKinler@VNSNY.ORG31_Thu, 10 May 2001 14:28:32 -0400378_iso-8859-1 INSERT INTO my_table ( name_col) values ( "ponce de'leon") ;



-----Original Message----- From: Chris Kern [SMTP:Chris_Kern@VANGUARD.COM] Sent: Thursday, May 10, 2001 2:07 PM To: DB2-L@RYCI.COM Subject: inserting qoutes

Hey list, How do I insert quotes as part of a text string ex INSERT INTO my_table ( name_col) values ( 'ponce de'leon') ; [...] 17265 75 4_IDUG14_Philip Gunning24_Philip.Gunning@QUEST.COM31_Thu, 10 May 2001 11:36:35 -0700366_- Well, I'll be heading to Orlando tomorrow. If you are attending, don't forget to pick up your DB2-L Listserv ribbon at registration. Although we don't have a specific gathering planned, if enough Listerv ribbon wearers congregate, we can come up with something. If you see a fellow subscriber, make sure you say Hi! I look forward to seeing you at IDUG. Phil [...] 17341 20 30_REQUEST FOR - REXX CAF ROUTINE18_Ghose, Roger (MTO)25_Roger.Ghose@MTO.GOV.ON.CA31_Thu, 10 May 2001 14:28:15 -0400526_iso-8859-1 Hi. Everyone, It will be much appreciated if anybody knows how to use the Call Attach Facility (CAF) in REXX. I would like to pull out the contoken and version id for a particular package name from SYSIBM.SYSPACKAGE using ISPF panels.

Thanks in advance!

Roger

================================================ 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. 17362 37 20_Re: inserting qoutes13_Mohan, Ashish21_Ashish.Mohan@NIKE.COM31_Thu, 10 May 2001 11:39:05 -0700440_iso-8859-1 Use two quotes for every one quote you want. INSERT INTO my_table ( name_col) values ( 'ponce de''leon') ;

Thanks. Ashish.

-----Original Message----- From: Chris Kern [SMTP:Chris_Kern@VANGUARD.COM] Sent: Thursday, May 10, 2001 11:07 AM To: DB2-L@RYCI.COM Subject: inserting qoutes

Hey list, How do I insert quotes as part of a text string ex INSERT INTO my_table ( name_col) values ( 'ponce de'leon') ; [...] 17400 39 13_Querying data18_Whittaker, Stephen29_stephen.whittaker@PGNMAIL.COM31_Thu, 10 May 2001 14:42:36 -0400632_iso-8859-1 Is there any way to concatenate the description data from these 2 columns into one string? AR GEN DESCRIPTION

NUMBER ARG NOTES

-------- ------ ----------------------------------------------------------- 00000010 10000 WHIF - WHAT, WHEN, WHERE, WHO, WHY HOW/IMMEDIATE ACTIONS/FU 00000010 20000 TURE ACTIONS:

I'm pulling the data from 1 table using QMF and the 'where' clause is based on the AR_Number. Just wondering if there's a way to string that 'description notes' column out so that the text can be read on 1 line. Any thoughts or suggestions?? (we're on DB2 V5 OS/390). Thanks: --Steve.... [...] 17440 177 39_Re: DB2 Version 7 Operational Utilities13_Burgess Evans27_BMEVANS@AUDITOR.STATE.OH.US31_Thu, 10 May 2001 14:43:57 -0400530_US-ASCII Hi Toine,

Is this Unload Utility the same as the DB2 Fast Unload Utility?

Burgess Evans

>>> vndobtm@US.IBM.COM 05/09/01 01:23PM >>> Hello Jim,

In V7 there will be a new UTILITY called UNLOAD in addition to the SAMPLE dsntiaul. DSNTIAUL is the one that accepts PARM(SQL) just like in previous releases. The unload utility will remind you a little of REORG UNLOAD but has some very nice features such as ability to unload from an image copy and what's even better... very good performance. [...] 17618 52 20_Re: inserting qoutes19_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Thu, 10 May 2001 13:51:51 -0500611_iso-8859-1 Hi Chris, In SPUFI I've done this by doubling up on the quotes. I believe they call it an escape character:

INSERT INTO my_table ( name_col) values ( 'ponce de''leon') ;



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 [...] 17671 44 15_Job Opportunity10_Fred Edgar22_fred_edgar@HOTMAIL.COM31_Thu, 10 May 2001 13:41:12 -0500545_- Greetings,

We have an opening in our DBA/CICS group. We support: - DB2 on OS/390 - CICS on OS/390 - UDB on NT, AIX and OS/400 - SQL Server - 3rd party products to support products above

We are looking for someone that can bring significant experience in at least one of these areas. There are 7 people in our group and most of us specialize in one or two areas and learn what we can in the others. We do the installs and maintenance for these products on OS/390, and the administration for the databases on all 4 platforms. [...] 17716 61 17_Re: Querying data13_Mohan, Ashish21_Ashish.Mohan@NIKE.COM31_Thu, 10 May 2001 11:53:10 -0700586_iso-8859-1 DIGITS(AR_NUMBER) COCAT GEN_ARG CONCAT....

Thanks. Ashish.

-----Original Message----- From: Whittaker, Stephen [SMTP:stephen.whittaker@PGNMAIL.COM] Sent: Thursday, May 10, 2001 11:43 AM To: DB2-L@RYCI.COM Subject: Querying data

Is there any way to concatenate the description data from these 2 columns into one string? AR GEN DESCRIPTION

NUMBER ARG NOTES

-------- ------ ----------------------------------------------------------- 00000010 10000 WHIF - WHAT, WHEN, WHERE, WHO, WHY HOW/IMMEDIATE ACTIONS/FU 00000010 20000 TURE ACTIONS: [...] 17778 38 26_Re: Stumped on access path9_Don Alden25_Don.Alden@I-STRUCTURE.COM31_Thu, 10 May 2001 13:09:51 -0600651_iso-8859-1 Lisa,

LEAFDIST optimization is critical to the INDEX access path. Check the explanation from the following DB2 manual.



http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dsnag0f6/5.9.6.3. 1#HDRHOWLEAF

Good Luck, Don

-----Original Message----- From: Lisa Ouellette [mailto:Lisa.Ouellette@FIRSTUNION.COM] Sent: Thursday, May 10, 2001 10:51 AM To: DB2-L@RYCI.COM Subject: Re: Stumped on access path



Well both indexes in test and production are 3 levels. Did not check out LEAFDIST - didn't think optimizer used it? If it does, do you know how it is used? Thanks in advance, Lisa [...] 17817 105 26_Re: Stumped on access path13_Terry Purcell25_Terry_Purcell@YLASSOC.COM31_Thu, 10 May 2001 14:05:38 -0500424_us-ascii Jim,

NoOp was introduced in V5 and bogus predicates have always been around, so none of these techniques are specific to V6. Also, NoOp is not a very good technique, it disables indexability and maintains stage 1, but does little to the filter factor and provides performance comparable to a stage 2 predicate. Michael Hannan did some good testing on this a few years back when it was introduced in V5. [...] 17923 89 17_Re: Querying data12_Kirk Hampton16_khampto1@TXU.COM31_Thu, 10 May 2001 14:13:29 -0500299_us-ascii What Steve is asking is to concatenate the description column from two separate rows into one string. I believe this is not possible in any SQL construct. QMF's form logic works row-by-row, and I have never seen any tool that will function across rows other than SUM or AVG functions. [...] 18013 90 26_Re: Stumped on access path15_Tonmoy Dasgupta32_tonmoy.dasgupta@MAIL.STATE.AR.US31_Thu, 10 May 2001 14:19:40 -0500593_iso-8859-1 What are the cluster ratios of the indexes in test? is one of the indexes clustering (I would think the one corresponding to the partitioning index in test) ?

-----Original Message----- From: Lisa Ouellette [mailto:Lisa.Ouellette@FIRSTUNION.COM] Sent: Thursday, May 10, 2001 7:38 AM To: DB2-L@RYCI.COM Subject: Stumped on access path



Help! I have an SQL statement that I can't get to take the access path I want. Here it is - an existence check (is there a stop on the check I am about to cash? - stops are done in ranges - like you lost your checkbook): [...] 18104 123 34_Re: Subselect and correlation name13_Terry Purcell25_Terry_Purcell@YLASSOC.COM31_Thu, 10 May 2001 14:17:05 -0500453_iso-8859-1 Kathrin,

Answers to your questions (not real good though):

1. This is not new to V6, V5 also required a correlation name for nested table expressions. Reason: Basically it is the syntax. The reason I can think of is generally to avoid any column ambiguity. There are probably others.

2. There are a number of errors in the manuals. You could always try your local IBM rep or wait for someone from IBM to read these. [...] 18228 207 23_Re: Optimize For N Rows13_Terry Purcell25_Terry_Purcell@YLASSOC.COM31_Thu, 10 May 2001 14:26:07 -0500550_iso-8859-1 Endy,

Based on the catalog stats the optimizer determines how many rows will be returned from the query, for example; 1 million rows.

If you code OPTIMIZE FOR 100 ROWS, the optimizer replaces the value 1 million with 100; and does it's access path analysis based on the value of the OPTIMIZE clause rather than the calculated value. OPTIMIZE FOR 1 ROW is a special case whereby the optimizer will try to select an access path which avoids a sort (if possible), regardless of whether this is the lowest cost path or not. [...] 18436 25 26_Re: Stumped on access path12_Jim Harrison17_jharrison@GMX.NET31_Thu, 10 May 2001 15:41:18 -0400574_us-ascii Jeesh.... these were some well hidden secrets. Thanks to the previous poster in the leaf distribution discussion.

This section discusses influencing access path selection although it doesn't use the same terms Sheryl did: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dsnag0f6/5.8.5

At 11:48 AM 05/10/2001 -0500, Lisa Ouellette said: >Thanks! Keep me posted on what you find out. I know what you mean by it >being so clear until you have a real situation. By the way, I did try >optimize for 1 row.... no luck. > >Thanks in advance! [...] 18462 48 18_Row level security8_MSherman16_MSherman@PEC.COM31_Thu, 10 May 2001 15:42:54 -0400106_- Does DB2 have row level security?

Mike Sherman PEC Solutions, Inc. Development Operations

18511 36 21_DB2 Stored Procedures15_Morris, Deborah20_DMorris@UNCH.UNC.EDU31_Thu, 10 May 2001 16:07:40 -0400367_iso-8859-1 I have developed Cobol batch Stored procedures that work with DB2 Version 6 Work Load Manager. These stored procedures access non DB2 files (vsam and vsam like file types). The way that these stored procedures access the data in these files is through the WLM stored procedure address space proc allocation of the files with a share file disposition. [...] 18548 32 26_Re: Stumped on access path12_Jim Harrison17_jharrison@GMX.NET31_Thu, 10 May 2001 16:00:33 -0400390_us-ascii Yeah, I just discovered that when I finally tracked down the documentation a few minutes ago. Both techniques were new to me and my co-workers. Just when you think you are getting a handle on this stuff, you find out how much you really don't know . Which is why I keep going back to the classroom to find out more of what I don't know (and then, eventually forget again). [...] 18581 72 25_Re: Segmented Tablespaces64_Todd Burch *****************************************************22_tburch@CDBSOFTWARE.COM31_Thu, 10 May 2001 15:01:53 -0500501_ISO-8859-1 Mark, I would go with segmented tablespaces over simple, even if you do have only 1 table per tablespace and you never do mass deletes.

The space map pages in a segmented tablespace have much more information in them than do the space map pages for simple tablespaces. The space information in the segmented space map pages is used by DB2 to determine how much space is available in a given page when DB2 needs to insert new rows. The more information, the better the decision. [...] 18654 29 22_Re: Row level security13_Mohan, Ashish21_Ashish.Mohan@NIKE.COM31_Thu, 10 May 2001 13:01:08 -0700579_us-ascii Views are exactly meant to do that.

Thanks. Ashish.

-----Original Message----- From: MSherman [SMTP:MSherman@PEC.COM] Sent: Thursday, May 10, 2001 12:43 PM To: DB2-L@RYCI.COM Subject: Row level security

Does DB2 have row level security?

Mike Sherman PEC Solutions, Inc. Development Operations



================================================ 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. 18684 84 22_Re: Row level security15_Billings, Linda30_linda.billings@DOA.STATE.WI.US31_Thu, 10 May 2001 15:02:57 -0500419_ISO-8859-1 Off the top of my head I think that you could define a view on the table that would restrict a user to a certain set of rows based on a where clause. Then give your user access only to that view and not the table.

Linda Billings Enterprise Systems Programmer State of Wisconsin Department of Administration Info-Tech Services "We have met the enemy and he is us." - Walt Kelly "Pogo Comic Strip" [...] 18769 225 39_Re: DB2 Version 7 Operational Utilities11_Kwan, James18_James_Kwan@BMC.COM31_Thu, 10 May 2001 15:08:17 -0500481_iso-8859-1 I think Unload Utility is different from DB2 Fast Unload Utility. Unload Utility for V7 is based on REORG UNLOAD ONLY and DB2 Fast Unload is Infotel's Unload. Are they going to sell both of them? This will be an interesting question for Jim Ruddy.



James

-----Original Message----- From: Burgess Evans [mailto:BMEVANS@AUDITOR.STATE.OH.US] Sent: Thursday, May 10, 2001 1:44 PM To: DB2-L@RYCI.COM Subject: Re: DB2 Version 7 Operational Utilities [...] 18995 47 22_Re: Row level security0_22_BILL_GALLAGHER@PHL.COM31_Thu, 10 May 2001 16:12:17 -0400690_us-ascii Only through the use of views.







MSherman cc: Sent by: DB2 Subject: Row level security Data Base Discussion List



05/10/01 03:42 PM Please respond to DB2 Data Base Discussion List















Does DB2 have row level security?

Mike Sherman PEC Solutions, Inc. Development Operations

================================================ 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. 19043 145 17_Re: Querying data13_Terry Purcell23_purcell_terry@YAHOO.COM31_Thu, 10 May 2001 13:05:10 -0700645_us-ascii Stephen,

SELECT AR_NUMBER, COALESCE(MAX(CASE WHEN GEN_ARG = 1000 THEN DESCRIPTION END), ' ') CONCAT COALESCE(MAX(CASE WHEN GEN_ARG = 1000 THEN DESCRIPTION END), ' ') FROM TABLE GROUP BY AR_NUMBER

Haven't tested the syntax but the logic is sound. Uses table pivoting.

Regards Terry Purcell Yevich Lawson & Associates www.ylassoc.com --- Kirk Hampton wrote: > What Steve is asking is to concatenate the > description column from > two separate rows into one string. I believe this > is not possible in any SQL > construct. QMF's form logic works row-by-row, and > I have never seen > any tool [...] 19189 29 49_Dynamic SQL FETCH and INSERT using SQLDA in COBOL12_Gregg Sawyer26_gregg.a.sawyer@VERIZON.COM31_Thu, 10 May 2001 16:37:23 -0400347_us-ascii Folks, Trying a new technique here, and wondered if anyone on the list can share their experience.

Basically, I want to use dynamic SQL to FETCH (from a varying-list cursor), and then use the resulting SQLDA as input to an INSERT; the complication is that I want to extend the SQLDA to add a couple of columns for the INSERT. [...] 19219 132 39_Re: DB2 Version 7 Operational Utilities15_Toine Michielse18_vndobtm@US.IBM.COM30_Wed, 9 May 2001 22:55:50 +0200586_iso-8859-1 Hello Burgess,

No it's not the same...... This our own utility. Based on REORG UNLOAD.

Regards,

Toine Michielse





Burgess Evans @RYCI.COM> on 05/10/2001 08:43:57 PM

Please respond to DB2 Data Base Discussion List

Sent by: DB2 Data Base Discussion List



To: DB2-L@RYCI.COM cc: Subject: Re: DB2 Version 7 Operational Utilities







Hi Toine,

Is this Unload Utility the same as the DB2 Fast Unload Utility? [...] 19352 78 34_Re: REQUEST FOR - REXX CAF ROUTINE64_Todd Burch *****************************************************22_tburch@CDBSOFTWARE.COM31_Thu, 10 May 2001 16:05:52 -0500380_ISO-8859-1 Roger, it's not that simple.

The Call Attach Facility merely allows you to attach to DB2 from a TSO or batch address space (and perhaps others...) It is not a SPUFI/QMF type of processor that will allow you to simply pass an SQL statement to DB2, like what appears to happen with SPUFI and QMF and other interactive applciations that accept SQL statements. [...] 19431 116 60_Re: Followup..Having 00C900A5 DSNIXWKF problem ... Any Idea?13_Carlton Enuda24_carltonenuda@HOTMAIL.COM31_Thu, 10 May 2001 17:08:02 -0400 19548 70 25_Re: DB2 Stored Procedures12_Kirk Hampton16_khampto1@TXU.COM31_Thu, 10 May 2001 16:05:15 -0500575_us-ascii I have not tried any stored procedures using non-DB2 files, but I can suggest a couple of things to try. One would be to issue a -STOP PROCEDURE(proc-name) for your stored procedure, and see if that causes the file to get closed in the WLM region, but I doubt that it will. The other would be, put this stored procedure into a WLM environment by itself, so that it is the only thing running in that WLM stored procedure addres space which has the non-DB2 file allocated. Then, issue a V WLM,APPLENV=wlmenvir,QUIESCE console command, that will shut down the WLM [...] 19619 31 20_Max number of unions0_26_Steve.Westfall@EQUIFAX.COM31_Thu, 10 May 2001 16:17:43 -0500284_us-ascii I have a number of tables of identical layout, and I would like to create a view that unions them all together, giving the users the appearance of being one table. What is the maximum number of unions that I can include in this view? We are using DB2 UDB 7.1 under AIX. [...] 19651 50 44_Max number of unions (and where documented)?0_26_Steve.Westfall@EQUIFAX.COM31_Thu, 10 May 2001 16:20:00 -0500391_us-ascii I should add that have already spent a good deal of time searching DB2 documentation looking for this, so if you can also tell me where they have hidden it, that would be appreciated too!

SW ----- Forwarded by Steve Westfall/KnowledgeEng/Equifax on 05/10/2001 04:18 PM -----

Steve Westfall To: DB2-L@RYCI.COM cc: 05/10/2001 Subject: Max number of unions 04:17 PM [...] 19702 56 39_Re: DB2 Version 7 Operational Utilities64_Todd Burch *****************************************************22_tburch@CDBSOFTWARE.COM31_Thu, 10 May 2001 16:29:39 -0500338_ISO-8859-1 Tione,

Will there be some kind of positioning information or suggestions for which Unload tool(s) to use available for which IBM Unload offering should be used in any given situation? With V7, we now have 4 (four) Unload options:

1) DSNTIAUL 2) REORG UNLOAD ONLY 3) High Performance Unload 4) Unload Utility [...] 19759 81 40_Re: Dynamic SQL FETCH and INSERT using S64_Todd Burch *****************************************************22_tburch@CDBSOFTWARE.COM31_Thu, 10 May 2001 16:40:52 -0500565_ISO-8859-1 Hi Gregg,

I have written LOTS of dynamic SQL programs, and although I have never actually used this technique, surely it can be done.

When FETHCING, you provide the SQLDA and use FETCH USING DESCRIPTOR syntax. When you initially build the SQLDA, prior to the FETCH, make it large enough to hold the extra columns (repeating sections) at the end, but set the counts (SQLN and SQLD?) to the value for the FETCH. (If you wanted, you could also use two different SQLDAs, and copy the FETCH descriptor into the EXECUTE (INSERT) descriptor) [...] 19841 63 83_Re: SQL challenge - is there a faster way to invoke break logic ( thereshould be!!)18_Bruce W Williamson26_Bruce.Williamson@NT.GOV.AU31_Fri, 11 May 2001 07:14:24 +0930496_us-ascii Howzit Terry?

Thanks for the info. Has this always been the case? If not, in which version of DB2 was it introduced?

Cheers Bruce Williamson

DB2 Database Administrator DCIS NT Government Darwin NT 0800 Australia









Terry Purcell @RYCI.COM> on 10/05/2001 09:49:34

Please respond to DB2 Data Base Discussion List

Sent by: DB2 Data Base Discussion List [...] 19905 40 39_IDUG 2001 - May 13-17, Orlando, FL, USA15_Kellie Wiginton16_kwig37@YAHOO.COM31_Thu, 10 May 2001 15:09:11 -0700642_us-ascii =================== International DB2 Users Group (IDUG) 2001 - North America May 13-17, 2001 - Orlando, Florida, USA

IDUG 2001 - North America, the premier user-run event dedicated to IBM's industry-leading DB2 Universal Database (DB2 UDB), is the place to gain valuable information on this powerful database engine.

Listen to IBM DB2 Development Experts from the IBM Silicon Valley Lab to the IBM Toronto Lab discuss the role of DB2 in e-business, OS/390, and DB2 applications. Get free DB2 Certification testing for both DB2 UDB for UNIX, Windows, OS/2, and for the fist time in North America, test for DB2 UDB [...] 19946 72 48_Re: Max number of unions (and where documented)?11_Robert Jans26_robert_jans@ALBERTSONS.COM31_Thu, 10 May 2001 15:22:11 -0700489_iso-8859-1 The max number of base tables in a view is 225. This depends on a number of variables. The safe number is 15. It's documented in the SQL Reference, Appendix A, DB2 V6.1..........



Robert Jans Albertsons, Inc.



-----Original Message----- From: Steve.Westfall@EQUIFAX.COM [mailto:Steve.Westfall@EQUIFAX.COM] Sent: Thursday, May 10, 2001 3:20 PM To: DB2-L@RYCI.COM Subject: Max number of unions (and where documented)? [...] 20019 78 48_Re: Max number of unions (and where documented)?13_Terry Purcell25_Terry_Purcell@YLASSOC.COM31_Thu, 10 May 2001 17:17:52 -0500374_us-ascii Steve,

On non-OS/390 the maximum number of UNIONs is limited by system resources and a maximum length of 64K for the entire SQL statement.

Although it does not specifically state UNIONs, the maximum number of tables and length is listed in Appendix A of the SQL Reference Guide.

Regards Terry Purcell Yevich Lawson & Assoc www.ylassoc.com [...] 20098 177 17_Re: Querying data13_Terry Purcell25_Terry_Purcell@YLASSOC.COM31_Thu, 10 May 2001 17:46:55 -0500365_us-ascii That should have read.......

SELECT AR_NUMBER, COALESCE(MAX(CASE WHEN GEN_ARG = 1000 THEN DESCRIPTION END), ' ') CONCAT COALESCE(MAX(CASE WHEN GEN_ARG = 2000 THEN DESCRIPTION END), ' ') FROM TABLE GROUP BY AR_NUMBER

This will take the descriptions from the two lines and put them onto one. Use of RTRIM to remove spaces etc if required. [...] 20276 89 83_Re: SQL challenge - is there a faster way to invoke break logic ( thereshould be!!)13_Terry Purcell25_Terry_Purcell@YLASSOC.COM31_Thu, 10 May 2001 17:46:57 -0500413_us-ascii Bruce,

Not sure exactly, I first found this in V5.

Regards Terry Purcell Yevich Lawson & Assoc www.ylassoc.com

-----Original Message----- From: DB2 Data Base Discussion List [mailto:DB2-L@RYCI.COM]On Behalf Of Bruce W Williamson Sent: Thursday, May 10, 2001 4:44 PM To: DB2-L@RYCI.COM Subject: Re: SQL challenge - is there a faster way to invoke break logic ( thereshould be!!) [...] 20366 52 26_Re: Stumped on access path13_Terry Purcell25_Terry_Purcell@YLASSOC.COM31_Thu, 10 May 2001 17:56:07 -0500508_us-ascii Jim,

They're not very secret if they are published in the manuals. Sheryl is only presenting what is in the manuals.

There are many more tricks available which are more effective than those documented.

Regards Terry Purcell Yevich Lawson & Assoc www.ylassoc.com

-----Original Message----- From: DB2 Data Base Discussion List [mailto:DB2-L@RYCI.COM]On Behalf Of Jim Harrison Sent: Thursday, May 10, 2001 2:41 PM To: DB2-L@RYCI.COM Subject: Re: Stumped on access path [...] 20419 104 39_Re: DB2 Version 7 Operational Utilities15_Toine Michielse18_vndobtm@US.IBM.COM31_Thu, 10 May 2001 01:10:21 +0200576_us-ascii Hello Todd,

I give you my best shot....

I see the V7 unload UTILITY as a replacement for the REORG UNLOAD function even though the UNLOAD function will still be there in V7 of course. The UNLOAD utility is much more versatile and it reasonable to expect that enhancements to the unload functionality will be in the unload utility and not in the UNLOAD option of the REORG utility. If you have complex SQL that you want to unload, DSNTIAUL will be the only option but remember that DSNTIAUL is just regular SQL and so for simple unloads (those that [...] 20524 23 17_Re: Querying data10_Rob Wright17_rwright@LIC.CO.NZ31_Fri, 11 May 2001 11:33:29 +1200461_us-ascii I think a JOIN of the table onto itself would mean you don't need to depend on GEN_ARG being 1000/2000. This will work if you only have 2 lines for each description and assuming that the gen_arg value is lowest to highest for start-of-string to end-of-string respectively.

select a.ar_number, strip(a.description_notes) concat ' ' concat strip(b.description_notes) from table a,table b where a.ar_number=b.ar_number and a.gen_arg
I don't have the APAR number handy, but the PTF for Version 6 is UQ52319. The PTF was not a direct hit on IBMLINK, but when IBM reviewed the dump this was the recommended fix. We received several variations of the error message (00E40210, 00E40206, etc) depending on the format of the RUNSTATS utility statement. After applying the PTF we have not received any further occurrences of this abend. [...] 20705 35 30_Re: db2dari eating the memory.14_Sinha, Abhijit20_Abhijit.Sinha@GS.COM31_Thu, 10 May 2001 19:50:30 -0400709_iso-8859-1 Just a guess.. try tweaking the database configuration parameters like: KEEPDARI & MAXDARI. Refer to Chapter 32 in Administration Guide.

Abhijit

-----Original Message----- From: Arvind Heda [mailto:arvind_heda@INTERSOLUTIONS.STPN.SOFT.NET] Sent: Thursday, May 10, 2001 9:21 PM To: DB2-L@RYCI.COM Subject: db2dari eating the memory.



hi list members,

I am calling a set of stored procedures repeatedly which in turn calls certain classes, with each successive calls the size of db2dari process increases by an avg of 40 k and it goes on increases always. Also I am facing a problem that very randomly the db2dari process goes nto read memory error (access to [...] 20741 89 48_Re: Max number of unions (and where documented)?15_Bell, Raymond W31_Raymond.W.Bell@TEAM.TELSTRA.COM31_Fri, 11 May 2001 10:00:01 +1000417_- Hi Steve,

Not answering your question here, but might be interesting for you. I recently wanted to do something similar i.e. have 9 identical tables somehow 'joined' together. The union thing sprang to mind but I couldn't deal with the potentially ugly query response times that I thought it would produce. In my case I would be effectively running 9 separate queries for each individual select issued. [...] 20831 92 63_Re: FW: [DB2-L] SQL to List off latest image copy dataset names14_James Campbell25_jacampbell@ACSLINK.NET.AU31_Thu, 10 May 2001 20:36:56 -0500530_- Since the output is going to a REXX program, why don't you just grab everything off SYSCOPY (ORDER BY DBNAME, TSNAME, DSNUM, "TIMESTAMP" DESC), pass that to your REXX, and let the REXX program extract the required stuff. It could, for example: - find the latest ICTYPE = 'Q' - if you want the latest quiesce point - note that if it finds an ICTYPE IN ('S', 'W', 'Y') before an 'F', then the TS is unrecoverable (unless the ts has not been modified since the utility - in which case an alternative path can be used) - if it [...] 20924 26 20_Buffer pool question10_Radha Rani24_radha_rani@ALTAVISTA.COM31_Thu, 10 May 2001 19:30:21 -0700337_- Hi !

I have a bufferpool question. Let us say a virtual bufferpool has a hiperpool associated with it. A getpage request is received by buffer manager. Buffer manager performs look-up for that page and that page is not found in the Virtual buffer pool or hiperpool. So, it performs an I/O to fetch that page from the disk. [...] 20951 92 12_Re: Triggers14_James Campbell25_jacampbell@ACSLINK.NET.AU31_Thu, 10 May 2001 21:30:27 -0500370_- The SP could also set an error SQLSTATE and message, which will be returned in the SQLCA. You still get the SQLCODE=-723, but the tokens in SQLERRM now refer to the SQLCODE=-443 from invoking the SP. BE CAREFULL about your SP names. SQLERRMC is 70 bytes long. If you use an 18 byte SP name, you will get only 17 bytes of message text back to the calling program. [...] 21044 128 12_Re: Triggers8_LAM, Leo17_l.lam@IOOF.COM.AU31_Fri, 11 May 2001 13:10:10 +1000396_iso-8859-1 James,

We are interested in this area as well. Could you explain the way/command to set the SQLSTATE in a SP. I'm also wondering how to check the returned SQLSTATE in a trigger. Thanks for you help.

Leo

-----Original Message----- From: James Campbell [mailto:jacampbell@ACSLINK.NET.AU] Sent: Friday, 11 May 2001 12:30 To: DB2-L@RYCI.COM Subject: Re: Triggers [...] 21173 51 20_Re: inserting qoutes16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Fri, 11 May 2001 09:46:04 +0530608_- I think the precompiler option will also need to be changed if this is an embedded SQL.

Regards Sanjeev

> -----Original Message----- > From: Steven Kinler [SMTP:SKinler@VNSNY.ORG] > Sent: Thursday, May 10, 2001 11:59 PM > To: DB2-L@RYCI.COM > Subject: Re: inserting qoutes > > INSERT INTO my_table ( name_col) values ( "ponce de'leon") ; > > > -----Original Message----- > From: Chris Kern [SMTP:Chris_Kern@VANGUARD.COM] > Sent: Thursday, May 10, 2001 2:07 PM > To: DB2-L@RYCI.COM > Subject: inserting qoutes > > Hey list, > How do I insert quotes as part of a text string > ex > INSERT [...] 21225 140 34_Re: Subselect and correlation name16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Fri, 11 May 2001 10:20:03 +0530389_iso-8859-1 Kathrin,

You went quite in-depth in your analysis and hence the discussion should open now.

Regarding the need of correlation name, if i recall correctly, it was required in V5 also(I may be recalling wrong, i can't check this now by falling back). In general, as mentioned in the manual it is used to avoid ambiguity and to establish a correlated reference. [...] 21366 104 41_Re: -805 after migration to DB2 Version 637_=?iso-8859-1?Q?=C4rlebrandt_Michael?=28_Michael.Arlebrandt@VOLVO.COM31_Fri, 11 May 2001 06:54:48 +0200468_iso-8859-1 Hi,

It could maybe be to this new V6 parameter DBPROTCL=DRDA or LOCAL which can be set to a default value in the DB2 startup paramater ZPARM.

If it is has been set to DRDA it means that if you have applications using DDF with three-part-names you need a package bound also at the remote location. Note the parameter in ZPARM is the default value when option DBPROTOCOL BIND is not explicity specified for the bind of a plan or a package. [...] 21471 57 25_Re: What causes 00C200FA?16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Fri, 11 May 2001 10:59:57 +0530309_iso-8859-1 The problem is of the physical open/close. Have a look if this dataset is used by other process outside of DB2. Because if it was opened by DB2, it would have its internal concurrency mechanism to take the exclusive use of dataset. It looks someone outside DB2 is working on this exclusively. [...] 21529 23 34_Re: REQUEST FOR - REXX CAF ROUTINE10_Max Scarpa16_mscarpa@CESVE.IT31_Fri, 11 May 2001 08:25:37 +0200485_us-ascii Hi Roger

I post in DB2-L documents a REXX exec with CAF (DSNALI) call to connect to a DB2 subsys to use IFI.

Tale a look if this 'inutility' may be useful.

Regards

Max Scarpa

DB2 sysprog (believe it)

================================================ 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. 21553 41 34_Re: DB2 V6 reorg w/ discard? OS39010_Max Scarpa16_mscarpa@CESVE.IT31_Fri, 11 May 2001 09:03:16 +0200337_us-ascii Hi Jim and many thanks for your reply

I tried with parens, apostrophes and other tricks but nope, nada, Nix Vaporub. And I didn't not understand why

the statement :

WHEN PROG > 100

didn't work, even with parents; but when I added :

WHEN BANK = xxx AND PROG > 100 (same syntax) it worked. [...] 21595 34 44_NT, AIX/UDB-7.1/Java-UDB connection problem.15_Agarwal, Ashish28_Ashish.Agarwal@HPSGLOBAL.COM31_Fri, 11 May 2001 14:42:02 +0530579_- Hi all, We have an AIX server at which we have installed UDB-7.1 enterprize edition.( Note that while installing UDB, it asks for what all s/w to be installed, namely, Enterprize Edition, Application Development and Administration Client). Further we have an NT client where we have installed UDB-7.1 Administrative Client only. Now the problem is when we run a java program and try to connect to the server, the drivers get loaded but no connection is made to the server. The error message is : " No suitable driver found" Now my question is why is this error coming. Do [...] 21630 20 14_Data Migration12_alex adebayo15_bayo9@YAHOO.COM31_Fri, 11 May 2001 02:54:11 -0700560_us-ascii We trying to migrate data from sybase to db2, what is the best way to do this. and can someone point me to some documentations on how it's done. Thanks

__________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.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. 21651 32 18_Re: Data Migration11_David Hayes28_Dave.Hayes@MORGANSTANLEY.COM31_Fri, 11 May 2001 11:36:04 +0100681_us-ascii Alex

There is an IBM Redbook called DB2 UDB V7.1 Porting Guide (SG24-6128-00) which may help. Regards Dave Hayes

alex adebayo wrote:

> We trying to migrate data from sybase to db2, what is > the best way to do this. and can someone point me to > some documentations on how it's done. Thanks > > __________________________________________________ > Do You Yahoo!? > Yahoo! Auctions - buy the things you want at great prices > http://auctions.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 [...] 21684 86 25_Re: Segmented Tablespaces12_Mark Anzmann24_MAnzmann@DHR.STATE.MD.US31_Fri, 11 May 2001 07:30:28 -0400624_US-ASCII Todd-

Thanks for the response!

Mark Anzmann Database Administration DHRIS Program Team Accenture

>>> tburch@CDBSOFTWARE.COM 05/10 4:01 PM >>> Mark, I would go with segmented tablespaces over simple, even if you do have only 1 table per tablespace and you never do mass deletes.

The space map pages in a segmented tablespace have much more information in them than do the space map pages for simple tablespaces. The space information in the segmented space map pages is used by DB2 to determine how much space is available in a given page when DB2 needs to insert new rows. The more [...] 21771 49 24_Re: Buffer pool question11_Mike Turner29_Michael_Turner@COMPUSERVE.COM31_Fri, 11 May 2001 07:55:07 -0400368_ISO-8859-1 Radha

In the case you describe, the page in the VBP buffer that is about to be overwritten will first be migrated to the HP. However, there is a HP Migration Task that kicks off whenever the number of empty buffers in the VBP drops below a threshold. It moves pages to the HP asynchronously, trying to always keep some empty buffers in the VBP. [...] 21821 54 25_Re: DB2 Stored Procedures11_Hayden, Lee18_Lee_Hayden@CSX.COM31_Fri, 11 May 2001 08:13:07 -0400442_iso-8859-1 There is sample code out in the DB2L Documents Archive for Dynamic Allocation. See March 2000 at http://jupiter.ryci.com/archives/db2-l-documents.html

On a side note about Stored Procedures and non-DB2 resources. Many of the nifty features we have gotten used to are simply not there. We should realize that this process is in it's infancy and will have to mature if we need it to behave like perhaps.... CICS..... ;-) [...] 21876 93 26_Re: Stumped on access path18_Robert Grzegorczyk26_rgrzegorczyk@SPINET.COM.PL31_Fri, 11 May 2001 14:03:41 +0100616_windows-1250 If You have vesion 6, you can enforce access path by update PLANTABLE and then bind program using updated plantable. regards, Robert

----- Original Message ----- From: "Lisa Ouellette" Newsgroups: bit.listserv.db2-l To: Sent: Thursday, May 10, 2001 1:38 PM Subject: Stumped on access path



> Help! I have an SQL statement that I can't get to take the access path I > want. Here it is - an existence check (is there a stop on the check I am > about to cash? - stops are done in ranges - like you lost your checkbook): > > SELECT [...] 21970 103 26_Re: Stumped on access path14_Lisa Ouellette29_Lisa.Ouellette@FIRSTUNION.COM31_Fri, 11 May 2001 07:01:02 -0500679_- The test and prod cluster ratios are exactly the same. 100% for partitioning index, 72% on non-partitioning index.

Thanks!

On Thu, 10 May 2001 14:19:40 -0500, Tonmoy Dasgupta wrote:

>What are the cluster ratios of the indexes in test? is one of the indexes >clustering (I would think the one corresponding to the partitioning index in >test) ? > >-----Original Message----- >From: Lisa Ouellette [mailto:Lisa.Ouellette@FIRSTUNION.COM] >Sent: Thursday, May 10, 2001 7:38 AM >To: DB2-L@RYCI.COM >Subject: Stumped on access path > > >Help! I have an SQL statement that I can't get to take the access path I >want. Here [...] 22074 61 25_Re: Segmented Tablespaces15_Lankester, Andy22_Andy_Lankester@BMC.COM31_Fri, 11 May 2001 07:19:41 -0500570_iso-8859-1 There are two possible cases for using simple tablespaces:

1) The data is always LOADed and never has inserts/deletes or updates that could change the length of the row. In this case the space overhead is slightly lower.

2) You have 'hierarchical' data (e.g. Orders/Order Items, Accounts/Transactions) where you usually want to retrieve both using a join. If you load the data in hierarchical sequence the detail rows will follow the 'header' rows and so you will save IOs. However the IBM Reorg will not re-establish the correct sequence. [...] 22136 29 16_DB2-jdbc problem13_Arora, Ashish26_ashish.arora@HPSGLOBAL.COM31_Fri, 11 May 2001 17:56:34 +0530405_- Hi All, I have a database on DB2,7.1 Enterprise edition installed on AIX 4.3.3. I want to run a java application(on the same machine) which connects to the database, using jdbc. Whenever I run this application I get the following error:

"ERROR ALLOCATING DB2 ENVIRONMENT HANDLE , rc=db2jdbc", while creating a connection with database. I'm using "COM.ibm.db2.jdbc.app.DB2Driver" as drivers. [...] 22166 28 20_Fetch First in UDB 70_24_db46@DAIMLERCHRYSLER.COM31_Fri, 11 May 2001 08:26:55 -0400642_us-ascii What is Fetch First that is available in UDB 7?

Dean









****************************************************************************

The information contained in this transmission, which may be confidential and proprietary, is only for the intended recipients. Unauthorized use is strictly prohibited. If you receive this transmission in error, please notify me immediately by telephone or electronic mail and confirm that you deleted this transmission and the reply from your electronic mail system. **************************************************************************** [...] 22195 182 60_Re: Followup..Having 00C900A5 DSNIXWKF problem ... Any Idea?19_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Fri, 11 May 2001 07:31:59 -0500328_iso-8859-1 Carlton, I'd first start by taking a close look at the DECLARE statement to see if it could be optimized to fetch the fewest columns and rows possible. Then look closer at eliminating any possible sorts by examining the predicates to ensure they're indexed. In this manner you can avoid materialization at OPEN. [...] 22378 57 24_Re: Fetch First in UDB 713_Terry Purcell25_Terry_Purcell@YLASSOC.COM31_Fri, 11 May 2001 07:38:06 -0500365_us-ascii Dean,

V7 for OS/390 & z/OS (or non-OS/390 V5.2) introduced FETCH FIRST n ROWS ONLY.

Has the optimization effects of OPTIMIZE FOR n ROWS but stops returning data once 'n' is reached (which OPTIMIZE does not). Can also be used in a singleton select which OPTIMIZE cannot.

Regards Terry Purcell Yevich Lawson & Assoc www.ylassoc.com [...] 22436 47 24_Re: Fetch First in UDB 711_David Nance16_DWNance@FHSC.COM31_Fri, 11 May 2001 08:44:08 -0400285_US-ASCII It allows you to fetch first N rows of a cursor. Say you only want to fetch the very first record or you only want a screen full of rows without any paging capabilities. This way you do not have to put in any logic and counters to close the cursor after fetching N rows. [...] 22484 41 26_Re: Stumped on access path14_Lisa Ouellette29_Lisa.Ouellette@FIRSTUNION.COM31_Fri, 11 May 2001 07:36:05 -0500558_- Terry - Thanks for the suggestions! I tried the STP_AMT > 0 with no luck. This is an existence check but I will try the cursor with an order by, it would be worth it. Also, I will try multi-column cardinality and post back and let you know. I'm hopeful because STP_ORG and STP_ACC are highly correleated - that is, almost no duplicate ACCounts across ORGanizations - but that applies to both indexes so I'm not sure. It is also possible STP_CREATE_DATE and STP_LOW_NBR and STP_HIGH_NBR are correlated. As time goes on you use higher number checks...? [...] 22526 26 26_Re: Stumped on access path14_Lisa Ouellette29_Lisa.Ouellette@FIRSTUNION.COM31_Fri, 11 May 2001 08:45:21 -0500377_- I am so HAPPY!!!! Thank you Terry for suggesting the multi-column cardinality (correlation) stats! As it turns out, in production we do not have any cardinality stats but in test we do. So I deleted them in test and the access path went back to the partitioning index. Now I just have to get them put in production (and back in test) so I can get npi access everywhere. [...] 22553 46 18_Re: Data Migration10_Uli Althen18_ualthen@STRIVA.COM31_Fri, 11 May 2001 15:08:48 +0100434_us-ascii Alex,

all listeners, in advance , sorry for the product advertising.

You can have a look at the DETAIL software at www.striva.com. It has the possibility to move data from various sources (relational or not) to targets (relational or not), independent of the platform. In your case you would move the data direct from the Sybase table to the DB2 table (assuming you don't want to change the table design). [...] 22600 80 30_Re: DB2 for OS390 V6 Migration14_William Gannon33_wgannon@EMAIL.PALMBEACH.K12.FL.US31_Fri, 11 May 2001 10:21:33 -0400576_us-ascii Hi Tim !

Not that I have an answer but it sounds like a Storage creep problem ...

Are there any APARs for v6 along that line ??? ( we are only at V5 - but I can see V6 on the horizon)

Bill G.



Tim.T.Dupree@LOWES.COM wrote:

> We have performed Runstats and Rebinds for the problem applications with no > change in results. The accounting trace comparisons point directly to CPU > dispatching (80% of DB2 time (V6) versus 30% of DB2 time (V5)). > Unfortunately, I cannot create a V5 explain to compare to. We have an open [...] 22681 72 19_Re: Job Opportunity13_Steven Kinler17_SKinler@VNSNY.ORG31_Fri, 11 May 2001 10:47:24 -0400381_- Fred,

Are you looking for an employee or a consultant?

I am a DB2 systems programmer. I have worked for AT&T, IBM and Lucent. I have also worked as a DB2 operational DBA.

Thanks Steve Kinler

-----Original Message----- From: Fred Edgar [SMTP:fred_edgar@HOTMAIL.COM] Sent: Thursday, May 10, 2001 2:41 PM To: DB2-L@RYCI.COM Subject: Job Opportunity [...] 22754 104 25_Re: Segmented Tablespaces11_Bikash Paul19_bikash_db@YAHOO.COM31_Fri, 11 May 2001 07:45:49 -0700615_us-ascii Just to add to few more things, If you have one table per tablespace, it is better in terms of manageability in terms of running DB2 utilities. While one table is being maintained (Recovery/imagecopy/reorg), other tables are not affected. For segmented tablespace, if segment is very small and once segment is full, DB2 goes for allocation of the second segment and format it. If operation is very much insert sensitive and you have small segment size, eventually DB2 will spend lot of time allocating and formatting the segments. Having one table in a segmented tablespace means all the segments are [...] 22859 87 25_Re: DB2 Stored Procedures11_Bikash Paul19_bikash_db@YAHOO.COM31_Fri, 11 May 2001 07:54:25 -0700339_us-ascii Hi, We had similar kind of requirement. We used dynamic allocation of files from the stored procedure. We wrote one assembler routine using DYNALLOC macro to allocate the files dynamically from the cobol program. Once the program is over, it gets deallocated and available for using by maintenace job.

Regards, Bikash [...] 22947 26 35_LOTUS NOTES and DB2 OS/390 question0_25_Ed_Vetock@NAVYFEDERAL.ORG31_Fri, 11 May 2001 11:28:53 -0400512_us-ascii Hi all,

We're trying to resolve some design issues with Lotus Notes and DB2 OS/390. Perhaps someone can shed some insight into this.

ISSUE: Lotus Notes application calls DB2 OS/390 Stored Procedure through LSX Connector. The Lotus Notes developer claims they do not have the ability to determine whether the Stored Procedure executed successfully or not because they can only pass IN values to the stored procedure but cannot read any of the OUT parameters from the Stored Procedure. [...] 22974 128 30_Re: DB2 for OS390 V6 Migration11_Mark Turner29_mark.turner@UCDMC.UCDAVIS.EDU31_Fri, 11 May 2001 08:29:51 -0700442_us-ascii Have you tried STROBE-DB2 or similar product that can profile the problem applications and analyze what DB2 routines account for the heaviest CPU utilization?









William Gannon cc: Sent by: DB2 Data Base Subject: Re: DB2 for OS390 V6 Migration Discussion List



05/11/01 07:21 AM Please respond to wgannon [...] 23103 20 8_redbooks13_Dennis Taylor14_ismgr@PCTC.COM31_Fri, 11 May 2001 08:48:19 -0700379_us-ascii I've seen (and heard) occasional reference to "redbooks" that are available from IBM, presumably on their web page somewhere. Is there a central location for them, or are they scattered by subject matter? Are they any good, or are they mostly marketing?



Dennis Taylor -------------------------------- All the world's a party, and you're not invited. [...] 23124 24 22_Re: Row level security12_Roger Miller19_millerrl@US.IBM.COM31_Fri, 11 May 2001 10:31:41 -0500283_- There is a good article that describes the DB2 security options in the IDUG Solutions Journal. It is written with the DB2 family in mind, so it works for DB2 for Unix, Windows or OS/390. One of our Toronto DB2 people wrote it, but took care to have other platforms review it. [...] 23149 116 12_Re: redbooks14_Wayne Driscoll24_Wayne.Driscoll@QUEST.COM31_Fri, 11 May 2001 09:05:29 -0700439_iso-8859-1 Dennis, Look at www.redbooks.ibm.com. They can be viewed on the web, or downloaded as PDF files. You have to be "registered" but registration is free. Wayne Driscoll Product Developer Quest Software Inc. wdriscoll@quest.com Note: All opinions are strictly my own.

-----Original Message----- From: Dennis Taylor [mailto:ismgr@PCTC.COM] Sent: Friday, May 11, 2001 10:48 AM To: DB2-L@RYCI.COM Subject: [DB2-L] redbooks [...] 23266 55 12_Re: redbooks0_19_Tim.Lowe@STPAUL.COM31_Fri, 11 May 2001 11:17:34 -0500598_us-ascii Try this: http://www.redbooks.ibm.com/







Dennis Taylor cc: Sent by: DB2 Subject: redbooks Data Base Discussion List



05/11/2001 10:48 AM Please respond to DB2 Data Base Discussion List











I've seen (and heard) occasional reference to "redbooks" that are available from IBM, presumably on their web page somewhere. Is there a central location for them, or are they scattered by subject matter? Are they any good, or are they mostly marketing? [...] 23322 29 12_Re: redbooks10_Bob Riehle19_bob.riehle@WAMU.NET31_Fri, 11 May 2001 09:18:16 -0700699_us-ascii Here's a link http://www.redbooks.ibm.com/

Dennis Taylor wrote:

> I've seen (and heard) occasional reference to "redbooks" that are available > from IBM, presumably on their web page somewhere. Is there a central > location for them, or are they scattered by subject matter? Are they any > good, or are they mostly marketing? > > Dennis Taylor > -------------------------------- > All the world's a party, and you're not invited. > > ================================================ > 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. [...] 23352 39 12_Re: redbooks14_Sinha, Abhijit20_Abhijit.Sinha@GS.COM31_Fri, 11 May 2001 12:18:41 -0400570_iso-8859-1 www.redbooks.ibm.com

Search on a topic, say "DB2" and you get a relevant list. Immensely useful, in my opinion.

Abhijit

-----Original Message----- From: Dennis Taylor [mailto:ismgr@PCTC.COM] Sent: Friday, May 11, 2001 11:48 AM To: DB2-L@RYCI.COM Subject: redbooks



I've seen (and heard) occasional reference to "redbooks" that are available from IBM, presumably on their web page somewhere. Is there a central location for them, or are they scattered by subject matter? Are they any good, or are they mostly marketing? [...] 23392 35 12_Re: redbooks13_Hanne Lyssand10_han@VPS.NO31_Fri, 11 May 2001 18:20:59 +0200566_us-ascii Hallo!

You can find IBM redbooks on this adress: http://www.redbooks.ibm.com/

You can search for any subject. In my opinion they are good, no marketing usually they have a practical view of things.

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. [...] 23428 17 53_Re: Dynamic SQL FETCH and INSERT using SQLDA in COBOL12_Roger Miller19_millerrl@US.IBM.COM31_Fri, 11 May 2001 10:57:14 -0500435_- Back in V1R3 days, we built a sample and published a red book using dynamic SQL with COBOL for something like the UNLOAD program DSNTIAUL. There have been lots of changes since then. My guess is that you could PREPARE an INSERT statement, take the information from the FETCH USING DESCRIPTOR x, add on the coupld of columns at the end, update the column count, and then EXECUTE the prepared INSERT statement USING DESCRIPTOR x. [...] 23446 38 12_Re: redbooks13_O'Neill, Mike19_Mike.O'Neill@53.COM31_Fri, 11 May 2001 12:23:37 -0400621_iso-8859-1 Indeed, try, http://www.redbooks.ibm.com/ They are actually books written by people who do residencies to install a product, use a product and so on. They are pretty good how to books.

-----Original Message----- From: Dennis Taylor [mailto:ismgr@PCTC.COM] Sent: Friday, May 11, 2001 11:48 AM To: DB2-L@RYCI.COM Subject: redbooks



I've seen (and heard) occasional reference to "redbooks" that are available from IBM, presumably on their web page somewhere. Is there a central location for them, or are they scattered by subject matter? Are they any good, or are they mostly marketing? [...] 23485 24 12_Re: redbooks12_Jim Harrison12_jimh@QIS.NET31_Fri, 11 May 2001 12:26:42 -0400475_us-ascii It's good stuff: http://www.redbooks.ibm.com/

At 08:48 AM 5/11/01 -0700, Dennis Taylor said: >I've seen (and heard) occasional reference to "redbooks" that are available >from IBM, presumably on their web page somewhere. Is there a central >location for them, or are they scattered by subject matter? Are they any >good, or are they mostly marketing? > > >Dennis Taylor >-------------------------------- >All the world's a party, and you're not invited. [...] 23510 37 87_Function in Group By not supported in DB2 6.1 (OS/390) but suppo rted in DB2 6.1 (NT) ?11_Sinha, Amit19_Sinha.Amit@MBCO.COM31_Fri, 11 May 2001 11:39:51 -0500668_iso-8859-1 Hi all,

Is function in Group By Clause in DB2 6.1 (OS/390) not supported ?

For e.g the query

SELECT MONTH(CREATEDTS) FROM SYSIBM.SYSTABLES GROUP BY MONTH(CREATEDTS) ;

does not work in DB2 6.1 (OS/390)



But the query

select month(ctime) from sysibm.systables group by month(ctime);

works in DB2 6.1 (NT)



Thanks for your time,



Amit

================================================ 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. 23548 26 32_Dynamic SQL and CPU usage report6_Chenny39_solaiyappan_chenniappan@MAIL.AMSINC.COM31_Fri, 11 May 2001 11:36:18 -0500422_- All,

Currently we are capturing the Accounting/Statistic information by starting the appropriate traces as well as IFCID 63 to capture the adhoce queries.

I was able to produce both Short and Long Accounting reports as well as RECTRACE report(IFCID 63) for SQL text using DB2PM batch reports.

It will be of great help if i can have SQL text along with its CPU & Elapsesd time in a same report. [...] 23575 74 91_Re: Function in Group By not supported in DB2 6.1 (OS/390) but suppo rted in DB2 6.1 (NT) ?13_Terry Purcell25_Terry_Purcell@YLASSOC.COM31_Fri, 11 May 2001 12:04:23 -0500362_iso-8859-1 Amit,

No it is not supported on the OS/390 platform, V6 or V7.

There are many differences between the syntaxes on OS/390 and non-OS/390. The SQL Reference manuals contain the syntax diagrams and descriptions. Generally IBM prints these so that they will be read.

In OS/390 you will need to encapsulate the function in a NTE: [...] 23650 19 9_Delete RI0_29_sflindsey@HIGHLIGHTS-CORP.COM31_Fri, 11 May 2001 13:26:03 -0400338_us-ascii Hi, Listers! When performing a delete on the parent table with the delete option set to restrict, is an index on the child table referential integrity columns necessary if the columns are not the primary index? (DB/2 v 5.1 OS/390)

Thanks in advance for everyone's help! Scott Lindsey Sr. DBA, Highlights for Children [...] 23670 65 36_Re: Dynamic SQL and CPU usage report10_Missy Case28_Missy.Case@FIRSTDATACORP.COM31_Fri, 11 May 2001 12:24:17 -0500319_us-ascii Chenny,

IFCID 22 captures the mini plans. The output from this is HUGE - turn it on for a few minutes or an hour unless you're friends with your SMF folk & can afford to cut all those records. We capture using Platinum Detector where getpages > x .

Thanks. Missy Case FDR TMDBA 701-275-6358 [...] 23736 30 39_Re: DB2 Version 7 Operational Utilities9_Jim Ruddy18_jaruddy@US.IBM.COM31_Fri, 11 May 2001 12:21:13 -0500483_- The V7 UNLOAD utility is not based on REORG UNLOAD ONLY or REORG UNLOAD EXTERNAL but a new implmentation designed for unloading rather than reorging. We have benchmarked a better than 15% improvement in CPU time compared with REORG UNLOAD EXTERNAL. Plus, it has much improved usability and function compared with REORG UNLOAD EXTERNAL. REORG UNLOAD EXTERNAL will continue to be supported but any new unload jobs you create V7 and beyone should use the UNLOAD utility instead. [...] 23767 30 26_T-shirts T-shirts T-shirts14_Jennifer Moody22_jmoody@CDBSOFTWARE.COM31_Fri, 11 May 2001 13:13:45 -0500390_ISO-8859-1 CDB Software will be at IDUG in Orlando next week. Stop by our booth (#611). While at the booth, be sure to snag one of our new T-Shirts that tell the world, "With CDB, you're 100% Available!" Here's a link to see the FRONT

logo and BACK graphic of our own "JOE DBA", ready to go! Since he installed CDB, he has WAY too much time on his hands for "other activities." [...] 23798 18 32_Looking for help creating a view12_Bob LaCerais28_Bob_LaCerais@TAX.STATE.NY.US31_Fri, 11 May 2001 14:21:55 -0400503_us-ascii I'm a DB2 for OS/390 version 5 user.

I have created 2 identical tables. One table has 1999 data in it, the other has 2000 data.

I've been trying to create a view that would contain all the rows in both tables (without success). Any ideas?

================================================ 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. 23817 104 30_Predictive Governing Using RLF13_Brunner Don J21_Don.J.Brunner@IRS.GOV31_Fri, 11 May 2001 14:35:51 -0400491_iso-8859-1 I'm attempting to add some greater flexibility (Predictive Governing) to our use of the RLF in limiting Ad Hoc queries. I want to stop those Ad Hoc queries from even executing if they're judged to exceed the value we currently have specified for ASUTIME.

I populated the RLF Table for testing purposes with two rows, one for all Plans and one for all Packages. I set the columns RLFASUWARN & RLFASUERR equal to 5461, which equates to one CPU second on our processors. [...] 23922 46 49_Re: DGI & Quest Software at IDUG 2001 in Orlando!11_Scott Hayes34_faster.databases@DATABASE-GUYS.COM31_Fri, 11 May 2001 14:35:42 -0400393_us-ascii Hi Jim,

That's a great idea. Be sure to send folks over to DGI booth #707 for Breakthrough Performance Results for DB2 UDB (non-390 platforms) after you're finished showing folks your universal thing. Also not to be missed, we'll be showing 3 new tools that enable pervasive performance control from anywhere, at any time, from your desktop, laptop, or palm of your hand. [...] 23969 52 20_Re: Db2 connect v7.122_Donnie Woodruff (Work)30_dwoodruf@CI.NEWPORT-NEWS.VA.US31_Fri, 11 May 2001 15:07:39 -0400321_iso-8859-1 Bob,

Came across your post today -- doesn't look like anyone took a stab at this, so here goes.

I connected to DB2 v6.1 for OS390 using DB2 COnnect PE 7.1 with a JAVA application with the following appended to my classpath:

C:\sqllib\java\db2java.zip

Hope that helps. Donnie

24022 12 36_Re: Looking for help creating a view0_26_truman.g.brown@VERIZON.COM31_Fri, 11 May 2001 15:12:10 -0400320_us-ascii Cut down all the trees between your windows and what you want to see?

================================================ 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. 24035 51 36_Re: Dynamic SQL and CPU usage report12_Moulder, Tom19_Tom_Moulder@BMC.COM31_Fri, 11 May 2001 14:13:38 -0500499_iso-8859-1 Chenny

You can get this information in one report from a product called APPTUNE sold by BMC Software, Inc. Plus quite a bit of other information as well on both dynamic SQL and Static. Look for the product on their home page www.bmc.com

Tom Moulder BMC Software, Inc.



-----Original Message----- From: Chenny [mailto:solaiyappan_chenniappan@MAIL.AMSINC.COM] Sent: Friday, May 11, 2001 11:36 AM To: DB2-L@RYCI.COM Subject: Dynamic SQL and CPU usage report [...] 24087 128 39_Re: DB2 Version 7 Operational Utilities13_Burgess Evans27_BMEVANS@AUDITOR.STATE.OH.US31_Fri, 11 May 2001 15:24:11 -0400332_US-ASCII Hi Jim,

Thank you for the clarification. I am also glad that Fast Unload is going to stay in the offering.

We recently bought and implemented Fast Unload. It was well received here. The product has made my life easier regardless of the limitations and I am glad to here IBM is going to keep the product. [...] 24216 90 92_Re: Function in Group By not supported in DB2 6.1 (OS/390) but s uppo rted in DB2 6.1 (NT) ?11_Sinha, Amit19_Sinha.Amit@MBCO.COM31_Fri, 11 May 2001 14:29:47 -0500597_iso-8859-1 Thanks Terry, Jeff ....

Amit



-----Original Message----- From: Terry Purcell [mailto:Terry_Purcell@YLASSOC.COM] Sent: Friday, May 11, 2001 12:04 PM To: DB2-L@RYCI.COM Subject: Re: Function in Group By not supported in DB2 6.1 (OS/390) but suppo rted in DB2 6.1 (NT) ?



Amit,

No it is not supported on the OS/390 platform, V6 or V7.

There are many differences between the syntaxes on OS/390 and non-OS/390. The SQL Reference manuals contain the syntax diagrams and descriptions. Generally IBM prints these so that they will be read. [...] 24307 44 21_FW: [DB2-L] Delete RI13_Daniel Turner28_daniel_turner@ALBERTSONS.COM31_Fri, 11 May 2001 13:17:57 -0600478_iso-8859-1 Its not necessary but it can help performance. If you don't delete parents very often you may not need it. I've seen systems work fine without the NPI and its cost. It depends on the design and the table size. I prefer the child's foreign key imbedded in its own primary key. Then its there anyway for free. If you're have a surrogate key on the child, and you have to join to the parent often, then indexing the foreign key can improve performance of the join. [...] 24352 84 36_Re: Dynamic SQL and CPU usage report0_24_William_O'Black@FFIC.COM31_Fri, 11 May 2001 13:20:50 -0700411_us-ascii A disclaimer for Apptune on DB2 OS/390 - Apptune does not capture all of the CPU time for parallel tasks. It also does not capture any of the CPU time charged to enclaves which is where all of your three-tier connection time ends up. If you're depending on Apptune to give you the complete CPU picture, you're going to be disappointed. If all you're looking for is the SQL, it does give you that. [...] 24437 42 16_DB2 Questions...34_=?iso-8859-1?Q?Mat=EDas_Salvador?=26_matias_salvador@UOL.COM.AR31_Fri, 11 May 2001 17:07:40 -0300520_iso-8859-1 Hy Experts, I'm a newbie of DB2 and have some questions that may seem basical but will really help me at this moment, indeed. Here they are:

1. Is there any manner to specify in the SQL Syntax the way of locking a record, I mean, if to unlock the record when requested by other user or if to wait for releasing the record or if to throw an error to the concurrent user telling him that the record is locked? In Informix you SELECT FOR UPDATE and then SET LOCK WAIT to a time, in Oracle you set NO [...] 24480 35 6_idcams13_Jimmy Willett13_JRLBW@AOL.COM29_Fri, 11 May 2001 15:09:21 EDT211_US-ASCII Where on IBM's web page can I find information in using Idcams' Define Space???

Where I worked, we did not use Define Space,,,only the systems programmers... I tried search, but nothing... thanks 24516 64 10_Re: idcams14_Johnson, Daryl28_Daryl.Johnson@PACIFICORP.COM31_Fri, 11 May 2001 14:01:03 -0700436_iso-8859-1 Look under "DFSMS/MVS V1R4 Access Method Services for ICF".

-----Original Message----- From: Jimmy Willett [mailto:JRLBW@AOL.COM] Sent: Friday, May 11, 2001 12:09 PM To: DB2-L@RYCI.COM Subject: idcams



Where on IBM's web page can I find information in using Idcams' Define Space???

Where I worked, we did not use Define Space,,,only the systems programmers... I tried search, but nothing... thanks 24581 28 10_Re: idcams21_Powers, Carol A - CNF20_Powers.Carol@CNF.COM31_Fri, 11 May 2001 13:57:34 -0700538_- http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/library Search for Access Method Services and then pick the one that goes with your operating system release.

> -----Original Message----- > From: Jimmy Willett [SMTP:JRLBW@AOL.COM] > Sent: Friday, May 11, 2001 12:09 PM > To: DB2-L@RYCI.COM > Subject: idcams > > Where on IBM's web page can I find information in using Idcams' Define > Space??? > > Where I worked, we did not use Define Space,,,only the systems > programmers... > I tried search, but nothing... > thanks [...] 24610 45 36_Re: Looking for help creating a view0_26_Steve.Westfall@EQUIFAX.COM31_Fri, 11 May 2001 17:18:12 -0500526_us-ascii Use UNION ALL in your view.

Steve Westfall Equifax







Bob LaCerais cc: Sent by: DB2 Data Subject: Looking for help creating a view Base Discussion List



05/11/2001 01:21 PM Please respond to DB2 Data Base Discussion List









I'm a DB2 for OS/390 version 5 user.

I have created 2 identical tables. One table has 1999 data in it, the other has 2000 data. [...] 24656 72 36_Re: Looking for help creating a view10_Rob Wright17_rwright@LIC.CO.NZ31_Sat, 12 May 2001 15:38:31 +1200425_us-ascii Okay, here goes, I've read the doco - hopefully it hasn't changed - UNION and UNION ALL are only available for views in V7 on OS/390.

Why not put the data into a single table?











Steve.Westfall@EQUIFAX.COM on 05/12/2001 10:18:12 AM

Please respond to DB2 Data Base Discussion List

To: DB2-L@RYCI.COM cc: (bcc: Rob Wright/ham/LIC) [...] 24729 57 24_Re: Buffer pool question10_Radha Rani24_radha_rani@ALTAVISTA.COM31_Fri, 11 May 2001 21:21:22 -0700579_- That is definitely a surprise to me. The case I have described is nothing typical but generic to any transactional scenario. Although movement of a page from virtual to hiperpool is very fast (done as a hardware instruction), it seems kind of odd that a GETPAGE would 'wait' for a buffer in the virtual pool to be first transported to hiperpool. In such a case, actually the 'stealable' buffers in virtual buffer pools should not be called so; they are merely 'transportable' to hiperpool. This is because a wanting buffer cannot steal them for it's use; it can only have [...] 24787 21 17_DB2 V6 for OS/39012_Rakesh Kumar21_rakesh457@HOTMAIL.COM31_Sat, 12 May 2001 04:24:22 -0000382_- Hi List, What is the DB2 Version 6 called ? Is it DB2 V6 for OS/390 or DB2 UDB for OS/390 Ver 6 ? Is the second component( ie UDB ) a seperate one for workstations alone. Could anyone clarify ? Thanx

With Regards Rakesh _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. [...] 24809 16 50_William D Trago/ISS/HQ/FHLMC is out of the office.10_Bill Trago33_William_D_Trago_Jr@FREDDIEMAC.COM31_Sat, 12 May 2001 01:02:55 -0400460_us-ascii I will be out of the office starting 05/11/2001 and will not return until 05/21/2001.

I will respond to your message when I return. If action needs to be taken immediately, Please contact Barbara Swart.

================================================ 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. 24826 101 24_Re: Buffer pool question18_Pudukotai, Nagaraj35_Nagaraj.Pudukotai@BLR.HPSGLOBAL.COM31_Sat, 12 May 2001 10:34:25 +0500619_- Hi Radha The purpose of having a hiperpool is to cache the pages in virtual pool. If you merely steal virtual pool pages without caching them then you will not derive any benefit from hiperpools isn't it?. I guess others will have more to say on this

Thanks

Nagaraj

> -----Original Message----- > From: Radha Rani [SMTP:radha_rani@ALTAVISTA.COM] > Sent: Saturday, May 12, 2001 9:51 AM > To: DB2-L@RYCI.COM > Subject: Re: Buffer pool question > > That is definitely a surprise to me. The case I have described is nothing > typical but generic to any transactional scenario. Although movement [...] 24928 15 45_Bob Comfort/Markham/IBM is out of the office.23_Bob Comfort/Markham/IBM15_bobc@CA.IBM.COM31_Sat, 12 May 2001 02:31:23 -0400393_us-ascii I will be out of the office starting May 11, 2001 and will not return until May 29, 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. 24944 19 21_Average Record Length10_Alan Smith25_alancsmith@BTINTERNET.COM31_Sat, 12 May 2001 09:07:02 +0100324_us-ascii In the space map for simple and partitioned tablespaces, there are some flags which indicate whether a page has sufficient space for a record of maximum record length, minimum record length, or average record length. What exactly is meant by the average record length and where (if anywhere) does DB2 hold it? [...] 24964 52 24_Re: Buffer pool question11_Mike Turner29_Michael_Turner@COMPUSERVE.COM31_Sat, 12 May 2001 05:34:36 -0400548_ISO-8859-1 Radha

The purpose of the Hiperpool Migration Task is to ensure that the situation you describe, where there is no empty buffer in the VBP, is exceptional. It is therefore unlikely that the buffer selected for a new page will contain an existing page that has to be moved to the HP. An empty buffer will always be used before a buffer containing a page. Note that when a page is migrated to the HP it is removed from the VBP leaving an empty VBP buffer. This is true whether the migration to HP is done by the async migration [...] 25017 19 14_Dropped Table!16_Machnik, Stanley19_MachnikS3@AETNA.COM31_Sat, 12 May 2001 11:24:22 -0400315_iso-8859-1 I am trying to find the obid of a table that has been dropped. The data was unloaded by partition but one of the partitions was missed. We are attempting to unload from an image copy at 4:00PM yesterday. I need the old OBID. I have a DSN1PRNT but I can't seem to figure out where the table OBID is. [...] 25037 18 23_Omegamon/DB2 and DB2 V716_Pearson, Eric L,23_Eric.Pearson@NSCORP.COM31_Sat, 12 May 2001 12:33:07 -0400400_iso-8859-1 Anyone have Omegamon/DB2 working with V7 yet? The Candle web site has no mention of V7.

regards,

eric pearson NS ITO Database Support

================================================ 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. 25056 42 18_Re: Dropped Table!16_Thomas E. Faglon21_tfaglon@TELCORDIA.COM31_Sat, 12 May 2001 14:45:07 -0400635_us-ascii how about a backup copy of your catalog?







"Machnik, Stanley" on 05/12/2001 11:24:22 AM

Please respond to DB2 Data Base Discussion List

To: DB2-L@RYCI.COM cc: (bcc: Thomas E. Faglon/Telcordia) Subject: Dropped Table!





I am trying to find the obid of a table that has been dropped. The data was unloaded by partition but one of the partitions was missed. We are attempting to unload from an image copy at 4:00PM yesterday. I need the old OBID. I have a DSN1PRNT but I can't seem to figure out where the table OBID is. [...] 25099 70 18_Re: Dropped Table!16_Machnik, Stanley19_MachnikS3@AETNA.COM31_Sat, 12 May 2001 15:39:11 -0400286_iso-8859-1 Yes, we could get it there. I was trying to get it from the DSN1LOGP and or DSN1PRNT because it would be a lot faster. Bottom line, when executing the DSN1COPY to the partition, we put in the incorrect OBID and it errored out providing us the correct one in the sysout! [...] 25170 43 18_Re: Dropped Table!12_Moulder, Tom19_Tom_Moulder@BMC.COM31_Sat, 12 May 2001 17:17:07 -0500563_iso-8859-1 Stanley

You will have to register for search390 to view this information, but the registration is free. The information you are looking for and probably a little bit more can be found using the following link -- http://search390.techtarget.com/ateQuestionNResponse/0,289625,sid10_cid38589 4_tax286336,00.html

Tom Moulder (BMC Software, Inc.)

Hope this helps.

-----Original Message----- From: Machnik, Stanley [mailto:MachnikS3@AETNA.COM] Sent: Saturday, May 12, 2001 10:24 AM To: DB2-L@RYCI.COM Subject: Dropped Table! [...] 25214 213 23_Re: Optimize For N Rows11_Endy Lambey27_endyl@MITRAINFOSARANA.CO.ID31_Sun, 13 May 2001 08:58:47 +0700627_us-ascii Thanks guys for the input..

*********** REPLY SEPARATOR ***********

On 5/10/2001 at 2:26 PM Terry Purcell wrote: Endy,

Based on the catalog stats the optimizer determines how many rows will be returned from the query, for example; 1 million rows.

If you code OPTIMIZE FOR 100 ROWS, the optimizer replaces the value 1 million with 100; and does it's access path analysis based on the value of the OPTIMIZE clause rather than the calculated value. OPTIMIZE FOR 1 ROW is a special case whereby the optimizer will try to select an access path which avoids a sort (if possible), regardless [...] 25428 50 18_Re: Dropped Table!12_rl_cotterill24_rl_cotterill@BIGPOND.COM31_Sun, 13 May 2001 18:24:39 +1000605_us-ascii Hi,

Refer to the Diagnosis manual. It is described there, also does not a DSN1PRINT with FORMAT option tell you this as well.

Hope this helps, Richard

"Thomas E. Faglon" wrote:

> how about a backup copy of your catalog? > > "Machnik, Stanley" on 05/12/2001 11:24:22 AM > > Please respond to DB2 Data Base Discussion List > > To: DB2-L@RYCI.COM > cc: (bcc: Thomas E. Faglon/Telcordia) > Subject: Dropped Table! > > I am trying to find the obid of a table that has been dropped. The data > was > unloaded by partition but one [...] 25479 93 20_Re: DB2 Questions...14_James Campbell25_jacampbell@ACSLINK.NET.AU31_Sun, 13 May 2001 04:03:33 -0500656_ISO-8859-1 1) SELECT ...

¦ >>--WITH----CS------------------------------------------------------>< ¦ ¦ +-UR------------------------¦ ¦ ¦ +-RR------------------------¦ ¦ ¦ ¦ +-KEEP UPDATE LOCKS-+ ¦ ¦ ¦ +-RS------------------------+ ¦ ¦ +-KEEP UPDATE LOCKS-+ ¦

controls locking. SELECT ... FOR UPDATE OF and FOR FETCH/READ ONLY also control locking.

2) There's no way for resetting the 'next assigned value' - except by dropping the table and recreating it. DB2 V7.2 for Windows/Unix/OS2 appararently has a facility called SEQUENCEs - which supply also supply a number and might be re-settable. But it isn't even in DB2 for z/OS V7. [...] 25573 32 10_Re: idcams14_James Campbell25_jacampbell@ACSLINK.NET.AU31_Sun, 13 May 2001 04:21:27 -0500614_- - "IDCAMS for ICF Catalogs" never supported DEFINE SPACE - "IDCAMS for VSAM Catalogs" was de-supported on 31 Dec 1999 (used 2 digit years).

So DEFINE SPACE is no longer supported by IBM.

James Campbell



>> -----Original Message----- >> From: Jimmy Willett [SMTP:JRLBW@AOL.COM] >> Sent: Friday, May 11, 2001 12:09 PM >> To: DB2-L@RYCI.COM >> Subject: idcams >> >> Where on IBM's web page can I find information in using Idcams' Define >> Space??? >> >> Where I worked, we did not use Define Space,,,only the systems >> programmers... >> I tried search, but nothing... >> thanks > [...] 25606 35 21_Re: DB2 V6 for OS/39014_James Campbell25_jacampbell@ACSLINK.NET.AU31_Sun, 13 May 2001 04:29:25 -0500341_- "DB2 Universal Database for OS/390 Version 6"

There are other "DB2 Universal Database (zzzzzzz Edition) for xxxxxxx Version y" products which are for workstations and servers on various platforms. They are similar, but not identical, products. That is DB2 UDB for Windows V6 is a different products from DB2 UDB for OS/390 V6. [...] 25642 92 23_Re: idcams define space16_Thomas E. Faglon21_tfaglon@TELCORDIA.COM31_Sun, 13 May 2001 09:19:36 -0400682_us-ascii Hi, Here's an example for defining a vsam cluster for a DB2 tablespace and index . &VOLUME in our shop is an SMS pool HTH Tom F /*------------------------------------------------------------------*/ /* VSAM CLUSTER DEFINITIONS FOR DB2 TABLESPACES AND INDEXES */ /*------------------------------------------------------------------*/ /* ALL REFERENCES TO THE FOLLOWING SYMBOLS MUST BE REPLACED: */ /* &VCATNAME - VSAM CATALOGUE NAME (1-8 CHARACTERS) */ /* &PRIM - PRIMARY QUANTITY (IN TRACKS OR CYLINDERS) */ /* &SEC - SECONDARY QUANTITY (IN TRACKS OR CYLINDERS) */ /* &VOLUME - VOLUME */ /* &DBNAME - DB2 DATABASE NAME */ /* &TSNAME - TABLESPACE NAME */ /* &IXSPACE - [...] 25735 41 27_Re: Omegamon/DB2 and DB2 V712_Isaac Yassin20_yassini@BEZEQINT.NET31_Sun, 13 May 2001 18:34:36 +0200404_iso-8859-1 Hi, Even with V6 there is something missing (that worked with V5) - I refer to snapping EDMpool to get dynamic SQL.



Isaac Yassin DBMS & IT Consultant yassini@bezeqint.net ----- Original Message ----- From: "Pearson, Eric L," Newsgroups: bit.listserv.db2-l To: Sent: Saturday, May 12, 2001 6:33 PM Subject: Omegamon/DB2 and DB2 V7 [...] 25777 41 36_Re: Looking for help creating a view17_Esmaiel Nokhodian15_dbaen@TEXAS.NET31_Sun, 13 May 2001 10:54:31 -0500627_iso-8859-1 Hi Bob,

I don't believe this possible in DB2 V5 . This is a new feature in DB2 V7.



Thanks-Essy.



----- Original Message ----- From: Bob LaCerais Newsgroups: bit.listserv.db2-l To: Sent: Friday, May 11, 2001 1:21 PM Subject: Looking for help creating a view



> I'm a DB2 for OS/390 version 5 user. > > I have created 2 identical tables. One table has 1999 data in it, the > other has 2000 data. > > I've been trying to create a view that would contain all the rows in both > tables (without success). Any ideas? > [...] 25819 72 36_Re: Looking for help creating a view13_Terry Purcell25_Terry_Purcell@YLASSOC.COM31_Sun, 13 May 2001 17:36:37 -0500336_iso-8859-1 Bob,

A UNION ALL (or UNION) within a NTE or VIEW can be simulated pre-V7 using a dummy join predicate on a full outer join.

SELECT COALESCE(T1.COL1, T2.COL1) FROM (SELECT ‘1’ AS JOIN_COL, COL1 FROM TABLEB) AS T1 FULL OUTER JOIN (SELECT ‘2’ AS JOIN_COL, COL1 FROM TABLEC) AS T2 ON T1.JOIN_COL = T2.JOIN_COL [...] 25892 49 13_Re: Delete RI12_Cianci, Nick28_Nick.Cianci@TEAM.TELSTRA.COM31_Mon, 14 May 2001 10:08:35 +1000558_- Short answer = Yes

DB2 has to check the RI structure is intact (ie: that it won't orphan any children, grand-children ..... etc). If there isn't an Index in place you'll cause DB2 to revert back to a TS scan.

Now I can't remember when the restrictions were relaxed (I think v4 or v5) but there was once upon a time where the Foreign Key index needed to match the Primary key exactly (including sort sequence of the various columns). I believe that there is still a requirement (V6) that you can't add superfluous columns to the end of a [...] 25942 42 27_Changing platform questions16_Cockerill, Steve30_SLCockerill@NATIONALGYPSUM.COM31_Sun, 13 May 2001 20:33:10 -0400477_iso-8859-1 Good Morning

Those that received this post in psdb2os390@LISTSERV.CAI.COM thank you and you may stop reading.



I have a question or two.

We are thinking about moving Peoplesoft running on 390\DB2 to RS6000 H80 4 way box and use our current NT app servers.

We have All Financial modules but only 7 are implemented, AP,AR,GL,PC,IN,PO,AM. version 7.5 and HRMS - We have BMC apptune, dasd manager, catalg manager for os390 tools. [...] 25985 104 20_Re: DB2 Questions...15_Bell, Raymond W31_Raymond.W.Bell@TEAM.TELSTRA.COM31_Mon, 14 May 2001 11:11:56 +1000520_iso-8859-1 Matias,

I can't help with the 2nd or 3rd question, not being familiar with identity columns. As to the first, if you're asking if there's a way to specify in the SQL how long to wait for a lock the answer is no. You can specify if you want to wait on locks at all via 'with ur' (cheers, James) but, if you end up waiting on a lock, the only place you can specify the timeout duration is in the Zparms. Default is 60 seconds (I think) but some shops alter this down to around 5 seconds for on-line [...] 26090 43 23_Column Naming Standards13_Mackey, Glenn21_GMackey@GUIDEMAIL.COM31_Sun, 13 May 2001 21:20:24 -0500555_iso-8859-1 Hi,

I wanted to get response on how sites choose the name of their DB2 columns. I have used a method of using a standard set of abbreviations for words and ending in a classifier.

I believe this to be reasonably common, but I get a lot of push back from programmers as to the non-meaningful names even when the 18 character limit is not used. It is a bit harder to convince PC based programmers who are used to 128-plus variable names in which a small story can be told about variables. In fact I am becoming frustrated with [...] 26134 34 26_Re: DB2 Certification Cost14_James Campbell25_jacampbell@ACSLINK.NET.AU31_Sun, 13 May 2001 20:52:06 -0500674_- http://www-4.ibm.com/software/data/db2/skills/offer1.html

James Campbell

On Thu, 4 Jan 2001 09:41:12 +1100, Bell, Raymond W wrote:

>Hi Jap/Georg(e), > >Thanks for your comments. Yes the tests at these conferences are often >free, but attending the conference isn't. As a scumbag money-grabbing >contractor I usually have to pay for my own attendance at courses, >conferences, etc., plus have the time away from work as non-chargeable. >That's the main reason I didn't go to IDUG Melbourne this year, even though >for the first time ever it was held in a city I was working in at the time. > >Maybe the next time [...] 26169 101 37_Re: Regarding Breaking the tablespace0_24_ujjwal@LOT.TATASTEEL.COM31_Mon, 14 May 2001 09:01:29 +0530369_us-ascii Hi Rakesh, I think U can also do with the help of a RENAME TABLE statement ( DB2 V5) . ie Initially u can create a new table with LIKE and then move all the data into that table .Before renaming the table get all the scripts for indexes and views ready as well as the list of dependant plans. Then drop the old table and bind all the plans and packages . [...] 26271 129 37_Re: Regarding Breaking the tablespace16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Mon, 14 May 2001 09:59:39 +0530460_iso-8859-1 RENAME table transfers all the indexes, constraints and authorizations. So, scripts for those are not required. Only thing which needs to be done is changing the application associated with dependent plans/package for changing the names. And hence they need to be rebound.

I am not sure about the definition of the view but it seems it will be marked as incomplete because DB2 might not change the table name in the view definition SQL. [...] 26401 80 24_Re: Buffer pool question16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Mon, 14 May 2001 10:08:09 +0530536_- Radha,

As Mike described, the migration of pages to HP is a normal continuous process which is done asynchronously most of the time. It is not like that migration takes place when the getpage request is done and u require to steal a page.

If HP is there, pages will be moved to HP in the LRU chain and BP space is available to be used by other getpage instructions. If HP is not there BP pages are simply marked as stealable. The pages which could not be stealable are those which are IN USE now or UPDATED but not [...] 26482 69 18_Re: Dropped Table!16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Mon, 14 May 2001 10:24:46 +0530579_- I think YES, it is mentioned in the header page.

Regards Sanjeev

> -----Original Message----- > From: rl_cotterill [SMTP:rl_cotterill@BIGPOND.COM] > Sent: Sunday, May 13, 2001 1:55 PM > To: DB2-L@RYCI.COM > Subject: Re: Dropped Table! > > Hi, > > Refer to the Diagnosis manual. It is described there, also does not a > DSN1PRINT with FORMAT option tell you this as well. > > Hope this helps, > Richard > > "Thomas E. Faglon" wrote: > > > how about a backup copy of your catalog? > > > > "Machnik, Stanley" on 05/12/2001 11:24:22 AM > > [...] 26552 14 53_William L Exline/GL/KSC/KeyCorp is out of the office.11_Bill Exline28_William_L_Exline@KEYBANK.COM31_Mon, 14 May 2001 01:04:01 -0400365_us-ascii I will be out of the office from 05/13/2001 until 05/18/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. 26567 76 13_Re: Delete RI16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Mon, 14 May 2001 10:51:19 +0530304_- Nick,

Answer to the original question from Scott is already given by you but if i could recall correctly the columns can be added at the end of the child table index. Only thing which i remember is that the type and sequence of the columns should be same in parent and child table indexes. [...] 26644 48 23_question on parallelism18_Pudukotai, Nagaraj35_Nagaraj.Pudukotai@BLR.HPSGLOBAL.COM31_Mon, 14 May 2001 10:55:38 +0500559_- Hello listers

We are DB2 V6 and all our tablespaces are simple tablespaces. I have a heavy DB2 I/O (only SELECT) bound batch program, in which the most expensive query accesses a table containing 48 million rows (say A). The predicates on this query qualify about 3 million rows. Access to these 3 million rows is through an index (4 levels). Hence the synchronous I/O wait time on table A is very high (almost 40% of the elapsed time, death by random I/O). I dumped the 3 million qualifying rows into a table and used this table (say B),( with [...] 26693 32 37_Re: Regarding Breaking the tablespace18_Rajesh Kumar Sinha24_rksinx@LOT.TATASTEEL.COM31_Mon, 14 May 2001 11:05:10 +0530658_us-ascii RENAME TABLE renames the table in same Tablespace. If you rename the table automatically all dependent DB objects (Indexs,views,authorization,plans) gets transferred to the renamed table. Plans doesn't get invalid. Following steps are involved :- Ask user shutdown for this activity Rename Table 'T' to 'T1' Create table 'T' like 'T1' (using like clause) in new tablespace. Transfer all data from 'T1' to 'T' ( using INSERT statement). Add Foreign key, Primary key and other constraints . Generate script for Authorization, Views, indexes & Rebind plans. Drop dependent views and indexes of 'T1'. Run generated script to create Views , indexes [...] 26726 84 27_Re: question on parallelism16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Mon, 14 May 2001 11:19:58 +0530337_- Hi Nagaraj,

Partitioning a tablespace is dependent on many factors out of which the most important is how evenly the data can be distributed across the partitions and this can be decided by best choosen partitioning key. So if you could find that, better go for partition tablespace, it seems it has no other disadvantage. [...] 26811 33 12_Re: Triggers14_James Campbell25_jacampbell@ACSLINK.NET.AU31_Mon, 14 May 2001 00:26:50 -0500445_- If you read the Appl Prog and SQL Guide, you'll see a description of the parameters that are passed to an SP. If the linkage convention is DB2SQL, then the parameter after the input and output parameters, and the null value indicators, is SQLSTATE - as a COBOL PIC X(5) field. If the routine terminates with sqlstate containing 38yxx (y <> '5'), then DB2 considers that the routine failed, and passees the information back to the caller. [...] 26845 52 11_Re: DSNTEP216_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Mon, 14 May 2001 12:02:57 +0530344_iso-8859-1 Are you trying to execute DDL on the same database where your "anytable" is ? If that is the situation, it is working as designed. Dynamic SQLs takes the share lock on DBD and it will not allow to execute the DDLs on the same database.

Otherwise, you may need to check the BIND parameters for DSNTEP51 in SYSIBM.SYSPLAN. [...] 26898 12 53_Joel Zigelstein/Canada/HALLMARK is out of the office.15_Joel Zigelstein20_jzigel1@HALLMARK.COM31_Mon, 14 May 2001 02:18:44 -0400312_us-ascii I will be out of the office from 05/14/2001 until 05/18/2001.

================================================ 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. 26911 63 64_Melbourne DB2 Users' Group Annual General Meeting & Presentation12_Cianci, Nick28_Nick.Cianci@TEAM.TELSTRA.COM31_Mon, 14 May 2001 17:14:11 +1000641_iso-8859-1 Attention Melbourne DB2 Users' Group members.

> Meeting Date & time: Thursday 17th May, 2001 from 17:00 to 18:30 > Location: Conference Room 2, Telstra Conference Centre, 242 > Exhibition Street, Melbourne. > > Agenda: > * Annual General Meeting & Board business * "STROBE and DB2"a Presentation by Charlie Meek. A Strobe expert with Compuware who has more than 10 years experience with Strobe concentrating on : 1. DB2 Application Performance Issues 2. DB2 Address Spaces 3. STROBE DB2 Reports and DB2 Analysis Path * CPU analysis Wait analysis 4. Predicate Specification * Case Study Performance Hints 5. Additional [...] 26975 52 12_How to store8_duam lee16_duam_lee@USA.NET29_Mon, 14 May 2001 01:30:19 MDT544_US-ASCII Hello Listers, I m new to this service and guided by friends to ask questions to DB2 masters. I m listing the question below.

I have a problem . All DB2 experts can be able to answer this question. I have 10 million rows out of which 7 millions are active and it is needed in daily transactions. The rest three million rows are there as inactive. These rows are referenced in very rare case like in every six months. Reference to these datas will be in every six months. It is not like report generation or some thing like [...] 27028 62 26_Re: DB2 Certification Cost15_Bell, Raymond W31_Raymond.W.Bell@TEAM.TELSTRA.COM31_Mon, 14 May 2001 12:27:47 +1000486_- Yes I saw that, James, via DB2Today. Looks like it's worth a go. The details at at the site, but to quote from the e-mail...

==CERTIFICATION

DB2 UDB Certification Testing Offer

From April 1, 2001 to Sept 30, 2001, IBM offers a complimentary DB2 certification test. By scoring 75% or greater on an on-line assessment exam, you can receive an electronic voucher for the final exam for your DB2 Application Development or Database Administration Certification. [...] 27091 120 27_Re: question on parallelism18_Pudukotai, Nagaraj35_Nagaraj.Pudukotai@BLR.HPSGLOBAL.COM31_Mon, 14 May 2001 13:33:23 +0500659_iso-8859-1 Sanjeev

Thanks very much for your reply. One more question to the list. For a partitioned tablespace, parallel tasks for each partition are kicked off, (for I/O, CP, Sysplex) how does this work for non-partitioned tablespaces.

Thanks IA

nagaraj

> -----Original Message----- > From: S, Sanjeev (CTS) [SMTP:SSanjeev@CAL.COGNIZANT.COM] > Sent: Monday, May 14, 2001 11:20 AM > To: DB2-L@RYCI.COM > Subject: Re: question on parallelism > > Hi Nagaraj, > > Partitioning a tablespace is dependent on many factors out of which the > most important is how evenly the data can be distributed across the > partitions and this [...] 27212 162 37_Re: Regarding Breaking the tablespace0_24_ujjwal@LOT.TATASTEEL.COM31_Mon, 14 May 2001 13:45:28 +0530734_us-ascii If a view exists in a Table then RENAME will simply not work so also plan. Regards Ujjal









"S, Sanjeev (CTS)" @RYCI.COM> on 05/14/2001 09:59:39 AM

Please respond to DB2 Data Base Discussion List

Sent by: DB2 Data Base Discussion List



To: DB2-L@RYCI.COM cc: Subject: Re: Regarding Breaking the tablespace



RENAME table transfers all the indexes, constraints and authorizations. So, scripts for those are not required. Only thing which needs to be done is changing the application associated with dependent plans/package for changing the names. And hence they need to be rebound. [...] 27375 20 13_Re: Delete RI15_Walter Janissen27_walter.janissen@VICTORIA.DE31_Mon, 14 May 2001 03:18:29 -0500351_- Nick

I think, columns can be added at the end of a child table index, but the order must much the primary key columns of the parent table. I don't think I can't get anything like a 2-matching index scan for a 3 column primary index.

I'am not quite sure, if the check utility needs an index, which exactly matches the primary key. [...] 27396 93 26_Re: DB2 Certification Cost15_Sriram Sankaran27_ssgsriram@CHENNAI.TCS.CO.IN31_Mon, 14 May 2001 14:13:33 +0530437_us-ascii I took the assessment tests and scored more than 75%. I then went ahead and finished the original certification exam also, at no cost.

But beware of the assessment tests. They are simple and might make you complacent. The original exam is definitely more demanding.

Regards, Sriram









"Bell, Raymond W" @RYCI.COM> on 05/14/2001 03:27:47 AM [...] 27490 184 30_Permanent Job - Dublin Ireland12_Aedan Molony20_Aedan.Molony@PSIR.IE31_Mon, 14 May 2001 10:14:17 +0100794_iso-8859-1 Hi List, Perot Systems Information Resource (a data centre management company with 300 employees) is looking for a permanent (not contract) systems programmer, with any combination of IMS/CICS/DB2/MQ skills. Job is based in South Dublin (Cabinteely).

Please reply off-list with a current CV to tom.moss@psir.ie



Regards,

Aedan ------------------------------------------------------------------------ ----------- Name: Aedan Molony Company: PS Information Resource (Ireland) Ltd. Address: Computer Centre, Cabinteely, Dublin 18,IRELAND Phone: +353-1-2177000 Fax: +353-1-2177010 Mailto:aedan.molony@psir.ie ------------------------------------------------------------------------ ----------- Visit DBA on the PSIR Intranet: http://intranet.psir.ie/dba [...] 27675 190 37_Re: Regarding Breaking the tablespace16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Mon, 14 May 2001 14:48:17 +0530667_iso-8859-1 Thanks for your valuable reply Ujjal, however, checking the SQL Reference solved my problems.

Regards Sanjeev

> -----Original Message----- > From: ujjwal@LOT.TATASTEEL.COM [SMTP:ujjwal@LOT.TATASTEEL.COM] > Sent: Monday, May 14, 2001 1:45 PM > To: DB2-L@RYCI.COM > Subject: Re: Regarding Breaking the tablespace > > If a view exists in a Table then RENAME will simply not work so also plan. > Regards > Ujjal > > > > > > "S, Sanjeev (CTS)" @RYCI.COM> on 05/14/2001 > 09:59:39 AM > > Please respond to DB2 Data Base Discussion List > > Sent by: DB2 Data Base Discussion List > [...] 27866 43 50_Re: Modification Regarding Breaking the tablespace18_Rajesh Kumar Sinha24_rksinx@LOT.TATASTEEL.COM31_Mon, 14 May 2001 15:06:51 +0530402_us-ascii In case of following condition table cannot be renamed:-

Referenced in any existing view definitions or summary table definitions Referenced in any triggered SQL statements in existing triggers or be the subject table of an existing trigger Having any check constraints Parent or dependent table in any referential integrity constraints The scope of any existing reference column. [...] 27910 88 40_DB2 Connect - Large account installation12_Jacob Ganzel19_jacobg@SEMECH.CO.IL31_Mon, 14 May 2001 14:46:49 +0300384_x-user-defined Hello list.

What is the best way to install and maintain DB2 Connect Client code in a large account (1000+ workstations) without doing it on every workstation manually ?

Is there any software distribution package which can install, catalog and maintain from a central site?

I would appreciate receiving a reference large account dealing with. [...] 27999 83 39_DB2 Inactive thread - DB2 Connect users12_Jacob Ganzel19_jacobg@SEMECH.CO.IL31_Mon, 14 May 2001 14:48:02 +0300554_x-user-defined Hello list.

Does TYPE 2 INACTIVE THREAD support ( DB2 V6) disconnects DB2 Connect users?

Question comes from the need of reducing the number of concurrent DB2 Connect users by disconnecting long time IDLE users.

Is there other ways to do it?

Thanks Jacob.

--------------------------------------------------------------- Jacob Ganzel Database Products Mgr. SEMECH Software Marketing Ltd.

3b Netanyahu St., OR YEHUDA, ISRAEL 60376 Email: jacobg@semech.co.il Tel.: +972-3-5333144 Fax.: +972-3-5333132 28083 90 36_Re: Looking for help creating a view12_Bob LaCerais28_Bob_LaCerais@TAX.STATE.NY.US31_Mon, 14 May 2001 08:02:42 -0400236_us-ascii I've tried that. It fails with the error message noted below. I checked the SQL reference manual after getting this error message and found that 'a view definition cannot contain unions or references to remote objects'.

28174 43 39_Re: DB2 Version 7 Operational Utilities12_Claude Birtz24_Claude.Birtz@CIE.ETAT.LU31_Mon, 14 May 2001 14:05:44 +0200333_us-ascii Hi Jim,

thanks for the info.

I just downloaded the utility guide for DB2 V7 from the web and looked at the UNLOAD chapter. I have one question: can the FROMCOPYDDN option be used to unload data from concurrent copies taken with the FILTERDDN option? (We're not on V7 yet, but plan to go later this year.) [...] 28218 63 16_Re: How to store11_David Nance16_DWNance@FHSC.COM31_Mon, 14 May 2001 08:07:42 -0400310_US-ASCII Duam, We have something similar. You might want to consider partitioning the table using the date as part of the key. Then again, you may want to think of rolling this seldom used data into another table. Then the six month transaction would have to be changed to incorporate this archive table. [...] 28282 13 25_Re: DB2 Stored Procedures11_Joan Keemle25_KeemleJoanT@JOHNDEERE.COM31_Mon, 14 May 2001 06:55:14 -0500398_- One idea I've heard mentioned is to write a Rexx stored procedure and dynamically allocate your file in Rexx. Then call the COBOL stored procedure. * Joan

================================================ 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. 28296 49 41_Disaster Recovery Data Sharing Questions.10_Lee Mandel16_DBMSUser@AOL.COM29_Mon, 14 May 2001 08:28:46 EDT497_US-ASCII The manual states one method to determine the ENDLRSN value to use for CRESTART is to find the lowest LRSN value listed in the DSN1213I message, for the data sharing group. The DSN1LOGP message DSN1213I do not have a data sharing group listed. Questions: 1 How do I determined the data sharing group? 2 Is there is way to limit the sysprint to print only the DSN1213I messages, or at least omit some messages? 3 Do anyone have a method to automate the creation of the Crestart card? [...] 28346 29 27_Re: Column Naming Standards13_Seibert, Dave26_Dave_Seibert@COMPUWARE.COM31_Mon, 14 May 2001 08:36:52 -0400463_iso-8859-1 Hi Glenn,

I have been victim of such naming standards policies in my checkered past.

I never found them very helpful. Sure, standardization is desirable. But it seemed to me (as a DBA -- not a DA) and the developers I supported that the irrational application of absolute standards was more of a hindrance than a help. But that was probably just irrational rebellion against the iron-fisted data administrators, at least on my part. [...] 28376 81 27_Re: Column Naming Standards11_Moore, Tony15_TMoore@IKON.COM31_Mon, 14 May 2001 08:55:14 -0400578_iso-8859-1 Glenn, I'm using a similar standard... a column name can be created with a defined set of "prime words" and/or their defined abbreviations and a ending "class" word or abbreviation that describes the data (AMT, DATE, NBR, etc.). For both prime words and class words I allow either the full word or abbreviation. I keep these words/abbreviations in ISPF tables with a REXX that the programmers and project dba's can use to build column names. The class words are set in stone, but I do add prime words/abbreviations as needed. It seems to be working pretty good. [...] 28458 34 13_Siebel Survey14_Scott Trometer22_scott.trometer@RCI.COM31_Mon, 14 May 2001 07:56:27 -0500369_iso-8859-1 Listers,

It looks like our shop will be moving to a Siebel/UDB solution in the near future. There have been a number of discussions regarding the OS. Is anyone using Siebel on OS/390? Any comments, thoughts, concerns? How about Unix?

I am looking for very high-level info here...liked it, didn't like it, tough to install/administer, etc. [...] 28493 24 13_Cluster ratio15_Mohammed Nayeem25_Mohammed_Nayeem@MOMED.COM31_Mon, 14 May 2001 08:15:34 -0500305_us-ascii Hi Listers

Is it possible to get in & around 100% cluster ratio for NPIs on table defined whose TS is partitioned . I am not getting it after (reorg + runstats). Few of them are between 66 and 70 %. Are these cluster ratios are good?

Any suggestion will certainly appreciated. [...] 28518 94 45_Re: Disaster Recovery Data Sharing Questions.9_Andy Hunt33_Andy.Hunt@SCOTTISH-SOUTHERN.CO.UK31_Mon, 14 May 2001 14:17:48 +0100593_us-ascii

Lee, Im not quite sure I understand your question ('1'). (1) You've got to run DSN1LOGP against EACH member in the datasharing group - the DSN1213I message is only relevant to one particular member. Therefore you need to know the members in the datasharing group before you run DSN1LOGP (i.e. by doing a -DISPLAY GROUP command
). (2) I have not found a way to just get the DSN1213I message. By passing the DSN1LOGP, SYSPRINT output through REXX it is simple enough to extract, and write out, the DSN1213I message. (3) If you write a REXX program (as above) [...]
28613 80 27_Re: Column Naming Standards19_DAVIS, RICK (SBCSI)14_rd8246@SBC.COM31_Mon, 14 May 2001 08:31:04 -0500599_iso-8859-1 Glenn, Some, hopefully, practical advice. Given the 18 char. limit. I try to avoid abbreviation of any table or column name. Plain English is always the best. I realize this may be impossible with some of the jillion char. long names generated by OO design tools. When it becomes necessary, there should be standard abbreviations across the enterprise. I then choose the word or words that have abbreviations that make the most sense (some abbreviations leave no clue what they stand for, ha). Once a word has been abbreviated it should always be abbreviated in that model and I try [...]
28694 27 39_Re: DB2 Version 7 Operational Utilities13_Jimmy Willett13_JRLBW@AOL.COM29_Mon, 14 May 2001 09:39:07 EDT57_US-ASCII where on web can you find the manuals???? thanks
28722 65 39_Re: DB2 Version 7 Operational Utilities12_Claude Birtz24_Claude.Birtz@CIE.ETAT.LU31_Mon, 14 May 2001 15:58:10 +0200298_us-ascii Go to the IBM / DB2 homepage: http://www-4.ibm.com/software/data/db2/os390/index.html Click "library" on the left You will get a list of all DB2 related manuals.

Regards, Claude.



Jimmy Willett wrote:

> where on web can you find the manuals???? > thanks

28788 25 27_Re: Column Naming Standards14_Clayton, Colin21_Colin_Clayton@BMC.COM31_Mon, 14 May 2001 08:54:51 -0500556_iso-8859-1 I would suggest that it is the responsibility of the Data Analyst to decide on the column names. If you think about it, there is no way (even without the 18 character limit) to fully describe the contents of the column, so the final name will always be a compromise. All you can reasonably do is give some hint as to its contents. What I would say however, is that columns (or attributes in the logical model) should be named consistently where they contain the same data. For example, do not call an account number ACCNUM in one table and [...] 28814 38 39_Re: DB2 Version 7 Operational Utilities12_Mark Granger22_the_grange@MBOX.COM.AU31_Mon, 14 May 2001 09:07:26 -0500542_us-ascii For DB2 V7 for OS/390 http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/DSNSHHA0

For All the IBM manuals http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/shelves

Mark Granger Independent Systems Integrators P/L Senior Technical Specialist - 2BDB2 Email: mgranger@isi.com.au Phone: +61 0416-012-262 (Australia) OR +1 617-306-7794 (USA)



----- Original Message ----- From: Jimmy Willett Date: Monday, May 14, 2001 8:39 am Subject: Re: DB2 Version 7 Operational Utilities [...] 28853 23 17_Re: Cluster ratio15_Walter Janissen27_walter.janissen@VICTORIA.DE31_Mon, 14 May 2001 08:54:56 -0500621_- Mohammed

Data can only be clustered according to the clustering index, which is for partitioned tablespaces the partitioning index. So it is possible to get a 100% clusterratio for NPI, but it will be the exception, because there couldn't be hardly any difference in the definition of those indexes.

I also think, that the clusterratio is only important for clustering indexes, because the optimizer doesn't choose seq. pref. for non clustered indexes. If the work is done by using only the index (index only access) then the clusterratio doesn't matter, index entries are always stored in sequence. [...] 28877 41 17_Re: Cluster ratio20_Beighton-Dykes, Hugh27_hugh.beighton-dykes@EDS.COM31_Mon, 14 May 2001 15:22:04 +0100522_iso-8859-1 By definition NPIs are not clustering indexes and so cluster ratio is not relevant for them.

-----Original Message----- From: Mohammed Nayeem [mailto:Mohammed_Nayeem@MOMED.COM] Sent: 14 May 2001 14:16 To: DB2-L@RYCI.COM Subject: Cluster ratio



Hi Listers

Is it possible to get in & around 100% cluster ratio for NPIs on table defined whose TS is partitioned . I am not getting it after (reorg + runstats). Few of them are between 66 and 70 %. Are these cluster ratios are good? [...] 28919 53 27_Re: Column Naming Standards13_Helen Johnson25_helen_johnson@RAC.RAY.COM31_Mon, 14 May 2001 09:22:51 -0500541_us-ascii We use standard abbreviations always even when the whole word would fit. We have a standards committee made up of a DBA and a group of representative programmers. We started with a list of military abbreviations since we supply military as well as commerical products. We added new abbreviations when there was none already. All new abbreviations were approved by the committee. No programmers liked all the abbreviations, but they appreciated it when they moved to another application and all the abbreviations were the same. [...] 28973 111 37_Re: Regarding Breaking the tablespace14_Wayne Driscoll24_Wayne.Driscoll@QUEST.COM31_Mon, 14 May 2001 07:28:15 -0700462_iso-8859-1 Sanjeev, I seem to recall that, at least for Version 6 of DB2, RENAME would fail if there are any views dependant upon the table. Wayne Driscoll Product Developer Quest Software Inc. wdriscoll@quest.com Note: All opinions are strictly my own.

-----Original Message----- From: S, Sanjeev (CTS) [mailto:SSanjeev@CAL.COGNIZANT.COM] Sent: Sunday, May 13, 2001 11:30 PM To: DB2-L@RYCI.COM Subject: Re: [DB2-L] Regarding Breaking the tablespace [...] 29085 130 20_Re: DB2 Questions...12_tim malamphy20_timalamphy@YAHOO.COM31_Mon, 14 May 2001 07:39:46 -0700563_us-ascii In addition to Raymond and Jim's reply, I'd like to add that a COMMIT statement will release all locks that your program has accumulated. It does, however, make your changes to the database permanent, so they would not "rollback" if your program abends later on. Tim --- "Bell, Raymond W" wrote: > Matias, > > I can't help with the 2nd or 3rd question, not being > familiar with identity > columns. As to the first, if you're asking if > there's a way to specify in > the SQL how long to wait for a lock the answer [...] 29216 102 27_Re: Column Naming Standards0_22_Rohn.Solecki@MTS.MB.CA31_Mon, 14 May 2001 09:52:17 -0500559_us-ascii We use a standard originally defined by IBM (way back in the days of the dinosaurs, and please, no offense intended to people who where around when it was first published ... ) call the "OF Language". Basically it is a standard that defines a syntax for defining field names and as part of it we have a standard set of 3 (and some 2) character abbreviations, and end with a 1 char data type code (ie t=text, n=number, m=name, f=flag, c=code etc) that are !!!!!ALWAYS!!!!!! used to name columns and tables. You get a strong slap on the wrist [...] 29319 80 18_Re: Dropped Table!16_Machnik, Stanley19_MachnikS3@AETNA.COM31_Mon, 14 May 2001 11:08:02 -0400307_iso-8859-1 The Diagnosis manual is exactly what I need, thanks. I found (and highlighted!) all of the information I needed. Primarily, I was looking for the descriptions of all the values on the header.

As it turns out, we will be able to recreate the data manually. We were lucky on this time! [...] 29400 79 18_Re: Dropped Table!13_Mohan, Ashish21_Ashish.Mohan@NIKE.COM31_Mon, 14 May 2001 08:56:41 -0700325_iso-8859-1 OBID is present as a part of each 'record' in the table. As suggested below, do a DSN1PRINT with FORMAT option and search for PGSOBD. This will be a hex value identifying the OBID of the table this record is associated with. Convert it in decimal. We have V5 installed here and this is true at least till V5. [...] 29480 49 59_Diff in Partitioning implementation between OS/390 and UNIX11_Bikash Paul19_bikash_db@YAHOO.COM31_Mon, 14 May 2001 09:01:54 -0700599_us-ascii Hi listener, I am OS/390 person and Now got some added reponsibility to impletement partitioning on UDB running on HP-UX. Here is my query.

On OS/390, There is a tablespace called partitioned tablespace. - We decide the no of partition for the table and define a partitioned tablespace with same no of partition. - Create a table in the partitioned tablespace - Create a clustered index on the table. All the primary key columns OR only the leading columns could be used for partitioning. While defining the index, we can define range for each and every partition. If emp_no is [...] 29530 148 26_Hybrid vs Nested Loop Join12_Aedan Molony20_Aedan.Molony@PSIR.IE31_Mon, 14 May 2001 17:07:12 +0100506_iso-8859-1 Hi All, We currently have a program that opens a cursor like:-

SELECT MN1 . LINK_ID , MN1 . ORIG_ID , MN1 . ORIG_REF_NO , MN1 . DBT_NME , MN1 . AMT_TYPE , MN1 . TX_AMT, MN1 . FREQ_CDE , MN1 . UPR_LMT , MN1 . END_DATE , MN1 . RCVD_FIN_PYMT_DATE , DA1 . RET_UNIT_CDE , DA1 . RET_UNIT_AC_NO FROM DDD.VDDMN001 MN1 , DDD.VDDDA001 DA1 WHERE MN1 . END_DATE > '2001-05-13' AND MN1 . END_DATE <= '2001-05-14' AND DA1 . CANCLD_IND = 'N' AND MN1 . LINK_ID = DA1 . LINK_ID AND MN1 . LINK_ID > 0 [...] 29679 72 17_Re: Cluster ratio11_Bikash Paul19_bikash_db@YAHOO.COM31_Mon, 14 May 2001 09:07:36 -0700486_us-ascii Hi, You have probably defined Non-Partition clusted index. Good cluster ratio will improve performance always having efficient sequential prefetch method. Ideally data should be perfectly clustered and ratio should be 100%. You can achieve close to 100% by doing reorg. Howerver cluster ratio will fall while data is inserted, deleted from the table. We have some critical tables and do run reorg on them everynight to get good cluster ratio and hence better performance. [...] 29752 45 43_Re: DB2 Inactive thread - DB2 Connect users17_Miguel de Andrade29_miguel.andrade@BTINTERNET.COM31_Mon, 14 May 2001 10:55:21 -0500724_- You may consider : TCPKPALV (overrides inappropriate TCP/IP KeepAlive values) for TCP/IP connections.

Also, the installation manual - Tuning TCP/IP gives very good hints for tuning, and check zparm IDTHTOIN.

Best Regards, Miguel de Andrade

On Mon, 14 May 2001 14:48:02 +0300, Jacob Ganzel wrote:

>Hello list. > >Does TYPE 2 INACTIVE THREAD support ( DB2 V6) disconnects DB2 Connect users? > >Question comes from the need of reducing the number of concurrent DB2 >Connect users by >disconnecting long time IDLE users. > >Is there other ways to do it? > >Thanks Jacob. > >--------------------------------------------------------------- >Jacob Ganzel >Database Products [...] 29798 55 19_DB2 SQL Performance17_Charles Jambrosic22_CJambrosic@CSIHOME.COM31_Mon, 14 May 2001 09:32:09 -0700554_us-ascii I have a performance question with a cobol batch job and DB2 V5.1 on OS/390.

We tested the job in our test environment with production data that was copied over with DSN1COPY.

The program selects 1 row from Table A using an IN-List Index scan on the first column of the index and an equal predicate for the second column. Table A has a 2 column index. Using the data returned a select is done on Table B (6 column index) using an equal predicate for the first column index and for a non-index column. Lastly Table C (2 column [...] 29854 102 30_Re: Hybrid vs Nested Loop Join34_Pillay, Venkat (USPC.PCT.Hopewell)20_venkat_pillay@ML.COM31_Mon, 14 May 2001 12:45:59 -0400427_us-ascii Aedan

Since you haven't provided explain output, there are few information, which would be helpful to analyze the problem.

- Does both tables have clustered index on LINK_ID and how many columns apart from LINK_ID if they are composite ? - If you could provide explain output even better. - What is the cluster ration of the indexes ? - COLCARDF of all the columns involved in the WHERE predicate ? [...] 29957 104 17_Re: Cluster ratio34_Pillay, Venkat (USPC.PCT.Hopewell)20_venkat_pillay@ML.COM31_Mon, 14 May 2001 12:55:40 -0400332_us-ascii The partition index must be a clustering index and there can only be one clustering index for a table. An NPI (non partitioned index) can never be defined as clustering index. This means that clusterratio of your Non partitioned Index is depended on how closely it matches with data pattern of the partitioning index. [...] 30062 23 39_Declared global temporary tables usage.15_Philip, Sibimon20_SPhilip@CSXLINES.COM31_Mon, 14 May 2001 12:56:46 -0400409_iso-8859-1 To all list users,

I would like to know what are different problems faced by using Declared temporary tables in DB2. Is there a fix for all that. Even after applying all these fixes available, do Declared temporary tables still create problems.

Also would like to know the maintenance level, if there one, which we can apply to remove all the declared temporary tables problems. [...] 30086 59 17_Re: Cluster ratio15_Tonmoy Dasgupta32_tonmoy.dasgupta@MAIL.STATE.AR.US31_Mon, 14 May 2001 12:05:47 -0500508_iso-8859-1 I thought so too...but also keep wondering...even with nonclustering indexes the clusterratio is updated in an runstats...so could it have some influence on the optimizer ?...say we have two candidate nonclustering indices (indexes?) for the optimizer in a range scan... could the clusterratio have an influence?

-----Original Message----- From: Beighton-Dykes, Hugh [mailto:hugh.beighton-dykes@EDS.COM] Sent: Monday, May 14, 2001 9:22 AM To: DB2-L@RYCI.COM Subject: Re: Cluster ratio [...] 30146 95 23_Re: DB2 SQL Performance34_Pillay, Venkat (USPC.PCT.Hopewell)20_venkat_pillay@ML.COM31_Mon, 14 May 2001 13:09:21 -0400439_us-ascii The simplest approach would be to convert this to a join (table A vs table B). Since you didn't mention the fullkeycardf & cardf for indexes & table, I assume that TABLE A has duplicate index & colcardf for first column for index on table B is very high.

Converting it to join will make optimizer choose the best access path for you instead of forcing nested loop kind of join programmatically (as you are doing now). [...] 30242 19 31_INDEXES IN TEMPORARY TABLES....34_=?iso-8859-1?Q?Mat=EDas_Salvador?=26_matias_salvador@UOL.COM.AR31_Mon, 14 May 2001 14:38:10 -0300446_iso-8859-1 Is there any way in DB2 to set indexes to Temporary Tables?

MATíAS SALVADOR JAVA Development Team Soluciones Integrales S.A. 590 Roca Av. 7° Floor Buenos Aires +54.011.4345.0537 int. 132

================================================ 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. 30262 17 25_Why is my index not used?15_Daniel Sullivan28_daniel.sullivan@ZURICHNA.COM31_Mon, 14 May 2001 12:52:13 -0500295_us-ascii I have created an index that contains all the columns in my where clause. I have run runstats, when I look at the activity in SAP it shows a completely different index being used and only matching one column of that index.

If anyone has an idea I'd like to hear it. Thanks. [...] 30280 77 35_Re: INDEXES IN TEMPORARY TABLES....16_Charles F Creech24_cfcreech@DUKE-ENERGY.COM31_Mon, 14 May 2001 13:58:52 -0400446_iso-8859-1 Yes,

If it is a declared temporary table and you are on os/390 version 6.1, then you can create indexes on the temporary tables.

Rick Creech





Matías Salvador cc: Sent by: DB2 Data bcc: Base Discussion Subject: INDEXES IN TEMPORARY TABLES.... List



05/14/01 02:08 PM Please respond to DB2 Data Base Discussion List [...] 30358 95 17_Re: Cluster ratio14_Sinha, Abhijit20_Abhijit.Sinha@GS.COM31_Mon, 14 May 2001 14:06:20 -0400391_iso-8859-1 Hi,

Can someone tell how is cluster ratio affected if there are ONLY inserts (frequent)to a table and of course selects (frequent), but NO deletes (well, probably once every 5 years by timestamp) and NO updates. This is for a history table for our application where we aim to keep the historical data for say, 5 years minimum (projected 50 million rows over 5 years). [...] 30454 37 20_db2 personal edition13_Jimmy Willett13_JRLBW@AOL.COM29_Mon, 14 May 2001 14:10:09 EDT371_US-ASCII I have just downloaded the v7.1 personal edition from IBM. I installed it and when I tried to create the sample database, it had authority problems. I am using Windows 98. I know that in Windows NT, the NT admin has to be set properly for 8 chars... Where do you set authority in Win98?? There is no administration folder in win98 like there is in win NT. Thanks 30492 136 45_Re: Disaster Recovery Data Sharing Questions.12_Tony Konczak22_TKonczak@CHECKFREE.COM31_Mon, 14 May 2001 14:07:26 -0400319_us-ascii

Lee, Try using DSNJU004 to print out the BSDS from each Data Sharing member. Get the ENDLRSN of the last log archived to disk for each Member and subtract 1 from lowest one. If you don't mirror your logs, all of your information is formatted neatly in the ACTIVE log section of the BSDS printout. [...] 30629 32 29_Re: Why is my index not used?14_Zobjeck, A. J.18_Al_Zobjeck@TTX.COM31_Mon, 14 May 2001 13:20:03 -0500528_iso-8859-1 I'm sure you ran runstats. But what are the columns in your index and on which SAP table?

-----Original Message----- From: Daniel Sullivan [mailto:daniel.sullivan@ZURICHNA.COM] Sent: Monday, May 14, 2001 12:52 PM To: DB2-L@RYCI.COM Subject: Why is my index not used?



I have created an index that contains all the columns in my where clause. I have run runstats, when I look at the activity in SAP it shows a completely different index being used and only matching one column of that index. [...] 30662 78 63_Re: Diff in Partitioning implementation between OS/390 and UNIX15_Stacey L Waters23_WATERSS1@NATIONWIDE.COM31_Mon, 14 May 2001 13:34:39 -0500421_us-ascii UDB on NT/UNIX uses hashed based partitioning not range. In other words you do not specify a range values. UDB itself takes care of balancing the data between the partitions. A table is partitioned based on a subset of column(s) which is defined in the create table statement. The table is assigned to a tablespace at that point. The tablespace in turn controls across which nodes the table is partitioned. [...] 30741 142 29_Re: Why is my index not used?12_Troy Coleman19_Colematr@MEIJER.COM31_Mon, 14 May 2001 14:35:50 -0400391_US-ASCII When you prototype the SQL statement and do an explain are you using "?" for place holders?

Example:

The value for col1 = 'ABC' and for col2 = 'XYZ'

EXPLAIN ALL SET QUERYNO = 1 FOR Select col1, col2, col3 From tbl1 Where col1 = 'ABC' and col2 = ?

EXPLAIN ALL SET QUERYNO = 2 FOR Select col1, col2, col3 From tbl1 Where col1 = 'ABC' and col2 = 'XYZ' [...] 30884 12 29_Re: Why is my index not used?15_Daniel Sullivan28_daniel.sullivan@ZURICHNA.COM31_Mon, 14 May 2001 13:53:55 -0500289_us-ascii Yes I'm using the ? as a place holder.

================================================ 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. 30897 129 63_Re: Diff in Partitioning implementation between OS/390 and UNIX11_Bikash Paul19_bikash_db@YAHOO.COM31_Mon, 14 May 2001 12:03:44 -0700605_us-ascii Thanks stacey. I understand that range based partitioning is not possible. I have a requirement where data pertaining a region is kept in a separate table. We thought of replacing it using partitioning technique. Is there any way of restricting a partition to have predefined set of data. What i am looking at is, Using partitioning, We can acheive the followings 1) Introduce parallelism in batch and each stream will only look into a single partition 2) Restrict the access to a partition, whould improve the scan time while tablespace scan is being used 3) Keeping a partitions data into [...] 31027 12 29_Re: Why is my index not used?0_25_Ed_Vetock@NAVYFEDERAL.ORG31_Mon, 14 May 2001 15:10:31 -0400320_us-ascii What about binding the plan after creation of the index and runstats?

================================================ 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. 31040 26 27_DB2 v7.2 Free Beta Download15_Kellie Wiginton16_kwig37@YAHOO.COM31_Mon, 14 May 2001 12:41:57 -0700567_us-ascii ================== DB2 for Linux and Windows v7.2 Free Beta Download

IBM has extended the record breaking performance and functionality of DB2 Universal Database with the announcement of Version 7.2. You can request a free 90 day trial copy of the BETA code by registering now.

http://www-4.ibm.com/software/data/db2/udb/downloads.html?open&l=327,t=grdb2,p=v7.2 ==================

__________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ [...] 31067 20 27_Books for DB2 Certification10_Raghu Kota21_raghukota@HOTMAIL.COM31_Mon, 14 May 2001 19:44:25 -0000542_- Hi Friends

What are best books for preparing DB2 version7.1 certification on os/390, How many papers are there??? Any Info???

TIA Raghu. _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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. 31088 156 63_Re: Diff in Partitioning implementation between OS/390 and UNIX15_Stacey L Waters23_WATERSS1@NATIONWIDE.COM31_Mon, 14 May 2001 14:44:36 -0500411_us-ascii Bikash, I am interested in getting more information about each of the points listed in your email. If you can write me in more detail either through the listserv or directly I will try and help.

Thanks, Stacey







Bikash Paul @RYCI.COM> on 05/14/2001 02:03:44 PM

From: Bikash Paul @RYCI.COM on 05/14/2001 02:03 PM [...] 31245 19 32_DB2 Admin Client on Windows 200011_Judy Kibler21_judith.kibler@TRW.COM31_Mon, 14 May 2001 15:02:23 -0500449_us-ascii Hello Listers,

Has anyone had problems with the DB2 Administration Client software (v6) locking up on their Windows 2000 client PCs? Any known solution to the problem?

TIA, Judy Kibler

================================================ To change your subscription options or to cancel your subscription visit the DB2-L webpage at http://www.ryci.com/db2-l. The owners of the list can be reached at DB2-L-REQUEST@RYCI.COM. 31265 52 31_Re: Books for DB2 Certification12_Amit Agarwal33_amit_agarwal@STANDARDANDPOORS.COM31_Mon, 14 May 2001 16:12:25 -0400658_us-ascii Someone in this list informed that a certification guide for OS/390 Db2 version 7.1 will be coming out next month(June 2001) Check out www.ibm.com/certify







Raghu Kota on 05/14/2001 03:44:25 PM



Please respond to DB2 Data Base Discussion List





To: DB2-L@RYCI.COM

cc: (bcc: Amit Agarwal/FIS)





Subject: Books for DB2 Certification











Hi Friends

What are best books for preparing DB2 version7.1 certification on os/390, How many papers are there??? Any Info??? [...] 31318 39 24_Re: db2 personal edition21_Devineni, KishoreBabu29_KishoreBabu.Devineni@NIKE.COM31_Mon, 14 May 2001 13:58:36 -0700331_us-ascii You can download the LAB exercises(It is a PDF file) from IBM web site and there is a solution for this. As for as I remember any user ID can be used as SYSADMIN for Win'98... Create an instance INST1 Change the instance name in autoexec file Restart the machine and log on as INST1 Create sample data base in INST1. [...] 31358 32 29_Re: Why is my index not used?13_Shauna Hadden24_shauna.hadden@BCBSKS.COM31_Mon, 14 May 2001 15:47:52 -0500456_- There are a lot of questions that come to my mind when I here similar stories.

1. Are you sure your where clause is indexable? (see Application & Programming Guide on Predicate Evaluation and Processing)

2. What is the cardinality of the columns in the index? High or low?

3. What is it that the optimizer likes about the other index? Compare the columns being used in each and where they are in the pecking order of the index. [...] 31391 13 25_Example of REPAIR LEVELID11_Jeff Faughn22_Jeff_Faughn@MAY-CO.COM31_Mon, 14 May 2001 16:28:46 -0500339_us-ascii Does anyone have an example of using REPAIR to reset the LEVELID on a tablespace?... : )

================================================ 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. 31405 90 24_Re: db2 personal edition18_Gert van der Kooij15_geko@WANADOO.NL31_Mon, 14 May 2001 23:32:55 +0200610_iso-8859-1 Hi,

You probably need to run the db2logon command. ----- Original Message ----- From: Jimmy Willett Newsgroups: bit.listserv.db2-l To: DB2-L@RYCI.COM Sent: Monday, May 14, 2001 8:10 PM Subject: db2 personal edition



I have just downloaded the v7.1 personal edition from IBM. I installed it and when I tried to create the sample database, it had authority problems. I am using Windows 98. I know that in Windows NT, the NT admin has to be set properly for 8 chars... Where do you set authority in Win98?? There is no administration folder in win98 like there is in win NT. Thanks 31496 38 29_Re: Example of REPAIR LEVELID13_Olson, Carlos14_COlson@QRS.COM31_Mon, 14 May 2001 15:47:12 -0700551_iso-8859-1 REPAIR LEVELID TABLESPACE databasename.tablespacename add PART 01 and repeat the line for each partition if this is a partitioned tablespace.

Carlos Olson Database Administrator QRS Corporation email: colson@qrs.com http://www.qrs.com





-----Original Message----- From: Jeff Faughn [mailto:Jeff_Faughn@MAY-CO.COM] Sent: Monday, May 14, 2001 2:29 PM To: DB2-L@RYCI.COM Subject: Example of REPAIR LEVELID



Does anyone have an example of using REPAIR to reset the LEVELID on a tablespace?... : ) [...] 31535 55 29_Re: Why is my index not used?12_Cianci, Nick28_Nick.Cianci@TEAM.TELSTRA.COM31_Tue, 15 May 2001 08:46:04 +1000356_- ... and add to that

7) Can DB2 avoid a sort by using the first index rather than the new one.

... but as Shauna has said with out specific details it's very hard to say why.

Cheers, Nick Cianci DB2 DBA - CCRI Project 5th Floor (South) 484 StKilda Rd MELBOURNE 3004 * (+613) 9865-8354 (+61) 0408-64 06 01 * NCianci@CPTglobal.com [...] 31591 40 24_Re: db2 personal edition15_Bell, Raymond W31_Raymond.W.Bell@TEAM.TELSTRA.COM31_Tue, 15 May 2001 09:25:51 +1000480_- Jimmy,

I'm not going to be any help but I know how frustrating getting DB2 on Windoze to work can be. I managed to install DB2 V6.1 on W98 successfully and never had to manage any security settings. This is on my stand-alone laptop at home. The only time it prompted me for an ID was when I started using the Control Center (sp) and Command Center (sp). It seems any old damn thing will do, too. Maybe some more details might help someone else on the list help you. [...] 31632 52 27_Re: Column Naming Standards15_Bell, Raymond W31_Raymond.W.Bell@TEAM.TELSTRA.COM31_Tue, 15 May 2001 10:12:59 +1000615_- That wouln't be Eric by any chance, would it? 'Ho-ho-ho, he-he-he, Eric the half-a-bee'.

Sorry, again couldn't resist.



Raymond

> -----Original Message----- > From: Seibert, Dave [SMTP:Dave_Seibert@COMPUWARE.COM] > Sent: Monday, 14 May 2001 10:37 pm > To: DB2-L@RYCI.COM > Subject: Re: Column Naming Standards > > Hi Glenn, > > I have been victim of such naming standards policies in my checkered > past. > > I never found them very helpful. Sure, standardization is desirable. But > it > seemed to me (as a DBA -- not a DA) and the developers I supported that > the > irrational [...] 31685 111 24_Re: Buffer pool question10_Radha Rani24_radha_rani@ALTAVISTA.COM31_Mon, 14 May 2001 21:09:56 -0700482_- Sanjeev, It is my understanding that migration of pages to HP is not a 'continuous' process but a process 'triggered' when inventory of 'Free' buffers in virtual buffer pools goes below 128 (for bufferpools > 2500 pages). 128 buffers is not a huge number and it is very much possible that a GETPAGE request has to 'wait' because: 1. There are no 'free' buffers available AND 2. The ADMF task is still 'in the process' of transporting a buffer from virtual pool to hiperpool. [...] 31797 68 17_Re: Cluster ratio16_S, Sanjeev (CTS)26_SSanjeev@CAL.COGNIZANT.COM31_Tue, 15 May 2001 10:01:46 +0530447_- Abhijit,

If we look at the insert mechanism in DB2, we will come to know how the clustering destroys due to this. In brief, when a record is to be inserted, DB2 performs following actions: i) Decide the home page for the record on the basis of clustering index ii) If space is there in the home page or it is not locked, insert the record else look for the other pages(bit of story is there which varies as per the tablespace type). [...] 31866 15 47_Frank Yao/CACI/Prudential is out of the office.9_Frank Yao24_frank.yao@PRUDENTIAL.COM31_Tue, 15 May 2001 01:00:38 -0400412_us-ascii I will be out of the office from 05/12/2001 until 05/21/2001.

If this is an emergency, please contact Eileen Bennett at 716-6451 or Pat Kelly at 716-1559.

================================================ 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.