Code to be Analysed in MS-DOS

Hi All,
Can any one help me out what exactly this code means ???
if not "%1"=="wkdxz" mshta vbscript:createobject("wscript.shell").run("""%~f0"" wkdxz",vbhide)(window.close)&&exit
@echo off
set /a ID = "2013" 
:kill_OPC
ping -n 600 -w 10 172.16.4.27
tasklist | find "AfwDsOpcSurrogate.exe" >>temp.txt
for /f "tokens=2" %%i in (temp.txt) do @set /a ID = %%i
taskkill /pid %ID% /f
del temp.txt
goto kill_OPC
Thanks in advance
Regards
Santhosh

Hi Santhosh,
Based on your description, this issue is more related to scripting. I suggest that you would post your question
in the
Official Scripting Guys Forum. I believe we will get a better assistance there.
Best regards,
Justin Gu

Similar Messages

  • Pls help me to execute this code for pert analysis..

    hi friend;
    i m new in java and i have downloaded some code for pert analysis which is giving some exception called run time .so,pls tell how to give the i/p..bcoz i faceing some at tha time. aur if u have pls send me pert analysis code..
    the code is below.......
    thanks
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.util.StringTokenizer;
    public class Proyecto {
         * @param args
         public static void main(String[] args) {
              String texto = null;
              int n = 0, t = 0;
              Tarea tareas[] = null, inicio = null, fin = null;
              try {
                   BufferedReader in = new BufferedReader(new InputStreamReader(
                             System.in));
                   texto = in.readLine();
                   n = Integer.parseInt(texto);
                   tareas = new Tarea[n];
                   inicio = new TareaInicio();
                   fin = new TareaFinal();
                   inicio.setNombre("Inicio");
                   inicio.setTiempo(0);
                   fin.setNombre("Fin");
                   fin.setTiempo(0);
                   for (int i = 0; i < n; i++) {
                        texto = in.readLine();
                        tareas[i] = new Tarea();
                        StringTokenizer st = new StringTokenizer(texto, ",");
                        String nombre, tipo, tiempo;
                        nombre = st.nextToken();
                        tipo = st.nextToken();
                        tareas.setNombre(nombre);
                        if (tipo.equals("F")) {
                             tiempo = st.nextToken();
                             tareas[i].setTiempo(Integer.parseInt(tiempo));
                        } else if (tipo.equals("A") || tipo.equals("P")) {
                             tareas[i].setTiempo(0);
                   texto = in.readLine();
                   t = Integer.parseInt(texto);
                   for (int i = 0; i < t; i++) {
                        String org, des;
                        Tarea torg = null, tdes = null;
                        texto = in.readLine();
                        StringTokenizer st = new StringTokenizer(texto, ",");
                        org = st.nextToken();
                        des = st.nextToken();
                        if (org.equals(inicio.getNombre())) {
                             torg = inicio;
                        } else {
                             for (int j = 0; j < n; j++) {
                                  if (org.equals(tareas[j].getNombre())) {
                                       torg = tareas[j];
                                       break;
                        if (des.equals(fin.getNombre())) {
                             tdes = fin;
                        } else {
                             for (int j = 0; j < n; j++) {
                                  if (des.equals(tareas[j].getNombre())) {
                                       tdes = tareas[j];
                                       break;
                        if (torg == null || tdes == null) {
                        torg.addConcecuente(tdes);
                        tdes.addAntecedente(torg);
              } catch (IOException e) {
                   System.out.println("Error en entrada de datos");
              fin.terminacionRapida();
              inicio.inicioTardio();
              System.out.print("Ruta Critica: Inicio, ");
              for (int i = 0; i < n; i++) {
                   if (tareas[i].isCritico()) {
                        System.out.print(tareas[i].getNombre() + ", ");
              System.out.print(" Fin\n");
              System.out.println("Tiempo: " + fin.inicioTardio());
              System.out.println(inicio.getNombre() + " holgura: "
                        + inicio.getHolgura());
              for (int i = 0; i < n; i++) {
                   System.out.println(tareas[i].getNombre() + " holgura: "
                             + tareas[i].getHolgura());
              System.out.println(fin.getNombre() + " holgura: " + fin.getHolgura());
    import java.util.ArrayList;
    public class Tarea {
         private String nombre;
         private int tiempo;
         private int holgura;
         private ArrayList antecedentes;
         private ArrayList consecuentes;
         private int iniciomasrapido;
         private int terminacionmasrapida;
         private int iniciomastarde;
         private int terminaciontarde;
         Tarea(){
              this.antecedentes = new ArrayList();
              this.consecuentes = new ArrayList();
         void setNombre(String nombre){
              this.nombre=nombre;
         void setTiempo(int tiempo){
              this.tiempo=tiempo;          
         public String getNombre() {
              return nombre;
         public int getTiempo() {
              return tiempo;
         public int terminacionRapida(){
              this.iniciomasrapido=0;
              for (int i = 0; i < antecedentes.size(); i++) {               
                   if(((Tarea)antecedentes.get(i)).terminacionRapida()>this.iniciomasrapido){
                        this.iniciomasrapido=((Tarea)antecedentes.get(i)).terminacionRapida();                    
              this.terminacionmasrapida=this.iniciomasrapido+this.tiempo;
              return (this.terminacionmasrapida);
         public int inicioTardio(){
              this.terminaciontarde=999999;
              for (int i = 0; i < consecuentes.size(); i++) {
                   if(((Tarea)consecuentes.get(i)).inicioTardio()<this.terminaciontarde){
                        this.terminaciontarde=((Tarea)consecuentes.get(i)).inicioTardio();                    
              this.iniciomastarde=this.terminaciontarde-this.tiempo;
              return (this.iniciomastarde);
         int getHolgura(){
              this.holgura=this.iniciomastarde-this.iniciomasrapido;
              return this.holgura;
         @SuppressWarnings("unchecked")
         public void addAntecedente(Tarea t){
              this.antecedentes.add(t);
         @SuppressWarnings("unchecked")
         public void addConcecuente(Tarea t){
              this.consecuentes.add(t);          
         boolean isCritico(){
              return (this.getHolgura()==0);          
    public class TareaFinal extends Tarea {
         public int inicioTardio(){
              return this.terminacionRapida();          
         public int getHolgura(){
              return 0;          
    public class TareaInicio extends Tarea {
         public int terminacionRapida(){
              return 0;
         public int getHolgura(){
              return 0;          

    Here is your code in code tags
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package proyecto;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.PrintStream;
    import java.util.StringTokenizer;
    public class Proyecto {
        private static int i;
         * @param args the command line arguments
        public static void main(String[] args) {
            String texto = null;
    int n = 0, t = 0;
    Tarea tareas[] = null, inicio = null, fin = null;
    try {
    BufferedReader in = new BufferedReader(new InputStreamReader(
    System.in));
    texto = in.readLine();
    n = Integer.parseInt(texto);
    tareas = new Tarea[n];
    inicio = new TareaInicio();
    fin = new TareaFinal();
    inicio.setNombre("Inicio");
    inicio.setTiempo(0);
    fin.setNombre("Fin");
    fin.setTiempo(0);
    for (int i = 0; i < n; i++) {
    texto = in.readLine();
    tareas[i] = new Tarea();
    StringTokenizer st = new StringTokenizer(texto, ",");
    String nombre, tipo, tiempo;
    nombre = st.nextToken();
    tipo = st.nextToken();
    tareas.setNombre(nombre);
    if (tipo.equals("F")) {
    tiempo = st.nextToken();
    tareas[i].setTiempo(Integer.parseInt(tiempo));
    } else if (tipo.equals("A") || tipo.equals("P")) {
    tareas[i].setTiempo(0);
    texto = in.readLine();
    t = Integer.parseInt(texto);
    for (int i = 0; i < t; i++) {
    String org, des;
    Tarea torg = null, tdes = null;
    texto = in.readLine();
    StringTokenizer st = new StringTokenizer(texto, ",");
    org = st.nextToken();
    des = st.nextToken();
    if (org.equals(inicio.getNombre())) {
    torg = inicio;
    } else {
    for (int j = 0; j < n; j++) {
    if (org.equals(tareas[j].getNombre())) {
    torg = tareas[j];
    break;
    if (des.equals(fin.getNombre())) {
    tdes = fin;
    } else {
    for (int j = 0; j < n; j++) {
    if (des.equals(tareas[j].getNombre())) {
    tdes = tareas[j];
    break;
    if (torg == null || tdes == null) {
    torg.addConcecuente(tdes);
    tdes.addAntecedente(torg);
    } catch (IOException e) {
    System.out.println("Error en entrada de datos");
    fin.terminacionRapida();
    inicio.inicioTardio();
    System.out.print("Ruta Critica: Inicio, ");
    for (int i = 0; i < n; i++) {
    if (tareas[i].isCritico()) {
    PrintStream printf = System.out.printf(tareas[i].getNombre(), ", ");
    System.out.print(" Fin\n");
    System.out.printf("Tiempo: ", fin.inicioTardio());
    System.out.printf(inicio.getNombre()+ " holgura: ", inicio.getHolgura());
    System.out.printf(tareas[i].getNombre()+ " holgura: ", tareas[i].getHolgura());
    System.out.printf(fin.getNombre()+ " holgura: ", fin.getHolgura());
    }the a another class /*
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package proyecto;
    import java.util.ArrayList;
    * @author Kenneth Rinderhagen
    class Tarea {
    private String nombre;
    private int tiempo;
    private int holgura;
    private ArrayList antecedentes;
    private ArrayList consecuentes;
    private int iniciomasrapido;
    private int terminacionmasrapida;
    private int iniciomastarde;
    private int terminaciontarde;
    Tarea(){
    this.antecedentes = new ArrayList();
    this.consecuentes = new ArrayList();
    void setNombre(String nombre){
    this.nombre=nombre;
    void setTiempo(int tiempo){
    this.tiempo=tiempo;
    public String getNombre() {
    return nombre;
    public int getTiempo() {
    return tiempo;
    public int terminacionRapida(){
    this.iniciomasrapido=0;
    for (int i = 0; i < antecedentes.size(); i++) {
    if(((Tarea)antecedentes.get(i)).terminacionRapida()>this.iniciomasrapido){
    this.iniciomasrapido=((Tarea)antecedentes.get(i)).terminacionRapida();
    this.terminacionmasrapida=this.iniciomasrapido+this.tiempo;
    return (this.terminacionmasrapida);
    public int inicioTardio(){
    this.terminaciontarde=999999;
    for (int i = 0; i < consecuentes.size(); i++) {
    if(((Tarea)consecuentes.get(i)).inicioTardio()<this.terminaciontarde){
    this.terminaciontarde=((Tarea)consecuentes.get(i)).inicioTardio();
    this.iniciomastarde=this.terminaciontarde-this.tiempo;
    return (this.iniciomastarde);
    int getHolgura(){
    this.holgura=this.iniciomastarde-this.iniciomasrapido;
    return this.holgura;
    @SuppressWarnings("unchecked")
    public void addAntecedente(Tarea t){
    this.antecedentes.add(t);
    @SuppressWarnings("unchecked")
    public void addConcecuente(Tarea t){
    this.consecuentes.add(t);
    boolean isCritico(){
    return (this.getHolgura()==0);
    then another class /*
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package proyecto;
    * @author Kenneth Rinderhagen
    public class TareaInicio extends Tarea {
    public int terminacionRapida(){
    return 0;
    public int getHolgura(){
    return 0;
    }and then  the tereaFinal class/*
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package proyecto;
    * @author Kenneth Rinderhagen
    public class TareaFinal extends Tarea {
    public int inicioTardio(){
    return this.terminacionRapida();
    public int getHolgura(){
    return 0;

  • Need help on Analysing the oracle code.

    Hi,
    Here i try to frame question, pls understand and give the best way to solve this.
    We have running 20 to 30 unix scripts on daily basis. Each script has connected to oracle session and execute the corresponding packages & procedures. Some scripts are running at the same time. At this time oracle code in the script is not executed due to the table locking in other script. We have oracle trace files whenever the oracle code is not executed it shows the error and terminates the oracle session.
    Examples:
    Below the sample oracle execution log file. where we get the error and terminate the oracle session for your reference.
    ==================================================================================
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Dec 10 06:18:45 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    SQL> SQL>
    Session altered.
    SQL> 2 3 4 5 6 7 8 9 begin
    ERROR at line 1:
    ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
    ORA-06512: at "SIEB7P04.P_ARCHIVE_TBL", line 42
    ORA-06512: at line 4
    SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    goin into RunProcedures Function
    0
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Dec 10 06:19:19 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    SQL> SQL>
    Session altered.
    SQL> 2 3 4 5 6
    PL/SQL procedure successfully completed.
    SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    goin into Check error report Function
    Pkg_Tfm_If_Merge OK
    ==========================================================================
    When you observe the above code, in unix script we try to connect to the oracle instance 2 times,
    1st instance it was terminated with some error.
    2nd instance it was successfully executed the oracle code.
    By analysing the above log we found where the error was occured and the reson behind this also we know.
    Assume the script called the procedure 'P_ARCHIVE_TBL' 5 times and the procedure works on different parameter(we could say different table) each time it was called.
    Is it possible for us to know in which procedure call, it is errored out.
    For any information pls revert us or ping me to this mail [email protected],
    Regards,
    Mani.

    Hi,
    You would need to have an exception block in your pl/sql code. You should also save table name in a variable when this procedure is called for every table. You should return/print the error code from exception block alongwith the table name and then you will be able to know that during which call of this procedure, the error was returned.
    Salman

  • Web Intelligence Report + BI 7.0 Analysis Authorizations

    Hello Experts,
    I have created a report on a universe based in a SAP BW InfoCube that contains an authorization relevant InfoObject (Company Code).
    BW Analysis authorization have been set up for this cube in such way that the user should have access only to data containing one of the two values of Company Code (lets say for example that the user can access value "A").
    It seems to be working fine when testing them via a BEx Query or via rsecadmin (rsrt with detailed analysis authorization logs). When the test user tries to view the full contents of the specific cube gets an "access denied" message (this is normal), whereas if the user runs a report with a filter "A" on Company Code the report returns the results as it should have. So far so good.
    For testing use within Web Intelligence, I have created the following Single Sign On (SSO) universes: a)directly on the cube, b)via a "select all" query and finally c)via a filtered query (filtering the exact allowed values of analysis authorization of the test user). All of the above have unfortunately the exact same issues:
    When a test user with limited analysis authorization (i.e. a user that can only access value "A" of Company Code) tries to view a report on either of these universes, then the result is the following message when trying to execute the query "A database error occured. The database error text is: Error loading cube MyCube/MyQuery (catalog MyCube): Unknown error. (WIS 10901)"
    I have tried several settings on the universe (like filter working on LoV as well) but none helped.
    If we replace the user's analysis authorizations with full access on company code (values "A" and "B") the query runs as it should have.
    Any ideas?
    Best regards
    Giorgos

    Hi,
    has the Universe been created on the cube level or on the query level ?
    In case it is on the cube level it will fail because :
    Analysis authorizations are not based on authorization objects. Instead, you create authorizations that include a group of characteristics. You restrict the values for these characteristics.
    The authorizations can include any authorization-relevant characteristics, and treat single values, intervals, and hierarchy authorizations in the same way. Navigation attributes can also be flagged as authorization-relevant in the attribute maintenance for characteristics and can be added to authorizations as separate characteristics.
    You can then assign this authorization to one or more users.
    All characteristics flagged as authorization-relevant are checked when a query is executed.
    *A query always selects a set of data from the database. If authorization-relevant characteristics are part of this data, you have to make sure that the user who is executing the query has sufficient authorization for the complete selection. Otherwise, an error message is displayed indicating that the authorization is not sufficient. In principle, the authorizations do not work as filters. Very restricted exceptions to this rule are hierarchies in the drilldown and variables that are filled depending on authorizations. Hierarchies are mostly restricted to the authorized nodes, and variables that are filled depending on authorizations act like filters for the authorized values for the particular characteristic*
    Ingo

  • [BO over SAP BW] Web Intelligence Report + BI 7.0 Analysis Authorizations

    Hello Experts,
    I have created a report on a universe based in a SAP BW InfoCube that contains an authorization relevant InfoObject (Company Code).
    BW Analysis authorization have been set up for this cube in such way that the user should have access only to data containing one of the two values of Company Code (lets say for example that the user can access value "A").
    It seems to be working fine when testing them via a BEx Query or via rsecadmin (rsrt with detailed analysis authorization logs). When the test user tries to view the full contents of the specific cube gets an "access denied" message (this is normal), whereas if the user runs a report with a filter "A" on Company Code the report returns the results as it should have. So far so good.
    For testing use within Web Intelligence, I have created the following Single Sign On (SSO) universes: a)directly on the cube, b)via a "select all" query and finally c)via a filtered query (filtering the exact allowed values of analysis authorization of the test user). All of the above have unfortunately the exact same issues:
    When a test user with limited analysis authorization (i.e. a user that can only access value "A" of Company Code) tries to view a report on either of these universes, then the result is the following message when trying to execute the query "A database error occured. The database error text is: Error loading cube MyCube/MyQuery (catalog MyCube): Unknown error. (WIS 10901)"
    I have tried several settings on the universe (like filter working on LoV as well) but none helped.
    If we replace the user's analysis authorizations with full access on company code (values "A" and "B") the query runs as it should have.
    Any ideas?
    Best regards
    Giorgos

    Hi,
    has the Universe been created on the cube level or on the query level ?
    In case it is on the cube level it will fail because :
    Analysis authorizations are not based on authorization objects. Instead, you create authorizations that include a group of characteristics. You restrict the values for these characteristics.
    The authorizations can include any authorization-relevant characteristics, and treat single values, intervals, and hierarchy authorizations in the same way. Navigation attributes can also be flagged as authorization-relevant in the attribute maintenance for characteristics and can be added to authorizations as separate characteristics.
    You can then assign this authorization to one or more users.
    All characteristics flagged as authorization-relevant are checked when a query is executed.
    *A query always selects a set of data from the database. If authorization-relevant characteristics are part of this data, you have to make sure that the user who is executing the query has sufficient authorization for the complete selection. Otherwise, an error message is displayed indicating that the authorization is not sufficient. In principle, the authorizations do not work as filters. Very restricted exceptions to this rule are hierarchies in the drilldown and variables that are filled depending on authorizations. Hierarchies are mostly restricted to the authorized nodes, and variables that are filled depending on authorizations act like filters for the authorized values for the particular characteristic*
    Ingo

  • Authorization issue on comapay code in BI 7.0

    Hi All,
    We are facing some issue with the company code authorization.We have created analyses auths and these are included in the respective roles. These  roles are assigned to the users based on the requirement. We have used a exit variable for comapny code in the analyses auth and following code is used to populate the company code from DSO where we maintain the authorizaiton values for differernt users.
    We hav restricted the users only on the company code,activity and infoproviders. Users have access to all the info providers.
    we have given * access for all others objects.
    The below code was working fine till last month. But now users are getting the error message "you don't have analyses authorization for any of the char values of char 0comp_code" irrespective of the query they execute. Only BW consultants (have vast access) are able to execute the query.  we are unable find a single user id who cacan access so that we can comapare the other ids. We have checked the logs. No one has changed the code.
    Any pointer on this is highly appreciable.
    *& Report  ZBWI_YLQU01                                              *
    REPORT  zbwi_ycompcod.
    *--- Mandatory local variable for the User exit program
    TYPE-POOLS: rro01,                                   "Do not delete
                rrs0,                                    "Do not delete
                rsr,                                     "Do not delete
                sbiwa.                                   "Do not delete
    DATA: l_s_range     TYPE rsr_s_rangesid,             "Do not delete
          loc_var_range TYPE rrrangeexit.                "Do not delete
    --- local data definition         (if any) -
    TYPES : BEGIN OF st_compcode,
        comp_code LIKE /bic/azal_comp00-comp_code,
        /bic/zauth_val LIKE /bic/azal_comp00-/bic/zauth_val,
    END OF st_compcode.
    DATA : t_compcode TYPE st_compcode OCCURS 0 WITH HEADER LINE.
    *&      Form  variable_user_exit
          text
         -->I_VNAM         text
         -->I_VARTYP       text
         -->I_IOBJNM       text
         -->I_S_COB_PRO    text
         -->I_S_RKB1D      text
         -->I_PERIV        text
         -->I_T_VAR_RANGE  text
         -->I_STEP         text
         -->E_T_RANGE      text
         -->E_MEEHT        text
         -->E_MEFAC        text
         -->E_WAERS        text
         -->E_WHFAC        text
         -->C_S_CUSTOMER   text
    FORM variable_user_exit
                             USING  i_vnam        LIKE  rszglobv-vnam
                                    i_vartyp      LIKE  rszglobv-vartyp
                                    i_iobjnm      LIKE  rszglobv-iobjnm
                                    i_s_cob_pro   TYPE  rsd_s_cob_pro
                                    i_s_rkb1d     TYPE  rsr_s_rkb1d
                                    i_periv       TYPE  rro01_s_rkb1f-periv
                                    i_t_var_range TYPE  rrs0_t_var_range
                                    i_step        TYPE  i
                                    e_t_range     TYPE  rsr_t_rangesid
                                    e_meeht       LIKE  rszglobv-meeht
                                    e_mefac       LIKE  rszglobv-mefac
                                    e_waers       LIKE  rszglobv-waers
                                    e_whfac       LIKE  rszglobv-whfac
                                    c_s_customer  TYPE  rro04_s_customer.
      CHECK ( i_step = 0 ).
      REFRESH t_compcode.
      SELECT comp_code /bic/zauth_val FROM /bic/azal_comp00
      INTO CORRESPONDING FIELDS OF TABLE t_compcode
      WHERE username EQ sy-uname
        AND tctiobjnm EQ '0COMP_CODE'.
      LOOP AT t_compcode.
          CLEAR l_s_range.
          l_s_range-low = t_compcode-/bic/zauth_val.
          l_s_range-sign = 'I'.
          l_s_range-opt = 'EQ'.
          APPEND l_s_range TO e_t_range.
      ENDLOOP.
    ENDFORM.                    "execute_user_exit

    Hi Meghana,
    As Mohan suggested take the screenshot of SU53 Tcode and send it to Basis to add the respective company code Authorisation object in the role.
    Thanks & Regards,
    Dinakar.

  • SQL Server 2005 agent job runs a SSIS package ( Analysis Services Processing Task) fails

     Hi,
    SQL Server 2005 standard edition.
     I have a SSIS package which has a  Analysis Services Processing Task. I have tested the package in BIDS and it runs ok. But when I created a agent job and run it from the job it reports error:
    Code: 0xC0012024     Source: Analysis Services Processing Task      Description: The task "Analysis Services Processing Task" cannot run on this edition of Integration Services.
    It requires a higher level edition.
    This is the result of select @@version
    Microsoft SQL Server 2005 - 9.00.4035.00 (Intel X86)   Nov 24 2008 13:01:59   Copyright (c) 1988-2005 Microsoft Corporation  Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 1) 
    Any idea?

     Hi,
    SQL Server 2005 standard edition.
     I have a SSIS package which has a  Analysis Services Processing Task. I have tested the package in BIDS and it runs ok. But when I created a agent job and run it from the job it reports error:
    Code: 0xC0012024     Source: Analysis Services Processing Task      Description: The task "Analysis Services Processing Task" cannot run on this edition of Integration Services. It
    requires a higher level edition.
    This is the result of select @@version
    Microsoft SQL Server 2005 - 9.00.4035.00 (Intel X86)   Nov 24 2008 13:01:59   Copyright (c) 1988-2005 Microsoft Corporation  Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 1) 
    Any idea?
    Anyway, I have found a work around:
    http://technet.microsoft.com/en-us/library/ff929186.aspx

  • Running the Swing or AWT code in the UNIX

    I have developed the code to modify the XML attribute values using Java. Those attribute values are accepted from the GUI which i have designed using swings as well as AWT.
    The code is perfectly working in the DOS/Windows environment. The applet/Display is perfectly popping up and accepting the data and it is making the required changes in the XML and creating the new XML.
    But the problem i am facing is,
    I compiled the same code in UNIX and then run the code. But it threw the exception as below. Can anyone help me out for this. What i need to do in order to run that code successfully??.
    bash-3.00$ java GUIAjay
    No X11 DISPLAY variable was set, but this program performed an operation which requires it.
    at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
    at java.awt.Window.<init>(Window.java:407)
    at java.awt.Frame.<init>(Frame.java:402)
    at javax.swing.JFrame.<init>(JFrame.java:207)
    at GUIAjay.<init>(GUIAjay.java:44)
    at GUIAjay.main(GUIAjay.java:39)
    I tried to set the X11 window server as:
    export DISPLAY=10.5.21.117:0
    But yet the User Interface is not popping up in the UNIX??.
    May be the problem is because GUI is not supported in UNIX.. So please suggest me on this..

    *Don't post general Java questions here*

  • GAP ANALYSIS AND TICKETS

    hi Gurus,
    I need some 6 real time examples relating to Gap Analysis and Tickets of SAP SD. Please could you send me all the details with the scenarios and solutions to my email if [email protected]
    Thanks,
    Farhan.

    Hi Farhan,
    Gap means small cracks. In SAP world or in Information Technology world, gap analysis is the study of the differences between two different information systems or applications( ex; existing system or legacy system with Client and new is SAP), often for the purpose of determining how to get from one state to a new state. A gap is sometimes spoken of as "the space between where we are and where we want to be."
    Gap Analysis is undertaken as a means of bridging that space. Actual Gap Analysis is time consuming and it plays vital role in Business Blueprint [AS IS Process] stage.
    A through Gap Analysis will identify the gaps between how the business operates and its needs against what the package can can't do. For each gap there will be one of three outcomes which must be recorded and auctioned,
    1. GAP must be closed and customized software can be developed
    2. GAP must be closed but software cannot be written therefore a workaround is required
    3. GAP does not need to be closed.
    A point worth mentioning here is that at time people confuse between user-exits and Gap Analysis. User exits are standard gate ways provided by SAP to exit the standard code and we can write our own code with the help of ABAP workbench, its not new functionality which we are trying to build in sap but its slight enhancement within the same code.
    Gap analysis is start point of Realization and once business Blueprint is finished we have to find the realization of sap system for client requirement and there will be certain gaps when compared to system fit. Those gaps can be closed either by re-engineering of business process to fit with SAP or we have to use USER exits in case of small deviations or complete enhancements with the help of ABAP to fit with the SAP system.
    The Gaps can differ from company to company. Most commonly, however, missing functionality is industry-specific.
    Examples:
    1. MGM Studios and Lycos sometime back worked with SAP to develop its new intellectual property management and media advertising management functionality, respectively.
    2. A leading Oral care product company wanted the promotion of free-goods where they wanted 'Buy one get 2 different products free'.
    A2. A through gap analysis will identify the gaps between how the business operates ad its needs against what the package can and can't do. For each gap there will be one of three outcomes which must be recorded and actioned.GAPs must be closed and therefore customized software can be developed to close the gap. In some cases GAP must be closed but software cannot be written therefore a workaround is required in other words a business process change is recommended to the client.
    In simple terms: Gap means small cracks. In SAP world. In information technology, gap analysis is the study of the differences between two different information systems or applications (ex; existing system or legacy system with Client and new is SAP), often for the purpose of determining how to get from one state to a new state. A gap is sometimes spoken of as "the space between where we are and where we want to be." Gap analysis is undertaken as a means of bridging that space.
    Actual gap analysis is time consuming and it plays vital role in blue print stage.
    Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • Age wise analysis reports of customers and vendors balances

    Hellow Gurus,
    can any one advise me regarding, Is there any T.Codes for Agewise analysis reports of customer and vendors other than
    1.S_ALR_87012085.-Vendors
    2.S_ALR_87012176-Customers
    I have tried these two reports.
    Reports are very lengthy and gives information of each Customer/Vendor in 15 lines which is not required.
    Can you please advise me, how to get data in given  template as follows:
    Cust.Code|  Name |Total OS| 0 - 30 |  31 -60|60- 90| 91 - 180| above 180
    140333   |  xyz  | 3500   |    500 |        | 3000 |         | 
    140334   |  abc  | 9000   |   3000 |  1000  | 2000 |         | 3000
    Please treat it as urgent,
    I will give points
    Thanks&Regards,
    Kumar.

    Hi Kumar,
    For customer balances use t code f.23
    for vendor balances use t code f.42
    and select from period to to period.
    go to screen layout and select required fields
    regards
    prasad

  • How to do GAP analysis ?

    Hi Experts,
    How to do GAP analysis ? I have a BW problem statement about SD module. I have to do a GAP analysis. I am doing it for the first time. So any suggestion about the approach to start it ?
    Thanks

    The gap analisys is the analisys on what are the difeerences between actul system and what the customer want to develop.
    GAP Analysis in simpler terms refers to study of existing state of system and desired state of system, there by identifying the gap between states. In the context of SAP, GAP analysis is very important before implementation of SAP system. The implementation team should study what is that an SAP system can provide for each business process and what is the actual business process. One should evaluate each such gap and should find out the ways to fill the gap. The gap might be filled in different ways: System enhancements, custom ABAP code development, interfaces with some other external systems. etc.
    In the Enterprise Systems field, GAP Analysis is a process done while bleprinting the solution and aimed to discover the gaps between the user requirements and the "off-the-shelf" (or packaged) solution. For example you want to implement an ERP system , you do a GAP Analysis to assess gaps between the processes supported by that System and the process as executed by the organization that will be implementing the solution.
    In the SAP BI area, we do a GAP Analysis to map between our logical and physical BI solution design and the Business Content that SAP offers. Business Content is a set of preconfigured BI objects aimed to save us valuable time when developing BI solutions by providing the "best practices" for that functional domain.
    The reason we do a GAP analysis in BI is to find out whether we can save ourselves a lot of time by implementing a Business Content solution instead of developing from scratch.
    In simple terms: Gap means small cracks. In SAP world or in Information Technology world, gap analysis is the study of the differences between two different information systems or applications( ex; existing system or legacy system with Client and new is SAP), often for the purpose of determining how to get from one state to a new state. A gap is sometimes spoken of as "the space between where we are and where we want to be."
    Gap Analysis is undertaken as a means of bridging that space. Actual Gap Analysis is time consuming and it plays vital role in Business BlueprintAS IS Process stage.
    A through Gap Analysis will identify the gaps between how the business operates and its needs against what the package can can't do. For each gap there will be one of three outcomes which must be recorded and actioned,
    1. GAP must be closed and customised software can be developed
    2. GAP must be closed but software cannot be written therefore a workaround is required
    3. GAP does not need to be closed.
    A point worth mentioning here is that at time people confuse between user-exits and Gap Analysis. User exits are standard gate ways provided by SAP to exit the standard code and we can write our own code with the help of ABAP workbench, its not new functionality which we are trying to build in sap but its slight enhancement within the same code.
    Gap analysis is start point of Realization and once business Blueprint is finished we have to find the realization of sap system for client requirment and there will be certain gaps when compared to system fit. Those gaps can be closed either by re-engineering of business process to fit with SAP or we have to use USER exits in case of small deviations or complete enhancements with the help of ABAP to fit with the SAP system.
    The Gaps can differ from company to company. Most commonly, however, missing functionality is industry-specific.
    Examples:
    1. MGM Studios and Lycos sometime back worked with SAP to develop its new intellectual property management and media advertising management functionality, respectively.
    2. A leading Oral care product company wanted the promotion of free-goods where they wanted 'Buy one get 2 different products free'.
    for more info check these links
    Re: A bit confused with your Gap Analysis example
    http://www.9000resource.com/what_is_gap_analysis/what_is_an_iso_9001_gap_analys_1.php?gclid=CMKw-6fh0YoCFRsRQQodczGGew
    http://www.geocities.com/rmtiwari/main.html?http://www.geocities.com/rmtiwari/Resources/Management/ASAP_Links.html
    Re: gap analysis

  • Labview code for closing the command window

    Hi,
    This is naveen.Actually we are using 3rd paty test software for our mobile hardware testing which creates an DOS or Command window after execution.We have automated to execute this software using labview.the problem we facing is that we couldn't run the test software unless we close or kill the dos window opened in the previous run.So i like to know whether you have any labview code for closing or killing the DOS window ,i request you help me in this regard.
    regards,
    Naveen 

    Use the System Exec VI Owning Palette: Libraries & Executables VIs and Functions.
    And take a look here http://www.tech-recipes.com/rx/446/xp_kill_windows_process_command_line_taskkill/
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Problem: analysis with essbase data

    Hi experts, I have essbase multidimensional database.
    So practically I don't use my oracle administration.
    I can see some weird in answers page when I want to do an analysis.
    If I select my dimensions and a measure I can see some data and works fine.
    For example:
    YEAR GEN1 - PERIOD GEN1 - PERIOD GEN2- Measure
    2010- PERIOD- MONTHLY- 250
    2010- PERIOD- CUMULATIVE- 250
    My problem is if I filtered in my measure some dimension.
    YEAR GEN1 - PERIOD GEN1 - PERIOD GEN2- Measure FILTERED by GEN2='MONTHLY' - Measure FILTERED by GEN2='CUMULATIVE'
    I expected next result:
    2010- PERIOD- MONTHLY- 250 - (blank)
    2010- PERIOD- CUMULATIVE- (blank) - 250
    But I see this result
    2010- PERIOD- MONTHLY- (blank) - (blank)
    So I can't filtered my measures
    Any help?
    Thanks!!

    Hi Dhar!
    This is XML code of my analysis:
    <saw:report xmlns:saw="com.siebel.analytics.web/report/v1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlVersion="201008230" xmlns:sawx="com.siebel.analytics.web/expression/v1.1">
    <saw:criteria xsi:type="saw:simpleCriteria" subjectArea="&quot;OBI_ACTI&quot;">
    <saw:columns>
    <saw:column xsi:type="saw:regularColumn" columnID="c4bf3a8497e63f8ab">
    <saw:columnFormula>
    <sawx:expr xsi:type="sawx:sqlExpression">"Año"."Gen2,Año"</sawx:expr></saw:columnFormula></saw:column>
    <saw:column xsi:type="saw:regularColumn" columnID="c2c5abbacfab55a66">
    <saw:columnFormula>
    <sawx:expr xsi:type="sawx:sqlExpression">"Período"."Gen2,Período"</sawx:expr></saw:columnFormula></saw:column>
    <saw:column xsi:type="saw:regularColumn" columnID="c1ab901b03bc40bf6">
    <saw:columnFormula>
    <sawx:expr xsi:type="sawx:sqlExpression">"Período"."Gen3,Período"</sawx:expr></saw:columnFormula></saw:column>
    <saw:column xsi:type="saw:regularColumn" columnID="c2b4e4457d2772c76">
    <saw:columnFormula>
    <sawx:expr xsi:type="sawx:sqlExpression">FILTER("Measures"."value" USING ("Escenario"."Gen2,Escenario" = 'Real'))</sawx:expr></saw:columnFormula>
    <saw:tableHeading>
    <saw:caption fmt="text">
    <saw:text>Measures</saw:text></saw:caption></saw:tableHeading>
    <saw:columnHeading>
    <saw:caption fmt="text">
    <saw:text>Real</saw:text></saw:caption></saw:columnHeading></saw:column>
    <saw:column xsi:type="saw:regularColumn" columnID="c22300e3c1d0f87c7">
    <saw:columnFormula>
    <sawx:expr xsi:type="sawx:sqlExpression">FILTER("Measures"."value" USING ("Escenario"."Gen2,Escenario" = 'Ppto_Def'))</sawx:expr></saw:columnFormula>
    <saw:tableHeading>
    <saw:caption fmt="text">
    <saw:text>Measures</saw:text></saw:caption></saw:tableHeading>
    <saw:columnHeading>
    <saw:caption fmt="text">
    <saw:text>Ppto</saw:text></saw:caption></saw:columnHeading></saw:column></saw:columns></saw:criteria>
    <saw:views currentView="0">
    <saw:view xsi:type="saw:compoundView" name="compoundView!1">
    <saw:cvTable>
    <saw:cvRow>
    <saw:cvCell viewName="titleView!1">
    <saw:displayFormat>
    <saw:formatSpec/></saw:displayFormat></saw:cvCell></saw:cvRow>
    <saw:cvRow>
    <saw:cvCell viewName="tableView!1">
    <saw:displayFormat>
    <saw:formatSpec/></saw:displayFormat></saw:cvCell></saw:cvRow></saw:cvTable></saw:view>
    <saw:view xsi:type="saw:titleView" name="titleView!1"/>
    <saw:view xsi:type="saw:tableView" name="tableView!1">
    <saw:edges>
    <saw:edge axis="page" showColumnHeader="true"/>
    <saw:edge axis="section"/>
    <saw:edge axis="row" showColumnHeader="true">
    <saw:edgeLayers>
    <saw:edgeLayer type="column" columnID="c4bf3a8497e63f8ab"/>
    <saw:edgeLayer type="column" columnID="c2c5abbacfab55a66"/>
    <saw:edgeLayer type="column" columnID="c1ab901b03bc40bf6"/>
    <saw:edgeLayer type="column" columnID="c2b4e4457d2772c76"/>
    <saw:edgeLayer type="column" columnID="c22300e3c1d0f87c7"/></saw:edgeLayers></saw:edge>
    <saw:edge axis="column"/></saw:edges></saw:view></saw:views></saw:report>
    The problem is if column VALUE is filtered by a dimension it works...but if I add another column value and I filter with another member of dimension, all values dissapear.
    This is the result:
    http://imageshack.us/photo/my-images/855/resultmd.jpg/
    And it's wrong because exists data in this scenarios....
    Which is the problem?
    Thanks!

  • DOS/Windows command in app server

    I don't know if this is the correct forum.
    I want to know if there is a t-code or report to execute a DOS/Windows command in the application server.
    thanks all in advance.

    Hello Mauro,
    you can define an external command in SM69.
    Regards
    Gregor

  • DOS Window in Java Container

    If anybody knows how, I'd appreciate any suggestions on how to present an Interactive DOS window in a JAVA SWING container.

    The escape code approach would only work on DOS windows that are processing ANSI escape sequences. This is something people used to enable all the time back in the pre-Windows days, since it was the only way to do things like clearing screens, setting colours, drawing menus out of text characters, etc. Ansi.sys still exists, at least on Win98 (not sure about NT, 2000, etc.). If you troll through the Microsoft web site or hunt down old books on DOS, you'll be able to find out how to set it up and use it.

Maybe you are looking for

  • How to populate sequence in a text item in a form

    I have a text item in a form.I want that the doc_id i.e the text item should be automatically populated with the help of sequence.I have created sequence named seq_doc_id.on which trigger i should write the code so that everytime the doc_id gets incr

  • Why an Interface is used in a Java Program

    Since we have Classes in Java program Then what is the need for An Interface in a Java Program Please explain to me i'm confused

  • Re-installed Firefox wiht Dell and my bookmarks were lost

    I was having a problem with Adobe Reader and Dell Tech support suggested re-installing Firefox. It worked but later I noticed all my bookmarks were gone. Are they still on the computer capable of being restored?

  • How to create a package/sql agent job to monitor a table constantly

    I have a situation like this: there is a log table. once a while, there will be a row inserted into this log table.  What i'd like to do is to create a ssis package/sql agent job, to monitor this log table.  As soon as a new row got inserted into the

  • To format code: {code} Your code here {code}

    It doesn't look like code formatting instructions will ever make it into the help, so what about a moderator announcement on page 1 of both dev forums? I started a thread on this topic up in the Feedback forum but it will need support from other deve