Change Hostname of an AIX system running Solman 4.0 and Oracle 10

Hello all,
I need to change the hostname of a server running SAP Solution Manager 4.0.
The server, OS, IP address will be the same.
I don't know what are the steps to make this correctly. I think that I need to make changes on Oracle and SAP files.
My Solman is running on IBM AIX 5.3, Kernel 7.00 unicode and Oracle 10.2.0.1.
Can anybody help me?
Thanks a lot!

Hi Carlos,
The procedure of changing the hostname is described in SAP note :
8307 - Changing host name on R/3 host: What do you do?
Hope it helps.
Regards,
Marcelo

Similar Messages

  • [SOLVED] Sun Java System Application Server 9.1_01 and Oracle 11g:ORA-01017

    Hi,
    I'm trying to create a connection pool for an Oracle database (SID orcl) located on the same host as the application server.
    I provide the following database URL: jdbc:oracle:thin:MYUSER/myuser@localhost:1521:orcl
    (username/password MYUSER/myuser do exist, and connection is granted:
    grant connect to MYUSER;
    When I try to ping the connection pool, I get the following error: ORA-01017: invalid username/password; logon denied
    What's wrong?
    Thanks,
    Dmitriy

    ...No :-)
    Sun's app server (based on GlassFish) definitely tries to receive a Connection object from a javax.sql.DataSource object, not DriverManager (see sources, http://fisheye5.cenqua.com/browse/glassfish/appserv-tests/devtests/connector/embeddedweb/ra/src/com/sun/jdbcra/spi/DSManagedConnectionFactory.java?r=1.1.1.1 - createManagedConnection function:
    82      if ( isEqual( pc, getUser(), getPassword() ) ) {
    83      dsConn = dataSourceObj.getConnection();
    84      } else {
    85      dsConn = dataSourceObj.getConnection(pc.getUserName(),
    86      new String(pc.getPassword()));
    87 }
    The problem is probably caused by some kind of wrong parameter passing.
    Message was edited by:
    DmitM

  • Change host of our R3 system

    Hi;
    When connect from portal to R3 system, the portal open the browser (ITS) with the hostname of the R3 system, not, full name (DNS), and we have error.
    How I can change the definition of name of the host to the full name ,for the portal open the connection without problem the ITS of R3?
    Thanks a lot

    Hi;
    thanks for you fast reply.
    Cau you send me more information?.
    I have the BW and portal in the samme system and samme host. I need change the name of the host in BW-PORTAL for tu connect to R3 system. The definition of  R3 host name is "short name" in BW-PORTAL and I need to change to full name.
    Thanks

  • Changing hostname on Callmanager 6.1 and generate new SSL

    I'm looking to change the hostname of our Callmanager because of a change in the naming convention for all our servers.
    Is it as easy as it seems or are there any precautions I need to be aware of?
    My thoughts were to just Change hostname under Cisco Unified CM Configuration for both PUB and SUB
    Since I use mostly IP address for most of my configuration, are there anything else I need to be concerned about?
    Also, how do I generate a new SSL cert based on this change so admins and users won't get a certificate mismatch prompt?
    Thanks!

    Hi Ken,
    Thought you might want to see this
    CSCtf23432 Bug Details Bug #11 of 38 | < Previous | Next >
    CUCM Hostname change does not update self-signed certificates
    None
    Symptom:
    After a hostname change, self-signed certificates are not regenerated.  Web browser may indicate
    that the CUCM certificate is not valid.
    Conditions:
    hostname change procedure.
    Workaround:
    From the os admin page:
    1) security->certificate management
    2) select "find"
    3) for all the self-signed certs (identified by the description field),
    select regenerate.
    Further Problem Description:
    n/a
    Status
    Fixed             
    Severity
    3 - moderate
    Last Modified
    In Last Year        
    Product
    Cisco Unified Communications Manager (CallManager)         
    Technology
    1st Found-In
    7.1(2)       
    Fixed-In
    8.0(2.98000.25)
    8.0(2.10000.4)
    7.1(4.98000.167)
    8.0(2.98000.31)
    8.0(2.10000.24)
    7.1(5.10000.12)
    Cheers!
    Rob

  • How can i change the title in the system form 'Sales Order Form'

    hai
    how can i change the title in the system form 'Sales Order Form'  and then how can i call this form?

    Hi Sanjoy,
    You find the form property like this :
    SAPbouiCOM.Form oForm = null;
    oForm = SBO_Application.Forms.Item(pVal.FormUID);
    oForm.Title = "New Title";
    Michael

  • I'm running V10.6.8 and the system is not recognizing a San Disc adapter that I plug into the side of the keyboard. This always worked in the past. Whats changed?

    I'm running V10.6.8 and the system is not recognizing the presence of a San Disc (SDHC) adapter that I plug into the left side of the keyboard. This always worked in the past. Whats changed? I can't upload my images to a folder.

    Another item I'd found when getting an SD card for an older camera was the lack of backward support from the SD card if it was too new, while a newer camera can sometimes use an older SD card at a slower read-write speed. There are limits and ceilings on what kind of card works with old/new stuff.
    So I ended up taking a nice SD card back to one store and had to settle on a 'walmart kinda dubious kingston two pack a cure' for the older Panasonic Lumix. Smaller capacity but seems to work OK for the era. I don't trust kingston with macs, but this 10 y/o Lumix seems to not care about that.
    Hopefully you can obtain the correct cards, because some stores only sell parts for their inventory of cameras. And some adapters are limited too.
    Depending on what I'm doing with the card and the camera it goes with, I attach the camera to the computer and not just the card in a reader. That way I can file items inside the camera SD card in a way the camera won't overwrite them. Later when I save everything from the card into an external hard disk drive, all my filed folders of images by date (I created in the SD) appear in order, in the later archive. Easier too, when I burn to DVD or CD media, to create yet another archive away from the computer or the camera.
    Good luck & happy computing!

  • Since I downloaded version 4. my system runs slow and I get a JavaScript Application error message everytime a change is made on webpage which is most frustrating. Any suggestion to a non software person on a solution?

    This is the message that I receive
    Warning: Error in parsing value for 'background-image'. Declaration dropped.
    Source File: http://support.mozilla.com/en-US/home?as=u
    Line: 0

    When you have kernel panics, the pertinent information is in the panic report.
    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    In the Console window, select
              DIAGNOSTIC AND USAGE INFORMATION ▹ System Diagnostic Reports
    (not Diagnostic and Usage Messages) from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar.
    There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of reports. A panic report has a name that begins with "Kernel" and ends in ".panic". Select the most recent one. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.
    If you don't see any reports listed, but you know there was a panic, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report.
    I know the report is long, maybe several hundred lines. Please post all of it anyway.

  • What needs to be changed if we change hostname in linux

    Dear all,
    I have a question and will appreciate for appropriate answer(s).
    My machine name was lxcms120.cern.ch and Oracle 10g DB was running fine on it (listener, DB, Enterprise Manager). It is not a production system rather a test system.
    Now, i changed its name to docms11.cern.ch
    I change hostname in listener.ora & tnsnames.ora and listener started successfully.
    I started db from sqlplus and it started without any complaints.
    Now, when i tried to start Enterprise Manager (emctl start dbconsole), it didn't and return this error.
    OC4J Configuration issue. /localscratch/orahome/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_docms11.cern.ch_oralxcms120 not found.
    Now, i know that when the machine name was initially lxcms120, it was /localscratch/orahome/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_lxcms120.cern.ch_oralxcms120
    and if i go to that directory, i could see OC4J_DBConsole_lxcms120.cern.ch_oralxcms120 but of course there is no OC4J_DBConsole_docms11.cern.ch_oralxcms120
    My dbname instance is oralxcms120 and has nothing to do with hostname.
    So, what is the solution to the problem. Moreover, are there any steps to do while changing hostname of the oracle database like in my case which i can follow to make all required changes.
    Best regards,
    Anjum

    You will need to do a little more than just directory rename,
    From Oracle document,When the database host name (including the domain name) or the IP address changes, deconfigure and then reconfigure the Database Console with the repository create command. Run the following command:
    emca -deconfig dbcontrol db -repos drop
    emca -config dbcontrol db -repos create
    or
    emca -deconfig dbcontrol db
    emca -config dbcontrol db -repos recreate
    http://download.oracle.com/docs/cd/B19306_01/em.102/b40002/structure.htm#CACBBFGI

  • Support message and change requests only for production system

    Hi guys,
    I would like to connect the solman helpesk with CHARM ( CHARM is still running ).
    In CHARM I have to create a CR only for production system. ( don't know why - but works as designed).
    In SAP helpdesk I can create support messages for every kind of system type but if I want to connect both (HD and CR) , the source system (ibase component) of the issue will copied to the CR and runs in error because of the rule (only p-system) of CHARM.
    Of course I can change the ibase to production system manually in SDCR but it seems a very error-prone method.
    Now my question: is it possible to change the ibase component due to the creation of CR by copy rule or something like this?
    Kind regards
    Rayko

    Hi Rayko,
    We do not have this option.
    Once in ChaRM, we assume that the changes will always correct an issue in the PROD system.
    I would recommend to open the tickets directly with the PROD system IBase, once the issue is also happening there.
    Best Regards,
    Fernando

  • How to repair Open Directory Master after Changing Hostname

    Summary:
    How to repair Open Directory after Changing your Server's Hostname (see separate post)
    Problem:
    I had to change our server's hostname from a private hostname (server.name.private) to a public hostname (name.dyndns.org).
    Procedure:
    1. Precautions:
    Since I was anticipating major dramas I tested the change of hostname on a clone ( I used Super Duper, and I very strongly advise everybody to heed this warning because a change of hostname will corrupt your server services, in particular Open Directory)
    Second, I exported the network users from Server Admin and copied the archive to the Drop Folder of the server's local account (because the network accounts will be unavailable after demoting the OD Master.)
    2. Change hostname and demote OD Master
    a) I re-booted the server from the clone
    b) I changed the hostname in Server App and I noticed that the Open Directory Password and the Kerberos database were still stuck with the old hostname.
    c)  I then demoted to a standalone directory (Server Admin) and I tried to promote the server to an OD Master using the Server App (Manage Network Accounts). Server App always returned an error saying I should check my network settings.
    3. List of 'fixes'
    I tried the following fixes to no avail (which does not mean that you can skip them)
    a) I checked the DNS entries, forward and reverse were working fine (sudo checkip -changehostname)
    b) Checked with Lookup in Network Utility, all was fine
    c) I deleted all system certificates (Keychain) which showed the name of the previous hostname
    ( N.B. you need not delete email certificate and private/public keys)
    d) I tried to assign a new static IP in Networking Preferences (had no visible result)
    e) I re-booted from the working drive and I re-paired permissions on the clone; I ran disk repairs.
    Despite all this I could not re-create an OD Master.
    I then looked for this dubious folder /var/root/Library/Application Support/Certificate Authority.
    I could not find this folder when using the Finder's Go To Folder, nor did "Easy Find" see this folder.
    I was about to give up when I read the posts on this page and I entered the Terminal commands
    sudo rm -R /var/root/Library/Application\ Support/Certificate\ Authority/
    I had not much hope when I set about to re-create the OD Master from the Server App.
    But lo and behold !!! I did not trust my eyes when Server App claimed that the OD Master had been successfully created. And indeed, Server admin showed a running OD Master, LDAP, Kerberos and Password Server all running again !
    Final touch: re-import the user accounts.
    Epilogue:
    I woud not have been able to fix this issue had not so many others shared their experience and the working solution.
    (Refer : https://discussions.apple.com/thread/3219325?start=0&tstart=0 )
    Thank you all !
    Let's hope that Apple will fix this annoying issue in the next server update.
    Regards,
    Twistan

    Hi Rhyan,
    Please try clearing the security cache
    http://www.sharepointanalysthq.com/2014/05/active-directory-groups-and-sharepoint-security/
    https://sergeluca.wordpress.com/2013/07/06/sharepoint-2013-use-ag-groups-yes-butdont-forget-the-security-token-caching-logontokencacheexpirationwindow-and-windowstokenlifetime/
    http://webactivedirectory.com/active-directory/windows-active-directory-cached-user-credentials/
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Changing hostname NW2004S

    Hi All,
    I have made an image of an SAP 2004S on MAXDB server and I have deployed this on an other physical server. Sap is running fine now (on a temp license) but I want to change the hostname of this server.
    I have followed the instructions in note 757692 (Changing the hostname for J2EE Engine 6.40/ 7.0 installation) but SAP does not start anymore. When starting up in SAP MMC the disp + work.EXE  first turn in to yellow, but after some time the status changes to stopped. The errorlog shows "connect to database failed. rc is -10709 Connection failed. RTE: unknown hostname. I have also seen that the workprocesses do start but the stop after some seconds.
    The trace file of a workprocess is here:
    trc file: "dev_w0", trc level: 1, release: "700"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, MJ

    B Wed Nov 28 16:40:46 2007
    B  create_con (con_name=R/3)
    B  Loading DB library 'D:\usr\sap\NW1\DVEBMGS01\exe\dbsdbslib.dll' ...
    B  Library 'D:\usr\sap\NW1\DVEBMGS01\exe\dbsdbslib.dll' loaded
    B  Version of 'D:\usr\sap\NW1\DVEBMGS01\exe\dbsdbslib.dll' is "700.08", patchlevel (0.82)
    B  New connection 0 created
    M sysno      01
    M sid        NW1
    M systemid   560 (PC with Windows NT)
    M relno      7000
    M patchlevel 0
    M patchno    83
    M intno      20050900
    M make:      multithreaded, Unicode, optimized
    M pid        5664
    M
    M  kernel runs with dp version 218000(ext=109000) (@(#) DPLIB-INT-VERSION-218000-UC)
    M  length of sys_adm_ext is 572 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 5664) [dpxxdisp.c   1301]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active

    M Wed Nov 28 16:40:47 2007
    M  DpShMCreate: sizeof(wp_adm)          12672     (1408)
    M  DpShMCreate: sizeof(tm_adm)          3994272     (19872)
    M  DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
    M  DpShMCreate: sizeof(comm_adm)          528064     (1048)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm)          0     (72)
    M  DpShMCreate: sizeof(vmc_adm)          0     (1440)
    M  DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    M  DpShMCreate: sizeof(gw_adm)     48
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 06B60040, size: 4647736)
    M  DpShMCreate: allocated sys_adm at 06B60040
    M  DpShMCreate: allocated wp_adm at 06B61E40
    M  DpShMCreate: allocated tm_adm_list at 06B64FC0
    M  DpShMCreate: allocated tm_adm at 06B64FF0
    M  DpShMCreate: allocated wp_ca_adm at 06F34290
    M  DpShMCreate: allocated appc_ca_adm at 06F3A050
    M  DpShMCreate: allocated comm_adm at 06F3BF90
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 06FBCE50
    M  DpShMCreate: allocated gw_adm at 06FBCE90
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 06FBCEC0
    M  DpShMCreate: allocated wall_adm at 06FBCEC8
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation flat
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.
    M  ThInit: running on host GPR-MI-TST01

    M Wed Nov 28 16:40:48 2007
    M  calling db_connect ...

    C  DBSDBSLIB : version 700.08, patch 0.082 (Make PL 0.83)
    C  MAXDB shared library (dbsdbslib) patchlevels (last 10)
    C    (0.082) MaxDB DBSL patch collection 3 2006 (note 991258)
    C    (0.079) MaxDB DBSL patch collection 2 2006 (note 984406)
    C    (0.068) MaxDB DBSL patch collection 1 2006 (note 962708)
    C    (0.051) DB50 perm block defect (note 934194)
    C    (0.046) ADBC: invalid data when fetching cursor with hold (note 925337)
    C    (0.045) Signal 11 during creation of BIA index (note 920743)
    C    (0.038) MaxDB DBSL patch collection 2 2005 (note 908602)
    C    (0.034) Livecache unicode connect (use SDK 7.6.0 b11) (note 901576)
    C    (0.028) Disable LVC codepage checking (note 882788)
    C    (0.019) UPDSTAT optimized (note 870327)


    C  Loading SQLDBC client runtime ...
    C  SQLDBC SDK Version : SQLDBC.H  7.6.0    BUILD 002-121-083-965
    C  SQLDBC Library Version : libSQLDBC 7.6.0    BUILD 018-123-119-055
    C  SQLDBC client runtime is MaxDB 7.6.0.018 CL 119055
    C  SQLDBC supports new DECIMAL interface : 0
    C  INFO : SQLOPT= -I 0 -t 0 -S SAPR3
    C  Try to connect (DEFAULT) on connection 0 ...

    C Wed Nov 28 16:40:53 2007
    C  *** ERROR => Connect to database failed, rc = -10709 (Connection failed (RTE:unknown host name))
    [dbsdbsql.cpp 136]
    B  ***LOG BV3=> severe db error -10709    ; work process is stopped [dbsh#2 @ 1199] [dbsh    1199 ]
    B  ***LOG BY2=> sql error -10709 performing CON [dblink#3 @ 431] [dblink  0431 ]
    B  ***LOG BY0=> Connection failed (RTE:unknown host name) [dblink#3 @ 431] [dblink  0431 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1411]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10205]

    M  Info for wp 0

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    vm = no VM

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server GPR-MI-TST01_NW1_01 on host GPR-MI-TST01 (wp 0)
    M  *  ERROR       ThInit: db_connect
    M  *
    M  *  TIME        Wed Nov 28 16:40:53 2007
    M  *  RELEASE     700
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        10404
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   720]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  260]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 5664) [dpnttool.c   327]
    Can you please help me out?
    Regards,
    Koen Engelen
    Message was edited by: Koen
            Koen Engelen

    Marcus,
    I have made the changes, here is the result:
    D:\usr\sap>xuser list
    XUSER Entry  1
    Key         :DEFAULT
    Username    :SAPNW1
    UsernameUCS2:S.A.P.N.W.1. . . . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :NW1
    Nodename    :GPR-MI-TST01
    Sqlmode     :<unspecified>
    Cachelimit  :-1
    Timeout     :-1
    Isolation   :-1
    Charset     :<unspecified>
    XUSER Entry  2
    Key         :SUPERDBA
    Username    :SAPNW1
    UsernameUCS2:S.A.P.N.W.1. . . . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :NW1
    Nodename    :GPR-MI-TST01
    Sqlmode     :<unspecified>
    Cachelimit  :-1
    Timeout     :-1
    Isolation   :-1
    Charset     :<unspecified>
    XUSER Entry  3
    Key         :CONTROL
    Username    :SAPNW1
    UsernameUCS2:S.A.P.N.W.1. . . . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :NW1
    Nodename    :GPR-MI-TST01
    Sqlmode     :<unspecified>
    Cachelimit  :-1
    Timeout     :-1
    Isolation   :-1
    Charset     :<unspecified>
    XUSER Entry  4
    Key         :J2EE
    Username    :SAPNW1DB
    UsernameUCS2:S.A.P.N.W.1.D.B. . . . . . . . . . . . . . . . . . . . . . . . .
    Password    :?????????
    PasswordUCS2:?????????
    Dbname      :NW1
    Nodename    :GPR-MI-TST01
    Sqlmode     :<unspecified>
    Cachelimit  :-1
    Timeout     :-1
    Isolation   :-1
    Charset     :<unspecified>
    D:\usr\sap>r3trans -d
    This is r3trans version 6.14 (release 700 - 18.09.06 - 09:35:00).
    unicode enabled version
    r3trans finished (0000).
    D:\usr\sap>
    This is the trans.log:
    4 ETW000 r3trans version 6.14 (release 700 - 18.09.06 - 09:35:00).
    4 ETW000 unicode enabled version
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 04.12.2007 - 13:35:55
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: r3trans -d
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  Tue Dec 04 13:35:58 2007                            4917  0.004917
    4 ETW000  [dev trc     ,00000]  db_con_init called                                    32  0.004949
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                             43  0.004992
    4 ETW000  [dev trc     ,00000]  Loading DB library 'dbsdbslib.dll' ...                32  0.005024
    4 ETW000  [dev trc     ,00000]  load shared library (dbsdbslib.dll), hdl 0         88595  0.093619
    4 ETW000  [dev trc     ,00000]      using "D:\usr\sap\NW1\SYS\exe\uc\NTI386\dbsdbslib.dll"
    4 ETW000                                                                              41  0.093660
    4 ETW000  [dev trc     ,00000]  Library 'dbsdbslib.dll' loaded                        17  0.093677
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library dbsdbslib.dll
    4 ETW000                                                                            5180  0.098857
    4 ETW000  [dev trc     ,00000]  Version of 'dbsdbslib.dll' is "700.08", patchlevel (0.82)
    4 ETW000                                                                           11621  0.110478
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library dbsdbslib.dll
    4 ETW000                                                                              34  0.110512
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library dbsdbslib.dll
    4 ETW000                                                                            5929  0.116441
    4 ETW000  [dev trc     ,00000]  } DbSlSdbControl(rc=0)                               287  0.116728
    4 ETW000  [dev trc     ,00000]  { DbSlSdbControl(con_hdl=-1,command=39,arg_p=00000000)
    4 ETW000                                                                              37  0.116765
    4 ETW000  [dev trc     ,00000]  } DbSlSdbControl(rc=0)                               277  0.117042
    4 ETW000  [dev trc     ,00000]  { DbSlSdbControl(con_hdl=-1,command=10,arg_p=01F7FB60)
    4 ETW000                                                                              34  0.117076
    4 ETW000  [dev trc     ,00000]  } DbSlSdbControl(rc=0)                                15  0.117091
    4 ETW000  [dev trc     ,00000]  New connection 0 created                              15  0.117106
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              33  0.117139
    4 ETW000  [dev trc     ,00000]  { DbSlSdbControl(con_hdl=-1,command=10,arg_p=0163E0E0)
    4 ETW000                                                                              31  0.117170
    4 ETW000  [dev trc     ,00000]  } DbSlSdbControl(rc=0)                                15  0.117185
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                         16  0.117201
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:
    4 ETW000                                                                              22  0.117223
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              30  0.117253
    4 ETW000  [dev trc     ,00000]  { DbSlSdbConnect(con_info_p=00000000)                 28  0.117281
    4 ETW000  [dev trc     ,00000]  DBSDBSLIB : version 700.08, patch 0.082 (Make PL 0.83)
    4 ETW000                                                                            7145  0.124426
    4 ETW000  [dev trc     ,00000]  MAXDB shared library (dbsdbslib) patchlevels (last 10)
    4 ETW000                                                                             100  0.124526
    4 ETW000  [dev trc     ,00000]    (0.082) MaxDB DBSL patch collection 3 2006 (note 991258)
    4 ETW000                                                                              25  0.124551
    4 ETW000  [dev trc     ,00000]    (0.079) MaxDB DBSL patch collection 2 2006 (note 984406)
    4 ETW000                                                                              25  0.124576
    4 ETW000  [dev trc     ,00000]    (0.068) MaxDB DBSL patch collection 1 2006 (note 962708)
    4 ETW000                                                                              24  0.124600
    4 ETW000  [dev trc     ,00000]    (0.051) DB50 perm block defect (note 934194)        19  0.124619
    4 ETW000  [dev trc     ,00000]    (0.046) ADBC: invalid data when fetching cursor with hold (note 925337)
    4 ETW000                                                                              23  0.124642
    4 ETW000  [dev trc     ,00000]    (0.045) Signal 11 during creation of BIA index (note 920743)
    4 ETW000                                                                              25  0.124667
    4 ETW000  [dev trc     ,00000]    (0.038) MaxDB DBSL patch collection 2 2005 (note 908602)
    4 ETW000                                                                              24  0.124691
    4 ETW000  [dev trc     ,00000]    (0.034) Livecache unicode connect (use SDK 7.6.0 b11) (note 901576)
    4 ETW000                                                                              25  0.124716
    4 ETW000  [dev trc     ,00000]    (0.028) Disable LVC codepage checking (note 882788)
    4 ETW000                                                                              24  0.124740
    4 ETW000  [dev trc     ,00000]    (0.019) UPDSTAT optimized (note 870327)             18  0.124758
    4 ETW000  [dev trc     ,00000]                                                        13  0.124771
    4 ETW000  [dev trc     ,00000]   -> init()                                           224  0.124995
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=26) : 02E20B08 (34 bytes allocated)
    4 ETW000                                                                              53  0.125048
    4 ETW000  [dev trc     ,00000]    STATEMENT_CACHE_SIZE = 1000                        695  0.125743
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=108000) : 02E20B38 (108042 bytes allocated)
    4 ETW000                                                                             265  0.126008
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=364000) : 02E3B128 (472050 bytes allocated)
    4 ETW000                                                                              40  0.126048
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=264000) : 02E93F18 (736058 bytes allocated)
    4 ETW000                                                                              38  0.126086
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=8072) : 02ED4668 (744138 bytes allocated)
    4 ETW000                                                                              28  0.126114
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=16024) : 02ED6600 (760170 bytes allocated)
    4 ETW000                                                                              32  0.126146
    4 ETW000  [dev trc     ,00000]   -> loadClientRuntime()                              637  0.126783
    4 ETW000  [dev trc     ,00000]  Loading SQLDBC client runtime ...                     18  0.126801
    4 ETW000  [dev trc     ,00000]  SQLDBC SDK Version : SQLDBC.H  7.6.0    BUILD 002-121-083-965
    4 ETW000                                                                             708  0.127509
    4 ETW000  [dev trc     ,00000]  SQLDBC Library Version : libSQLDBC 7.6.0    BUILD 018-123-119-055
    4 ETW000                                                                              30  0.127539
    4 ETW000  [dev trc     ,00000]  SQLDBC client runtime is MaxDB 7.6.0.018 CL 119055
    4 ETW000                                                                              52  0.127591
    4 ETW000  [dev trc     ,00000]  SQLDBC supports new DECIMAL interface : 0             29  0.127620
    4 ETW000  [dev trc     ,00000]   -> getNewConnection()                                17  0.127637
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=1636) : 02EDC820 (761814 bytes allocated)
    4 ETW000                                                                              27  0.127664
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=344) : 02EDCE98 (762166 bytes allocated)
    4 ETW000                                                                              44  0.127708
    4 ETW000  [dev trc     ,00000]   <- getNewConnection(con_hdl=0)                       34  0.127742
    4 ETW000  [dev trc     ,00000]   -> checkEnvironment(con_hdl=0)                       26  0.127768
    4 ETW000  [dev trc     ,00000]   -> connect()                                       4149  0.131917
    4 ETW000  [dev trc     ,00000]  INFO : SQLOPT= -I 0 -t 0 -S SAPR3                     68  0.131985
    4 ETW000  [dev trc     ,00000]  Try to connect (DEFAULT) on connection 0 ...          83  0.132068
    4 ETW000  [dev trc     ,00000]   -> check_db_params(con_hdl=0)                     92317  0.224385
    4 ETW000  [dev trc     ,00000]  Attach to SAP DB : Kernel    7.6.00   Build 018-123-119-055
    4 ETW000                                                                           21629  0.246014
    4 ETW000  [dev trc     ,00000]  Database release is SAP DB 7.6.00.018                 22  0.246036
    4 ETW000  [dev trc     ,00000]  INFO : Database 'NW1' instance is running on 'GPR-MI-TST01'
    4 ETW000                                                                             374  0.246410
    4 ETW000  [dev trc     ,00000]  INFO : SAP DB Packet_Size = 131072                 75780  0.322190
    4 ETW000  [dev trc     ,00000]  INFO : SAP DB Min_Reply_Size = 4096                 2247  0.324437
    4 ETW000  [dev trc     ,00000]  INFO : SAP DB Comm_Size = 126976                      19  0.324456
    4 ETW000  [dev trc     ,00000]  INFO : DBSL buffer size = 126976                      17  0.324473
    4 ETW000  [dev trc     ,00000]  INFO : SAP DB MaxLocks = 300000                    13393  0.337866
    4 ETW000  [dev trc     ,00000]  INFO : Connect to DB as 'SAPNW1'                   33667  0.371533
    4 ETW000  [dev trc     ,00000]  Command info enabled                               11416  0.382949
    4 ETW000  [dev trc     ,00000]  Now I'm connected to SAP DB                           27  0.382976
    4 ETW000  [dev trc     ,00000]  00: GPR-MI-TST01-NW1, since=20071204133558, ABAP= <unknown> (0)
    4 ETW000                                                                              29  0.383005
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=1152) : 02EDD438 (763326 bytes allocated)
    4 ETW000                                                                              27  0.383032
    4 ETW000  [dev trc     ,00000]   -> sdb_free(p=02EDD438, size=1152 (762166 bytes allocated))
    4 ETW000                                                                           24558  0.407590
    4 ETW000  [dev trc     ,00000]  } DbSlSdbConnect(rc=0)                                18  0.407608
    4 ETW000  [dev trc     ,00000]  { DbSlSdbControl(con_hdl=0,command=21,arg_p=01F7FC8C)
    4 ETW000                                                                              24  0.407632
    4 ETW000  [dev trc     ,00000]  } DbSlSdbControl(rc=0)                                17  0.407649
    4 ETW000  [dev trc     ,00000]  Connection 0 opened (DBSL handle 0)                   15  0.407664
    4 ETW000  [dev trc     ,00000]  { DbSlSdbControl(con_hdl=0,command=7,arg_p=01F7FA1C)
    4 ETW000                                                                              24  0.407688
    4 ETW000  [dev trc     ,00000]  } DbSlSdbControl(rc=0)                                16  0.407704
    4 ETW000  [dev trc     ,00000]  { DbSlSdbControl(con_hdl=0,command=63,arg_p=01F7FCAC)
    4 ETW000                                                                           20388  0.428092
    4 ETW000  [dev trc     ,00000]  } DbSlSdbControl(rc=0)                                30  0.428122
    4 ETW000  [dev trc     ,00000]  { DbSlSdbControl(con_hdl=0,command=21,arg_p=01F7FC28)
    4 ETW000                                                                           11167  0.439289
    4 ETW000  [dev trc     ,00000]  } DbSlSdbControl(rc=0)                                18  0.439307
    4 ETW000  [dev trc     ,00000]  { DbSlSdbControl(con_hdl=0,command=11,arg_p=01F7FB20)
    4 ETW000                                                                              25  0.439332
    4 ETW000  [dev trc     ,00000]  } DbSlSdbControl(rc=0)                                16  0.439348
    4 ETW000  [dev trc     ,00000]  { DbSlSdbControl(con_hdl=0,command=22,arg_p=01F7FBA4)
    4 ETW000                                                                              23  0.439371
    4 ETW000  [dev trc     ,00000]  } DbSlSdbControl(rc=0)                                14  0.439385
    4 ETW000  [dev trc     ,00000]  { DbSlSdbControl(con_hdl=0,command=13,arg_p=01F7FCF0)
    4 ETW000                                                                              23  0.439408
    4 ETW000  [dev trc     ,00000]  } DbSlSdbControl(rc=0)                                16  0.439424
    4 ETW000  [dev trc     ,00000]  { DbSlSdbControl(con_hdl=0,command=24,arg_p=01F7FD34)
    4 ETW000                                                                              23  0.439447
    4 ETW000  [dev trc     ,00000]  } DbSlSdbControl(rc=0)                                16  0.439463
    4 ETW000  [dev trc     ,00000]  { DbSlSdbControl(con_hdl=0,command=51,arg_p=01F7FD78)
    4 ETW000                                                                              23  0.439486
    4 ETW000  [dev trc     ,00000]  } DbSlSdbControl(rc=15)                               16  0.439502
    4 ETW000  [dev trc     ,00000]  { DbSlSdbPrepare(con_hdl=0,ss_p=01F7FD58,op=3,da_p=01F7FCF4)
    4 ETW000                                                                              33  0.439535
    4 ETW000  [dev trc     ,00000]   -> build_stmt(stmt_p=01F7FD68,da_p=01F7FCF4,for_explain=0,lock=0,op=3)
    4 ETW000                                                                              34  0.439569
    4 ETW000  [dev trc     ,00000]    SELECT INTO is possible with 1 parameters           18  0.439587
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=512) : 02EDD438 (762686 bytes allocated)
    4 ETW000                                                                              27  0.439614
    4 ETW000  [dev trc     ,00000]   <- build_stmt(len=34,op=3,#marker=0,#lob=0)          23  0.439637
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=512) : 02EDD648 (763206 bytes allocated)
    4 ETW000                                                                              32  0.439669
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=116) : 02EFCC80 (763330 bytes allocated)
    4 ETW000                                                                              27  0.439696
    4 ETW000  [dev trc     ,00000]   -> stmt_prepare(sc_hdl=02E20B40,con_hdl=0,ss_p=01F7FD58)
    4 ETW000                                                                              42  0.439738
    4 ETW000  [dev trc     ,00000]    CURSOR C_0000 PREPARE on connection 0               21  0.439759
    4 ETW000  [dev trc     ,00000]  } DbSlSdbPrepare(rc=0)                             11444  0.451203
    4 ETW000  [dev trc     ,00000]  { DbSlSdbRead(con_hdl=0,ss_p=01F7FD58,da_p=01F7FCF4)
    4 ETW000                                                                              41  0.451244
    4 ETW000  [dev trc     ,00000]   -> activate_stmt(sc_hdl=02E20B40,da_p=01F7FCF4)
    4 ETW000                                                                              42  0.451286
    4 ETW000  [dev trc     ,00000]   -> bind_variables(sc_hdl=02E20B40,in_out=1,bulk=0,da_p=01F7FCF4)
    4 ETW000                                                                              27  0.451313
    4 ETW000  [dev trc     ,00000]   -> allocParameter(in_out=1,col_cnt=1)                18  0.451331
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=24) : 02EDD080 (763362 bytes allocated)
    4 ETW000                                                                              94  0.451425
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=512) : 02EFCD08 (763882 bytes allocated)
    4 ETW000                                                                              30  0.451455
    4 ETW000  [dev trc     ,00000]   -> calculate_record_length(sc_hdl=02E20B40,in_out=1,types=01F7FD2C,#col=1)
    4 ETW000                                                                              29  0.451484
    4 ETW000  [dev trc     ,00000]   <- calculate_record_length(#float=0,#lob=0,#short=0,#int=0,#uc=72,#total=144)
    4 ETW000                                                                              27  0.451511
    4 ETW000  [dev trc     ,00000]    row_size=144, lob_cnt=0, row_max=1                  18  0.451529
    4 ETW000  [dev trc     ,00000]   -> allocIndicator(in_out=1,row_cnt=1)                16  0.451545
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=24) : 02EDD858 (763914 bytes allocated)
    4 ETW000                                                                              25  0.451570
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=512) : 02EFCF18 (764434 bytes allocated)
    4 ETW000                                                                              30  0.451600
    4 ETW000  [dev trc     ,00000]   -> allocData(in_out=1,buf_size=126976)               19  0.451619
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=24) : 02EDD880 (764466 bytes allocated)
    4 ETW000                                                                              25  0.451644
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=126976) : 03070048 (891450 bytes allocated)
    4 ETW000                                                                              43  0.451687
    4 ETW000  [dev trc     ,00000]   -> bind_type_and_length(sc_hdl=02E20B40,in_out=1,arr_size=1,types=01F7FD2C,da_p=01F7FCF4)
    4 ETW000                                                                              31  0.451718
    4 ETW000  [dev trc     ,00000]      0 : DBSL=CHAR      , T=UCS2     , L=144  , I=02EFCF20, V_DBSL=03070050
    4 ETW000                                                                            9565  0.461283
    4 ETW000  [dev trc     ,00000]   -> bind_variables(sc_hdl=02E20B40,in_out=0,bulk=0,da_p=01F7FCF4)
    4 ETW000                                                                              32  0.461315
    4 ETW000  [dev trc     ,00000]   -> allocParameter(in_out=0,col_cnt=0)                17  0.461332
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=24) : 0308F058 (891482 bytes allocated)
    4 ETW000                                                                              26  0.461358
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=512) : 0308F080 (892002 bytes allocated)
    4 ETW000                                                                              26  0.461384
    4 ETW000  [dev trc     ,00000]   -> calculate_record_length(sc_hdl=02E20B40,in_out=0,types=00000000,#col=0)
    4 ETW000                                                                              29  0.461413
    4 ETW000  [dev trc     ,00000]   <- calculate_record_length(#float=0,#lob=0,#short=0,#int=0,#uc=0,#total=0)
    4 ETW000                                                                              25  0.461438
    4 ETW000  [dev trc     ,00000]    row_size=0, lob_cnt=0, row_max=1                    16  0.461454
    4 ETW000  [dev trc     ,00000]   -> exec_modify(sc_hdl=02E20B40,con_hdl=0,ss_p=01F7FD58,bulk=0,in_out=1,da_p=01F7FCF4)
    4 ETW000                                                                              29  0.461483
    4 ETW000  [dev trc     ,00000]   -> stmt_execute(sc_hdl=02E20B40,ss_p=01F7FD58,in_out=1,da_p=01F7FCF4)
    4 ETW000                                                                              27  0.461510
    4 ETW000  [dev trc     ,00000]    EXECUTE CURSOR C_0000                               24  0.461534
    4 ETW000  [dev trc     ,00000]    CURSOR C_0000 SET InputSize=1                       16  0.461550
    4 ETW000  [dev trc     ,00000]    CURSOR C_0000 EXECUTE                               19  0.461569
    4 ETW000  [dev trc     ,00000]    execute() of C_0000, #rec=1, rcSQL=0, rc=0 ()      128  0.461697
    4 ETW000  [dev trc     ,00000]    CURSOR C_0000, rc=0,#rec=1,#dbcount=0               20  0.461717
    4 ETW000  [dev trc     ,00000]   -> exec_fetch(sc_hdl=02E20B40,con_hdl=0,bulk=0,da_p=01F7FCF4)
    4 ETW000                                                                              30  0.461747
    4 ETW000  [dev trc     ,00000]      xcnt=1,row_i=0,row_pcnt=1                         18  0.461765
    4 ETW000  [dev trc     ,00000]   -> deactivate_stmt(sc_hdl=02E20B40,da_p=01F7FCF4,rc=0)
    4 ETW000                                                                              29  0.461794
    4 ETW000  [dev trc     ,00000]   -> SapdbStmtFree(DBSL:C_0000)                        17  0.461811
    4 ETW000  [dev trc     ,00000]  } DbSlSdbRead(rc=0)                                   17  0.461828
    4 ETW000  [dev trc     ,00000]  { DbSlSdbControl(con_hdl=0,command=43,arg_p=007EB89E)
    4 ETW000                                                                              24  0.461852
    4 ETW000  [dev trc     ,00000]  INFO : SAP RELEASE (DB) = 700                         17  0.461869
    4 ETW000  [dev trc     ,00000]  } DbSlSdbControl(rc=0)                                15  0.461884
    4 ETW000  [dev trc     ,00000]  { DbSlSdbControl(con_hdl=0,command=41,arg_p=007EB930)
    4 ETW000                                                                              32  0.461916
    4 ETW000  [dev trc     ,00000]  } DbSlSdbControl(rc=0)                                16  0.461932
    4 ETW000  [dev trc     ,00000]  { DbSlSdbControl(con_hdl=0,command=14,arg_p=01F7FC84)
    4 ETW000                                                                              22  0.461954
    4 ETW000  [dev trc     ,00000]  } DbSlSdbControl(rc=0)                                16  0.461970
    4 ETW000  [dev trc     ,00000]  { DbSlSdbControl(con_hdl=0,command=50,arg_p=01F7FC94)
    4 ETW000                                                                              23  0.461993
    4 ETW000  [dev trc     ,00000]  } DbSlSdbControl(rc=0)                                36  0.462029
    4 ETW000  [dev trc     ,00000]  { DbSlSdbControl(con_hdl=0,command=52,arg_p=01F7FC44)
    4 ETW000                                                                              23  0.462052
    4 ETW000  [dev trc     ,00000]  } DbSlSdbControl(rc=0)                                16  0.462068
    4 ETW000  [dev trc     ,00000]  { DbSlSdbControl(con_hdl=0,command=20,arg_p=012D3318)
    4 ETW000                                                                           37927  0.499995
    4 ETW000  [dev trc     ,00000]  } DbSlSdbControl(rc=0)                                22  0.500017
    4 ETW000  [dev trc     ,00000]  { DbSlSdbPrepare(con_hdl=0,ss_p=01F7F8DC,op=3,da_p=01F7F884)
    4 ETW000                                                                             240  0.500257
    4 ETW000  [dev trc     ,00000]   -> build_stmt(stmt_p=01F7F8EC,da_p=01F7F884,for_explain=0,lock=0,op=3)
    4 ETW000                                                                              34  0.500291
    4 ETW000  [dev trc     ,00000]   <- build_stmt(len=28,op=3,#marker=0,#lob=0)          19  0.500310
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=512) : 0308F290 (892522 bytes allocated)
    4 ETW000                                                                              27  0.500337
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=116) : 0308F4A0 (892646 bytes allocated)
    4 ETW000                                                                              28  0.500365
    4 ETW000  [dev trc     ,00000]   -> stmt_prepare(sc_hdl=02E20BAC,con_hdl=0,ss_p=01F7F8DC)
    4 ETW000                                                                              37  0.500402
    4 ETW000  [dev trc     ,00000]    CURSOR C_0001 PREPARE on connection 0               16  0.500418
    4 ETW000  [dev trc     ,00000]  } DbSlSdbPrepare(rc=0)                             49108  0.549526
    4 ETW000  [dev trc     ,00000]  { DbSlSdbBegRead(con_hdl=0,ss_p=01F7F8DC,da_p=01F7F884)
    4 ETW000                                                                              36  0.549562
    4 ETW000  [dev trc     ,00000]   -> activate_stmt(sc_hdl=02E20BAC,da_p=01F7F884)
    4 ETW000                                                                              24  0.549586
    4 ETW000  [dev trc     ,00000]   -> bind_variables(sc_hdl=02E20BAC,in_out=0,bulk=0,da_p=01F7F884)
    4 ETW000                                                                              26  0.549612
    4 ETW000  [dev trc     ,00000]   -> allocParameter(in_out=0,col_cnt=0)                16  0.549628
    4 ETW000  [dev trc     ,00000]   -> calculate_record_length(sc_hdl=02E20BAC,in_out=0,types=00000000,#col=0)
    4 ETW000                                                                              25  0.549653
    4 ETW000  [dev trc     ,00000]   <- calculate_record_length(#float=0,#lob=0,#short=0,#int=0,#uc=0,#total=0)
    4 ETW000                                                                              25  0.549678
    4 ETW000  [dev trc     ,00000]    row_size=0, lob_cnt=0, row_max=1                    15  0.549693
    4 ETW000  [dev trc     ,00000]   -> exec_modify(sc_hdl=02E20BAC,con_hdl=0,ss_p=01F7F8DC,bulk=0,in_out=1,da_p=01F7F884)
    4 ETW000                                                                              26  0.549719
    4 ETW000  [dev trc     ,00000]   -> stmt_execute(sc_hdl=02E20BAC,ss_p=01F7F8DC,in_out=1,da_p=01F7F884)
    4 ETW000                                                                              26  0.549745
    4 ETW000  [dev trc     ,00000]    OPEN CURSOR C_0001                                  15  0.549760
    4 ETW000  [dev trc     ,00000]    CURSOR C_0001 SET InputSize=1                       15  0.549775
    4 ETW000  [dev trc     ,00000]    CURSOR C_0001 EXECUTE                               15  0.549790
    4 ETW000  [dev trc     ,00000]  Tue Dec 04 13:36:05 2007                         7063707  7.613497
    4 ETW000  [dev trc     ,00000]    execute() of C_0001, #rec=0, rcSQL=0, rc=0 ()       32  7.613529
    4 ETW000  [dev trc     ,00000]    CURSOR C_0001, rc=0,#rec=0,#dbcount=0               26  7.613555
    4 ETW000  [dev trc     ,00000]   -> bind_variables(sc_hdl=02E20BAC,in_out=1,bulk=1,da_p=01F7F884)
    4 ETW000                                                                              27  7.613582
    4 ETW000  [dev trc     ,00000]   -> allocParameter(in_out=1,col_cnt=1)                17  7.613599
    4 ETW000  [dev trc     ,00000]   -> calculate_record_length(sc_hdl=02E20BAC,in_out=1,types=01F7F8BC,#col=1)
    4 ETW000                                                                              27  7.613626
    4 ETW000  [dev trc     ,00000]   <- calculate_record_length(#float=0,#lob=0,#short=1,#int=0,#uc=0,#total=8)
    4 ETW000                                                                              26  7.613652
    4 ETW000  [dev trc     ,00000]    row_size=8, lob_cnt=0, row_max=15872                16  7.613668
    4 ETW000  [dev trc     ,00000]   -> allocIndicator(in_out=1,row_cnt=15872)            17  7.613685
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=64000) : 02EFD128 (956654 bytes allocated)
    4 ETW000                                                                              35  7.613720
    4 ETW000  [dev trc     ,00000]   -> sdb_free(p=02EFCF18, size=512 (956134 bytes allocated))
    4 ETW000                                                                              28  7.613748
    4 ETW000  [dev trc     ,00000]   -> allocData(in_out=1,buf_size=126976)               55  7.613803
    4 ETW000  [dev trc     ,00000]   -> bind_type_and_length(sc_hdl=02E20BAC,in_out=1,arr_size=15872,types=01F7F8BC,da_p=01F7F884)
    4 ETW000                                                                              30  7.613833
    4 ETW000  [dev trc     ,00000]      0 : DBSL=INTEGER_2 , T=INT2     , L=2    , I=02EFD130, V_DBSL=03070050
    4 ETW000                                                                              33  7.613866
    4 ETW000  [dev trc     ,00000]  } DbSlSdbBegRead(rc=0)                                19  7.613885
    4 ETW000  [dev trc     ,00000]  { DbSlSdbExeRead(con_hdl=0,ss_p=01F7F8DC,da_p=01F7F884)
    4 ETW000                                                                              34  7.613919
    4 ETW000  [dev trc     ,00000]   -> exec_fetch(sc_hdl=02E20BAC,con_hdl=0,bulk=0,da_p=01F7F884)
    4 ETW000                                                                              27  7.613946
    4 ETW000  [dev trc     ,00000]      xcnt=1,row_i=0,row_pcnt=0                         16  7.613962
    4 ETW000  [dev trc     ,00000]   -> stmt_fetch(sc_hdl=02E20BAC)                       15  7.613977
    4 ETW000  [dev trc     ,00000]    CURSOR C_0001 FETCH, xcnt=1                         15  7.613992
    4 ETW000  [dev trc     ,00000]    next() of C_0001, rc=0                              17  7.614009
    4 ETW000  [dev trc     ,00000]    fetch() of C_0001, #rec=1, rc=0, rcSQL=0 ()         23  7.614032
    4 ETW000  [dev trc     ,00000]  } DbSlSdbExeRead(rc=0)                                16  7.614048
    4 ETW000  [dev trc     ,00000]  { DbSlSdbEndRead(con_hdl=0,ss_p=01F7F8DC,da_p=01F7F884)
    4 ETW000                                                                              31  7.614079
    4 ETW000  [dev trc     ,00000]   -> deactivate_stmt(sc_hdl=02E20BAC,da_p=01F7F884,rc=0)
    4 ETW000                                                                              23  7.614102
    4 ETW000  [dev trc     ,00000]   -> SapdbStmtFree(DBSL:C_0001)                        17  7.614119
    4 ETW000  [dev trc     ,00000]    CURSOR C_0001 CLOSE resultset                       16  7.614135
    4 ETW000  [dev trc     ,00000]  } DbSlSdbEndRead(rc=0)                                48  7.614183
    4 ETW000  [dev trc     ,00000]  NTAB: Structure of NTAB on DB is VERS_B               20  7.614203
    4 ETW000  [dev trc     ,00000]  NTAB: standalone processing                        28586  7.642789
    4 ETW000  [dev trc     ,00000]  NTAB: read profile                                    29  7.642818
    4 ETW000  [dev trc     ,00000]  NTAB: rsdb/ntab/entrycount 1000.                      33  7.642851
    4 ETW000  [dev trc     ,00000]  NTAB: rsdb/ntab/ftabsize 500.                         17  7.642868
    4 ETW000  [dev trc     ,00000]  NTAB: rsdb/ntab/irbdsize 100.                         16  7.642884
    4 ETW000  [dev trc     ,00000]  NTAB: rsdb/ntab/sntabsize 100.                        16  7.642900
    4 ETW000  [dev trc     ,00000]  NTAB: compute_hash_card: 2003.                        26  7.642926
    4 ETW000  [dev trc     ,00000]  NTAB: maxcnt 1000.                                    28  7.642954
    4 ETW000  [dev trc     ,00000]  NTAB: hfactor 2003.                                   16  7.642970
    4 ETW000  [dev trc     ,00000]  NTAB: mem_protocol_size 104                           33  7.643003
    4 ETW000  [dev trc     ,00000]  NTAB: hdr_backpack_offset 0                           16  7.643019
    4 ETW000  [dev trc     ,00000]  NTAB: hdr_backpack_size 0                             14  7.643033
    4 ETW000  [dev trc     ,00000]  NTAB: FTAB: header_size 44.                           16  7.643049
    4 ETW000  [dev trc     ,00000]  NTAB: FTAB: item_size 36.                             16  7.643065
    4 ETW000  [dev trc     ,00000]  NTAB: FTAB: item_cnt 1000.                            16  7.643081
    4 ETW000  [dev trc     ,00000]  NTAB: FTAB: unit_size 4                               14  7.643095
    4 ETW000  [dev trc     ,00000]  NTAB: FTAB: unit_cnt 128000.                          16  7.643111
    4 ETW000  [dev trc     ,00000]  NTAB: FTAB: data_size 512000.                         34  7.643145
    4 ETW000  [dev trc     ,00000]  NTAB: IREC: header_size 44.                           19  7.643164
    4 ETW000  [dev trc     ,00000]  NTAB: IREC: item_size 36.                             17  7.643181
    4 ETW000  [dev trc     ,00000]  NTAB: IREC: item_cnt 250.                             16  7.643197
    4 ETW000  [dev trc     ,00000]  NTAB: IREC: unit_size 8                               14  7.643211
    4 ETW000  [dev trc     ,00000]  NTAB: IREC: unit_cnt 12800.                           16  7.643227
    4 ETW000  [dev trc     ,00000]  NTAB: IREC: data_size 102400.                        121  7.643348
    4 ETW000  [dev trc     ,00000]  NTAB: STAB: header_size 44.                           35  7.643383
    4 ETW000  [dev trc     ,00000]  NTAB: STAB: item_size 36.                             19  7.643402
    4 ETW000  [dev trc     ,00000]  NTAB: STAB: item_cnt 250.                             16  7.643418
    4 ETW000  [dev trc     ,00000]  NTAB: STAB: unit_size 4                               15  7.643433
    4 ETW000  [dev trc     ,00000]  NTAB: STAB: unit_cnt 25600.                           15  7.643448
    4 ETW000  [dev trc     ,00000]  NTAB: STAB: data_size 102400.                         17  7.643465
    4 ETW000  [dev trc     ,00000]  NTAB: TTAB: header_size 148.                          16  7.643481
    4 ETW000  [dev trc     ,00000]  NTAB: TTAB: item_size 24.                             16  7.643497
    4 ETW000  [dev trc     ,00000]  NTAB: TTAB: item_cnt 1000.                            33  7.643530
    4 ETW000  [dev trc     ,00000]  NTAB: TTAB: unit_size 256                             17  7.643547
    4 ETW000  [dev trc     ,00000]  NTAB: TTAB: unit_cnt 1000.                            16  7.643563
    4 ETW000  [dev trc     ,00000]  NTAB: TTAB: data_size 256000.                         17  7.643580
    4 ETW000  [dev trc     ,00000]  NTAB: FTAB: hh_p 308f528, hh_len 44                  930  7.644510
    4 ETW000  [dev trc     ,00000]  NTAB: FTAB: aa_p 2f0cb38, aa_len 8012                 19  7.644529
    4 ETW000  [dev trc     ,00000]  NTAB: FTAB: ia_p 2f0ea90, ia_len 36000                16  7.644545
    4 ETW000  [dev trc     ,00000]  NTAB: FTAB: dat_p 3091008, dat_len 512000             18  7.644563
    4 ETW000  [dev trc     ,00000]  NTAB: IREC: hh_p 310e010, hh_len 44                   17  7.644580
    4 ETW000  [dev trc     ,00000]  NTAB: IREC: aa_p 2f17738, aa_len 8012                 18  7.644598
    4 ETW000  [dev trc     ,00000]  NTAB: IREC: ia_p 2f19690, ia_len 9000                 16  7.644614
    4 ETW000  [dev trc     ,00000]  NTAB: IREC: dat_p 310e048, dat_len 102400             18  7.644632
    4 ETW000  [dev trc     ,00000]  NTAB: STAB: hh_p 2f1b9c0, hh_len 44                   16  7.644648
    4 ETW000  [dev trc     ,00000]  NTAB: STAB: aa_p 3127050, aa_len 8012                 17  7.644665
    4 ETW000  [dev trc     ,00000]  NTAB: STAB: ia_p 2f1b9f8, ia_len 9000                 16  7.644681
    4 ETW000  [dev trc     ,00000]  NTAB: STAB: dat_p 3128fa8, dat_len 102400             18  7.644699
    4 ETW000  [dev trc     ,00000]  NTAB: TTAB: hh_p 3141fb0, hh_len 148                  17  7.644716
    4 ETW000  [dev trc     ,00000]  NTAB: TTAB: aa_p 2f1dd28, aa_len 8012                 18  7.644734
    4 ETW000  [dev trc     ,00000]  NTAB: TTAB: ia_p 3142050, ia_len 24000                17  7.644751
    4 ETW000  [dev trc     ,00000]  NTAB: TTAB: dat_p 3147e18, dat_len 256000             17  7.644768
    4 ETW000  [dev trc     ,00000]  NTAB: ntab_mem_protocol 3141fb0, ntab_mp_p 3141fb0, ntab_proc_id 0
    4 ETW000                                                                              31  7.644799
    4 ETW000  [dev trc     ,00000]  NTAB: FTAB: hh_p 308f528, ha_list 2f0cb38, hi_list 2f0ea90, buffer 3091008
    4 ETW000                                                                              65  7.644864
    4 ETW000  [dev trc     ,00000]  NTAB: IREC: hh_p 310e010, ha_list 2f17738, hi_list 2f19690, buffer 310e048
    4 ETW000                                                                              27  7.644891
    4 ETW000  [dev trc     ,00000]  NTAB: STAB: hh_p 2f1b9c0, ha_list 3127050, hi_list 2f1b9f8, buffer 3128fa8
    4 ETW000                                                                              27  7.644918
    4 ETW000  [dev trc     ,00000]  NTAB: TTAB: hh_p 3142018, ha_list 2f1dd28, hi_list 3142050, buffer 3147e18
    4 ETW000                                                                              26  7.644944
    4 ETW000  [dev trc     ,00000]  NTAB: mem_handler: alloc for 500 elems, task 0, art 0
    4 ETW000                                                                              35  7.644979
    4 ETW000  [dev trc     ,00000]  NTAB: mem_handler: alloc for 500 elems, task 0, art 1
    4 ETW000                                                                              40  7.645019
    4 ETW000  [dev trc     ,00000]  NTAB: mem_handler: alloc for 500 elems, task 0, art 2
    4 ETW000                                                                              38  7.645057
    4 ETW000  [dev trc     ,00000]  NTAB: mem_handler: alloc for 500 elems, task 0, art 3
    4 ETW000                                                                              34  7.645091
    4 ETW000  [dev trc     ,00000]  { DbSlSdbBegRead(con_hdl=0,ss_p=01631240,da_p=016302E0)
    4 ETW000                                                                              55  7.645146
    4 ETW000  [dev trc     ,00000]  } DbSlSdbBegRead(rc=13)                               16  7.645162
    4 ETW000  [dev trc     ,00000]  { DbSlSdbPrepare(con_hdl=0,ss_p=01631240,op=3,da_p=016302E0)
    4 ETW000                                                                              26  7.645188
    4 ETW000  [dev trc     ,00000]   -> build_stmt(stmt_p=01639A00,da_p=016302E0,for_explain=0,lock=2,op=3)
    4 ETW000                                                                              27  7.645215
    4 ETW000  [dev trc     ,00000]   <- build_stmt(len=131,op=3,#marker=1,#lob=0)         22  7.645237
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=512) : 02EFCF18 (956654 bytes allocated)
    4 ETW000                                                                              27  7.645264
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=116) : 02F1FC80 (956778 bytes allocated)
    4 ETW000                                                                              29  7.645293
    4 ETW000  [dev trc     ,00000]   -> stmt_prepare(sc_hdl=02E20C18,con_hdl=0,ss_p=01631240)
    4 ETW000                                                                              42  7.645335
    4 ETW000  [dev trc     ,00000]    CURSOR C_0002 PREPARE on connection 0               16  7.645351
    4 ETW000  [dev trc     ,00000]  } DbSlSdbPrepare(rc=0)                             22428  7.667779
    4 ETW000  [dev trc     ,00000]  { DbSlSdbBegRead(con_hdl=0,ss_p=01631240,da_p=016302E0)
    4 ETW000                                                                              31  7.667810
    4 ETW000  [dev trc     ,00000]   -> activate_stmt(sc_hdl=02E20C18,da_p=016302E0)
    4 ETW000                                                                              27  7.667837
    4 ETW000  [dev trc     ,00000]   -> bind_variables(sc_hdl=02E20C18,in_out=0,bulk=0,da_p=016302E0)
    4 ETW000                                                                              28  7.667865
    4 ETW000  [dev trc     ,00000]   -> allocParameter(in_out=0,col_cnt=1)                17  7.667882
    4 ETW000  [dev trc     ,00000]   -> calculate_record_length(sc_hdl=02E20C18,in_out=0,types=01639B00,#col=1)
    4 ETW000                                                                              27  7.667909
    4 ETW000  [dev trc     ,00000]   <- calculate_record_length(#float=0,#lob=0,#short=0,#int=0,#uc=30,#total=64)
    4 ETW000                                                                              26  7.667935
    4 ETW000  [dev trc     ,00000]    row_size=64, lob_cnt=0, row_max=1                   17  7.667952
    4 ETW000  [dev trc     ,00000]   -> allocIndicator(in_out=0,row_cnt=1)                15  7.667967
    4 ETW000  [dev trc     ,00000]   -> allocData(in_out=0,buf_size=126976)               17  7.667984
    4 ETW000  [dev trc     ,00000]   -> bind_type_and_length(sc_hdl=02E20C18,in_out=0,arr_size=1,types=01639B00,da_p=016302E0)
    4 ETW000                                                                              29  7.668013
    4 ETW000  [dev trc     ,00000]      0 : DBSL=CHAR      , T=UCS2     , L=60   , I=02EFD130, V_DBSL=03070050
    4 ETW000                                                                              32  7.668045
    4 ETW000  [dev trc     ,00000]   -> exec_modify(sc_hdl=02E20C18,con_hdl=0,ss_p=01631240,bulk=0,in_out=1,da_p=016302E0)
    4 ETW000                                                                              38  7.668083
    4 ETW000  [dev trc     ,00000]   -> stmt_execute(sc_hdl=02E20C18,ss_p=01631240,in_out=1,da_p=016302E0)
    4 ETW000                                                                              29  7.668112
    4 ETW000  [dev trc     ,00000]    OPEN CURSOR C_0002                                  16  7.668128
    4 ETW000  [dev trc     ,00000]    CURSOR C_0002 SET InputSize=1                       15  7.668143
    4 ETW000  [dev trc     ,00000]    CURSOR C_0002 EXECUTE                               16  7.668159
    4 ETW000  [dev trc     ,00000]    execute() of C_0002, #rec=0, rcSQL=0, rc=0 ()    76810  7.744969
    4 ETW000  [dev trc     ,00000]    CURSOR C_0002, rc=0,#rec=0,#dbcount=0               29  7.744998
    4 ETW000  [dev trc     ,00000]   -> bind_variables(sc_hdl=02E20C18,in_out=1,bulk=1,da_p=016302E0)
    4 ETW000                                                                              28  7.745026
    4 ETW000  [dev trc     ,00000]   -> allocParameter(in_out=1,col_cnt=4)                17  7.745043
    4 ETW000  [dev trc     ,00000]   -> calculate_record_length(sc_hdl=02E20C18,in_out=1,types=01639B00,#col=4)
    4 ETW000                                                                              50  7.745093
    4 ETW000  [dev trc     ,00000]   <- calculate_record_length(#float=0,#lob=0,#short=16386,#int=1,#uc=30,#total=32840)
    4 ETW000                                                                              28  7.745121
    4 ETW000  [dev trc     ,00000]    row_size=32840, lob_cnt=0, row_max=3                17  7.745138
    4 ETW000  [dev trc     ,00000]   -> allocIndicator(in_out=1,row_cnt=3)                16  7.745154
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=24) : 02F1FD08 (956810 bytes allocated)
    4 ETW000                                                                              25  7.745179
    4 ETW000  [dev trc     ,00000]   -> sdb_malloc(size=512) : 02F1FD30 (957330 bytes allocated)
    4 ETW000                                                                      

  • Crystal ActiveX Runtime Lib: Change text data source path at run time.

    We have some PCs running Crystal Reports 10 and some running CR 9 and 8.5. For each PC, we set up a System DSN ODBC data source (in Control Panel - Administrative Tools) for pulling data from text files to
    generate reports.
    Recently we wrote some routines (see the Visual Basic example at the
    end of this message) to change the path of the data files at runtime.
    According to the Crystal Reports Technical Reference Guide, we may use
    the method LogOnServer() of an Application object or an DatabaseTable
    object. However, we find that this does not work: the PrintOut()
    method only pulls data from the default path as configured for the
    System DSN, not from the path passed as the third parameter of
    LogOnServer(). It does not return any error message.
    We have also tried to use SetTableLocation() method, and it still does
    not work.
    Would any experts examine our code below and advise what we are missing? Thanks.
    For the following VB example, we have:
    System DSN Name: AP_WORKSHEET
    Driver: Microsoft Text Driver
    Database Directory: D:\0ood2 (i.e. the default path)
    Crystal Report Document: D:\3g\run\Vision\apcyto\Reports\crBlockWS.rpt
    (Which specifies that the data source text file name is BlockWS.txt)
    Purpose : We would like to read the data source text file from
    D:\0ood1 instead of the default path.
    Following is the code of the VB macro:
    Sub test()
    Rem In this version of the subroutine, we call
    Rem DatabaseTable.LogOnServer() and "Rem"ed out
    Rem Application.LogOnServer() and SetTableLocation().
    Rem We have un"Rem"ed each of them and "Rem"ed others and try to run.
    Rem In all runs, data are pulled from the default file
    Rem D:\0ood2\BlockWS.txt instead of D:\0ood1\BlockWE.txt.
    Dim crxapp As CRAXDRT.Application
    Dim crxRep As CRAXDRT.Report
    Dim crxDB As CRAXDRT.Database
    Dim crxTab As CRAXDRT.DatabaseTable
    Dim crxConnPs As CRAXDRT.ConnectionProperties
    Dim crxConnP As CRAXDRT.ConnectionProperty
    Dim apropSubLoc As String
    Dim apropConnBufStr As String
    Set crxapp = CreateObject("CrystalRuntime.Application")
    Rem
    crxapp.LogOnServer "p2sodbc.dll", "AP_WORKSHEET", "<CRWDC>DBQ=D:\0ood1",
    Set crxRep = crxapp.OpenReport
    ("D:\3g\run\Vision\apcyto\Reports\crBlockWS.rpt")
    Set crxDB = crxRep.Database
    Set crxTab = crxRep.Database.Tables(1)
    apropConnBufStr = crxTab.ConnectBufferString
    apropSubLoc = crxTab.SubLocation
    crxDB.LogOnServer "p2sodbc.dll", "AP_WORKSHEET", "<CRWDC>DBQ=D:\0ood1",
    Rem crxTab.SetTableLocation "D:\0ood1\BlockWS.txt", apropSubLoc, "DSN="
    Rem Set crxConnPs = crxTab.ConnectionProperties
    Rem Set crxConnP = crxConnPs.Item("DSN")
    Rem crxConnP.Value = "AP_WORKSHEET"
    Rem Set crxConnP = crxConnPs.Item("Database")
    Rem crxConnP.Value = "D:\0ood1\BlockWS.txt"
    Rem crxTab.Location = "BlockWS.txt"
    crxRep.DiscardSavedData
    crxRep.PrinterSetup (0)
    crxRep.PrintOut
    End Sub
    For VB macros, the problem exists in all of CR 8.5, 9 and 10. However,
    for another platform we are using, Unify Vision 4GL, it works for CR
    8.5 while not working for CR 9 and 10.
    Following is the source code in Unify Vision 4GL. This language may
    not be popular, but I thin you are about to see how it calls the
    Runtime Library methods LogOnServer(), OpenReport(), PrinterSetup() and
    PrintOut().
    %gfPrintCrystalReport
    BOOL FUNCTION gfPrintCrystalReport($reportName)
    BEGIN
    if NOTMKNOWN(GF:$oSeagateId) then
    create service of activex
    class 'CrystalRuntime.Application'
    object_ref into GF:$oSeagateId;
    if MKNOWN(GF:$oSeagateId) then
    begin
    /* TD23013: Database directories are dynamic to
    accommodate multiple user requirement of Citrix */
    send message LogOnServer to GF:$oSeagateId
    using
    ( 'PDSODBC.DLL', 'AP_WORKSHEET', '<CRWDC>DBQ='+GF:$WinTempDir,'','')
    identified by $msgHandle;
    if $msgHandle:MSG_STATE 'RESPONSE_PROCESSED'
    then
    begin
    display 'Crystal Reports cannot connect
    to the datasource ' for fyi_message wait;
    return (FALSE)
    end
    send message OpenReport to GF:$oSeagateId using
    ($reportName, 1)
    identified by $msgHandle returning
    $oCrystalReport
    if MKNOWN($oCrystalReport) then
    begin
    if (NOTMKNOWN(GF:$printerName)) then
    set GF:$printerName to
    $oCrystalReport->PrinterName;
    if GF:$printerName $oCrystalReport-
    PrinterName then
    send message SelectPrinter to
    $oCrystalReport
    using
    (GF:$driverName,GF:$printerName,GF:$portName)
    identified by $msgHandle;
    set $oCrystalReport-
    DisplayProgressDialog to FALSE;
    while TRUE
    begin
    DISPLAY NOTICE 'Print to : ' +
    GF:$printerName
    LABELS 'Ok'
    DEFAULT, 'Cancel', 'Printer Setup'
    RESULT INTO $userOption
    switch ($userOption)
    begin
    case 0 :
    send
    message PrintOut to $oCrystalReport
    using
    (PROMPT_USER, NUMBER_OF_COPIES, COLLATED, START_PAGE, STOP_PAGE)
    identified by $msgHandle;
    set
    $oCrystalReport to UNDEFINED
    return
    (TRUE);
    case 1:
    set
    $oCrystalReport to UNDEFINED
    return
    (FALSE);
    case 2:
    send
    message PrinterSetup to $oCrystalReport
    using
    (0)
    identified by $msgHandle;
    if
    GF:$printerName $oCrystalReport->PrinterName then
    begin
    set GF:$printerName to $oCrystalReport->PrinterName;
    set GF:$driverName to $oCrystalReport->DriverName;
    set GF:$portName to $oCrystalReport->PortName;
    end
    break;
    end
    end
    end
    end
    return
    (FALSE);
    END

    Hi Sydney,
    If you search the Developers help file you'll find info on using the method:
    How to change the data source
    This example demonstrates how to change the data source from native Access to an OLEDB (ADO) data source by using the ConnectionProperty Object, as well as how to change the table name by using the Location property of the DatabaseTable Object. CrystalReport1 is connected to the xtreme.mdb database found in the \Program Files\Crystal Decisions\Crystal Reports 10\Samples\En\Databases folder. The report is using the Customer table. A copy of the Customer table is added to the pubs database on Microsoft SQL Server.
    ' Create a new instance of the report.
    Dim Report As New CrystalReport1
    Private Sub Form_Load()
    ' Declare a ConnectionProperties collection.
    Dim CPProperties As CRAXDRT.ConnectionProperties
    ' Declare a DatabaseTable object.
    Dim DBTable As CRAXDRT.DatabaseTable
    ' Get the first table in the report.
    Set DBTable = Report.Database.Tables(1)
    ' Get the collection of connection properties.
    Set CPProperties = DBTable.ConnectionProperties
    ' Change the database DLL used by the report from
    ' native Access (crdb_dao.dll) to ADO/OLEDB (crdb_ado.dll).
    DBTable.DllName = "crdb_ado.dll"
    '  The connection property bags contain the name and value
    ' pairs for the native Access DLL (crdb_dao.dll). So we need
    ' to clear them, and then add the name and value pairs that
    ' are required to connect to the OLEDB data source.
    ' Clear all the ConnectioProperty objects from the collection.
    CPProperties.DeleteAll
    ' Add the name value pair for the provider.
    CPProperties.Add "Provider", "SQLOLEDB"
    ' Add the name value pair for the data source (server).
    CPProperties.Add "Data Source", "ServerA"
    ' Add the name value pair for the database.
    CPProperties.Add "Initial Catalog", "pubs"
    ' Add the name value pair for the user name.
    CPProperties.Add "User ID", "UserName"
    ' Add the name value pair for the password.
    CPProperties.Add "Password", "password"
    ' Set the table name. ' for SQL types it would be "database.dbo.table"
    DBTable.Location = "Customer"
    Screen.MousePointer = vbHourglass
    ' Set the report source of the viewer and view the report.
    CRViewer1.ReportSource = Report
    CRViewer1.ViewReport
    Screen.MousePointer = vbDefault
    End Sub

  • I cannot change song order on playlist with highlight and drag. I have turned off shuffle and highlighted the far left column( up/down arrow) of playlist. My mac pro is running 10.5.8  and am using itunes 10.4.

    I cannot change song order on playlists (old or new) with highlight and drag. I have turned off shuffle and highlighted the far left column (up/down arrow) of playlist. My mac pro is running 10.5.8  and am using itunes 10.4. I can't drag and drop "music" to "playlist" but can right click and get the option to "add to playlist." No such option for moving song within playlist, only the up and down arrow which moves song from top to bottom list, so if it is #4 from top it will move to #4 from bottom. Stupid I know. I spent over an hour with Apple support, reinstalled itunes, restarted and rebooted computer. Networked with my laptop which is running 10.6.8 and itunes 10.4 and it can drag and drop. The final Apple support solution was to reinstall my operating system. I would prefer not to. Any other ideas?

    After looking at other people's posts, I think it's official: there is a bug. Itunes support said I should not have lost the drag/drop tool and I haven't on the laptop that is running itunes 10.4 and operating system 10.6.8. I chatted with someboby who lost both his drag/drop and side scroll and what we have in common is a wacom tablet for a mouse. My laptop is a wireless mouse. I reinstalled whatever updated driver that wacom has out there, shut the system down for night, hoping for magic, but alas none to be had. So if I want to change song order, I network the laptop and desktop, share the screen on the laptop, drag and drop to my heart's content and curse Apple for making me work this hard to find the tool that was once at my fingertips. Apple also let me know that if I want to share songs in household that the hundreds on songs that were purchased for .99 need to be repurchased for another .30. Maybe Apple is holding my drag/drop tool captive til I pay up the money or Maybe the next update will fix the problem, I for one give up for now.

  • No IBase/Component transferred in SLFN from a satellite system to Solman

    Dear all,
    We have Solution Manager 4.0 with SPS18 with working ChaRM and Service desk.
      I have the following problem : a support message (created from the menu   Help->Create Support Message  in a satellite system) arrives to Solman,  but the fields Ibase and Component are filled by zeros and are inactive so I canu2019t change them manually.
      The question is: are these values transferred from the satellite system to SolMan or not?
    I have debuged the program calling under Help->Create Support Message   and have not found such functionality.
    From the other hand, all forum messages implicitely imply this.
    Due to technical reasons I canu2019t use notif_create transaction, where there are Ibase and component  fields.
       From the SolMan configuration side everything is OK:
    System landscape is correct, Ibase and components are generated and active, they have the correct external names.  The functionality of ChaRM that utilises Ibase and components is working well, so I donu2019t see any problems from this side.  OSS 449330 (delete the record from BCOS_CUST table with the value u201CTST_CUSu201D in Application field ) is not the case.
    Please advice.

    Hi,
    In this case, could you please kindly verify the points mentioned in this note has been verified ?
    note #824640
    Hope this helps.
    Cheers
    SH

  • I performed a software update and the system is installing an update but it has been running for over 24hrs and keeps saying "This may take a few minutes, don't shut down your computer" Can anyone help?

    I performed a software update and the system is installing an update but it has been running for over 24hrs and keeps saying "This may take a few minutes, don't shut down your computer" Can anyone help?

    Hello cor-el, thanks for your reply. I changed my settings for downloads to desktop and it has appeared on there. When I double click I am asked which program I want to open file. I click firefox and another box "opening install" says I have chosen to open the file which is an application and do I want to save it. This is the only real option so I press save file. I get a box saying this is an executable file which may contain viruses - do you want to run. I press ok and the final box showing C drive file name and desktop appears stating application not found.
    This happens the same whenever I try to install.
    To my untrained eye the application is not being recognised as an application and I cannot work out how to get it to do that.
    My plugin is still showing as out of date.
    Is there anything you could suggest. Thanks for your time.

Maybe you are looking for

  • Can't Update Acrobat Due to Safari Notifications

    I've been trying to update Acrobat several times and keep running into a problem. Acrobat won't update unless I turn off Safari Notifications, but I have already quit out of Safari. I opened the "Force Quit" option to see what was going on, and every

  • Group cursor on xml input ... HELP!

    Hi all! I'm trying to create a group cursor on my xml data source. Can that be done? Or group cursor can only be created for groups constructed by sql query? I followed the example given in the help topics without any success. Could someone please he

  • How to omit component's coordinates in xml serialisation

    Hi colleagues, my application uses XMLEncoder to serialize JPanel component (it's coordinates). The generated XML is like this: <object class="MyJPanel"> <void property="bounds"> <object class="java.awt.Rectangle"> <int>28</int> <int>93</int> <int>22

  • Unable to delete images in Bridge

    I am running windows 7 64 bit and CS5. I seem to have a problem in that I can't delete images from Bridge. I open up the folder and when I try to delete the image it asks "do you want to delete this image" I click yes and it jumps to the next image w

  • Not so spherical mercator?  SRID 3857?

    Hi folks, Spent some time yesterday getting schooled on all the politics of last year's EPSG 3785 to 3857 swap. I guess they just don't like that sphere (or rather the math). I was wondering first off if anyone had the 11gR2 CS inserts for 3857. I sa