NULL error while importing the data

Hai everybody. In one of our branches there was some problem. To simulate the situation. i advised them to send the backupdata. While importing data from a dump file, i am getting the erro message
"cannot insert NULL into (“APGB5168”. “D010014”. “LBRCODE”)’.
Can i change the NULL constraint and import OR can i import first only the table strucuture and modify the constraint and can import the data afterwards.
Pl can any one suggest me how to import the data from this dump file so that i can simulate the situation.
Thanks - JayaDev(JD)

Hi,
It means you have NOT NULL column and you are trying to insert NULL data.
Can i change the NULL constraint and import OR can i import first only the table strucuture and modify the constraint and can import the data afterwards.It all depends on you and your business needs. If you are sure that removing the constraint will have no harm on your application and data then you can, but think why it has NOT NULL constraint if data has NULL values. Either your table data is incorrect or your table design. Rectify the problem and take action accordingly.
Cheers,
Avinash

Similar Messages

  • Getting error while importing the data to scsm

    Hi,
    We are planing to iport data from another Ticketing tools .For this i have created a .CSV and .XML .While iporting i am getting below error
    And the Xml File is 
    ================================================================
    <CSVImportFormat>
      <Projection Type='System.workItem.Incident.ProjectionType">
        <Seed>
          <Class Type="System.WorkItem.incident">
            <Property ID="Id"/>
            <Property ID="Source"/>
            <Property ID="TierQueue"/>
            <Property ID="Department"/>
            <Property ID="Classification"/>
            <Property ID="Title"/>
            <Property ID="Urgency"/>
            <Property ID="Impact"/>
            <Property ID="Assignedto"/>
            <Property ID="Description"/>
            <Property ID="Site"/>
            <Property ID="Priority"/>
            <Property ID="Asset"/>
            <Property ID="ChangeIncidentStatus"/>
            <Property ID="CreatedDate"/>
            <Property ID="ActualEndDate"/>
            <Property ID="ClosedDate"/>
            <Property ID="ResolutionDescription"/>
            <Property ID="SharepointBug"/>
            <Property ID="ClientContact:"/>
            <Property ID="RequestorCategory"/>
            <Property ID="CaseReason"/>
            <Property ID="Prod"/>
            <Property ID="ParentAccount"/>
            <Property ID="CustomerSupportAccount"/>
            <Property ID="Hardware"/>
            <Property ID="Browser"/>
            <Property ID="InternetConnection"/>
            <Property ID="ProblemAffectsOthers"/>
            <Property ID="IssueonDifferentWorkstation"/>
            <Property ID="PatientSpecific"/>
            <Property ID="SalesforceCase"/>
            <Property ID="TFS"/>
            <Property ID="StepstoReproduce"/>
            <Property ID="RelatedPatients"/>
            <Property ID="AffectedDevice"/>
            <Property ID="ReasonforOnHold"/>
            <Property ID="CustomerSupportAgent"/>
            <Property ID="FirstResponseDate"/>
            <Property ID="LastModified (Internal)"/>
            <Property ID="RequiredBy"/>
         </Class>
       </Seed>
       <Component Alias="AffectedUser">
         <Seed>
           <Class Type="System.Domain.User">
             <Property ID="FirstName"/>
    <Property ID="Domain"/>
             <Property ID="UserName"/>
           </Class>
         </Seed>
       </Component>
      </Projection>
    </CSVImportFormat>
    =====================================================================
    Please let me know that error in the xml file.
    Regards, H@ri

    Thanks ,I have been gone through <Projection Type='System.WorkItem.Incident.ProjectionType">.
    Now i am getting many errors while importing data.I have customized fields in servicedesk and i have created same fields in scsm incident form.When i am imported
    data i am getting below error.
    Please let me know how can i import customized feilds data to SCSM without issues.
    Regards, H@ri

  • Error while importing the data

    Hi All,
    In fdm i am trying to Import the data but i am getting the below error while importing text file.
    Error: An error occurred importing the file.
    Detail: Data access error.
    also the below is the log found ..
    2012-02-14-01:04:42
    User ID...........     admin
    Location..........     mine
    Source File.......     C:\Hyperion\products\FinancialDataQuality\Mineapp\Test2\Inbox\mine\load_demo2.txt
    Processing Codes:
    BLANK............. Line is blank or empty.
    ESD............... Excluded String Detected, SKIP Field value was found.
    NN................ Non-Numeric, Amount field contains non numeric characters.
    RFM............... Required Field Missing.
    TC................ Type Conversion, Amount field could be converted to a number.
    ZP................ Zero Suppress, Amount field contains a 0 value and zero suppress is ON.
    Create Output File Start: [2012-02-14-01:04:42]
    [TC] - [Amount=NN]     Accounts,Market,Year,Product,Scenario,Data
    [Blank] -      
    Excluded Record Count..............1
    Blank Record Count.................1
    Total Records Bypassed.............2
    Valid Records......................2
    Total Records Processed............4
    Begin SQL Server (BCP) Process (2): [2012-02-14-01:04:42]
    [RDMS Bulk Load Error Begin]
         Message:      (-2147217900) - Data access error.
         See Bulk Load File:      C:\Hyperion\products\FinancialDataQuality\Mineapp\Test2\Inbox\tWadmin56465844032.tmp
    [RDMS Bulk Load Error End]
    Please help me out i am really helpless and dont know how to solve this error.

    When you perform a bulk load, you basically tell SQL Server to execute a command local to the SQL server. What that means is that if you pass it a parameter that says load the file :
    C:\Hyperion\products\FinancialDataQuality\Mineapp\Test2\Inbox\mine\load_demo2.txt
    SQL Server is going to look on it's C drive for the file.
    Unless you have SQL Server running on the FDM server, this is going to fail obviously.
    The 'right' thing to do is setup your FDM app using a share name. (i.e. \\FDMSERVER\FDMAPPS\Mineapp instead of c:\Hyperion\products\FinancialDataQuality\Mineapp).
    If you are relatively handy with FDM, there is a config file (in XML) that has the path information for the apps and you just need to change it from the hardcoded C drive reference to the share you create.)
    Your other option is to NOT load the fiels as bulk. If you have a lot of large data files being loaded, this would be a bad idea. If you have relatively small load files every month and not a lot of users on the system, this may not impact performance. I would update the path information if it were me.
    Charles

  • Getting error while importing the data using loadercli

    Hello,
    I want to copy the data using export/ import  via (loadercli).
    scenario:
    1) I have 2 server and i want to export data from old server and import in to new MAXDB server using loadercli.
    I have done this once and it went fine , but now I want to do the export import again so i will have te latest data on the new server.
    when i tried to do that it gives error that the table already exist . Can i use loadercli to import hte data again ?
    can any one help me in this ?
    Regards,
    Bhavesh

    > Do you want to add and/or update the data in the already existing tables or do you want to replace the content completely?
    >
    > so in that way :
    > bot the options are fine what ever take less time.
    Sorry mate, but YOU have to know what you want here.
    I gave you an easy to follow set of steps.
    As you don't seam to mind the outcome, just might just use them...
    > I wanted to know weathe i can use the  loadercli for thie export import or not? if yes then is there any new steps to do before i do the export import?
    We had this discussion before...
    >
    > For that the easiest option would be just to drop the tables of SAPR3 and run the import again.
    >
    > For ease of use you could also just do:
    > - logon as superdba
    > - drop user SAPR3
    > - create user SAPR3 password SOMEPW not exclusive dba
    >
    > After these steps you can easily pump the data into the database again.
    >
    > So here in th above given steps , i am creating a new SAPR3 user and why it is not exclusive dba ?
    >  i already have that user SAPR3 can i use the same.
    Yes, you do have the SAPR3 user.
    But you don't seem to like to read documentation or learn about how the tools work or anything like that.
    Therefore I gave you s simple way to reach your goal.
    Of course it's possible to reuse the user.
    But then you would have to deal with already existing tables, already existing data etc.
    You don't seem to be able to do that. So, the easy steps might be better suited for your needs.
    regards,
    Lars

  • Getting Error while accessing the data using odata service

    Hi All,
    Iam new to SAP FIORI. 
    Iam getting the below error while accessing the data using odata service.
    "Failed to load resource: the server responded with a status of 404 (Not found)"
    "No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin "
    i have tried all the solutions like changing the url pattern "proxy/htttp".
    and disabled - security in chrome (Chrome is Updated version).
    i tried with IE still got the same problem.
    And installed all the required software in eclipse
    While installing GWPA plugin i got the following error.
    let me know if any one have idea.
    Thanks in advance.

    > Do you want to add and/or update the data in the already existing tables or do you want to replace the content completely?
    >
    > so in that way :
    > bot the options are fine what ever take less time.
    Sorry mate, but YOU have to know what you want here.
    I gave you an easy to follow set of steps.
    As you don't seam to mind the outcome, just might just use them...
    > I wanted to know weathe i can use the  loadercli for thie export import or not? if yes then is there any new steps to do before i do the export import?
    We had this discussion before...
    >
    > For that the easiest option would be just to drop the tables of SAPR3 and run the import again.
    >
    > For ease of use you could also just do:
    > - logon as superdba
    > - drop user SAPR3
    > - create user SAPR3 password SOMEPW not exclusive dba
    >
    > After these steps you can easily pump the data into the database again.
    >
    > So here in th above given steps , i am creating a new SAPR3 user and why it is not exclusive dba ?
    >  i already have that user SAPR3 can i use the same.
    Yes, you do have the SAPR3 user.
    But you don't seem to like to read documentation or learn about how the tools work or anything like that.
    Therefore I gave you s simple way to reach your goal.
    Of course it's possible to reuse the user.
    But then you would have to deal with already existing tables, already existing data etc.
    You don't seem to be able to do that. So, the easy steps might be better suited for your needs.
    regards,
    Lars

  • Error while extracting the data in R/3 production system,

    Hi Team,
    We got the following error while extracting the data in R/3 production system,
    Error 7 When Sending an IDoc R3 3
    No Storage space available for extending the inter 44 R3 299
    No storage space available for extending the inter R3 299
    Error in Source System RSM 340
    Please guide us to fix the issue

    It´s very difficult to help you without knowing
    - what is going to be transferred
    - where you get this error
    - system configuration
    - actual memory usage
    - operating system
    - database and configuration etc. etc.etc. etc.
    I suggest you open an OSS call and let the support have a look on your system. It´s much easier if one has system access to find out the cause for that problem.
    Markus

  • Error while uploading the data using FM"upload"

    Hi,
    I encountering an error while uploading the data using text file with FM " UPLOAD"
    The error is "File does not exist or cannot be opened "
    But there is a file with name and extenstion right.
    Regards
    Vishnu

    You have to create RC29P-IDNRK(var) using concatenate statement. Try this.
    DATA: new_mark TYPE bdcdata-fnam.
    CONCATENATE 'RC29P-IDNRK(' var ')' INTO new_mark.
    PERFORM bdc_field USING new_mark W_BOM-QTY

  • Error while loading the data from PSA to Data Target

    Hi to all,
         I'm spacing some error while loading the data to data target.
    Error :  Record 1 :Value 'Kuldeep Puri Milan Joshi ' (hex. '004B0075006C0064006500650070002000500075007200690
    Details:
    Requests (messages): Everything OK
    Extraction (messages): Everything OK
    Transfer (IDocs and TRFC): Errors occurred
          Request IDoc : Application document posted
          Info IDoc 2 : Application document posted
          Info IDoc 1 : Application document posted
          Info IDoc 4 : Application document posted
          Info IDoc 3 : Application document posted
          Data Package 1 : arrived in BW ; Processing : Data records for package 1 selected in PSA - 1 er
    Processing (data packet): Errors occurred
          Update PSA ( 2462  Records posted ) : No errors
          Transfer Rules ( 2462  -> 2462  Records ) : No errors
          Update rules ( 2462  -> 2462  Records ) : No errors
          Update ( 0 new / 0 changed ) : Errors occurred
          Processing end : Errors occurred
    I'm totally new to this issue. please help to solve this error.
    Regards,
    Saran

    Hi,
    I think you are facing an invalid character issue.
    This issue can be resolved by correcting the error records in PSA and updating it into the target. For that the first step should be to identify if all the records are there in PSA. You can find out this from checking the Details tab in RSMO, Job log , PSA > sorting records based on status,etc. Once its confirmed force the request to red and delete the particular request from the target cube. Then go to PSA and edit the incorrect records (correcting or blanking out the invalid entries for particular field InfoObject for the incorrect record) and save it. Once all the incorrect records are edited go to RSA1>PSA find the particular request and update to target manually (right click on PSA request > Start update immediately).
    I will add the step by step procedure to edit PSA data and update into target (request based).
    In your case the error message says Error : Record 1 :Value 'Kuldeep Puri Milan Joshi '. You just need to conver this to Capital letter in PSA and reload.
    Edit the field to KULDEEP PURI MILAN JOSHI in PSA and push it to target.
    Identifying incorrect records.
    System wont show all the incorrect records at the first time itself. You need to search the PSA table manually to find all the incorrect records.
    1. First see RSMO > Details > Expand upate rules / processing tabs and you will find some of the error records.
    2. Then you can go to PSA and filter using the status of records. Filter all the red requests. This may also wont show the entire incorrect records.
    3. Then you can go to PSA and filter using the incorrect records based on the particular field.
    4. If this also doesnt work out go to PSA and sort (not filter) the records based on the particular field with incorrect values and it will show all the records. Note down the record numbers and then edit them one by one.
    If you want to confirm find the PSA table and search manually."
    Also Run the report RS_ERRORLOG_EXAMPLE,By this report you can display all incorrected records of the data & you can also find whether the error occured in PSA or in TRANSFER RULES.
    Steps to resolve this
    1. Force the request to red in RSMO > Status tab.
    2. Delete the request from target.
    3. Come to RSMO > top right you can see PSA maintenace button > click and go to PSA .
    4.Edit the record
    5. Save PSA data.
    6. Got to RSA15 > Search by request name > Right click > update the request from PSA to target.
    Refer how to Modify PSA Data
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40890eda-1b99-2a10-2d8b-a18b9108fc38
    This should solve your problem for now.
    As a long term you can apply some user exit in source system side or change your update rules to ensure that this field is getting blanked out before getting loaded in cube or add that particular char to permitted character list in BW.
    RSKC --> type ALL_CAPITAL --> F8 (Execute)
    OR
    Go to SE38 and execute the program RSKC_ALLOWED_CHAR_MAINTAIN and give ALL_CAPITAL or the char you want to add.
    Check the table RSALLOWEDCHAR. It should contain ALL_CAPITAL or the char you have entered.
    Refer
    /people/sap.user72/blog/2006/07/23/invalid-characters-in-sap-bw-3x-myths-and-reality-part-2
    /people/sap.user72/blog/2006/07/08/invalid-characters-in-sap-bw-3x-myths-and-reality-part-1
    /people/aaron.wang3/blog/2007/09/03/steps-of-including-one-special-characters-into-permitted-ones-in-bi
    http://help.sap.com/saphelp_nw04/helpdata/en/64/e90da7a60f11d2a97100a0c9449261/frameset.htm
    For adding Other characters
    OSS note #173241 – “Allowed characters in the BW System”
    Thanks,
    JituK
    Edited by: Jitu Krishna on Mar 22, 2008 1:52 PM

  • No data Exists error while retrieving the data from a table

    Hi Everyone!
    I am getting "No Data Exists" error while retrieving the data from a table....where i need to check...if possible please give me example link.....please help me regarding this

    Hi !
    thanks for ur response...
    I have written vo.executeQuery for the table...My page is running but i m not getting the data....I have to select two LOV's and when I click on Go button the data has to display in the table...After the selection of LOV's when I click on Go in the table "No data exists" message is appearing...the table has the data and the query is also executing...please give info where i did the mistake....

  • Error while importing the user Records through SCC7

    Hi Basis Gurus,
    We are doing the post DB Refresh Activities for a Sandbox .
    Refresh is done from D21 to S21.
    We are stuckup with an error while importing the user Records(scc7).
    The exported user records request from D21 is dumped in the trans directory of S38 and imported in to S21 using TP commands at O/S level. The import is done successfully( RC 4 with warnings).
    But now when we run SCC7 (post import activities) in the background the process is getting cancelled right in the begining.
    Error Occured in SCC3 log
    Table logging disabled in program RSCLXCOP by user SAP*"
    R/3 Version is 4.6C OS:AIX5.3
    Your suggestions will be highly appreciated.
    Regards,
    Sitaram

    Hey Sitaram,
    I looks like you have incorrect parameters of client copy in the S21 system.
    You can change the parameters in S21 system,
    by executing report RSCLXCOP (via transaction SE38 or SA38) in S21.
    Search parameters that related to table logging/sap*
    good luck!

  • Error "Encountered an error while exporting the data. View the lof file (DPR-10126)

    Hello,
    I would like to have sugestions and help to solve a problem in IS 4.2.
    I've created a view from two tables, joined together with the key from each one.
    Then i've binded the rule with the view (mentioned above) created and calculated score for it.
    The calculation is successful, however when i try to export all failed data i have the following error:
    "Encountered an error while exporting the data. View the lof file (DPR-10126)"
    When exporting failed data from calculations made directly to the datasources i do not encounter any problem, but when i try to export all data to CSV file (not only the 500 results limit) i have this kind of error.
    However, when i visualize the data from the view created, it is also possible to export to csv file.
    Resuming, the error occurs only when exporting all failed data from the view.
    Can anyone help with this issue?
    Thx
    Best Regards,

    Hello,
    Your information is correct.
    I've just confirmed it in the 4.2 SP3 Release Notes and they specifically refer to this issue.
    A user who has 'View objects' rights for the project and a failed rule connection cannot export the failed data. This issue has been fixed in this release.
    Thank you very much for your input.
    Best Regards,

  • Error, while pushing the data from Oracle to MSSQL.

    Hi,
    I am facing the below error, while pushing the data from Oracle to MSSQL.
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Transparent gateway for MSSQL][Microsoft][ODBC SQL Server Driver][SQL Server]Update or insert of view or function 'View_Name' failed because it contains a derived or constant field.[Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared. (SQL State: 00000; SQL Code: 8180)
    Please suggest me, how to overcome from this.
    Thanks.

    [email protected] wrote:
    Hi,
    I am facing the below error, while pushing the data from Oracle to MSSQL.
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Transparent gateway for MSSQL][Microsoft][ODBC SQL Server Driver][SQL Server]Update or insert of view or function 'View_Name' failed because it contains a derived or constant field.[Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared. (SQL State: 00000; SQL Code: 8180)
    Please suggest me, how to overcome from this.
    Thanks.This is an error from SQL Server being passed back to Oracle so you can see the problem.
    What it is saying is that you are trying to insert (or update) data to a database view and that view contains a column that is either a constant (literal) value or is derived (a calculation, formula or string concatenation etc.).
    As such, you can't insert or update data on that column because it has nowhere to go on the database table(s) that underly the view.

  • Error while importing the MS CRM default solution from 2013 to 2015 version.

    Hi All,
    We are getting the following error while importing the default solution form MS CRM 2013 version to 2015.
    Kindly help,
    Regards, Rekha.J

    Hi,
    Thanks for the reply email, I had already gone through this link but not able to find this file CustomizationImport from  SystemDrive:\Program
    Files\Microsoft Dynamics CRM.
    Also a note we are using CRM online version.
    Regards, Rekha.J

  • Error while importing the spatial data

    Hi,
    I have the expdp dump from 10.2.0.4 db and I am importing it to 11.2.0.2 on another servers. I received the below error;
    ORA-39083: Object type INDEX failed to create with error:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13249: internal error in Spatial index: [mdidxrbd]
    ORA-13249: Error in Spatial index: index build failed
    ORA-13230: failed to create temporary table [M5_13791$$] during R-tree creation
    ORA-13249: Error in stmt: INSERT /*+ APPEND */ INTO M5_13791$$ select rid , min_d1, max_d1 , min_d2, max_d2 from M2_13791$$ a where (min_d1+max_d1) >
    ORA-13249: Stmt-Execute Failure: INS
    ORA-39083: Object type INDEX failed to create with error:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13249: internal error in Spatial index: [mdidxrbd]
    ORA-13249: Error in Spatial index: index build failed
    ORA-13249: Error in spatial index: [mdrcrtxfergm]
    ORA-13249: Error in spatial index: [mdpridxtxfergm]
    ORA-13200: internal error [ROWID:AAAS9jAARAAAYYmAAA] in spatial indexing.
    ORA-13206: internal error [] while creating the spatial index
    ORA-13033: Invalid data in the SDO_
    Job "SYS"."SYS_IMPORT_FULL_01" completed with 688 error(s) at 16:00:41
    Can anyone tell me what could be reason of all these errors and and the workaround for the same.
    Thanks....

    Mayura,
    . . . .One workaround may be to use the "exclude" command-line option to exclude the offending table (currently, M5_13791$$).
    EXCLUDE=TABLE:"= 'M5_13791$$')". . . .Another workaround may be to load the data without indexes first, then fuss with rebuilding indexes.
    EXCLUDE=INDEX:"LIKE '%'"Regards,
    Noel

  • Error While importing the transaction data

    All SAP BPC Gurus,
      I need your help in resolving this error,  I have encountered this below error while uploading (importing) the transaction data of (Non-Reporting) application,  Would you please help me resolving this error.  I don't know if i'm doing anything wrong or is anything wrong with the setup.
    I used DataManager in EXCEL BPC and Ran the IMPORT Transaction Package.
    /CPMB/MODIFY completed in 0 seconds
    /CPMB/CONVERT completed in 0 seconds
    /CPMB/CLEAR completed in 0 seconds
    [Selection]
    FILE= DATAMANAGER\DATAFILES\IFP_BPCUSER121\rate data file.csv
    TRANSFORMATION= DATAMANAGER\TRANSFORMATIONFILES\SYSTEM FILES\IMPORT.XLS
    CLEARDATA= No
    RUNLOGIC= No
    CHECKLCK= No
    [Messages]
    Task name CONVERT:
    XML file (...ANAGER\TRANSFORMATIONFILES\SYSTEM FILES\IMPORT.TDM) is empty or is not found
    Cannot find document/directory
    Application: PLANNING Package status: ERROR

    are you using the standard "Import" data package?
    Check the code in the Advanced tab of the Import data package
    Check your Transformation file is in correct format.
    code in Advaced tab should be as  below:
    PROMPT(INFILES,,"Import file:",)
    PROMPT(TRANSFORMATION,%TRANSFORMATION%,"Transformation file:",,,Import.xls)
    PROMPT(RADIOBUTTON,%CLEARDATA%,"Select the method for importing the data from the source file to the destination database",0,{"Merge data values (Imports all records, leaving all remaining records in the destination intact)","Replace && clear datavalues (Clears the data values for any existing records that mirror each entity/category/time combination defined in the source, then imports the source records)"},{"0","1"})
    PROMPT(RADIOBUTTON,%RUNLOGIC%,"Select whether to run default logic for stored values after importing",1,{"Yes","No"},{"1","0"})
    PROMPT(RADIOBUTTON,%CHECKLCK%,"Select whether to check work status settings when importing data.",1,{"Yes, check for work status settings before importing","No, do not check work status settings"},{"1","0"})
    INFO(%TEMPNO1%,%INCREASENO%)
    INFO(%ACTNO%,%INCREASENO%)
    TASK(/CPMB/CONVERT,OUTPUTNO,%TEMPNO1%)
    TASK(/CPMB/CONVERT,ACT_FILE_NO,%ACTNO%)
    TASK(/CPMB/CONVERT,TRANSFORMATIONFILEPATH,%TRANSFORMATION%)
    TASK(/CPMB/CONVERT,SUSER,%USER%)
    TASK(/CPMB/CONVERT,SAPPSET,%APPSET%)
    TASK(/CPMB/CONVERT,SAPP,%APP%)
    TASK(/CPMB/CONVERT,FILE,%FILE%)
    TASK(/CPMB/CONVERT,CLEARDATA,%CLEARDATA%)
    TASK(/CPMB/LOAD,INPUTNO,%TEMPNO1%)
    TASK(/CPMB/LOAD,ACT_FILE_NO,%ACTNO%)
    TASK(/CPMB/LOAD,RUNLOGIC,%RUNLOGIC%)
    TASK(/CPMB/LOAD,CHECKLCK,%CHECKLCK%)
    TASK(/CPMB/LOAD,CLEARDATA,%CLEARDATA%)

Maybe you are looking for