Truncating the initial space

Hello,
Say for example I would like to print the following line on the report:
title:0
where 0 is passed in as a variable var type i
However, if I do
write: 'title:', var.
I ended up getting something like
title:              0
How can I remove the space before the 0, thank a lot!
Regards,
Anyi

You can do something like this.
report zrich_0001.
data: value type i value 0.
data: value_c(4) type c.
data: output(30) type c value 'Title:'.
value_c = value.
concatenate output value_c into output.
condense output no-gaps.
write:/ output.
Regards,
Rich heilman

Similar Messages

  • NI 5122 add processing filter step truncate the initial curve

    Hello fellows,
    I'm trying to add Waveform Processing Step to my NI5122 channel 0 acqusition and I don't understand why my resulting waveform have some point that are truncated from original waveform.
    In attached file the Vi that I run to adquire my waveform on channel 0. I apply the Butterworth IIR Filter directly to the waveform that is adquired on channel 0 and I don't have the same problem as when I tried to apply the filter directly through the Add Waveform Processing step VI.
    Is there any step I am missing to proceed correctly the filter on the digitizer ?
    Best regards,
    Armindo PINTO
    Attachments:
    niScope Butterworth filter.vi ‏272 KB

    Hello NewCLAD,
    Thank you for posting on the National Instruments' forum.
    I think the difference between both your Waveform is how you read your sample.
    On one hand you use the multi-read wdt VI and in the other hand you use Fetch Measurement VI. If you use indicator, you can see that the number of samples is different between them.
    If you want more inforamtion you can use these links:
    - http://digital.ni.com/public.nsf/allkb/75A7E5F36CEB679F862576420055C8F0?OpenDocument
    - http://digital.ni.com/public.nsf/allkb/8403533DB4AB37C7862572130014056E?OpenDocument
    Kind regards.
    Pierre_D
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    LabVIEW Tour
    Journées Techniques dans 10 villes en France, du 4 au 20 novembre 2014

  • Sapscript - displaying two text fields after truncating the spaces.

    Hi Friends,
    In a sapscript, I have to display the name of the vendor which is in two different fields each of length 40 chars. The first one may be filled to the maximum and the remaining goes into the second field and may occupy only 30 or 35 chars. I need to display the two side by side and the space available is 70 chars. I am using an existing script and I am not able to print the two side by side. It is going to the next line. How do I truncate the trailing spaces of either field. Please help. It is quite urgent.
    Thanks,
    BP.

    Hi Bindu,
    use the perform to concatenate name1 and name2 to NAME and use this field in address command.
    Check with the following code:
    /:   DEFINE &ZNAME& = ''
    PERFORM ADDRESS IN PROGRAM 'PROGRAM'
    USING    &REGUH-ZNME1& 
    USING    &REGUH-ZNME2&                             
    CHANGING &ZNAME&                       
    ENDPERFORM                                      
    FORM address
              TABLES itab STRUCTURE itcsy
                     otab STRUCTURE itcsy.
    LOOP AT itab.
        CASE itab-name.
          WHEN 'REGUH-ZNME1'.
            l_name1 = itab-value.
          WHEN 'REGUH-ZNME2'.
            l_name2 = itab-value.
        ENDCASE.
      ENDLOOP.
    use the logic.
    Endform.

  • Space is not released after truncating the table

    Team,
    We have a table of size 550gigs in size and we truncated the table , truncated sucessfully but space is not released in os level, what action we can take to release the space and this table has only one row and contains the binary data.
    Thanks
    PGR

    Team,
    We have a table of size 550gigs in size and we truncated the table , truncated sucessfully but space is not released in os level, what action we can take to release the space and this table has only one row and contains the binary data.
    Thanks
    PGR
    Hello,
    Yes space wont be released immediately .If large extents are in picture which I assume is your case it goes into deferred drop a background process which will execute after some time( time may vary).See below link for details.
    As per BOL if extents are more than 128 it goes in deferred drop.
    http://msdn.microsoft.com/en-us/library/ms177495.aspx
    You should wait for some time .keep checking the free space
    Below discussion will surely help you in understanding.See Jonathan's reply
    http://social.msdn.microsoft.com/Forums/en-US/4aa2537e-246b-4bfe-818d-3482531d9149/sql-server-2005-massive-400gb-table-dropped-space-not-released
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Using TRUNCATE to free space used by CLOB/BLOB

    Hi ,
    Can we free the complete space used by a CLOB or BLOB by issuing a TRUNCATE command on the table containg these large objects?

    Sorry about my loose terminology - yes I did mean a sparse bundle. Yes if the backup is created on a local disk, it uses ordinary folders. If it is first created over a network, then it creates a sparse bundle. having created the sparse bundle, you can then connect the disk directly for speeding up the initial backup or a major restore, but also connect remotely for routine incremental backups or minor restores.
    It sounds like the type of sparse bundle created may depend on circumstances. In my case I am backing up from a laptop onto a partition on my desktop machine running Leopard 10.5.2 and when I grew the partition, although the Time Machine preference pane saw the extra space, when it came to a backup I got an error message saying there was not enough space and reporting the original size. Deleting and starting over again fixed this.
    It is possible that in other circumstances a disk attached to a Time Capsule or elsewhere might get a sparse bundle with different parameters.
    Incidentally, I tried copying my old backup sparse bundle onto another drive, deleting it and letting Time Machine create a new sparse bundle on my grown partition and copying the contents from the old one into the new one. Time Machine refused to work with it, so I lost my old backups.
    What we need is a Time Machine Utility to manipulate these files, copy them, move backups from direct folders to sparse bundles etc. Ideally Apple would produce this, but I would be willing to pay a shareware fee for that.

  • How to truncate the values from the table

    Hi All,
    I am working on an issue..where we are first deleting all the records from the table and then based on few conditions we are putting the records back in that table...when we tried to run this program along with few others those who are doing almost the same stuff we are having issues...we tried to schedule few jobs related to these programs only...but after a ceratin amount of time couple of jobs got canceled...I was talking to my basis guy and he said the problem is ratehr then truncating the records from the table we are deleting the records and it's taking lots and lots of space to execute...so we need to truncate the records from the table insted of deleting it...we are using the following the statement right now:
        DELETE FROM ZTUS_PG.
        COMMIT WORK.
    So can you please tell me how can we truncate the values from this table instead of just deleting them and what would be effect of this.
    Thanks,
    Rajeev Gupta

    I don't think basis is saying you should delete all the records from the table. They are saying remove the table and it's contents (a much faster thing to do). I'm not sure this the right thing to do, but you can have a look at:
    http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.apdv.sample.doc/doc/admin_scripts/s-truncate-db2.htm
    Something like:
    EXEC SQL.
      TRUNCATE TABLE ZTUS_PG REUSE STORAGE
    ENDEXEC.
    COMMIT WORK.                      "Empty table is committed here
    Rob
    Edited by: Rob Burbank on Dec 1, 2008 4:06 PM

  • Is Time Machine under Snow Leopard faster only for the initial backup?

    A few days ago, I upgraded to Snow Leopard -- via clean install, manual reinstallation of apps, etc. So understandably, the first Time Machine backup to a preexisting store on an original 500 GB Time Capsule is going to be huge and take a long time. Apple claims that TM is 40% faster on the initial backup, but are there speed improvements as well? I was surprised by the slowness; I started it before going to bed, and it wasn't nearly done when I woke up:
    http://support.apple.com/kb/HT1770
    Jan 6 01:29:52 Musa com.apple.backupd[438]: Copied 8.3 GB of 59.3 GB, 9299 of 250057 items
    Jan 6 02:29:52 Musa com.apple.backupd[438]: Copied 9.6 GB of 59.3 GB, 35209 of 250057 items
    Jan 6 03:29:52 Musa com.apple.backupd[438]: Copied 11.5 GB of 59.3 GB, 48441 of 250057 items
    Jan 6 04:29:52 Musa com.apple.backupd[438]: Copied 12.9 GB of 59.3 GB, 109846 of 250057 items
    Jan 6 05:29:53 Musa com.apple.backupd[438]: Copied 17.4 GB of 59.3 GB, 140388 of 250057 items
    Jan 6 06:29:54 Musa com.apple.backupd[438]: Copied 26.1 GB of 59.3 GB, 151723 of 250057 items
    Jan 6 07:29:54 Musa com.apple.backupd[438]: Copied 36.9 GB of 59.3 GB, 167431 of 250057 items
    Jan 6 08:20:04 Musa com.apple.backupd[438]: Copied 219433 files (38.0 GB) from volume Gigas.
    The throughput rate is quite variable, but at its best, it's only about 2.7 MB/sec. Is that to be expected, or would I have to start a new backup to see speed improvements?

    Kappy wrote:
    i'd say you are concerned over nothing.
    Not sure I agree. Look at this system.log output:
    Jan 6 19:54:22 Musa com.apple.backupd[7571]: Starting standard backup
    Jan 6 19:54:22 Musa com.apple.backupd[7571]: Attempting to mount network destination using URL: afp://odysseus@Time%20Capsule.afpovertcp.tcp.local/odysseus
    Jan 6 19:54:30 Musa com.apple.backupd[7571]: Mounted network destination using URL: afp://odysseus@Time%20Capsule.afpovertcp.tcp.local/odysseus
    Jan 6 19:54:33 Musa com.apple.backupd[7571]: Disk image /Volumes/odysseus/Musa_002332d5c37e.sparsebundle mounted at: /Volumes/Backup of Musa
    Jan 6 19:54:33 Musa com.apple.backupd[7571]: Backing up to: /Volumes/Backup of Musa/Backups.backupdb
    Jan 6 19:54:42 Musa com.apple.backupd[7571]: Node requires deep traversal:/ reason:must scan subdirs|
    Jan 6 20:00:50 Musa com.apple.backupd[7571]: Compacting storage: 72.07 GB requested (including padding), 58.36 GB available before compacting
    Jan 6 20:00:50 Musa com.apple.backupd[7571]: Stopping backup.
    Jan 6 20:00:50 Musa com.apple.backupd[7571]: Backup canceled.
    Jan 6 20:00:53 Musa com.apple.backupd[7571]: Ejected Time Machine disk image.
    Jan 6 20:00:53 Musa com.apple.backupd[7571]: Compacting backup disk image to recover free space
    Jan 6 20:01:12 Musa com.apple.backupd[7571]: Completed backup disk image compaction
    Jan 6 20:01:12 Musa com.apple.backupd[7571]: Starting standard backup
    Jan 6 20:01:12 Musa com.apple.backupd[7571]: Network destination already mounted at: /Volumes/odysseus
    Jan 6 20:01:14 Musa com.apple.backupd[7571]: Disk image /Volumes/odysseus/Musa_002332d5c37e.sparsebundle mounted at: /Volumes/Backup of Musa
    Jan 6 20:01:14 Musa com.apple.backupd[7571]: Backing up to: /Volumes/Backup of Musa/Backups.backupdb
    Jan 6 20:01:20 Musa com.apple.backupd[7571]: Node requires deep traversal:/ reason:must scan subdirs|
    Jan 6 20:07:26 Musa com.apple.backupd[7571]: Starting pre-backup thinning: 72.07 GB requested (including padding), 58.36 GB available
    Jan 6 20:10:46 Musa com.apple.backupd[7571]: Deleted backup /Volumes/Backup of Musa/Backups.backupdb/Musa/2010-01-03-131536: 58.42 GB now available
    Jan 6 20:12:10 Musa com.apple.backupd[7571]: Deleted backup /Volumes/Backup of Musa/Backups.backupdb/Musa/2010-01-04-094152: 58.52 GB now available
    Jan 6 20:13:02 Musa com.apple.backupd[7571]: Deleted backup /Volumes/Backup of Musa/Backups.backupdb/Musa/2010-01-04-073331: 58.57 GB now available
    Jan 6 20:13:02 Musa com.apple.backupd[7571]: Stopping backup.
    Jan 6 20:13:02 Musa com.apple.backupd[7571]: Backup canceled.
    Jan 6 20:13:08 Musa com.apple.backupd[7571]: Ejected Time Machine disk image.
    Jan 6 20:13:08 Musa com.apple.backupd[7571]: Compacting backup disk image to recover free space
    Jan 6 20:13:30 Musa com.apple.backupd[7571]: Completed backup disk image compaction
    Jan 6 20:13:30 Musa com.apple.backupd[7571]: Starting standard backup
    Jan 6 20:13:30 Musa com.apple.backupd[7571]: Network destination already mounted at: /Volumes/odysseus
    Jan 6 20:13:33 Musa com.apple.backupd[7571]: Disk image /Volumes/odysseus/Musa_002332d5c37e.sparsebundle mounted at: /Volumes/Backup of Musa
    Jan 6 20:13:33 Musa com.apple.backupd[7571]: Backing up to: /Volumes/Backup of Musa/Backups.backupdb
    Jan 6 20:13:41 Musa com.apple.backupd[7571]: Node requires deep traversal:/ reason:must scan subdirs|
    Jan 6 20:19:36 Musa com.apple.backupd[7571]: Starting pre-backup thinning: 72.07 GB requested (including padding), 58.57 GB available
    Jan 6 20:20:38 Musa com.apple.backupd[7571]: Deleted backup /Volumes/Backup of Musa/Backups.backupdb/Musa/2010-01-04-071252: 58.58 GB now available
    Jan 6 20:20:38 Musa com.apple.backupd[7571]: Removed all 1 expired backups, more space is needed - deleting oldest backups to make room
    Jan 6 20:25:17 Musa com.apple.backupd[7571]: Deleted backup /Volumes/Backup of Musa/Backups.backupdb/Musa/2009-07-31-231155: 60.81 GB now available
    Jan 6 20:25:17 Musa com.apple.backupd[7571]: Deleted 2 backups: oldest backup is now Aug 15, 2009
    Jan 6 20:25:17 Musa com.apple.backupd[7571]: Stopping backup.
    Jan 6 20:25:20 Musa com.apple.backupd[7571]: Backup canceled.
    Jan 6 20:25:24 Musa com.apple.backupd[7571]: Ejected Time Machine disk image.
    Jan 6 20:25:24 Musa com.apple.backupd[7571]: Compacting backup disk image to recover free space
    Jan 6 20:26:39 Musa com.apple.backupd[7571]: Completed backup disk image compaction
    Jan 6 20:26:39 Musa com.apple.backupd[7571]: Starting standard backup
    Jan 6 20:26:39 Musa com.apple.backupd[7571]: Network destination already mounted at: /Volumes/odysseus
    Jan 6 20:26:41 Musa com.apple.backupd[7571]: Disk image /Volumes/odysseus/Musa_002332d5c37e.sparsebundle mounted at: /Volumes/Backup of Musa
    Jan 6 20:26:41 Musa com.apple.backupd[7571]: Backing up to: /Volumes/Backup of Musa/Backups.backupdb
    Jan 6 20:26:49 Musa com.apple.backupd[7571]: Node requires deep traversal:/ reason:must scan subdirs|
    Jan 6 20:32:46 Musa com.apple.backupd[7571]: Starting pre-backup thinning: 72.07 GB requested (including padding), 60.81 GB available
    Jan 6 20:32:46 Musa com.apple.backupd[7571]: No expired backups exist - deleting oldest backups to make room
    Jan 6 20:47:38 Musa com.apple.backupd[7571]: Deleted backup /Volumes/Backup of Musa/Backups.backupdb/Musa/2009-08-15-182619: 65.12 GB now available
    Jan 6 20:47:38 Musa com.apple.backupd[7571]: Deleted 1 backups: oldest backup is now Aug 25, 2009
    Jan 6 20:47:38 Musa com.apple.backupd[7571]: Stopping backup.
    Jan 6 20:47:41 Musa com.apple.backupd[7571]: Backup canceled.
    Jan 6 20:47:47 Musa com.apple.backupd[7571]: Ejected Time Machine disk image.
    Jan 6 20:47:47 Musa com.apple.backupd[7571]: Compacting backup disk image to recover free space
    Jan 6 20:49:36 Musa com.apple.backupd[7571]: Completed backup disk image compaction
    Jan 6 20:49:36 Musa com.apple.backupd[7571]: Starting standard backup
    Jan 6 20:49:36 Musa com.apple.backupd[7571]: Network destination already mounted at: /Volumes/odysseus
    Jan 6 20:49:38 Musa com.apple.backupd[7571]: Disk image /Volumes/odysseus/Musa_002332d5c37e.sparsebundle mounted at: /Volumes/Backup of Musa
    Jan 6 20:49:38 Musa com.apple.backupd[7571]: Backing up to: /Volumes/Backup of Musa/Backups.backupdb
    Jan 6 20:49:46 Musa com.apple.backupd[7571]: Node requires deep traversal:/ reason:must scan subdirs|
    Jan 6 20:55:48 Musa com.apple.backupd[7571]: Starting pre-backup thinning: 72.06 GB requested (including padding), 65.12 GB available
    Jan 6 20:55:48 Musa com.apple.backupd[7571]: No expired backups exist - deleting oldest backups to make room
    Jan 6 21:05:11 Musa com.apple.backupd[7571]: Deleted backup /Volumes/Backup of Musa/Backups.backupdb/Musa/2009-08-25-185228: 67.32 GB now available
    Jan 6 21:05:11 Musa com.apple.backupd[7571]: Deleted 1 backups: oldest backup is now Sep 1, 2009
    Jan 6 21:05:11 Musa com.apple.backupd[7571]: Stopping backup.
    Jan 6 21:05:13 Musa com.apple.backupd[7571]: Backup canceled.
    Jan 6 21:05:22 Musa com.apple.backupd[7571]: Ejected Time Machine disk image.
    Jan 6 21:05:22 Musa com.apple.backupd[7571]: Compacting backup disk image to recover free space
    Jan 6 21:06:45 Musa com.apple.backupd[7571]: Completed backup disk image compaction
    Jan 6 21:06:45 Musa com.apple.backupd[7571]: Starting standard backup
    Jan 6 21:06:45 Musa com.apple.backupd[7571]: Network destination already mounted at: /Volumes/odysseus
    Jan 6 21:06:48 Musa com.apple.backupd[7571]: Disk image /Volumes/odysseus/Musa_002332d5c37e.sparsebundle mounted at: /Volumes/Backup of Musa
    Jan 6 21:06:48 Musa com.apple.backupd[7571]: Backing up to: /Volumes/Backup of Musa/Backups.backupdb
    Jan 6 21:06:57 Musa com.apple.backupd[7571]: Node requires deep traversal:/ reason:must scan subdirs|
    Jan 6 21:12:57 Musa com.apple.backupd[7571]: Starting pre-backup thinning: 72.06 GB requested (including padding), 67.32 GB available
    Jan 6 21:12:57 Musa com.apple.backupd[7571]: No expired backups exist - deleting oldest backups to make room
    Jan 6 21:25:51 Musa com.apple.backupd[7571]: Deleted backup /Volumes/Backup of Musa/Backups.backupdb/Musa/2009-09-01-060212: 69.89 GB now available
    Jan 6 21:25:51 Musa com.apple.backupd[7571]: Deleted 1 backups: oldest backup is now Sep 8, 2009
    Jan 6 21:25:51 Musa com.apple.backupd[7571]: Stopping backup.
    Jan 6 21:25:53 Musa com.apple.backupd[7571]: Backup canceled.
    Jan 6 21:26:00 Musa com.apple.backupd[7571]: Ejected Time Machine disk image.
    Jan 6 21:26:00 Musa com.apple.backupd[7571]: Compacting backup disk image to recover free space
    Jan 6 21:27:30 Musa com.apple.backupd[7571]: Completed backup disk image compaction
    Jan 6 21:27:30 Musa com.apple.backupd[7571]: Starting standard backup
    Jan 6 21:27:30 Musa com.apple.backupd[7571]: Network destination already mounted at: /Volumes/odysseus
    Jan 6 21:27:33 Musa com.apple.backupd[7571]: Disk image /Volumes/odysseus/Musa_002332d5c37e.sparsebundle mounted at: /Volumes/Backup of Musa
    Jan 6 21:27:33 Musa com.apple.backupd[7571]: Backing up to: /Volumes/Backup of Musa/Backups.backupdb
    Jan 6 21:27:41 Musa com.apple.backupd[7571]: Node requires deep traversal:/ reason:must scan subdirs|
    Jan 6 21:33:37 Musa com.apple.backupd[7571]: Starting pre-backup thinning: 72.06 GB requested (including padding), 69.89 GB available
    Jan 6 21:33:37 Musa com.apple.backupd[7571]: No expired backups exist - deleting oldest backups to make room
    Jan 6 21:45:33 Musa com.apple.backupd[7571]: Deleted backup /Volumes/Backup of Musa/Backups.backupdb/Musa/2009-09-08-081225: 72.34 GB now available
    Jan 6 21:45:33 Musa com.apple.backupd[7571]: Pre-backup thinning completed successfully: 1 backups were deleted
    Jan 6 21:45:33 Musa com.apple.backupd[7571]: Backup date range was shortened: oldest backup is now Sep 15, 2009

  • Trouble with the Expose&Spaces.

    I have enabled the space function, there are 4 spaces. I was reading the mypearsonBook on the web on the first space,then I changed to second space, and then change back to the first space. When I click the primary click button, it was changed to right. My initial setting is left. When I open the system preferences and click into the Mouse to c, the primary click button still on the left. Then I go back to myPearsonBook, my primary click has been changed back to left automatically. If I changed to the second space, and then go back to the first space again. That problem will happen again, and I have to click into the Mouse of the system preferences to correct again. Everything is fine, except when I was using mypearsonbook.

    Found this:
    Are you using separate desktops with Spaces? If so, try disable it and see if the window shows up. Otherwise you can try trash the com.apple.iphoto.plist file from the home / library / preferences folder

  • How can I fill the blank space in the example below?

    I have to fill using sql statement the blank space with the same description that appears below that belong to the same STTCKT. I
    am using a temporary table.

    There is no need in ROW_NUMBER. You can use simple query like below sample which cost 6% relative to the use of ROW_NUMBER which cost 94% (sort is havy operation with no index).
    DDL+DML:
    CREATE TABLE test( [STBK#] varchar(50), STTCKT int)
    truncate table test
    Insert into test values
    (null, 48035)
    ,('First Two Truck', 48035)
    ,(null, 48039)
    ,('First Two Truck', 48039)
    ,(null, 48046)
    ,('First Two Truck', 48046)
    ,(null, 48054)
    ,('KLS LOGISTIC, INC.', 48054)
    GO
    select * from test
    GO
    If all you need is SELECT with FILL then check this:
    select
    --[STBK#] ,
    STTCKT, [Fixed_STBK#]
    from test T1
    Cross APPLY (SELECT TOP 1 T.[STBK#] FROM test T WHERE T.STTCKT = T1.STTCKT and T.STBK# IS NOT NULL) T2 ([Fixed_STBK#])
    And you can use this query as well without CROSS APPLY
    select
    --T1.[STBK#] ,
    T1.STTCKT, T2.[Fixed_STBK#]
    from test T1
    LEFT JOIN (SELECT T.STTCKT,MAX(T.[STBK#]) [Fixed_STBK#] FROM test T GROUP BY T.STTCKT) T2 ON T1.STTCKT = T2.STTCKT
    If you are looking for update the original table please check this:
    UPDATE test
    SET [STBK#] = T2.[Fixed_STBK#]
    FROM test T1
    Cross APPLY (SELECT TOP 1 T.[STBK#] FROM test T WHERE T.STTCKT = T1.STTCKT and T.[STBK#] IS NOT NULL) T2 ([Fixed_STBK#])
    WHERE T1.[STBK#] IS NULL
    GO
    I hope this is helpful and answer your need, If not please try to clrify your needs and post your DDL+DML
    [Personal Site] [Blog] [Facebook]

  • Can we change the initial extent size of tablespaces

    Hi All,
    Can we change the initial extent size of tablespaces.
    Oracle version-11.2.0.1
    OS - IBM AIX
    Please suggest.
    Thanks and Regards,

    There is no way to redefine the initial extent but by dropping/recreating it. But you can try to deallocate the unused space beyond the High Water Mark (alter table table_name deallocate unused keep 0;), as shown on the next demo:
    Madrid @ Re: Resizing initial extent
    Regards
    Girish Sharma

  • How to truncate the Table Subpartition ??

    Hi,
    I have 3 tables on my Oracle 10g database. They are interrelated as 1 --> 2 ---> 3,
    Table 1 & 2 are composite partiitoned with Partition By Rage and Sub Pratition by list. Now i have to truncate few listed subpartitions i.e
    Say If Subpartition ( 200501, 200601, 200701) , In this subpartition , I want to truncate only the values of say 200501 & 200601 ,
    How can i do that ?? I have gone throgh the documentation, i have'nt fot any solution for this.
    Chowdary K

    Let me more clear about the problem .,
    There are 3 table each one with interrelated as 1 --> 2 --> 3 , Now i have to truncate the old partitons. I can easly truncate the partitons of table 3 as it does'nt have any child tables and it's straight partitoned table. The problem is , 1 & 2 tables are composite partitioned with Partition By Range & subpartitioned by list., Now i have to truncate the few elements of subpartition of 1 & 2 tables.,
    Ex.,
    CREATE TABLE CUST_INVC
    MRKT_ID NUMBER NOT NULL,
    CUST_INVC_ID NUMBER NOT NULL,
    INVC_CMPGN_NR NUMBER(6) NOT NULL,
    CREAT_USER_ID VARCHAR2(100 BYTE) NOT NULL,
    CREAT_TS DATE NOT NULL,
    LAST_UPDT_USER_ID VARCHAR2(100 BYTE) NOT NULL,
    LAST_UPDT_TS DATE NOT NULL,
    ACCT_NR NUMBER(15) NOT NULL,
    CUST_ID NUMBER(15),
    ORD_CREATR_CD VARCHAR2(15 BYTE),
    CMPGN_YR_NR NUMBER(4),
    CMPGN_NR NUMBER(2),
    INVC_DT DATE,
    ORD_SBMSN_DT DATE,
    AVON_ORD_ID NUMBER,
    AVON_STOR_CNFRMTN_NR VARCHAR2(100 BYTE),
    MRGD_INVC_ID NUMBER,
    INVC_TYP VARCHAR2(15 BYTE),
    CUST_SERVC_CHRG_AMT NUMBER(15,2),
    TOT_INVC_AMT NUMBER(15,2),
    TOT_ITEM_CNT NUMBER(8),
    CUST_INVC_TAX_PCT NUMBER(8,3),
    CUST_INVC_TAX_AMT NUMBER(15,2),
    INVC_ADJSTMT_PCT NUMBER(8,3),
    EMAIL_ADDR_TXT VARCHAR2(100 BYTE),
    BILNG_ADDR_CARE_OF_NM VARCHAR2(100 BYTE),
    BILNG_STR_ADDR_TXT VARCHAR2(100 BYTE),
    BILNG_CITY_NM VARCHAR2(100 BYTE),
    BILNG_PRVNC_NM VARCHAR2(100 BYTE),
    BILNG_ST_CD VARCHAR2(5 BYTE),
    BILNG_PSTL_CD VARCHAR2(15 BYTE),
    BILNG_CNTRY_CD VARCHAR2(5 BYTE),
    SHPNG_STR_ADDR_TXT VARCHAR2(100 BYTE),
    SHPNG_CITY_NM VARCHAR2(100 BYTE),
    SHPNG_PRVNC_NM VARCHAR2(100 BYTE),
    SHPNG_ST_CD VARCHAR2(5 BYTE),
    SHPNG_PSTL_CD VARCHAR2(15 BYTE),
    SHPNG_CNTRY_CD VARCHAR2(5 BYTE),
    CUST_PRMRY_PHON_NR VARCHAR2(20 BYTE),
    SHPNG_FEE_AMT NUMBER(15,2),
    REFRG_REP_PHON_NR VARCHAR2(20 BYTE),
    PROMTNL_CPN_CD VARCHAR2(50 BYTE),
    APLCTN_SRCE_CD VARCHAR2(15 BYTE),
    INVC_PRSNL_CMNT_TXT VARCHAR2(500 BYTE),
    INVC_MRKTG_CMNT_TXT VARCHAR2(500 BYTE),
    READY_TO_PRNT_CD VARCHAR2(5 BYTE) DEFAULT 'N',
    ORD_CREATN_DT DATE,
    INVC_VWD_IND VARCHAR2(1 BYTE) DEFAULT 'N',
    INVC_PRCS_ID VARCHAR2(15 BYTE)
    TABLESPACE ECOM_ODS
    PCTUSED 0
    PCTFREE 10
    INITRANS 5
    MAXTRANS 255
    LOGGING
    PARTITION BY RANGE (MRKT_ID)
    SUBPARTITION BY LIST (INVC_CMPGN_NR)
    PARTITION CUST_INVC_US VALUES LESS THAN (76)
    NOLOGGING
    NOCOMPRESS
    TABLESPACE ECOM_ODS
    PCTFREE 10
    INITRANS 5
    MAXTRANS 255
    STORAGE (
    INITIAL 20M
    BUFFER_POOL DEFAULT
    ( SUBPARTITION CUST_INVC_US_SP01 VALUES (200501, 200604, 200707) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP02 VALUES (200502, 200605, 200708) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP03 VALUES (200503, 200606, 200709) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP04 VALUES (200504, 200607, 200710) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP05 VALUES (200505, 200608, 200711) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP06 VALUES (200506, 200609, 200712) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP07 VALUES (200507, 200610, 200713) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP08 VALUES (200508, 200611, 200714) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP09 VALUES (200509, 200612, 200715) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP10 VALUES (200510, 200613, 200716) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP11 VALUES (200511, 200614, 200717) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP12 VALUES (200512, 200615, 200718) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP13 VALUES (200513, 200616, 200719) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP14 VALUES (200514, 200617, 200720) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP15 VALUES (200515, 200618, 200721) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP16 VALUES (200516, 200619, 200722) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP17 VALUES (200517, 200620, 200723) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP18 VALUES (200518, 200621, 200724) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP19 VALUES (200519, 200622, 200725) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP20 VALUES (200520, 200623, 200726) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP21 VALUES (200521, 200624, 200727) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP22 VALUES (200522, 200625, 200801) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP23 VALUES (200523, 200626, 200802) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP24 VALUES (200524, 200627, 200803) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP25 VALUES (200525, 200701, 200804) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP26 VALUES (200526, 200702, 200805) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP27 VALUES (200527, 200703, 200806) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP28 VALUES (200601, 200704, 200807) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP29 VALUES (200602, 200705, 200808) TABLESPACE ECOM_ODS,
    SUBPARTITION CUST_INVC_US_SP30 VALUES (200603, 200706, 200809) TABLESPACE ECOM_ODS )
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    MONITORING
    ENABLE ROW MOVEMENT;
    Say I want to truncate the Subpartiton CUST_INVC_US_SP30 Values 200603 & 200706.
    Can anyone tell me syntax , how can i do that.,
    Chowdary K

  • What do I do with all the extra space after TM reformats?

    I want to use my current external HD to store files I don't need access to regularly. Without partitioning my HD, because I understand this not recommended,can I still use it as a dumping ground after formatting for TM? to clarify... I have only 100 gig's to back up but a 320 gig external can I use the remaining 220 for other folders or am I committing all that space just for TM?

    Time machine could very well exceed the size of your hard drive by a fair margin. Initial backup followed by hourly, daily, weekly.
    I am sure you could budget some space for other things. TM will delete files that it controls when it needs to, and will warn you that it is happening.
    The more space devoted to Time Machine, the further you can go back at a very granular level.

  • How do I clean my mid 2007 iMac? The disk space is running VERY low and I would love an idea. I make videos and upload them to youtube and I need space to do that. Thanks for your time!

    How do I clean my mid 2007 iMac?
         The disk space is running VERY low and I would love an idea. I make videos and upload them to youtube and I need space to do that. Thanks for your time!                              
                                       If you have an idea please respond!

    You should never, EVER let a conputer hard drive get completely full, EVER!
    With Macs and OS X, you shouldn't let the hard drive get below 15 GBs or less of free data space.
    If it does, it's time for some hard drive housecleaning.
    Follow some of my tips for cleaning out, deleting and archiving data from your Mac's internal hard drive.
    Have you emptied your iMac's Trash icon in the Dock?
    If you use iPhoto, iPhoto has its own trash that needs to be emptied, also.
    If you store images in other locations other than iPhoto, then you will have to weed through these to determine what to archive and what to delete.
    If you use Apple Mail app, Apple Mail also has its own trash area that needs to be emptied, too!
    Look though other Apple Mail folders like the junk mail and delete the mail that is in there. Look through your sent items folders and see there is any mail in there that can be deieted.
    Delete any old or no longer needed emails and/or archive to disc, flash drives or external hard drive, older emails you want to save.
    Other things you can do to gain space.
    Once you have around 15 GBs regained, do a search, download and install OmniDisk Sweeper.
    This app will help you locate files that you can move/archive and/or delete from your system.
    STAY AWAY FROM DELETING ANY FILES FROM OS X SYSTEM FOLDER!
    Look through your Documents folder and delete any type of old useless type files like "Read Me" type files.
    Again, archive to disc, flash drives, ext. hard drives or delete any old documents you no longer use or immediately need.
    Look in your Applications folder, if you have applications you haven't used in a long time, if the app doesn't have a dedicated uninstaller, then you can simply drag it into the OS X Trash icon. IF the application has an uninstaller app, then use it to completely delete the app from your Mac.
    Download an app called OnyX for your version of OS X.
    When you install and launch it, let it do its initial automatic tests, then go to the cleaning and maintenance tabs and run the maintenance tabs that let OnyX clean out all web browser cache files, web browser histories, system cache files, delete old error log files.
    Typically, iTunes and iPhoto libraries are the biggest users of HD space.
    move these files/data off of your internal drive to the external hard drive and deleted off of the internal hard drive.
    If you have any other large folders of personal data or projects, these should be archived or moved, also, to the optical discs, flash drives or external hard drive and then either archived to disc and/or deleted off your internal hard drive.
    Good Luck!

  • Time Machine initial space required

    So in addition to my regular Carbon Copy Cloner backups, I wanted to add some Time Machine backups for an added layer of protection for my MacBook Pro. It has a 200 GB HDD partitioned into 170 GB for OS X and the rest for a WinXP Boot Camp partition. At present the Mac OS partition has ~145 GB in use. Until our XRAID gets upgraded to Leopard Server, I'm using a 160 GB firewire-attached external HDD as the Time Machine backup device. It is newly reformatted and reports 149 GB available. When I attempt to launch Time Machine for the initial backup, it fails reporting that 175+ GB are needed on the backup drive. The Mac OS drive is only 170 GB large if it were full.
    Using the TM options, I tried to list the Boot Camp partition on the TM "excluded" list but I can't select that drive in the options window - it is grey'd out. TM options reports that I'm only attempting to back up ~142 GB (I excluded the Developer folder and a few other things) yet the backup always fails reporting that over 170 GB are needed on the TM disk. I'm at a loss on this one. Anyone have an idea why this is happening and, more importantly, what to exclude to get TM working with this drive?
    Many thanks,
    Cary T.
    Vicksburg, MS

    20% certainly seems to be the current consensus.
    In addition, Time Machine by design is intended to hold a number of backups. Each additional one only has incremental data but the space fills up over time. When there is no longer enough room, Time Machine tries to delete enough space to create room. Anecdotally there have been indications that, if that process fails, ie there are not enough incremental backups to allow Time Machine to proceed, the whole Time Machine process can become flaky and unpredictable. Until we fully know the processes and limitations of Time Machine I would be very inclined to only use it in the sort of situation for which it is designed, namely that the partition/drive used by Time Machine is significantly larger than the size of the system being backed up.

  • What's the initial Disk Usage of New MacBPro

    Dear Community
    Pl let me know the initial Disk Usage of a new MacBookPro , retina with 265 GB.
    I am asking it, coz I see a lot of my space have been consumed up while I have not used many apps or data.
    Presently it says;
    Apps 22.7GB
    Other 10.74GB
    Pl also note that these are out of "250.4 GB", is it correct ?
    Recently, I run a Developer Installation by Command line but I stopped it in middle.
    Just wondering, if it has eaten up the space.
    Thanks

    Thanks Melophage;
    For taking time to answer it.
    Do you have idea, how to verify it and clean further.
    Thanks

Maybe you are looking for