Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by staland

  1. staland

    SQL Statement

    Hi JK I think you (almost) got it right, you just got the column names mixed up. SELECT REENTNDAT, CASE WHEN REENTDAT IS NULL THEN '' ELSE REPOMEN END AS REENTMEN FROM HILFSSTO.REBEW It worked fine in my own installation /Helle
  2. staland

    reorg index vs rebuild index

    If the index is corrupted you have to REBUILD it (to get the correct keys from the table) If the index 'just' need to be cleaned up, you can use REORG INDEX. If you choose REORG you can still use the table (without the index) while the REBUILD utility also uses the table.
  3. staland

    Temporary mapping table

    Hi We're running DB2 v7 on z/OS So far we've had one shared mapping table for running online reorg. I'm trying to change it so we can use a temporary table for the reorg jobs - that way we can run several reorg jobs simultaneously without having different mapping tables created. But the...
  4. staland

    Load problem for Char column

    Hi, I just tried to recreate your problem, but I didn't have any problems. Which error do you receive?? How does your LOAD statement look? Helle Stålander
  5. staland

    How do I Create an Updateable Global Temp Table?

    I guess your global temp tables was created with a CREATE GLOBAL TEMPORARY TABLE statement You can read much more about created temporary tables in "DB2 SQL Reference" Helle Stålander
  6. staland

    DB2 Table Layout Question

    Hello, Try this: SELECT A.NAME,B.NAME AS PRIMKEY FROM SYSIBM.SYSTABLES A, SYSIBM.SYSCOLUMNS B WHERE A.NAME = B.TBNAME AND A.KEYCOLUMNS = B.COLNO ; Helle
  7. staland

    DB2 restore problem without log files

    I'm sorry too..... I don't know anything about running DB2 on NT, I hope someone else can help you. Helle
  8. staland

    From user managed to DB2 managed

    Hello, We're running DB2 v.7 on OS/390, have ca. 120 databases with a total of 1600GB data. We're using user-managed datasets (allocating datasets by IDCAMS) but considering to convert to DB2-managed datasets (using storage groups). (We will not convert to SMS-managed.) Here's the question: How...
  9. staland

    DB2 restore problem without log files

    Hello, I'm not sure what you mean by "online copy". If it is a copy taken with shrlevel(change), it's not really a problem. RECOVER TABLESPACE database.tablespace TOCOPY copy-dataset-name TOVOLUME vol-ser TOSEQNO ## You'll probably have to take a copy of the data...

Part and Inventory Search

Back
Top