Deleting Old/Test Logic Script

Hello All,
When you create a Script with the BPC WebAdmin, it creates both an LGF and an LGX. When I delete an old, unused, or test script from the BPC WebAdmin, it only deletes the LGF file. When I go into UJFS, I see all the old LGX files just sitting out there.
Is there a way to clean these up, or have the system actually delete it when you delete an LGF automatically? Or is the only way to get rid of these to manually delete them from UJFS?
It just seems odd that when you delete the script from the WebAdmin, it doesn't delete the whole thing, just the LGF.
Thoughts?
Alexander
(CPMBPC 801 SP2 (equiv to 800 SP9)

Normally I would agree with you, however we are running into issues with with them because some of them contain old members that may not exist anymore so when a validation occurs it kicks out these old members saying they are invalid. (We are in the process of upgrading from NW 10.0 SP9 to SP12 so it's checking the scripts and the old lgx's and kicking out errors)
I'll just mark this answered for now since I manually deleted it, was just hoping that wasn't the only way.
Thanks!

Similar Messages

  • Unit Tester: Manually Deleting Old Unit Test Results

    Oracle, as you know, there isn't currently a way to delete the results of previous unit test runs.
    Well, those previous test runs are giving us a very annoying slow response times in the Unit Tester GUI with some of our tests, because of the amount of time the interface is taking to load the results of previous tests.
    For example, one of our unit tests in particular took the interface 1 minute, 12 seconds to simply "bring up", even though we weren't on the Results tab. As time goes on (as a unit test has been run more and more), the interface goes slower and slower with that unit, because of the increasing number of unit test results.
    I know you're working on a long-term solution, but to assist us with working with these kind of tests now, can Oracle please provide us with the SQL statements necessary to delete all of a given unit test's test results from the unit tester repository, please? It would make my programmers so much less annoyed with working with these particular unit tests and the Unit Tester, in general.
    I'm guessing that if I go spelunking through the Unit Tester's repository tables, I could probably figure it out, but I'm looking for the "Oracle-sanctioned" way, I guess.
    Thanks.

    Hi,
    here are the necessary commands to delete your tables:
    Make a backup of your tables(!)
    create table t_ut_test_impl_results as select * from ut_test_impl_results ;
    create table t_ut_test_impl_val_results as select * from ut_test_impl_val_results ;
    create table t_ut_test_results as select * from ut_test_results ;
    create table t_ut_suite_results as select * from ut_suite_results ;
    create table t_ut_suite_test_results as select * from ut_suite_test_results ;
    -- delete data from tests
    delete from ut_test_impl_val_results ;
    delete from ut_test_impl_results ;
    delete from ut_test_results ;
    -- delete suite results
    delete from ut_suite_test_results ;
    delete from ut_suite_results ;
    This scripts are not Oracle sanctioned.
    Use them on your on risk
    HTH
    Oliver

  • Ola Hallengren maintenance solution TSQL script not deleting old backup files from my local SQL server

    I have looked on Ola's site (https://ola.hallengren.com/frequently-asked-questions.html) and I did see this:
    DatabaseBackup is not deleting old backup files. What could the problem be?
    Verify that the SQL Server and SQL Server Agent service accounts have full control of the backup directory.
    If that directory is a network share, verify that the SQL Server and SQL Server Agent service accounts have full control of the network share.
    If you are using a proxy account, verify that the account is a member of the sysadmin server role and that it has full control of the backup directory and network share.
    Verify that the file is not locked in the file system; for example, a backup or antivirus software could be locking the file.
    DatabaseBackup has been designed not to delete transaction log backups that are newer than the most recent full or differential backup. This could explain why transaction log backups are not being deleted.
    I followed these instructions and then I right clicked the "sp_delete_backuphistory" job under "SQL Server Agent > Jobs" folder and clicked the "Start job at step ..." option. The job successfully ran, but my .bak backup
    files were still on located on my separate drive partition I use specifically for these backups. 
    The SQL Server and the SQL Server Agent are both using the same AD account. 
    Would any of you SQL gurus out there know how to resolve this?
    Thank you 

    The sp_delete_backuphistory job only deletes the historical info from the backup & restore tables in the msdb database. It does not do anything to the files on disk.
    https://msdn.microsoft.com/en-us/library/ms188328.aspx
    The code to actually purge the backup files from disk is inside the DatabaseBackup stored procedure. It is controlled by using the @CleanupTime parameter for that stored proc. Verify the value for that parameter is low enough to delete your files on disk. The
    value is in hours, and I believe the default is 48 hours. The SQL agent job name usually starts with "DatabaseBackup...".

  • Skip the DELETE command on logical standby

    Hi All,
    I want to skip the DELETE command on logical standby.
    DB Version - 10.2
    OS - Linux
    Primary DB and logical standby DB .
    In our DB schema some transaction tables. We delete data from those tables by delete commands.
    Delete command, also delete data from logical standby DB. But we want to skip on logical standby DB .
    I use following for that and get error.
    ALTER DATABASE STOP LOGICAL STANDBY APPLY;
    EXECUTE DBMS_LOGSTDBY.SKIP (stmt =>'DELETE TABLE', schema_name =>'TEST',object_name =>'TRANS',proc_name => null);
    ALTER DATABASE START LOGICAL STANDBY APPLY IMMEDIATE;
    But I got error
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'SKIP'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    When I change stmt =>'DELETE TABLE' to stmt =>'DML', no error happen
    Please help me to solve this issue . This is urgent.
    Thanks in advance.
    Regards

    Dear aditi2,
    Actually it is so simple to understand the problem. Please read the following documentation and try to understand the SKIP procedure.
    http://download.oracle.com/docs/cd/B14117_01/appdev.101/b10802/d_lsbydb.htm#997290
    *SKIP Procedure*
    Use the SKIP procedure to define filters that prevent the application of SQL statements on the logical standby database.
    By default, all SQL statements executed on a primary database are applied to a logical standby database.
    If only a subset of activity on a primary database is of interest for application to the standby database,
    you can use the SKIP procedure to define filters that prevent the application of SQL statements on the logical standby database.
    While skipping (ignoring) SQL statements is the primary goal of filters,
    it is also possible to associate a stored procedure with a DDL filter so that runtime determinations can be made whether to skip the statement,
    execute this statement, or execute a replacement statement.
    Syntax
    DBMS_LOGSTDBY.SKIP (
         stmt                      IN VARCHAR2,
         schema_name               IN VARCHAR2,
         object_name               IN VARCHAR2,
         proc_name                 IN VARCHAR2,
         use_like                  IN BOOLEAN,
         esc                       IN CHAR1);Hope That Helps.
    Ogan
    Edited by: Ogan Ozdogan on 30.Tem.2010 13:03

  • The correct way to delete old transport request record ?

    Dear all,
    We want to delete old transport request record before 2008 (two years before) of our system.
    We learn that we should delete the records in the below two path:
    /usr/sap/trans/data
    /usr/sap/trans/cofiles
    Our target is that we will not see the old record after deleting in our PRD system.
    Normally, we see the transport request record in system by this way:
    STMS -->  import overview --> PRD --> Import Queue   system PRD --> Import history
    Our question is do we need to restart our system after delete the record to refresh the Import history?
    We have not delete the record now.
    Any experienced or expert, please kindly give advice.
    Regards,
    Allen

    Hello Allen,
    there are some notes and documentations for this process. Deleting the files from /cofiles and /data will not erase the request from the import history, as you already know.
    You should follow note #41732 to have the requests/data completely deleted from your system. There is a lot of complementary reading in notes #7224, #556734, #189841, etc.
    Note that you can remove the request from the import queue, import history, data and cofiles subdirectory, but still have it on the <SID> buffer (located in  /usr/sap/trans/buffer/<SID>). If this happens to you, please save a copy of the buffer file <SID>, then create a new, blank file named <SID> at a time when the import queue is empty (VERY IMPORTANT). Or, alternatively, please excute the tp cleanbuffer FIL command (which will erase the requests that are not found in /data and /cofiles directories).
    --> Please test this first on a test system, not directly on a productive environment.
    This should be enough to delete old transport requests on your system.
    Best regards,
    Tomas Black

  • Delete old and backed up archive log,

    Hi all,
    Am trying to modify our RMAN backup script to delete old and backed up archive logs off the disk.
    We run daily Incremental L0 or L1 backups, with 3 daily archive log backups. Currently we delete archive logs as they are backed up (backup archivelog all delete input). However, we are considering leaving x days worth of archive logs on disk, just in case, quick restore is needed (e.g. tablespace media recovery etc. etc.)
    For example,
    We can delete archive logs old tha n x (where x=no_days depending on database) by,
    delete archivelog until time 'sysdate-15';
    We can also delete archive logs that have been backed up to disk by,
    delete archivelog all backed up 1 times to disk;
    Questions,
    1) Why does 'backed up 1 times to disk' require the 'all' in the statement ?
    2) Is there any way to combine the 2 statements ? (backed up 1 times and older than x days ?). Just being a bit extra cautious to ensure that we have everything backed up. In real-world shouldn't be a problem, as we will be alerted to any backup failures, but trying to cater for the very worst situation.
    Thanks for your help and insight.

    Hi,
    Scratch the questions. Found the answer in another thread. Seems when I tried to combine the statements initally, I had a typo.
    It is now working as expected.
    Thanks and regards,

  • How do I perminantly delete old tracks???

    Could some one please tell me how to delete old tracks that are saved on my mac pro in the music folder. They are a whole bunch of tests and I just want to clean up my music folder and save the rest on a external drive.
    Thank you so much.

    Move them to the trash.
    Usually you should save all your projects including all your audio/EXS etc. files in a seperate project folder. This way you cannot loose data when you delete other project folders.
    When you are not sure if your project folders include all the necessary files I suggest to open each project you want to keep and save it with "save as" to another harddrive. In the save dialogue box chosse "including all audio files" and depending on your projects also "include exs files" etc.
    This way you can make sure that you do not loose data which you still need.
    But: Be careful when you have used "melodyne" for example or other software which by default creates files in different folders (there is a dedicated folder in the library) than the project folder. Then its a bit more complicated because you would have to move all these files manually to your new harddisc and specify the location when you open your project the next time.
    Hope that helps,
    Eddie

  • Can't delete old iTunes after Mountain Lion install

    I updated my Macbook Pro (late 2008 version) to Mountain Lion and everything was working great until I tried to open iTunes from the Dock and got a message about it being unable to open, investigated the Applications folder and discovered that I now have two versions of iTunes, 10.6.3 and 10.7. 10.6.3 is in the applications folder but 10.7 is in a sub-folder within Applications. In the past I've organized apps in folders according to subject - home office, internet, graphics, games, etc., and have had no problem deleting old versions of Apple apps after system updates by either dragging them to the trash or dragging the updated version into the applicable folder and using the "replace" function. Now I cannot move either the new or old version of iTunes to trash or between folders. I'm getting a message "iTunes cannot be modified or deleted because it's required by OS X".. I've searched these forums and googled the question, and the only solutions I've found have addressed Windows PCs.
    From checking the "Get info" panel I can tell that the 10.6.3 version was installed prior to installing Mountain Lion, and 10.7 appears to have been installed either with Mountain Lion itself or in a system update shortly thereafter. I tried unlocking 10.6.3 in the Get Info panel, but that didn't allow me to move 10.6.3 to the trash.
    Thanks for any help.

    Sure, but its the best you learn how to use the terminal. OS X is Unix and the most advanced tasks can't be done in the graphical enviroment:
    1. Open Terminal (You should startet in your "home" directory, this is the default)
    2. Type: mdls /Applications/iTunes.app (This will output a lot of information)
    3. Look for the last keyword "kMDItemVersion", it should show the program version (e.g. "10.7")
    4. From now on what to do depends on the position of the iTunes version you want to delete. If this is the most recent version you will leave this file alone. If this is an older version of iTunes you will want to delete it. So there is a decision to make.
    4a. Leave this file
    or
    4b. Delete this file with: rm -r /Applications/iTunes.app (maybe the permissions don't allow this to do, I could not test it)
    5. After that you could use the finder to move your regular iTunes version to your desired position
    6. If you most recent version is in an other directory, e.g. /Applications/Music/iTunes.app, you have to do the steps above with this path
    It makes sense to locate first the iTunes version you want to delete. You can get this information with the showed mdls command or with the information dialog of Finder. Click in Finder the particular iTunes icon once, so it is selected, show the information dialog (cmd+i).

  • Logic script:

    Hi everybody,
    Is it possible in a logic script to get the record saved for a member I_123456 and save it in a member of another dimension which is equal to the 6 right caracters of the first ID: I_123456  ---> 123456
    Many thanks in advance,
    Antonio

    Hi,
    From your example, it looks like I_123456 is from Intco dimension and 123456 is from entity dimension. I will take it as example. Your code should be something like:
    *WHEN INTCO
    *IS I_123456
       *REC(ENTITY = 123456)
    *ENDWHEN
    In the above code "ENTITY = 123456" is fixed. We can make it dynamic by maintaining it as a property of the Intco dimension. In that case, the code will be like:
    *WHEN INTCO
    *IS I_123456
       *REC(ENTITY = INTCO.ENTITY)
    *ENDWHEN
    Still, the statement "*IS I_123456" is fixed. The logic is running for only I_123456. You need to generalize it as per the requirement.
    The above code will just create another record with entity as 123456. The original record, however, is not deleted.
    Hope this helps.

  • Macro command to delete an test run or a test case from QC

    I want to know the VB script command to delete an test run or a test case from QC. i can now able to access all the parameters of an test run, like status, execution data, etc. but stuck up while trying to delete it. please someone reply with the exact command

    My J2SE version was wrongly set to 1.3 instead of 1.5.
    Now it works.

  • Why does Time machine not delete old backups

    I dont understand Why time machine is not deleting old backups. As it worked first time with the same size backup drive as the drive its backing up, I assumed it would just delete the old backup as needed. Do I need a bigger backup drive?

    Roglee wrote:
    I just want it to delete the old backup & replace it so i just have a copy. I guess i could just re format the drive each time but that just seems a waste of my time when TM should do this for me!
    If this is all you want to do, turn off Time Machine, download SuperDuper! and use it for free. This will clone whatever drive you want and the free trial will erase your back up drive each time. I can't remember if it will let you choose what to back up or if it wants the entire drive. Also, I'm not sure if the Scheduler works with the free trial. Below are some verbiage for SuperDuper!. Looks like if you want Scheduling you will have to purchase a license.
    Download Now! 
    You can download SuperDuper! v2.7.1 right now and back up and clone your drives for free— forever! 
    Buy Now!
    Buy now to unlock scheduling, Smart Update (which saves a lot of time), Sandboxes, scripting and more!
    Time Machine will keep making back ups and when it determines it needs space, it will delete older back ups. But it doesn't delete older ones each time it backs up.

  • Can't delete old Firefox bookmarks in Safari

    Trying to simply bookmark a page in Safari ; get a window that says I must keep or delete old firefox bookmarks but it won't. And I can't save any bookmarks, and can't even drag onto the bookmarks bar. What should I do?
    Thanks

    Back up all data before proceeding.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Preferences/com.apple.Safari.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item selected. Quit the application if it's running. Move the selected item to the Desktop, leaving the window open. Relaunch the application and test. If there's no change, quit again and put the item you moved back where it was, overwriting the one that may have been created in its place. Otherwise, delete the item you moved. If possible, restore it from a backup that predates the problem.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • Delete old files

    Hello,
    In usual when I create scenarios with file (Inbound or outbound) I sand backup file to backup folder.
    I'm  looking for easy way to create scenarios or something else that clean the backup folders.
    I'm looking for process that clean the older files, for example I want to erase all the files that older then 3 month.
    Do you have any idea?
    Regards
    Elad

    Hello,
    I found a script for that:
    '* File:               fdel.vbs
    '* Created:               June-2006
    '* Version:               1.0
    '* Main Function: Check "DateCreated" of specific files and if difference between Now time
    '*                pass the Time limit and delete old files
    '* Usage:   WSCRIPT.EXE fmon.vbs [Path to Directory with old files] [Time limit in days]
    '* Example: WSCRIPT.EXE fmon.vbs C:\Windows\Temp 7
    Dim objExCmd, fso, Time_Out_Before_Action, Base_dir, filename1
    On error resume next
    Set WshShell = WScript.CreateObject( "WScript.Shell" )
    Set fso = CreateObject("Scripting.FileSystemObject")
    Set objArgs = Wscript.Arguments
    Const ForReading = 1, ForWriting = 2
    For  intI = 0 To Wscript.Arguments.Count - 1
    next
    Base_dir = Wscript.Arguments.item(I)
    Time_Out_Before_Action = Int(Wscript.Arguments.item(I+1))
    '**** Getting list of files *****
    'Set objExCmd = WshShell.Exec("cmd /c echo off"&Chr(38)&"for /f "&Chr(34)&"tokens=* delims=. "&Chr(34)&" %a in ('dir "&Chr(34)&Base_dir&Chr(34)&" /b') do echo %a")
    Set objExCmd = WshShell.Exec("cmd /c echo off"&Chr(38)&"dir "&Chr(34)&Base_dir&Chr(34)&" /b")
    Do until objExCmd.StdOut.AtEndOfStream
    filename1 = objExCmd.StdOut.ReadLine
    If DateDiff("d", fso.GetFile(Base_dir&"\"&filename1).DateCreated, Now) > Time_Out_Before_Action Then
    'MsgBox filename1&"; Diff="&DateDiff("d", fso.GetFile(Base_dir&"\"&filename1).DateCreated, Now)&"> time ="&Time_Out_Before_Action
    f = fso.DeleteFile(Base_dir&"\"&filename1,true)
    End If
    Loop
    Regards
    Elad

  • How delete old letter in Pags?

    how delete an old test letter from Pages? (OS V 10.6.8)

    Drag it into the Trash, or select it (click it once) then press Command-Delete.
    If it is not on the Desktop and you don't know where it is on your hard drive, with the letter open press and hold down the Command key and click on the name of the letter at the top of its window. A drop-down screen will appear, showing in hierarchical format where the file is.

  • How to delete old mail? Can't delete old mail on my iPad2

    As of this morning I can not delete mail. The server is 'unavailable'. What do I do to delete old mail which is no longer required. The box "Thrash" is also invisible. Currently under Mail, I have 'in' &amp; 'draft' but no 'trash'.
    Pls assist. Thx

    The reset should incorporate this but give it a try - open the Mail app, double click the Home button, on the list of apps that appear press down on Mail until a red minus signs appears, click on it and you are back to the Home screen again. Now open the Mail app again and test it out.

Maybe you are looking for

  • ABAP server and client proxies

    Dear All,             what is the diff between  ABAP server and client proxies? Regards, Ashish goyal

  • I have a dream : New Year SAP Hopes

    Next Year, I hope that when I download a PDF file from service.sap.com, it wil not be called aefbcedf51dc6aEN.pdf. I hope that When I download a support package from service.sap.com, the file name will have a meaningful name. I hope that I will not s

  • Programs that have been written in java

    I am trying to figure out what i can and cant make in java?? What (big or important) programs have been written in java??

  • History not retrained between sessions, tho set to do so !?

    Browsing several sites 3 x wk'ly to read commentary,but this history is not retained between sessions tho set to do so as far as I can see after perusing Firefox repeatedly over several wks....not browsing privately , etc....recent trovi malware infe

  • ITunes Producer for iBooks: Screen shot Asset dimensions

    What are the allowable dimensions of the screenshot assets for iBooks in iTunes Producer.  The iTunes Producer manual is not up to date with the latest display specifications and I'm looking for the complete list of new allowed pixel dimensions.