CONEXION CON RADIO VW RCD 51O PREMIUM

al conectar mi iphone 4S con la radio de la amarok VW RCD 510 premium se escucha mono (solo parlantes derechos) alguien tienen alguna solución

Similar Messages

  • PROBLEMAS DE CONEXION CON TV KDL-46W955 Y YOUTUBE

    Hola, tengo problemas de conexion cuando me conecto a youtube. Esto suele congelarse el video y luego la pantalla se pone negra, inhabilitando el control remoto.

    Bien día PLUIS009, 
    Gracias por su mensaje. Le hemos enviado un mensaje privado con respecto a su consulta, por favor revise su buzón de entrada.
    Atentamente,
    Jeannette.

  • Conexion con Web Service

    Amigos de que manera puedo conectar oracle sql developer con un Web Service???

    Que tal Alexandrinne,
    Por lo que entiendo estas probando en dos equipos dentro de la misma rede. En el localhost podemos observar el VI de manera correcta pero en otros equipos no... Estoy en lo correcto???
    En caso de que sí, puede ser que en el equipo externo no se tenga activado el Web Server. Te comparto un link donde se muestra cómo hacer esto, tanto para el localhost como para un remote target system, puede que ya hayas realizado este procedimiento, aunque sería bueno asegurarnos.
    http://zone.ni.com/reference/en-XX/help/371361K-01/lvhowto/ws_enable_web_server/
    Otra razon puede ser que no se hayan puesto los VIs de manera visible en las opciones de herramientas del VI. de igual manera te comparto un link donde se muestra este procedimiento. Lo puedes hacer desde cero o revisar solamente la configuración que tienes actualmente.
    http://zone.ni.com/reference/en-XX/help/371361K-01/lvhowto/enabling_and_configuring_t/
    Espero esta información nos ayude a resolver el problema, si no puedes comentarlo y buscaremos la solución.
    Saludos!
    Omar I.
    Applications Engineer
    National Instruments

  • Conexion con itunes 10.2.2.12

    Cuando intento sincronizar musica desde el BLACKBERRYDESKTOP   me dice que itunes no esta instalado.
    Tengo instalada la version 10.2.2.12 de itunes.
    Que puedo hacer para que reconosca itunes?  Debo intentar con otra version?
    gracias

    Hola y gracias por participar en el foro,
    Para tu comodidad, BlackBerry tiene su propio foro comunitario en español.
    Aquí tienes el enlace para el foro:
    http://foros.blackberry.com/t5/Foros-de-Soporte-Ge​neral/ct-p/bscf_es
    Muchas gracias!
    ChadB
    Community Moderator

  • Conexion con arduino

    Como comparo dos string y si son iguales mando una señal para que funcione un arduino
    ¡Resuelto!
    Ir a solución.

    Que tal ylellan Buenos Días:
    Para comparar dos strings puedes utilizar las funciones de LabVIEW para Stings estas se encuentran en el Diagrama de Bloques das Click derecho y buscas dentro del menú de Programming el SubMenú llamado String y hay varias funciones puedes usar la que se llama Match Regular Expression o dentro del Menu de String>>Advanced también puedes encontrar varias funciones que te pueden servir que buscan strings. Te recomiendo utilizar el "Context Help" (Ctrl + h)  para saber que hace cada función.
    Sobre el envío de señales al Arduino puedes revisar el siguiente Link para utilizar el toolkit y sus funciones para comunicarse con el Arduino en la página también puedes encontrar varios ejemplos para realizar la comunicación.
    https://decibel.ni.com/content/groups/labview-interface-for-arduino
    Cualquier otra pregunta estamos a la orden
    Saludos
    Juan Arguello
    National Instruments México y Latinoamérica
    Applications Engineer

  • Ayuda en solucionar conexion con itunes

    Tengo dias que en mi iphone me sale un globo de dialogo en mis aplicaciones que dice conectese a itunes para recibir notificaciones, necesito ayudas como lo soluciono ?

    Ya solucione el problema,debes restaurar el iphone mediante iTunes a través del ordenador y sincronizarlo.
    Primero instala o actualiza el iTunes,luego conecta el iPhone y lo restauras.
    Antes haz un copia de seguridad en iCloud.
    Espero te sea útil.

  • SAP B1  Radio Beacon vms 54.11

    Saludos.
    Alguno a utilizado SAP B1 con Radio Beacon(Warehouse), ya que tengo un problema de sincronizacion en el campo de onHand por un lado SAP me da una cantidad y Radio Beacon me da otra diferente. llegé a pensar que SAP calcula la existencia basandose en el Inventory Journal pero no es asi por lo menos no con mis pruebas.
    alguna sugerencia?
    Alberto Torres
    Edited by: Rui Pereira on Feb 23, 2009 5:06 PM
    Edited by: Paulo Calado on Jun 11, 2009 2:10 PM
    Edited by: Paulo Calado on Oct 21, 2009 3:39 PM

    Hello,
    Sizing guide is another good literature before made testing. you could download it from documentation resource center. my sizing guide Document version: 1.1 ‒ 04/30/2007 recommends :
    1. server platform:
    Microsoft® Windows Server 2003 R2 Standard/Enterprise 32bit
    Microsoft® Windows Small Business Server 2003 R2 Standard/Premium Edition
    Microsoft® Windows Server 2003 SP1 Standard/Enterprise 32bit/64bit
    Microsoft® Windows Small Business Server 2003 SP1 Standard/Premium Edition
    2. Supported database platform
    Microsoft® SQL Server 2005 SP2 Standard/Enterprise Edition 32bit/64bit (only on Windows 2003 Server)
    let me check also whether SBO 2007A works in the system. Have you upgraded the PL 05 to PL08 ? I've heard it is available.
    Rgds,

  • Software de POS que interactuen con SAP Business One

    Buenas tardes a todos,
    Estoy averiguando sobre software de Puntos de Venta (POS), que ya tengan la interface de interaccion con SAP Business One hecha.
    Tengo un cliente interesado en adquirir POS para tres de sus empresas, pero obviamente como tiene SAP Business One como software de Gestion Administrativo/Contable, quiere un POS que ya tenga hecha la interface de conexion con este software.
    Alguno de Uds. conoce alguno que me pueda recomendar? y por supuesto el contacto de como conseguirlo.
    Desde ya, gracias a todos
    Mariana

    Hola Mariana,
    http://www.geocom.com.uy/web/geocom/geopos
    al parecer tienen oficinas en Paraguay
    es difícil que una interfaz ya implementada te sirva 100% en tu cliente, cada cliente puede cargar a SAP datos que difieren de otro cliente.
    tendrías que implementar esa interfaz con POS --> SAP
    via WebService(DI-Server) u otro tipo de aplicación.
    espero te sirva mi comentario.
    saludos
    Jorge

  • How can I have podcasts and music in the same playlist in iOS7?

    How can I create an iTunes playlist that contains both music and podcasts and export that playlist to my iPhone? This was once possible. If you download the "Podcast" app, podcasts can still be added  to iTunes playlist which you can listen to on your Mac. But when you sync that playlist to iPhone, it will omit all of the podcasts.
    Previously, the workaround was not to download the Pocast app. That way, podcasts remained in iTunes where they could still exist in with music in the same playlist. But as of iOS7, you are required to install the "Podcasts" to be able listen to podcast at all. No more workaround.
    Why does this matter? Some people, like me want to drive or exercise while listening to a mix of music and podcasts. Apple's "improvements" have restricted the way that I am able to use iTunes.
    I can only think of these solutions:
    Convert the podcast into AAC or other format. Then iTunes sees it as "music" and it will stay in the playlist. Cons: 1. Burdensome. 2. Removes the resume feature from the podcast. 
    Use a different iPhone app. Spotify lets you drag any track (even podcasts) into a playlist and they stay there when synced to the Spotify iPhone app. Cons: 1. Requires Spotify premium service to listen to playlists on iPhone. 2. The resume feature is removed. 3. Very difficult to forward and rewind. 4. Some podcasts are rejected by the Spotify playlist, although its rare. 5. After being imported, the tracked need to be synced to the phone via WiFi (as with all tracks that are not offered via Spotify.)
    I am using the Spotify solution but am interested to know if there is an Apple solution. Or maybe I am the only one that wants to mix podcasts with music.

    How can I create an iTunes playlist that contains both music and podcasts and export that playlist to my iPhone? This was once possible. If you download the "Podcast" app, podcasts can still be added  to iTunes playlist which you can listen to on your Mac. But when you sync that playlist to iPhone, it will omit all of the podcasts.
    Previously, the workaround was not to download the Pocast app. That way, podcasts remained in iTunes where they could still exist in with music in the same playlist. But as of iOS7, you are required to install the "Podcasts" to be able listen to podcast at all. No more workaround.
    Why does this matter? Some people, like me want to drive or exercise while listening to a mix of music and podcasts. Apple's "improvements" have restricted the way that I am able to use iTunes.
    I can only think of these solutions:
    Convert the podcast into AAC or other format. Then iTunes sees it as "music" and it will stay in the playlist. Cons: 1. Burdensome. 2. Removes the resume feature from the podcast. 
    Use a different iPhone app. Spotify lets you drag any track (even podcasts) into a playlist and they stay there when synced to the Spotify iPhone app. Cons: 1. Requires Spotify premium service to listen to playlists on iPhone. 2. The resume feature is removed. 3. Very difficult to forward and rewind. 4. Some podcasts are rejected by the Spotify playlist, although its rare. 5. After being imported, the tracked need to be synced to the phone via WiFi (as with all tracks that are not offered via Spotify.)
    I am using the Spotify solution but am interested to know if there is an Apple solution. Or maybe I am the only one that wants to mix podcasts with music.

  • How do I deal with these SQLExceptions!!! ?

    What do these SQLException mean??
    I'm trying to transfer information from one table to another.
    I tried two ways, and i've had problems with them
    FIRST WAY (USING PREPARED STATEMENT):
    Connection conexion = null;
    Connection conexion2 = null;
    Statement sentencia = null;
    PreparedStatement sentencia2 = null;
    ResultSet resultado = null;
    ResultSet resultado2 = null;
    File archivo = null;
    InputStream entrada = null;
    FileOutputStream salida = null;
    ImageIcon imagen = null;
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    conexion = DriverManager.getConnection("jdbc:odbc:Base","","");
    conexion2 = DriverManager.getConnection("jdbc:odbc:Base2","","");
    catch(Exception ex){
    Texto.setText("No se pudo establecer la conexion con Base");
    try{
    sentencia = conexion.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
    //THIS IS ON THE SAME ROW IN MY CODE.....
    sentencia2 = conexion2.prepareStatement("INSERT INTO COPIA (CodPrim, Tipo, Cod_Afil, Cod_Parent, Retirado, Ced_Pref, Ced_Num, Apellidos, Nombres, Edo_Civ, Sexo, Fecha_Nac, Lugar_Nac, Cod_Nac, Cod_Prof, Fecha_Ing, Obs_Med, Plan, Categor?a, Carnet, VenceCarnet, Observ, Cod_Acc, Invitad_Ex, CorrespA, Cod_Vend, Impr_Carnet) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)");
    String query = "SELECT * FROM AFIL";
    resultado = sentencia.executeQuery(query);
    long numero = 0;
    String palabra = "";
    boolean boole = true;
    int entero = 0;
    Date fecha = null;
    //Here I start to fill in the prepared statement from the second column
    //of the table AFIL
    while(resultado.next()){
    numero = resultado.getLong(2);
    sentencia2.setLong(1,numero);
    palabra = resultado.getString(3);
    sentencia2.setString(2,palabra);
    palabra = resultado.getString(4);
    sentencia2.setString(3,palabra);
    numero = resultado.getLong(5);
    sentencia2.setLong(4,numero);
    boole = resultado.getBoolean(6);
    sentencia2.setBoolean(5,boole);
    palabra = resultado.getString(7);
    sentencia2.setString(6,palabra);
    palabra = resultado.getString(8);
    sentencia2.setString(7,palabra);
    palabra = resultado.getString(9);
    sentencia2.setString(8,palabra);
    palabra = resultado.getString(10);
    sentencia2.setString(9,palabra);
    palabra = resultado.getString(11);
    sentencia2.setString(10,palabra);
    palabra = resultado.getString(12);
    sentencia2.setString(11,palabra);
    fecha = resultado.getDate(13);
    sentencia2.setDate(12,fecha);
    palabra = resultado.getString(14);
    sentencia2.setString(13,palabra);
    numero = resultado.getLong(15);
    sentencia2.setLong(14,numero);
    numero = resultado.getLong(16);
    sentencia2.setLong(15,numero);
    fecha = resultado.getDate(17);
    sentencia2.setDate(16,fecha);
    palabra = resultado.getString(18);
    sentencia2.setString(17,palabra);
    numero = resultado.getLong(19);
    sentencia2.setString(18,palabra);
    entero = resultado.getInt(20);
    sentencia2.setInt(19,entero);
    numero = resultado.getLong(21);
    sentencia2.setLong(20,numero);
    fecha = resultado.getDate(22);
    sentencia2.setDate(21,fecha);
    palabra = resultado.getString(23);
    sentencia2.setString(22,palabra);
    numero = resultado.getLong(24);
    sentencia2.setLong(23,numero);
    entero = resultado.getInt(25);
    sentencia2.setInt(24,entero);
    palabra = resultado.getString(26);
    sentencia2.setString(25,palabra);
    numero = resultado.getLong(27);
    sentencia2.setLong(26,numero);
    boole = resultado.getBoolean(28);
    sentencia2.setBoolean(27,boole);
    sentencia2.executeQuery();
    conexion.close();
    sentencia.close();
    conexion2.close();
    sentencia2.close();
    catch(SQLException ex3){
    Texto.setText(ex3.getMessage());
    catch(Exception ex4)
    Texto.setText(ex4.getMessage());
    SQLException:
    [Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented
    SECOND WAY (USING STATEMENTS):
    Connection conexion = null;
    Connection conexion2 = null;
    Statement sentencia = null;
    Statement sentencia2 = null;
    ResultSet resultado = null;
    ResultSet resultado2 = null;
    File archivo = null;
    InputStream entrada = null;
    FileOutputStream salida = null;
    ImageIcon imagen = null;
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    conexion = DriverManager.getConnection("jdbc:odbc:Base","","");
    conexion2 = DriverManager.getConnection("jdbc:odbc:Base2","","");
    catch(Exception ex){
    Texto.setText("No se pudo establecer la conexion con Base");
    try{
    sentencia = conexion.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
    sentencia2 = conexion2.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
    String query = "SELECT * FROM AFIL";
    String query2 = "SELECT * FROM COPIA";
    resultado2 = sentencia2.executeQuery(query2);
    resultado = sentencia.executeQuery(query);
    long numero = 0;
    String palabra = "";
    boolean boole = true;
    int entero = 0;
    Date fecha = null;
    while(resultado.next()){
    resultado2.afterLast();
    resultado2.moveToInsertRow();
    numero = resultado.getLong(2);
    resultado2.updateLong(2,numero);
    palabra = resultado.getString(3);
    resultado2.updateString(3,palabra);
    palabra = resultado.getString(4);
    resultado2.updateString(4,palabra);
    numero = resultado.getLong(5);
    resultado2.updateLong(5,numero);
    boole = resultado.getBoolean(6);
    resultado2.updateBoolean(6,boole);
    palabra = resultado.getString(7);
    resultado2.updateString(7,palabra);
    palabra = resultado.getString(8);
    resultado2.updateString(8,palabra);
    palabra = resultado.getString(9);
    resultado2.updateString(9 ,palabra);
    palabra = resultado.getString(10);
    resultado2.updateString(10,palabra);
    palabra = resultado.getString(11);
    resultado2.updateString(11,palabra);
    palabra = resultado.getString(12);
    resultado2.updateString(12,palabra);
    fecha = resultado.getDate(13);
    resultado2.updateDate(13,fecha);
    palabra = resultado.getString(14);
    resultado2.updateString(14,palabra);
    numero = resultado.getLong(15);
    resultado2.updateLong(15,numero);
    numero = resultado.getLong(16);
    resultado2.updateLong(16,numero);
    fecha = resultado.getDate(17);
    resultado2.updateDate(17,fecha);
    palabra = resultado.getString(18);
    resultado2.updateString(18,palabra);
    numero = resultado.getLong(19);
    resultado2.updateLong(19,numero);
    entero = resultado.getInt(20);
    resultado2.updateInt(20,entero);
    numero = resultado.getLong(21);
    resultado2.updateLong(21,numero);
    fecha = resultado.getDate(22);
    resultado2.updateDate(22,fecha);
    palabra = resultado.getString(23);
    resultado2.updateString(23,palabra);
    numero = resultado.getLong(24);
    resultado2.updateLong(24,numero);
    entero = resultado.getInt(25);
    resultado2.updateInt(25,entero);
    palabra = resultado.getString(26);
    resultado2.updateString(26,palabra);
    numero = resultado.getLong(27);
    resultado2.updateLong(27,numero);
    boole = resultado.getBoolean(28);
    resultado2.updateBoolean(28,boole);
    resultado2.insertRow();
    conexion.close();
    sentencia.close();
    conexion2.close();
    sentencia2.close();
    catch(SQLException ex3){
    Texto.setText(ex3.getMessage());
    catch(Exception ex4)
    Texto.setText(ex4.getMessage());
    SQLException:
    [Microsoft][ODBC Microsoft Access Driver]Error in row
    Why does this happen, i can't see what i'm doing wrong!!!
    Which way is the one i should take???
    PLEASE, HELP...!

    OK, you've given me answers that don't help me to find
    a solution....Let me expound on the answer...
    You use printStackTrace() to find where the exception occurs in your code.
    And then you find some other way to do that line because the JDBC driver doesn't do that. Which is what the exception says.
    If you are going to give me answers like that, don't
    post any answer...That is certainly an option.

  • Problems with DATE in a preparedStament with ORACLE 9.2

    Hello,
    I am trying to execute a SELECT query in ORACLE 9.2.
    I am using a preparedStatement, (appending in a StringBuffer) and the query finishes as follows:
    query.append("AND ( ? >= TO_DATE(?,'DD/MM/YYYY') AND ? <= TO_DATE(?,'DD/MM/YYYY'))");
    Where those parameters are:
    pstmt.setString(10, "s.fe_entrega");
    pstmt.setString(11, "01/06/2004");
    pstmt.setString(12, "s.fe_entrega");
    pstmt.setString(13, "31/12/2004");
    WHen executing the query, a SQLException raises:
    "java.sql.SQLException: ORA-01858: se ha encontrado un car�cter no num�rico donde se esperaba uno num�rico" (A non numeric character was found when numeric expected, i think is the exception in English)
    I have also tried with the formats "YYYY/MM/DD" and "YYYY/DD/MM", with same result.
    can anybody suggest me anything to deal with this issue?
    Thank you very much and best regards

    MIke, I have changed the query. Even when using dates instead of String, it gives me a "a non-numeric character was found where a numeric was expected" Exception.
    My method now reads as follow:
    try{   
    String fec = "01/06/2004";
    String fecFinal = "31/12/2004";
    SimpleDateFormat formatter = new SimpleDateFormat("dd/MM/yyyy");
    java.sql.Date dInicial = new java.sql.Date(formatter.parse(fec).getTime());
    java.sql.Date dFinal = new java.sql.Date(formatter.parse(fecFinal).getTime());
    UtilConectores uc = new UtilConectores();
    boolean conexionAbierta = uc.abreConexion();
    if (conexionAbierta == true){
    // Crea objeto DatabaseMetaData de Oracle
    StringBuffer query = new StringBuffer("select s.ID_FICHERO, s.nu_usuario,s.co_proveedor, s.de_proveedor,s.fe_emision,s.fe_entrega ");
    query.append("from go_surtidos s,go_ficheros t ");
    query.append("where ( ");
    query.append("t.id_fichero = s.id_fichero and ");
    query.append("t.tp_fichero = ? ");
    query.append("AND s.NU_USUARIO in ( ? , ? , ? , ? , ? , ? , ? ,? ) ");
    query.append("AND ( ? >= ? AND ? <= ?)");
    query.append(")");
    PreparedStatement pstmt = conn.prepareStatement(query.toString());
    pstmt.setString(1, "PRICAT");
    pstmt.setString(2, "");
    pstmt.setString(3, "");
    pstmt.setString(4, "");
    pstmt.setString(5, "EN PROCESO");
    pstmt.setString(6, "");
    pstmt.setString(7, "");
    pstmt.setString(8, "");
    pstmt.setString(9, "");
    pstmt.setString(10, "s.fe_entrega");
    pstmt.setDate(11, dInicial);
    pstmt.setString(12, "s.fe_entrega");
    pstmt.setDate(13, dFinal);
    ResultSet rs = pstmt.executeQuery();
    System.out.println("antes next");
    while(rs.next()){
    String primeraColumna = rs.getString("ID_FICHERO");
    System.out.println("en el next");
    System.out.println(primeraColumna);
    System.out.println("tras next");
    rs.close();
    conn.close();
    catch (Exception ex){
    System.out.println(ex);
    ex.printStackTrace();
    conn.close();
    finally {
    // Cierra la conexion con la BD
    conn.close();
    }

  • How do you retrieve hostname/PMID within a tuxedo program?

    Is there a means of obtaining the PMID within a Tuxedo server program (similar to "proc_name" for the program name)? I need to retrieve the value of the uname that appears in ULOG, which is either the hostname or the name set by the PMID environment variable.
    Thanks & regards,
    Malcolm.

    Code for get the PMID:
    #define MACHINE_PMID_LEN 30
    #define MAXBUFF_LEN 16384
    char *getPMID()
    FBFR32 ibuf = (FBFR32 )NULL;
    FBFR32 obuf = (FBFR32 )NULL;
    long filter;
    long flags;
    long olen;
    int i = 0;
    char *pmid;
    FLDLEN32 pmid_maxlen = MACHINE_PMID_LEN + 1;
    int ret;
    pmid = (char*)malloc(MACHINE_PMID_LEN + 1);
    if(pmid == (char*)NULL) {
    fprintf(stdout, "getPMID::Error malloc.\n");
    return((char*)NULL);
    ** Reserva espacio para buffer de entrada a las funciones de la MIB.
    ibuf = (FBFR32 *)tpalloc("FML32", NULL, MAXBUFF_LEN);
    if(ibuf == (FBFR32 *)NULL) {
    fprintf(stdout, "getPMID::Error tpalloc ibuf(%s).\n", tpstrerror(tperrno));
    return((char*)NULL);
    ret = Finit32(ibuf, MAXBUFF_LEN);
    if(ret == -1){
    fprintf(stdout, "getPMID::Error Finit32 ibuf(%s).\n", tpstrerror(tperrno));
    return((char*)NULL);
    ** Reserva de espacio para buffer de salida de las funciones de la MIB.
    obuf = (FBFR32 *)tpalloc("FML32", NULL, MAXBUFF_LEN);
    if(obuf == (FBFR32 *)NULL){
    fprintf(stdout, "getPMID::Error tpalloc obuf(%s).\n", tpstrerror(tperrno));
    return((char*)NULL);
    ret = Finit32(obuf, MAXBUFF_LEN);
    if(ret == -1){
    fprintf(stdout, "getPMID::Error Finit32 obuf(%s).\n", tpstrerror(tperrno));
    return((char*)NULL);
    ** Tipo de Operacion -> Obtencion de informacion.
    if(Fchg32(ibuf, TA_OPERATION, 0, "GET", 0) == -1){
    fprintf(stdout, "getPMID::Error setting TA_OPERATION(%s).\n", tpstrerror(tperrno));
    return((char*)NULL);
    ** Clase del objeto del que se solicita la informacion.
    if(Fchg32(ibuf, TA_CLASS, 0, "T_MACHINE", 0) == -1){
    fprintf(stdout, "getPMID::Error setting TA_CLASS(%s).\n", tpstrerror(tperrno));
    return((char*)NULL);
    ** Componente de informacion a obtener(todos).
    ** Al no especificar filtro se obtienen todos
    ** los componentes.
    filter = TA_PMID ;
    if(Fchg32(ibuf, TA_FILTER, -1, (char *)&filter, 0) == -1){
    fprintf(stdout, "getPMID::Error setting TA_FILTER(%s).\n", tpstrerror(tperrno));
    return((char*)NULL);
    ** Hacemos efectiva la consulta construida en ibuf,
    ** obteniendo la respuesta en obuf.
    if(tpcall(".TMIB", (char *)ibuf, 0, (char **)&obuf, &olen, 0) == -1) {
    fprintf(stdout, "getPMID::Error calling servide .TMIB(%s).\n", tpstrerror(tperrno));
    return((char*)NULL);
    ** Obtencion del identificador(PMID).
    pmid_maxlen = MACHINE_PMID_LEN+1;
    if(Fget32(obuf, TA_PMID, i, (char *)pmid, &pmid_maxlen) == -1) {
    fprintf(stdout, "getPMID::Error getting TA_PMID(%s).\n", tpstrerror(tperrno));
    return((char*)NULL);
    ** Liberacion de buffers utilizados y que
    ** ya no son necesarios.
    tpfree((char *)ibuf);
    tpfree((char *)obuf);
    ** Si hemos llegado a este momento es p.q. todo ha transcurrido
    ** correctamente por lo que retornamos el numero de servidores
    ** obtenidos.
    return(pmid);
    } /* getPMID */
    To get the PMID you must use the getPMID function:
    ** Conexion al System/T como proceso cliente.
    fprintf(stdout, "%s::Estableciendo conexion con System/T.\n", argv[0]);
    ret = tpinit(tpinfo);
    if(ret == -1) {
    fprintf(stderr, "%s::Fallo en inicio conexion con System/T(%s).\n", argv[0], tpstrerror(tperrno));
    exit(EXIT_FAILURE);
    pmid = (char*)getPMID();
    fprintf(stdout, "%s::Physical Machine ID: [%s].\n", argv[0], pmid?pmid:"(null)");
    Regards.

  • It's my computer or what then?...

    Hi.. Good afternoon everybody..
    I'm a student , and i cannot resolve this problem.. could you help me please? :D
    i'm new at this..so.. thanx for your kindness :P
    what did i do wrong?
    here is my code..
    calculadorageometrica.java
    import java.io.*;
    public class calculadorageometrica1
         static public void main(String args[])
         //declarar teclado
              BufferedReader teclado =
                   new BufferedReader(
                        new InputStreamReader(System.in));
              System.out.print( " Calculadora Geometrica " );
              System.out.println( " 1.- Areas " );
              System.out.println( " 2.- Volumenes " );
              System.out.println( " 3.- Perimetros " );
              System.out.println( " Opcion: " );
              int n= 0;
    try {
              //teclado lee una string y la convierte a
              //variable dato numerico normal
              n = Integer.parseInt (teclado.readLine());
              // leo, convierto a entero y lo guardo en edad
              // si ocurre algun error cuando se trata de leer en el teclado, el comando catch "atrapa" el error
              // que halla ocurrido y hace las acciones necesarias para corregirlas, en su caso
              catch(IOException varerreror)
              System.out.println("error");
              switch (n)
                   case 1:
                   System.out.println("Calculadora Geometrica");
                   System.out.println( " Areas " );
                   System.out.println( " 1.-Circulo" );
                   System.out.println( " 2.-Cuadrado" );
                   System.out.println( " 3.-Triangulo" );
              try {
                                       //teclado lee una string y la convierte a
                                       //variable dato numerico normal
                                       n = Integer.parseInt (teclado.readLine());
                                       // leo, convierto a entero y lo guardo en edad
                                       // si ocurre algun error cuando se trata de leer en el teclado, el comando catch "atrapa" el error
                                       // que halla ocurrido y hace las acciones necesarias para corregirlas, en su caso
                                       catch(IOException varerreror)
                                       System.out.println("error");
                                                                               }//cierra el catch
                                  }//cierra el switch
                   break;
                        switch(n)
                        case 1:
                        System.out.println("Calculadora Geometrica");
                        System.out.println( " Areas " );
                        System.out.println( " Circulo " );
                        System.out.println( " Dame el valor del radio: " );
                        System.out.println( " El area de un circulo con radio es: " );
              try {
                                  //teclado lee una string y la convierte a
                                  //variable dato numerico normal
                                  n = Integer.parseInt (teclado.readLine());
                                  // leo, convierto a entero y lo guardo en edad
                                  // si ocurre algun error cuando se trata de leer en el teclado, el comando catch "atrapa" el error
                                  // que halla ocurrido y hace las acciones necesarias para corregirlas, en su caso
                                  catch(IOException varerreror)
                                  System.out.println("error");
                                                                          } //cierra catch
                   //como continua el switch no lo cerramos hasta el final de los cases
              break;
                        case 2:
                        System.out.println("Calculadora Geometrica");
                        System.out.println( " Areas " );
                        System.out.println( " Cuadrado " );
                        System.out.println( " Dame el valor de la base: " );
                        System.out.println( " El area de un cuadrado de base: es: " );
              try {
                                  //teclado lee una string y la convierte a
                                  //variable dato numerico normal
                                  n = Integer.parseInt (teclado.readLine());
                                  // leo, convierto a entero y lo guardo en edad
                                  // si ocurre algun error cuando se trata de leer en el teclado, el comando catch "atrapa" el error
                                  // que halla ocurrido y hace las acciones necesarias para corregirlas, en su caso
                                  catch(IOException varerreror)
                                  System.out.println("error");
              break;
                        case 3:
                        System.out.println("Calculadora Geometrica");
                        System.out.println( " Areas " );
                        System.out.println( " Triangulo " );
                        System.out.println( " Dame el valor de la base " );
                        System.out.println( " Dame el valor de la altura ");
                        System.out.println( " El area de un cuadrado de base: es: " );
              try {
                                  //teclado lee una string y la convierte a
                                  //variable dato numerico normal
                                  n = Integer.parseInt (teclado.readLine());
                                  // leo, convierto a entero y lo guardo en edad
                                  // si ocurre algun error cuando se trata de leer en el teclado, el comando catch "atrapa" el error
                                  // que halla ocurrido y hace las acciones necesarias para corregirlas, en su caso
                                  catch(IOException varerreror)
                                  System.out.println("error");
              break;
                                            } //cierra switch
              switch (n)
                   case 2:
                   System.out.println("Calculadora Geometrica");
                   System.out.println( " Volumenes " );
                   System.out.println( " 1.-Esfera" );
                   System.out.println( " 2.-Cubo" );
                   System.out.println( " 3.-Piramide" );
                   try {
                                       //teclado lee una string y la convierte a
                                       //variable dato numerico normal
                                       n = Integer.parseInt (teclado.readLine());
                                       // leo, convierto a entero y lo guardo en edad
                                       // si ocurre algun error cuando se trata de leer en el teclado, el comando catch "atrapa" el error
                                       // que halla ocurrido y hace las acciones necesarias para corregirlas, en su caso
                                       catch(IOException varerreror)
                                       System.out.println("error");
                                                                               }//cierra catch
                   break;
                                            }//cierra el switch
                        switch (n)
                        case 1:
                        System.out.println("Calculadora Geometrica");
                        System.out.println( " Volumenes " );
                        System.out.println( " Esfera " );
                        System.out.println( " Dame el valor del radio: " );
                        System.out.println( " El volumen de una esfera con radio es: " );
                        try {
                                                           //teclado lee una string y la convierte a
                                                           //variable dato numerico normal
                                                           n = Integer.parseInt (teclado.readLine());
                                                           // leo, convierto a entero y lo guardo en edad
                                                           // si ocurre algun error cuando se trata de leer en el teclado, el comando catch "atrapa" el error
                                                           // que halla ocurrido y hace las acciones necesarias para corregirlas, en su caso
                                                           catch(IOException varerreror)
                                                           System.out.println("error");
                                                                                                   }//cierra catch
                        break;
                        case 2:
                        System.out.println("Calculadora Geometrica");
                        System.out.println( " Volumenes " );
                        System.out.println( " Cubo " );
                        System.out.println( " Dame el valor de la base: " );
                        System.out.println( " El volumen de un cubo de base: es: " );
                        try {
                                                           //teclado lee una string y la convierte a
                                                           //variable dato numerico normal
                                                           n = Integer.parseInt (teclado.readLine());
                                                           // leo, convierto a entero y lo guardo en edad
                                                           // si ocurre algun error cuando se trata de leer en el teclado, el comando catch "atrapa" el error
                                                           // que halla ocurrido y hace las acciones necesarias para corregirlas, en su caso
                                                           catch(IOException varerreror)
                                                           System.out.println("error");
                        break;
                        case 3:
                        System.out.println("Calculadora Geometrica");
                        System.out.println( " Volumenes " );
                        System.out.println( " Piramide " );
                        System.out.println( " Dame el valor de la base " );
                        System.out.println( " Dame el valor de la altura ");
                        System.out.println( " El volumen de una piramide de base: y de altura es: " );
                        try {
                                                           //teclado lee una string y la convierte a
                                                           //variable dato numerico normal
                                                           n = Integer.parseInt (teclado.readLine());
                                                           // leo, convierto a entero y lo guardo en edad
                                                           // si ocurre algun error cuando se trata de leer en el teclado, el comando catch "atrapa" el error
                                                           // que halla ocurrido y hace las acciones necesarias para corregirlas, en su caso
                                                           catch(IOException varerreror)
                                                           System.out.println("error");
                                                                                                             }//cierra catch
                        break;
                        }//cierra switch
                   switch (n)
                   case 3:
                   System.out.print( " Calculadora Geometrica " );
                   System.out.println( " Perimetros " );
                   System.out.println( " 1.-Circulo" );
                   System.out.println( " 2.-Cuadrado" );
                   System.out.println( " 3.-Triangulo" );
                   System.out.println( " 4.-Rectangulo" );
                   try {
                                                      //teclado lee una string y la convierte a
                                                      //variable dato numerico normal
                                                      n = Integer.parseInt (teclado.readLine());
                                                      // leo, convierto a entero y lo guardo en edad
                                                      // si ocurre algun error cuando se trata de leer en el teclado, el comando catch "atrapa" el error
                                                      // que halla ocurrido y hace las acciones necesarias para corregirlas, en su caso
                                                      catch(IOException varerreror)
                                                      System.out.println("error");
                   break;
    }//ahora el switch se cierra porque ya termino el evento
                        switch (n)
                        case 1:
                        System.out.println("Calculadora Geometrica");
                        System.out.println( " Perimetros " );
                        System.out.println( " Circulo" );
                        System.out.println( " Dame el valor del radio " );
                        System.out.println( " El perimetro de un circulo con radio es: " );
                        try {
                                                           //teclado lee una string y la convierte a
                                                           //variable dato numerico normal
                                                           n = Integer.parseInt (teclado.readLine());
                                                           // leo, convierto a entero y lo guardo en edad
                                                           // si ocurre algun error cuando se trata de leer en el teclado, el comando catch "atrapa" el error
                                                           // que halla ocurrido y hace las acciones necesarias para corregirlas, en su caso
                                                           catch(IOException varerreror)
                                                           System.out.println("error");
                        break;
                        case 2:
                        System.out.println("Calculadora Geometrica");
                        System.out.println( " Perimetros " );
                        System.out.println( " Cuadrado " );
                        System.out.println( " Dame el valor de la base: " );
                        System.out.println( " El perimetro de un cuadrado de base: es: " );
                        try {
                                                           //teclado lee una string y la convierte a
                                                           //variable dato numerico normal
                                                           n = Integer.parseInt (teclado.readLine());
                                                           // leo, convierto a entero y lo guardo en edad
                                                           // si ocurre algun error cuando se trata de leer en el teclado, el comando catch "atrapa" el error
                                                           // que halla ocurrido y hace las acciones necesarias para corregirlas, en su caso
                                                           catch(IOException varerreror)
                                                           System.out.println("error");
                                                                                                   }//cierra catch
                        break;
                        case 3:
                        System.out.println("Calculadora Geometrica");
                        System.out.println( " Perimetros " );
                        System.out.println( " Triangulo " );
                        System.out.println( " Dame el valor del lado 1 " );
                        System.out.println( " Dame el valor del lado 2 ");
                        System.out.println( " Dame el valor del lado 3 ");
                        System.out.println( " El perimetro del triangulo es: " );
                        try {
                                                           //teclado lee una string y la convierte a
                                                           //variable dato numerico normal
                                                           n = Integer.parseInt (teclado.readLine());
                                                           // leo, convierto a entero y lo guardo en edad
                                                           // si ocurre algun error cuando se trata de leer en el teclado, el comando catch "atrapa" el error
                                                           // que halla ocurrido y hace las acciones necesarias para corregirlas, en su caso
                                                           catch(IOException varerreror)
                                                           System.out.println("error");
                                                                                                   }//catch cerrar
                        break;
    }//cierro el switch
                   default:
                   System.out.println("no");
    }//fin del programa

    calculadorageometrica.java
    import java.io.*;
    public class calculadorageometrica1
    {Im guessing the problem may lie with not following proper nameing conventions and class declaration rules.
    JJ

  • Request a sequence number

    Hello!
    I am really new in programming and with jsp...but I wonder if you could help me...
    I am trying to make a web application that should give a sequence number to the user. It is like a document number reservation. I am using the autoincrement to make the format of the number. I mean the number should have 5 digits , so I want to add "0" to the autoincrement......But I do not know how to do it.....
    Here you have my code:
    <html>
    <TITLE> Order Number Request</TITLE>
    <FORM METHOD=POST ACTION="PeticionNumero.jsp">
    Please, fill in your userid <INPUT TYPE=TEXT NAME="userid" SIZE=20>
    <P><INPUT TYPE=SUBMIT VALUE="RequestNumber">
    </FORM>
    </BODY>
    </HTML>
    ==============================
    And the jsp code:
    <%@ page import="java.util.*, java.sql.*, java.io.* ,java.lang.*,java.text.*" %>
    <%
    //Cargamos el driver
    Class.forName("com.mysql.jdbc.Driver");
    Connection con = null;
    Statement stat = null;
    PreparedStatement ps = null;
    <HTML>
    <BODY>
    try {
         //establecemos la conexion con la base de datos
         con = DriverManager.getConnection("jdbc:mysql://localhost/Incidencia?user=nobody&password=nobody");
         stat = con.createStatement();
         ResultSet rs = null;
         String userid = request.getParameter("userid");
         //Comprobamos que el campo no sea nulo
         if (userid==null)
    %>
    <BR> User id is mandatory. Click here Back to repeat the request.
    <%
         else
              //Consultamos la fecha
              java.util.Date dt = new java.util.Date();
              java.sql.Date sqlDate = new java.sql.Date(dt.getTime());
              //Miramos cual ha sido la ultima orden
              String sql1 = "SELECT LAST_INSERT_ID()";
              ResultSet r = stat.executeQuery(sql1);
              r.next();
              int resultado = Integer.parseInt(r.getString(1));
              int longitud = sql1.length();
              For ( int i=0, longitud<i<=5)
              int tmp;
              tmp = "tmp" +"0";
              int RequestNumber = "tmp" + "resultado";
              //Creamos el formato de nuestra orden
              String sql4= "INSERT RequestNumber SET UserId = '"+userid+"',date = '"+sqlDate+"',RequestId ='"+RequestNumber+"' ";
         catch(Exception excpt)
              out.println(excpt.getMessage());
    %>
    </BODY>
    </HTML>

    public String padOnRight( int number, int length, char withChar )
       String paddedNumber = String.valueOf( number );
       while( paddedNumber.length( ) < length )
          paddedNumber += withChar;
       return( paddedNumber );
    public String padOnLeft( int number, int length, char withChar )
       String paddedNumber = String.valueOf( number );
       while( paddedNumber.length( ) < length )
          paddedNumber = withChar + paddedNumber;
       return( paddedNumber );
    }You probably want to do this:
    // Get int sequenceNumber from database
    String numberToShowUser = padOnLeft( sequenceNumber, 5, '0' );
    // Put it in the request, session, whatever, and show the user- Jesse

  • Consultas - Exportacion Excel Terminal Server

    Amigos tengo otro problema
    Mis sucursales que trabajan por medio de Terminal server cuando realzan algun query y lo quieren exportar a Excel, se queda bloqueado, el servidor de Terminal server Tiene 12 GB Ram, el vpn esta por un enlace E1, tengo que reiniciar la aplicacion del usuario desde el servidor y no pueden exportar nada.
    Espero su ayuda

    Hola Oscar
    para que funcione tu exportación a excel, trabajando con Terminal Server, debes tomar en cuenta que donde trabajas es en un servidor que fisicamente se encuentra en otra parte de tu empresa de esa cuenta debes otorgar los permisos necesarios al usuario para que pueda ejacutar la aplicación de excel en el servidor.
    Basicamente debe estar instalado excel en el servidor y debes verificar que el usuario con el que trabajas pueda ejecutarlo, recuerda que las sesiones en los servidores son perfiles distintos.
    Cuando hayas instalado excel y el usuario pueda hacer uso de el entoces la exportación de SAP se abrirá automaticamente.
    Ahora bien tienes otra alternativa, generalmente en conexiones con Terminal Server el disco local, del usuario que se conecta, se puede llevar como unidad lógica al servidor, siendo así, puedes buscar tu disco local en el servidor y grabar ahi la consulta que quieres exportar, posteriormente en el equipo local buscas la carpeta en donde guardaste la consulta y la abres con excel.
    Espero te sea de utilidad.
    Saludos

Maybe you are looking for

  • Export to word 07

    I am new to the mac world and have been finding it interesting... I just started playing around with iwork 09 and when i export to a word document it will only allow me to convert as a word 97 document. I am losing tons of info doing this. Is there a

  • Can't find Home Interface

    [WLS6.1 sp1] [Solaris Sparc] After the wls run some times, it sometimes can't find the ejb's home interface. It means, i can't find the home in the JNDI tree. But if restart, no error. WHY????? And, i doubt the stable of wls. so many 'Out of memory'

  • I need help with searching for an image inside another image

    I need to write a program that checks for a specific image (a jpg) inside another, larger, image (a jpg). If so, it returns a value of true. Can anyone help me? Winner takes all. First person to solve this gets 10 dukes. Please help.

  • Where to place ORDER BY clause when a query includes UNION

    I have a query that has UNION in it. could you please tell me where to place the ORDER BY clause. Because it's throwing an error if i place the ORDER BY clause at the end

  • Execution order: Business Rule vs. Dynamic Member Formula

    Hi, I have a problem with a calc rule that calculate percentage of a list of account in comparison with other account (Ce10) as below FIX (list of account restricted here, @IDescendants(YearTotal),....) "Percentage" (IF (@ISUDA(Account,"Ce10")) "Perc