• RELEVANCY SCORE 3.17

    DB:3.17:Runtime Errors Dynpro_Send_In_Background jx





    Hello colleagues,

    I have dump in my system, please can you help me??

    Runtime Errors DYNPRO_SEND_IN_BACKGROUND

    Exception CX_SY_SEND_DYNPRO_NO_RECEIVER

    Date and Time 22.06.2011 15:36:13

    Error analysis

    An exception occurred that is explained in detail below.

    The exception, which is assigned to class 'CX_SY_SEND_DYNPRO_NO_RECEIVER', was not caught and therefore caused a runtime error. The reason for the exception is:

    During background processing, the system attempted to send a screen to a user.

    Current screen: "SAPMSYST " 0040.

    How to correct the error If the error occurred in your own ABAP program or in an SAP program you modified, try to remove the error. If the error occures in a non-modified SAP program, you may be able to find an interim solution in an SAP Note. If you have access to SAP Notes, carry out a search with the following keywords:

    "DYNPRO_SEND_IN_BACKGROUND" "CX_SY_SEND_DYNPRO_NO_RECEIVER"

    "SAPMSYST" or " "

    "SYSTEM-EXIT"

    In the SM21 show this error,

    15:01:03 UP1 024 902 JOBS AB 0 Run-time error "" occurred

    15:01:03 UP1 024 902 JOBS AB 1 Short dump "110622 150103 dbciPRO_PRO_00 JOBS " created

    15:01:03 UP1 024 902 JOBS D0 1 Transaction Canceled 00 671 ( DYNPRO_SEND_IN_BACKGROUND )

    15:01:03 UP1 024 902 JOBS R6 5 Update terminated

    15:01:03 UP1 024 902 JOBS R6 6 Update key: 4E01E92DE6451C7EE1000000BEFA0020

    15:01:03 UP1 024 902 JOBS R6 7 Update module: RV_MESSAGE_UPDATE

    15:06:06 UP1 024 902 JOBS AB 0 Run-time error "DYNPRO_SEND_IN_BACKGROUND" occurred

    15:06:06 UP1 024 902 JOBS AB 1 Short dump "110622 150606 dbciPRO_PRO_00 JOBS " created

    15:06:06 UP1 024 902 JOBS D0 1 Transaction Canceled 00 671 ( DYNPRO_SEND_IN_BACKGROUND )

    15:06:06 UP1 024 902 JOBS R6 5 Update terminated

    15:06:06 UP1 024 902 JOBS R6 6 Update key: 4E01DA0178231FC5E1000000BEFA0020

    15:06:06 UP1 024 902 JOBS R6 7 Update module: RV_MESSAGE_UPDATE

    15:06:07 UP1 024 902 JOBS AB 0 Run-time error "DYNPRO_SEND_IN_BACKGROUND" occurred

    15:06:07 UP1 024 902 JOBS AB 1 Short dump "110622 150607 dbciPRO_PRO_00 JOBS " created

    15:06:07 UP1 024 902 JOBS D0 1 Transaction Canceled 00 671 ( DYNPRO_SEND_IN_BACKGROUND )

    15:06:07 UP1 024 902 JOBS R6 5 Update terminated

    Regards.

    Edited by: Vctor Barahona Cimas on Jun 22, 2011 4:10 PM

    DB:3.17:Runtime Errors Dynpro_Send_In_Background jx


    Hi,

    There are lots of dump called DYNPRO_SEND_IN_BACKGROUND in my prd system. The short text of the dump is Screen output without connection to user.

    Runtime Errors DYNPRO_SEND_IN_BACKGROUND
    Short text
    Screen output without connection to user.
    What happened?
    Error in the ABAP Application Program

    The current ABAP program "SAPMSSY0" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    Error analysis
    During background processing, the system attempted to send a
    screen to a user.
    Current screen: "SAPMSSY0 " 0120.

    I already check the logical connections in SM59 and i have rfc destination WORKFLOW_LOCAL_010 with user logon WF-BATCH, i run also SWU3 transaction to configure workflow.

    Anyone could help me.

    Thanks,
    Bismita

  • RELEVANCY SCORE 3.04

    DB:3.04:Cvtres : Fatal Error Cvt1100: Duplicate Resource. Type:Icon, Name:1, Language:0x0409 3s




    Hello, I'm getting this error when trying to build a resource dll for an MFC project in Visual Studio 2008. I am trying to refactor shared resources between resource files into a shared rc file, then have the differing resources in separate rc files.
    My goal is to have multiple resource dll projects with each using the shared rc file along with its own rc file. The shared rc file is #included by the other rc file in the compile-time directives section. Each rc file will have the same
    types of resources defined, meaning dialogs, icons, bitmaps, menus, etc. will be defined in the shared and the local rc file. So far I have some icon, bitmap, and toolbar resources in the local rc file, and a bunch of others in the shared rc file, including
    icon, bitmap, and toolbar resources. The resource IDs that are being defined are unique to both rc files, but eventually there will be a few cases where a particular type of resource will have definitions in the shared and local rc file, like IDR_RES1
    ICON defined in the shared rc file and IDC_RES1 TOOLBAR defined in the other rc file.
    Right now I'm getting this CVTRES error, and strangely it only happens when resources of type icon are defined in both resource files, but with unique id's of course. If I remove the icon resource definitions from one of the rc files, the project will
    compile fine, even though bitmap and toolbar resource definitions exist in both rc files. According to the MSDN documentation, this error is supposed to indicate that a given resource was specified more than once. The error message doesn't indicate
    which resource it is, just that there is a duplicate resource. Maybe it was saying that you're not supposed to have the same resource type defined in more than one rc file. But then why would the other overlapping resource type definitions be allowed?
    I would really appreciate any help.

    Thanks,
    Alex

    DB:3.04:Cvtres : Fatal Error Cvt1100: Duplicate Resource. Type:Icon, Name:1, Language:0x0409 3s

    Hi aprole,
    My name is Lucy Liu and I will be working with you on this case.

    This issue is already answered see below.
    http://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/ca805bad-9893-483b-8482-6e6ccaa0a4f8/
    http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/f9060fff-68f4-4b51-89df-a0f53b35c150/

    If this answer solves your problem,please check Mark as Answered.
    If you still have any doubt and concern about this issue,please let me know.
    Best regards,
    lucy

  • RELEVANCY SCORE 2.77

    DB:2.77:Wlc-5508 Problem With Ad (Win2003) - Rc = 1005 - Ldap Bind Failed kz



    Hi, I am having problems with my WLC to connect in my LDAP (ActiveDirectory).

    I have 3 interfaces in the controller:

    - Management  (vlan709): 10.41.200.253

    - lan (vlan 1): 190.1.1.123

    - guest (vlan 708): 10.41.222.253

    My LDAP server is: 190.1.1.22

    The controller could ping the LDAP Server. And LDAP Server ping WLC too.

    When the controller try to connect in the LDAP server, return this on debug:

    ldap_db.c:1038 Could not connect to LDAP server 1, reason: 1005 (LDAP bind failed).

    *LDAP DB Task 1: Oct 29 15:11:16.924: %AAA-3-LDAP_CONNECT_SERVER_FAILED:

    *LDAP DB Task 1: Oct 29 15:10:52.932: ldapInitAndBind [1] called lcapi_init (rc = 0 - Success)

    *LDAP DB Task 1: Oct 29 15:10:54.932: ldapInitAndBind [1] configured Method Authenticated lcapi_bind (rc = 1005 - LDAP bind failed)

    *LDAP DB Task 1: Oct 29 15:10:54.932: ldapClose [1] called lcapi_close (rc = 0 - Success)

    *LDAP DB Task 1: Oct 29 15:10:54.933: LDAP server 1 changed state to IDLE

    *LDAP DB Task 1: Oct 29 15:10:54.933: LDAP server 1 changed state to RETRY

    *LDAP DB Task 1: Oct 29 15:10:54.933: LDAP_OPT_REFERRALS = -1

    Someone could help me please?

    Thanks

    DB:2.77:Wlc-5508 Problem With Ad (Win2003) - Rc = 1005 - Ldap Bind Failed kz


    Thanks for your reply.
    unfortunately I can not change my environment at the moment. I'll need to think of something to solve the problem with my current scenario, using the AD in a dynamic interface.

  • RELEVANCY SCORE 2.76

    DB:2.76:How Get Windows 7 Rc Uninstall I Need To Save Files With Data Mean Picture, Mp3, Video Wdualboot pa


    I have dual boot (2 hard drive):
    1st hard drive: Windows vista sp2 (games offices)
    2nd hard drive: windows 7 RC (picture, mp3, and video files) but need how get out uninstalling 'Windows 7 RC' but I have still in saved files.

    How get safe files my files to uninstalling Windows 7 RC?

    DB:2.76:How Get Windows 7 Rc Uninstall I Need To Save Files With Data Mean Picture, Mp3, Video Wdualboot pa

    The only file you need to get off of and move from the Windows 7 drive to your Vista hard drive are any data files (Word documents, Photos, Music, Etc),

    How much room (free space) do you have on the Vista drive?

    JS
    http://www.pagestart.com

    Never be afraid to ask. This forum has some of the best people in the world available to help.

  • RELEVANCY SCORE 2.74

    DB:2.74:Vmmark2.0 Error: Could Not Resolve Start-Time. Results Data Missing From One Or More *.Wrf Files Or Time On Clients Not Synchronized 9d



    Hi,

    I'm having a problem with VMmark2.0: Generate an HTML-Formatted Table of Results and Ratios , the content of my resulting HTML file is:

    Error:,could,not,resolve,start-time.,Results,data,missing,from,one,or,more,*.wrf,files,or,time,on,clients,not,synchronized

    I have checked the time on my client and vms, they are synchronized, the *.wrf files are not missing

    However, in the STAX monitor message I found some errors:

    1, STAXProcessStartError signal raised. Continuing job. ===== XML Information ===== File: e:\vmmark2\xml\generic_functions.xml, Machine: local Line 334: Error in element type "process". The process failed to start, RC: 10, STAFResult: Could not create STDOUT directory (E:), OS RC: 3

    2, Error : Initial SSH connection timed out (CopyScript) : server 129.22.241.106 : not continuing collection

    Besids, I think one of the main reasons is Error running function destroyvm, which you can find in Deploy-t0.wrf.

    vSphere client also showed some information like template customization can't complete.

    I can't figour them out.

    I will attach the complete Results-Directory later. I believe it can help to find the problems.

    thanks.

    Message was edited by: a.p. - modified the title (replaced commas) due to a formatting issue in the forums

    DB:2.74:Vmmark2.0 Error: Could Not Resolve Start-Time. Results Data Missing From One Or More *.Wrf Files Or Time On Clients Not Synchronized 9d


    Hi, could you attach your VMMARK2.CONFIG file and all of the STAX errors from your failed run to a forum post please?

    You said the same .net errors occured on client0 and client1. Can you do a 10800 seconds 1 tile run (tile0 only) now? To do this, the only line you would need to change in VMMARK2.CONFIG is "TILES=1".

    Thanks,

    Rebecca

  • RELEVANCY SCORE 2.69

    DB:2.69:Custom Tag Problem With The Use Of Tei Class And Scripting Variable sf


    Hi,
    I have a problem with iteration. My tag handler is:

    public class TestTag4 extends BodyTagSupport
    {
    public int doAfterBody() throws JspException {
    int r = 0;
    r=(int)(Math.random()*10);
    System.out.println("r is " + r);
    if ((r==0)||(r==1)||(r==2)||(r==3))
    {
    pageContext.setAttribute("value","display on jsp
    page");
    return EVAL_BODY_TAG;
    }
    else {
    try {
    getBodyContent().writeOut(getPreviousOut());
    }
    catch (Exception error) {
    System.out.println("Error 2 " + error);
    }
    return SKIP_BODY;
    }
    }
    }

    My TEI class is:

    public class TestTag2ExtraInfo extends TagExtraInfo {
    public VariableInfo[] getVariableInfo(TagData data)
    {
    VariableInfo[] rc = new VariableInfo[1];
    rc[0] = new VariableInfo("value",
    "java.lang.String", true,
    VariableInfo.NESTED);
    return rc;
    }
    }

    My tld is:
    tag
    nametest/name
    tag-classexamples.TestTag4/tag-class
    tei-classexamples.TestTag2ExtraInfo/tei-class

    When i run the above jsp page, i get the error message:
    Undefined variable: value
    Any help would be appreciated
    Thx
    Bal

    DB:2.69:Custom Tag Problem With The Use Of Tei Class And Scripting Variable sf

    how silly of me!
    just restarting the tomcat sorted the problem!!!

  • RELEVANCY SCORE 2.64

    DB:2.64:Sdk Help With Iwpriv fa


    I need to write some iwpriv commands to be executed on boot with the device. Here is what I tried:inittab:# Executed on startup::sysinit:/etc/rc.d/rc.sysinit#MY SCRIPT::sysinit:/etc/rc.d/rc.myscript# Start an "askfirst" shell on the console (whatever that may be)ttyS0::askfirst:/sbin/getty -L ttyS0 115200 vt100# Stuff to do when restarting the init process::restart:/sbin/init# Run daemons::wait:/usr/etc/rc.d/rc start# Stuff to do before rebooting::shutdown:/etc/rc.d/rc stop::shutdown:/etc/rc.d/rc.stop::shutdown:/bin/umount -a -rThen in "openwrt/package/ubnt-base-files/files/usr/etc/rc.​d" i created a file called "rc.myscript" and made it executablerc.myscript:#!/bin/shifconfig ath0 downiwpriv "ath0" bgscan 1iwpriv "ath0" scanvalid 300iwpriv "ath0" bgscanintvl 300iwpriv "ath0" bgscanidle 100ifconfig ath0 upI compiled the firmware uploaded to the device and SSH'd into the device to see if my script worked. It did not. Issuing the (iwpriv "ath0" get_bgscan) resulted in a "0" whereas it should be a "1". While in the device I moved over to where my script is located and issued a ./rc.myscript and then the values are set. Not sure what I am doing wrong here. Anyone give me an idea on what to do?



    There are 10 types of people in the world, those who understand binary and those who don't.

    DB:2.64:Sdk Help With Iwpriv fa

    Found that I can set the bgscan within the system.cfg file but none of the others work.Example from system.cfg:wireless.status=enabledwireless.1.status=enabledwireless.1.devname=ath0wireless.1.bgscan=1There must be a routine that is setting my values after the script I made above. Have to do some more digging.



    There are 10 types of people in the world, those who understand binary and those who don't.

  • RELEVANCY SCORE 2.59

    DB:2.59:.Avi Files Play Sound But No Video. km


    Hi all,

    I'd appreciate some help in trying to sort out a problem with my .AVI files. I'm using a EVA 9150 with 2.4.68 firmware. Desktop and laptop running Vista SP3. I'm also using a ReadyNAS NV+ for storing family videos. They are mixed .m2ts files, .mov files, and .avi files. I couldn't be happier with the .m2ts and .mov. They play perfectly in high definition over the wireless connection. However, the .avi files play sound only, with no video. These are from DV tape taken up until 2007, but recently saved with Sony Vegas Movie Studio Platinum 10. They play perfectly with other media players on desktop and laptop such as VLC or WMP, streamed from the ReadyNAS. I've copied all my video onto the HDD of the EVA 9150, and I can play the .avi files with video from my latop streamed from the EVA, but no video from the EVA itself.

    The media-info on a sample file loks like this:-

    General

    Complete name : \\NETGEARNAS\media\Videos\HandyCam footage\Tape 7\Tape 7 - Clip 001.avi

    Format : AVI

    Format/Info : Audio Video Interleave

    Format_Commercial_IfAny : DV

    File size : 92.6 MiB

    Duration : 25s 920ms

    Overall bit rate : 30.0 Mbps

    Recorded date : 2005-07-09 13:50:06

    TAPE : Tape 7

    TCOD : 2400000

    TCDO : 261600000

    VMAJ : 4

    VMIN : 0

    STAT : 648 0 3.274674 1

    DTIM : 29721741 484817664

    Video

    ID : 0

    Format : DV

    Codec ID : dvsd

    Codec ID/Hint : Sony

    Duration : 25s 920ms

    Bit rate mode : Constant

    Bit rate : 24.4 Mbps

    Width : 720 pixels

    Height : 576 pixels

    Display aspect ratio : 16:9

    Frame rate mode : Constant

    Frame rate : 25.000 fps

    Standard : PAL

    Color space : YUV

    Chroma subsampling : 4:2:0

    Bit depth : 8 bits

    Scan type : Interlaced

    Bits/(Pixel*Frame) : 2.357

    Stream size : 89.0 MiB (96%)

    Audio

    ID : 1

    Format : PCM

    Format settings, Endianness : Little

    Format settings, Sign : Signed

    Codec ID : 1

    Codec ID/Hint : Microsoft

    Duration : 25s 920ms

    Bit rate mode : Constant

    Bit rate : 1 024 Kbps

    Channel(s) : 2 channels

    Sampling rate : 32.0 KHz

    Bit depth : 16 bits

    Stream size : 3.16 MiB (3%)

    Interleave, duration : 279 ms (6.97 video frames)

    Interleave, preload duration : 280 ms

    Any help on getting video back on .avi files would be greatly appreciated.

    Alan.

    DB:2.59:.Avi Files Play Sound But No Video. km

    Only if you provide Media Info like Als Chups did above. Google for the free program.

  • RELEVANCY SCORE 2.59

    DB:2.59:Ms10-024 Patch Reset Smtp Configuration To Default When Installed dx


    Hi all,I'm just trying to get the word out that applying MS10-024 onto a Windows 2008 server with SMTP it will reset all of the SMTP settings to their defaults.For example, our Windows 2008 IIS Servers have SMTP installed and we allow relaying to these SMTP servers from our Internal IP address subnet. After applying MS10-024 the servers lost their custom relay settings.I was able to reconfigured my SMTP servers without issue to correct the problem.Can MS10-024 be fixed?Or,can very clear information about the SMTP configuration resetbe added to the KB article(s) related to MS10-024?Thanks,Phil Mattson

    DB:2.59:Ms10-024 Patch Reset Smtp Configuration To Default When Installed dx

    Hi All,
    I would encourage to post in Microsoft Exchange Forum, as the Update is related to MS Exchange and engineers would certainly have an idea about the problem. Please post in the below forum.
    http://social.technet.microsoft.com/Forums/en-US/category/exchange2010

  • RELEVANCY SCORE 2.59

    DB:2.59:Testing Database Connection Error During Xi Installation Phase,Urgent!!! f9



    Dear expert,

    windows server 2003 enterprise edition, Oracle 10g, PI 7.1 (netweaver 2004s sr2)

    when the XI installation is at phase 19 of 95, the error is occurs at testing database connection.

    here is sapinst.log:

    INFO 2007-10-09 16:08:00

    Copied file 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/inifile.xml' to 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/inifile.2.xml'.

    INFO 2007-10-09 16:08:00

    Copied file 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/inifile.xml' to 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/inifile.3.xml'.

    INFO 2007-10-09 16:08:11

    Execute step

    Component W2K_ServicePack_Check|ind|ind|ind|ind

    Preprocess of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_First_Steps|ind|ind|ind|ind|0|0|W2K_ServicePack_Check|ind|ind|ind|ind|2|0.

    INFO 2007-10-09 16:08:34

    Copied file 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/keydb.xml' to 'C:/Program Files/sapinst_instdir/NW04S/SYSTEM/ORA/CENTRAL/AS/keydb.2.xml'.

    INFO 2007-10-09 16:08:34

    Execute step testDatabaseConnection of component |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0.

    INFO 2007-10-09 16:08:39

    Switched to user: xi0adm.

    INFO 2007-10-09 16:08:39

    Creating file C:\Program Files\sapinst_instdir\NW04S\SYSTEM\ORA\CENTRAL\AS\R3load.exe.log.

    INFO 2007-10-09 16:08:39

    Switched to user: xi0adm.

    INFO 2007-10-09 16:08:39

    Working directory changed to C:\Program Files\sapinst_instdir\NW04S\SYSTEM\ORA\CENTRAL\AS.

    INFO 2007-10-09 16:08:39

    Output of E:\usr\sap\XI0\SYS\exe\uc\NTI386\R3load.exe -testconnect is written to the logfile R3load.exe.log.

    WARNING 2007-10-09 16:08:43

    Execution of the command "E:\usr\sap\XI0\SYS\exe\uc\NTI386\R3load.exe -testconnect" finished with return code 2. Output:

    sapparam: sapargv( argc, argv) has not been called.

    sapparam(1c): No Profile used.

    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline

    E:\usr\sap\XI0\SYS\exe\uc\NTI386\R3load.exe: START OF LOG: 20071009160839

    E:\usr\sap\XI0\SYS\exe\uc\NTI386\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#8 $ SAP

    E:\usr\sap\XI0\SYS\exe\uc\NTI386\R3load.exe: version R7.00/V1.4 [UNICODE]

    Compiled Sep 1 2006 00:38:35

    E:\usr\sap\XI0\SYS\exe\uc\NTI386\R3load.exe -testconnect

    DbSl Trace: OCI-call 'OCIServerAttach' failed: rc = 12541

    DbSl Trace: CONNECT failed with sql error '12541'

    DbSl Trace: OCI-call 'OCIServerAttach' failed: rc = 12541

    DbSl Trace: CONNECT failed with sql error '12541'

    (DB) ERROR: db_connect rc = 256

    DbSl Trace: OCI-call 'OCIServerAttach' failed: rc = 12541

    DbSl Trace: CONNECT failed with sql error '12541'

    DbSl Trace: OCI-call 'OCIServerAttach' failed: rc = 12541

    DbSl Trace: CONNECT failed with sql error '12541'

    (DB) ERROR: DbSlErrorMsg rc = 99

    E:\usr\sap\XI0\SYS\exe\uc\NTI386\R3load.exe: job finished with 1 error(s)

    E:\usr\sap\XI0\SYS\exe\uc\NTI386\R3load.exe: END OF LOG: 20071009160843

    ERROR 2007-10-09 16:08:43

    CJS-30023 Process call 'E:\usr\sap\XI0\SYS\exe\uc\NTI386\R3load.exe -testconnect' exits with error code 2. For details see log file(s) R3load.exe.log.

    ERROR 2007-10-09 16:08:43

    FCO-00011 The step testDatabaseConnection with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|testDatabaseConnection was executed with status ERROR .

    And here is r3load.exe.log:

    sapparam: sapargv( argc, argv) has not been called.

    sapparam(1c): No Profile used.

    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline

    E:\usr\sap\XI0\SYS\exe\uc\NTI386\R3load.exe: START OF LOG: 20071009150726

    E:\usr\sap\XI0\SYS\exe\uc\NTI386\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#8 $ SAP

    E:\usr\sap\XI0\SYS\exe\uc\NTI386\R3load.exe: version R7.00/V1.4 [UNICODE]

    Compiled Sep 1 2006 00:38:35

    E:\usr\sap\XI0\SYS\exe\uc\NTI386\R3load.exe -testconnect

    DbSl Trace: OCI-call 'OCIServerAttach' failed: rc = 12541

    DbSl Trace: CONNECT failed with sql error '12541'

    DbSl Trace: OCI-call 'OCIServerAttach' failed: rc = 12541

    DbSl Trace: CONNECT failed with sql error '12541'

    (DB) ERROR: db_connect rc = 256

    DbSl Trace: OCI-call 'OCIServerAttach' failed: rc = 12541

    DbSl Trace: CONNECT failed with sql error '12541'

    DbSl Trace: OCI-call 'OCIServerAttach' failed: rc = 12541

    DbSl Trace: CONNECT failed with sql error '12541'

    (DB) ERROR: DbSlErrorMsg rc = 99

    E:\usr\sap\XI0\SYS\exe\uc\NTI386\R3load.exe: job finished with 1 error(s)

    E:\usr\sap\XI0\SYS\exe\uc\NTI386\R3load.exe: END OF LOG: 20071009150731

    Appriciate for your help!!!

    Many Thanks!

  • RELEVANCY SCORE 2.58

    DB:2.58:Dg4sybs On 11g Hangs Randomly xk


    Hi everybody,

    I have the following problem:

    We have 2-node RAC running on 11.1.0.7, connected to 11 various Sybase servers.
    There are many ETL processes running on both nodes, querying the Sybase DB's for fresh
    data to load into our warehouse. There are only select operations performed, using
    "insert into staging_table select ... from table@sybase where ...(some binds)".
    The queries use bind variables (as I found out on Metalink, this may cause some problems with the gateway).

    The queries are always identical, and they run smoothly for long days. However, from time to time,
    some queries hang and there is no way to stop or terminate them in a proper manner.
    The session that executes the query waits infinitely on "HS message to agent" event,
    and even after kill/disconnect of such sessions they remain visible in gv$session with status KILLED.
    Eventually, they are converted to PSEUDO, their OS pids are killed, but the sessions are never cleaned by PMON
    and remain in gv$session forever.

    After some investigation, it turned out that the last command executed by the agent is:
    Call SQLColumns(...)
    and then the trace file ends without any response. Sometimes, after 10-20 minutes, there comes RC=-1
    and a couple of following lines, as if the agent tried to restore the communication, but then it hangs
    again on command:
    Call SQLPrepare(...)

    I'm enclosing a typical trace file below.

    The configuration of all gateways is the same:

    HS_FDS_CONNECT_INFO=10.211.25.5:8085/PM
    HS_TRANSACTION_MODEL=READ_ONLY
    HS_FDS_TRACE_LEVEL=ODBC
    HS_OPEN_CURSORS=15
    HS_FDS_CONNECT_PROPERTIES="timeout='30'"

    We tried various combinations of timeout, open cursors, and some other options - with no luck.

    The listener is configured as follows:

    (SID_DESC=
    (SID_NAME=PM05)
    (ORACLE_HOME=/oracle/app/product/11.1.0/db_1)
    (ENVS=LD_LIBRARY_PATH=/oracle/app/product/11.1.0/db_1/dg4sybs/driver/lib:/oracle/app/product/11.1.0/db_1/lib)
    (PROGRAM=dg4sybs)
    )

    TNS names:

    PM05 =
    (DESCRIPTION=
    (ADDRESS = (PROTOCOL = TCP)(HOST = zeus043vip)(PORT = 1521))
    (CONNECT_DATA = (SID = PM05))
    (HS=OK)
    )

    A typical trace file (just the last part)

    Entered hgodtab at 2009/11/15-20:20:01
    count:1
    table: Q_LOCAREA_UC30
    Call SQLFreeHandle(h3,h71382640)
    --- RC=0 (TRC=0)
    Call SQLAllocHandle(h3,h71377360,0x43fc908)
    --- RC=0 (TRC=0)
    Call SQLBindCol(h71382640,4,1,0x7fff0f04a4e8,124,0x7fff0f04a5d0)
    --- RC=0 (TRC=0)
    Call SQLBindCol(h71382640,5,-15,0x7fff0f04a680,0,(nil))
    --- RC=0 (TRC=0)
    Call SQLBindCol(h71382640,6,1,0x7fff0f04a470,120,0x7fff0f04a5c8)
    --- RC=0 (TRC=0)
    Call SQLBindCol(h71382640,7,-16,0x7fff0f04a668,0,0x7fff0f04a5f0)
    --- RC=0 (TRC=0)
    Call SQLBindCol(h71382640,9,-15,0x7fff0f04a68c,0,0x7fff0f04a5e8)
    --- RC=0 (TRC=0)
    Call SQLBindCol(h71382640,10,-15,0x7fff0f04a684,0,0x7fff0f04a5e0)
    --- RC=0 (TRC=0)
    Call SQLBindCol(h71382640,11,-15,0x7fff0f04a688,0,(nil))
    --- RC=0 (TRC=0)
    Call SQLBindCol(h71382640,16,-16,0x7fff0f04a664,0,0x7fff0f04a5d8)
    --- RC=0 (TRC=0)
    Call SQLColumns(h71382640,0x4411240,4,0x4411c28,7,0x4465320,14,(nil),0)

    Then, after a couple of minutes, sometimes (but not always) we see this:

    --- RC=-1 (TRC=0)
    Entered hgopdsc at 2009/11/15-20:35:34
    Describing procedure sqmread.Q_LOCAREA_UC30
    Call SQLFreeHandle(h3,h71382640)
    --- RC=0 (TRC=0)
    Call SQLAllocHandle(h3,h71377360,0x43fc908)
    --- RC=0 (TRC=0)
    Call SQLProcedures(h71382640,0x4411240,4,0x4411c28,7,0x4465320,14)
    --- RC=0 (TRC=0)
    Call SQLBindCol(h71382640,8,-15,0x7fff0f04a404,0,(nil))
    --- RC=0 (TRC=0)
    Call SQLFetch(h71382640)
    --- RC=100 (TRC=0)
    Call SQLFreeStmt(h71382640,0)
    --- RC=0 (TRC=0)
    Call SQLFreeStmt(h71382640,2)
    --- RC=0 (TRC=0)
    Output hoada
    hgopdsc, line 1298: NO hoada to print
    Exiting hgopdsc, rc=942 at 2009/11/15-20:35:34
    The hoada for table Q_LOCAREA_UC30 follows...
    hgodtab, line 651: NO hoada to print
    Exiting hgodtab, rc=0 at 2009/11/15-20:35:34
    Entered hgopars, cursor id 1 at 2009/11/15-20:35:34
    type:0
    SQL text from hgopars, id=1, len=30 ...
    00: 53454C45 4354202A 2046524F 4D202251 [SELECT * FROM "Q]
    10: 5F4C4F43 41524541 5F554333 3022 [_LOCAREA_UC30"]
    Call SQLAllocHandle(h3,h71377360,0x43fdf68)
    --- RC=0 (TRC=0)
    Call SQLPrepare(h71824288,0x44642b0,30)

    and it hangs again for long minutes. Then, after some more minutes (but not always) it continues with:

    --- RC=-1 (TRC=0)
    Entered hgopoer at 2009/11/15-20:51:01
    Call SQLGetDiagRec(h3,h71824288,1,0x7fff0f0492f8,0x7fff0f049370,0x7fff0f0490e0,510,251958132)
    --- RC=0 (TRC=0)
    Call SQLGetDiagRec(h3,h71824288,2,0x7fff0f0492f8,0x7fff0f049370,0x7fff0f0490e0,510,251958132)
    --- RC=100 (TRC=0)
    hgopoer, line 159: got native error 7503 and sqlstate 08S01; message follows...
    [Oracle][ODBC Sybase Wire Protocol driver]Socket closed.
    Exiting hgopoer, rc=0 at 2009/11/15-20:51:01
    hgopars, line 298: calling SQLPrepare got sqlstate 08S01
    Exiting hgopars, rc=28500 at 2009/11/15-20:51:01 with error ptr FILE:hgopars.c LINE:328 FUNCTION:hgopars() ID:Prepare stmt
    Entered hgopars, cursor id 1 at 2009/11/15-20:51:01
    type:0
    SQL text from hgopars, id=1, len=30 ...
    00: 53454C45 4354202A 2046524F 4D202251 [SELECT * FROM "Q]
    10: 5F4C4F43 41524541 5F554333 3022 [_LOCAREA_UC30"]
    Call SQLFreeHandle(h3,h71824288)
    --- RC=0 (TRC=0)
    Call SQLAllocHandle(h3,h71377360,0x43fdf68)
    --- RC=0 (TRC=0)
    Call SQLPrepare(h71824288,0x44642b0,30)
    --- RC=-1 (TRC=0)
    Entered hgopoer at 2009/11/15-20:51:01
    Call SQLGetDiagRec(h3,h71824288,1,0x7fff0f0492f8,0x7fff0f049370,0x7fff0f0490e0,510,251958132)
    --- RC=0 (TRC=0)
    Call SQLGetDiagRec(h3,h71824288,2,0x7fff0f0492f8,0x7fff0f049370,0x7fff0f0490e0,510,251958132)
    --- RC=100 (TRC=0)
    hgopoer, line 159: got native error 0 and sqlstate 08S01; message follows...
    [Oracle][ODBC Sybase Wire Protocol driver]Sybase Network Connection has terminated. If a transaction was in progress it has been aborted.
    Exiting hgopoer, rc=0 at 2009/11/15-20:51:01
    hgopars, line 298: calling SQLPrepare got sqlstate 08S01
    Exiting hgopars, rc=28500 at 2009/11/15-20:51:01 with error ptr FILE:hgopars.c LINE:328 FUNCTION:hgopars() ID:Prepare stmt

    If the session is lucky enough to go through all these 3 phases, then it is terminated with ORA-28500.
    However, if it hangs on any of these steps, then it's not possible to kill/disconnect it in any way, as I already mentioned.

    Does anybody have an idea what the reason might be? Maybe the read committed transaction isolation level, with some locks
    on Sybase created by the processes that load or update data there?

    Any help would be highly appreciated.

    DB:2.58:Dg4sybs On 11g Hangs Randomly xk

    Hi,

    Thank you for answering that quickly.

    Both the database and the gateway are installed on Linux x86-64 RHEL5 (2.6.18-128.el5). They are installed in the same Oracle home,
    both initially as 11.1.0.6, then upgraded to 11.1.0.7 and patched with 8908784, 8833297. No other patches have been applied.

    Adding of HS_FDS_CONNECT_STRING = "OptimizePrepare=2" didn't solve the problem. The gateways and the listener restarted,
    ## OptimizePrepare=2;
    visible in the logs, so I believe the setting is being used by the agent, but with no significant change to the main problem.

    I noticed today that the agent also hangs occasionally on Call SQLDisconnect() - this is the last line of the trace file.

    Another interesting thing is that when it terminates with ORA-28500, it happens either immediately (after less than 1 second)
    or after around 1800-1880 seconds (so a bit more than 30 minutes). There are no cases when it would terminate after a different
    amount of time. Maybe the 30-minutes time-out is configurable? Maybe on Sybase side? I'm not an expert on that, unfortunately.

    Thanks for any help.

  • RELEVANCY SCORE 2.58

    DB:2.58:Workcentr 5225 Envelope 10 Printing Tray 5 Bypass 87



    I am having issues with the 5225 envelope printing in Tray 5 bypass. It recognizes and confirms Envelope #10 but when I try to print out of Word 2007 I get the error 024-747 or it just cancels the print with no error. I looked at the printer properties and Tray 5 shows envelope but "unconfirmed". I have tried the newest drivers and still not able to print envelopes on the bypass tray. I have followed setup instructions on this forum for Word 2007 also.

    Thanks

    DB:2.58:Workcentr 5225 Envelope 10 Printing Tray 5 Bypass 87


    i agree about the error code, might as well say,, oops, something wrong. lol

  • RELEVANCY SCORE 2.58

    DB:2.58:Thread: No Evms Option On Oes 2 New Install fk


    Im trying to setup nss volumes on a new oes2 linux server. During the install I got an error message that said Can not create nss admin object (something close) with no option to fix it. I click ok, the install finished fine. Now I dont have the option to setup EVMS in the partitioner and have a bunch of nss error messages in the log files. Error message is as follows:

    ncp server ping FAILED rc=2

    [! 2010-04-06 16:04:48] IPCClient::Open connect failed rc=2

    [! 2010-04-06 16:04:48] IPCServRequest open/send/received failed rc=2

    Running nssmu I get an error that says can not update nds and the following in the logfiles:

    GetVolumeNameFromGUID: volumeName tag not found

    [! 2010-04-08 09:01:15] SendChangeVolumeStateEvent: guid(d09b9148-430e-01df-80-00-a03d40a14244) to name failed rc=22

    [! 2010-04-08 09:01:15] ASYNC[2] SendChangeVolumeStateEvent failed rc=22

    [! 2010-04-08 09:01:15] GetVolumeNameFromGUID: volumeName tag not found

    [! 2010-04-08 09:01:15] SendChangeVolumeStateEvent: guid(d09b9148-430e-01df-80-00-a03d40a14244) to name failed rc=22

    [! 2010-04-08 09:01:15] ASYNC[10] SendChangeVolumeStateEvent failed rc=22

    Ive run through various tids and found one for sles9 that doesnt seem to fit. What can I do to get EVMS in the Partitioner tab? Or how can I start to debug this? I removed the server and objects from the tree and did another fresh install only to find the same behavior. Existing server in container is running NW 6.5 SP 7a with eDirectory 8.7x. This is the 3rd OES 2 sles 10 server Ive installed. They have all had challenges, but this is the first time I ran into this. I do have 3 drives that dont have partitions on them just waiting for me to setup the nss volumes on them. df -h show:

    Filesystem Size Used Avail Use% Mounted on

    /dev/sda2 924G 2.9G 921G 1% /

    udev 4.0G 164K 4.0G 1% /dev

    admin 4.0M 0 4.0M 0% /_admin

    Thanks for any help or pointers. Im going to try and grab any patches I can find.

    DB:2.58:Thread: No Evms Option On Oes 2 New Install fk

    Originally Posted by ddhottinger


    Im trying to setup nss volumes on a new oes2 linux server. During the install I got an error message that said Can not create nss admin object (something close) with no option to fix it. I click ok, the install finished fine. Now I dont have the option to setup EVMS in the partitioner and have a bunch of nss error messages in the log files. Error message is as follows:

    ncp server ping FAILED rc=2

    [! 2010-04-06 16:04:48] IPCClient::Open connect failed rc=2

    [! 2010-04-06 16:04:48] IPCServRequest open/send/received failed rc=2

    Running nssmu I get an error that says can not update nds and the following in the logfiles:

    GetVolumeNameFromGUID: volumeName tag not found

    [! 2010-04-08 09:01:15] SendChangeVolumeStateEvent: guid(d09b9148-430e-01df-80-00-a03d40a14244) to name failed rc=22

    [! 2010-04-08 09:01:15] ASYNC[2] SendChangeVolumeStateEvent failed rc=22

    [! 2010-04-08 09:01:15] GetVolumeNameFromGUID: volumeName tag not found

    [! 2010-04-08 09:01:15] SendChangeVolumeStateEvent: guid(d09b9148-430e-01df-80-00-a03d40a14244) to name failed rc=22

    [! 2010-04-08 09:01:15] ASYNC[10] SendChangeVolumeStateEvent failed rc=22

    Ive run through various tids and found one for sles9 that doesnt seem to fit. What can I do to get EVMS in the Partitioner tab? Or how can I start to debug this? I removed the server and objects from the tree and did another fresh install only to find the same behavior. Existing server in container is running NW 6.5 SP 7a with eDirectory 8.7x. This is the 3rd OES 2 sles 10 server Ive installed. They have all had challenges, but this is the first time I ran into this. I do have 3 drives that dont have partitions on them just waiting for me to setup the nss volumes on them. df -h show:

    Filesystem Size Used Avail Use% Mounted on

    /dev/sda2 924G 2.9G 921G 1% /

    udev 4.0G 164K 4.0G 1% /dev

    admin 4.0M 0 4.0M 0% /_admin

    Thanks for any help or pointers. Im going to try and grab any patches I can find.



    If you have multiple disks, is it necessary to have NSS installed on the system disk (i.e. the one that has /boot, /, SWAP)? While it is a supported method, it is not recommended due to the many issues you face with the initial installation and when upgrading to newer versions of SLES.

    The easiest and safest way to install NSS is to do a normal Linux install (without using EVMS) then use iManager to install NSS on the remaining uninitialized disks (/dev/sdb, /dev/sdc, etc.).

  • RELEVANCY SCORE 2.57

    DB:2.57:Problem With Formula In Macro 13


    This is what my formula looks like in my macro.
    Selection.FormulaR1C1 = _
    "=IF(R1C[1]=28,IF(OR(RC[-2]=11,RC[-2]=17),""Jody Nelson21"",IF(RC[-2]=22,""Amy Teague21" Chr(10) "21"",RC[-1])),IF(R1C[1]=35,IF(OR(RC[-2]=11,RC[-2]=17),""Jody Nelson28"",IF(RC[-2]=22,""Amy Teague28" Chr(10) "28"",RC[-1])),IF(R1C[1]=42,IF(OR(RC[-2]=11,RC[-2]=17),""Jody
    Nelson35"",IF(RC[-2]=22,""Amy Teague35"",RC[-1])))))"

    This is the way it puts the information in my column. I want it to just be Amy Teague21.Can you tell me what I need to change? It does the ones for Jody correct, just not the ones for Amy.

    Amy Teague21
    21

    Thanks, Nana from NC

    DB:2.57:Problem With Formula In Macro 13

    I need help with this: do you see any problems in this formula?

  • RELEVANCY SCORE 2.55

    DB:2.55:Vm Slow Response And Sluggishness 38



    Hi, we are having a number of users complain of intermittent VM sluggishness and poor performance. Most noticeably, the users see very sluggish text entry when typing (ie: they type but the words are delayed in appearing on the screen). I am trying to narrow it down but wondered if the community here might be helpful. Our ESXi hosts have Apex 2800 cards in them as well. Here is a snippet from a VM that was just sluggish, then sort of recovered on it's own.

    02/10/2014, 11:25:41.204 LVL:3 RC: 0 MGMT_PCOIP_DATA :BW: Not acting on loss. count 54, loss 0.273 time 46 current 99.1493 active 4668.0752 floor 416.5000

    02/10/2014, 11:25:41.238 LVL:3 RC: 0 MGMT_IMG :rcv nak 2 seq_id 146 disp 1 fsp 1 f_ref 155

    02/10/2014, 11:25:41.238 LVL:3 RC: 0 MGMT_IMG :cSW_HOST_IPC_MASTER::ack_slice() display_id=1, fsp=1, flight_seq_id=155, ack_cmd=loss, slices_outstanding=9.

    02/10/2014, 11:25:41.238 LVL:3 RC: 0 MGMT_IMG :rcv nak 2 seq_id 147 disp 1 fsp 2 f_ref 10

    02/10/2014, 11:25:41.238 LVL:3 RC: 0 MGMT_IMG :cSW_HOST_IPC_MASTER::ack_slice() display_id=1, fsp=2, flight_seq_id=10, ack_cmd=loss, slices_outstanding=8.

    02/10/2014, 11:25:41.238 LVL:3 RC: 0 MGMT_IMG :rcv nak 2 seq_id 148 disp 1 fsp 3 f_ref 59

    02/10/2014, 11:25:41.238 LVL:3 RC: 0 MGMT_IMG :cSW_HOST_IPC_MASTER::ack_slice() display_id=1, fsp=3, flight_seq_id=59, ack_cmd=loss, slices_outstanding=7.

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_IMG :mgmt_img_ufcc_msg_process: Pkt retrans request idx = 0 nr=1 seq_num=64821

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_PCOIP_DATA :tera_mgmt_pcoip_data_retrans_img_pkt: failed to find packet (seq_num=64821)

    02/10/2014, 11:25:41.318 LVL:3 RC:-510 MGMT_IMG :mgmt_img_ufcc_msg_process: tera_mgmt_pcoip_data_retrans_img_pkt() failed - not found

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_IMG :mgmt_img_ufcc_msg_process: Pkt retrans request idx = 1 nr=1 seq_num=64822

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_PCOIP_DATA :tera_mgmt_pcoip_data_retrans_img_pkt: failed to find packet (seq_num=64822)

    02/10/2014, 11:25:41.318 LVL:3 RC:-510 MGMT_IMG :mgmt_img_ufcc_msg_process: tera_mgmt_pcoip_data_retrans_img_pkt() failed - not found

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_IMG :mgmt_img_ufcc_msg_process: Pkt retrans request idx = 2 nr=1 seq_num=64841

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_PCOIP_DATA :tera_mgmt_pcoip_data_retrans_img_pkt: failed to find packet (seq_num=64841)

    02/10/2014, 11:25:41.318 LVL:3 RC:-510 MGMT_IMG :mgmt_img_ufcc_msg_process: tera_mgmt_pcoip_data_retrans_img_pkt() failed - not found

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_IMG :mgmt_img_ufcc_msg_process: Pkt retrans request idx = 3 nr=1 seq_num=64842

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_PCOIP_DATA :tera_mgmt_pcoip_data_retrans_img_pkt: failed to find packet (seq_num=64842)

    02/10/2014, 11:25:41.318 LVL:3 RC:-510 MGMT_IMG :mgmt_img_ufcc_msg_process: tera_mgmt_pcoip_data_retrans_img_pkt() failed - not found

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_IMG :mgmt_img_ufcc_msg_process: Pkt retrans request idx = 4 nr=1 seq_num=64843

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_PCOIP_DATA :tera_mgmt_pcoip_data_retrans_img_pkt: failed to find packet (seq_num=64843)

    02/10/2014, 11:25:41.318 LVL:3 RC:-510 MGMT_IMG :mgmt_img_ufcc_msg_process: tera_mgmt_pcoip_data_retrans_img_pkt() failed - not found

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_IMG :mgmt_img_ufcc_msg_process: Pkt retrans request idx = 5 nr=1 seq_num=64844

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_PCOIP_DATA :tera_mgmt_pcoip_data_retrans_img_pkt: failed to find packet (seq_num=64844)

    02/10/2014, 11:25:41.318 LVL:3 RC:-510 MGMT_IMG :mgmt_img_ufcc_msg_process: tera_mgmt_pcoip_data_retrans_img_pkt() failed - not found

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_IMG :mgmt_img_ufcc_msg_process: Pkt retrans request idx = 6 nr=1 seq_num=64846

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_PCOIP_DATA :tera_mgmt_pcoip_data_retrans_img_pkt: failed to find packet (seq_num=64846)

    02/10/2014, 11:25:41.318 LVL:3 RC:-510 MGMT_IMG :mgmt_img_ufcc_msg_process: tera_mgmt_pcoip_data_retrans_img_pkt() failed - not found

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_IMG :mgmt_img_ufcc_msg_process: Pkt retrans request idx = 7 nr=1 seq_num=64847

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_PCOIP_DATA :tera_mgmt_pcoip_data_retrans_img_pkt: failed to find packet (seq_num=64847)

    02/10/2014, 11:25:41.318 LVL:3 RC:-510 MGMT_IMG :mgmt_img_ufcc_msg_process: tera_mgmt_pcoip_data_retrans_img_pkt() failed - not found

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_IMG :mgmt_img_ufcc_msg_process: Pkt retrans request idx = 8 nr=1 seq_num=64849

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_PCOIP_DATA :tera_mgmt_pcoip_data_retrans_img_pkt: failed to find packet (seq_num=64849)

    02/10/2014, 11:25:41.318 LVL:3 RC:-510 MGMT_IMG :mgmt_img_ufcc_msg_process: tera_mgmt_pcoip_data_retrans_img_pkt() failed - not found

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_IMG :mgmt_img_ufcc_msg_process: Pkt retrans request idx = 9 nr=1 seq_num=64851

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_PCOIP_DATA :tera_mgmt_pcoip_data_retrans_img_pkt: failed to find packet (seq_num=64851)

    02/10/2014, 11:25:41.318 LVL:3 RC:-510 MGMT_IMG :mgmt_img_ufcc_msg_process: tera_mgmt_pcoip_data_retrans_img_pkt() failed - not found

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_IMG :mgmt_img_ufcc_msg_process: Pkt retrans request idx = 10 nr=1 seq_num=64852

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_PCOIP_DATA :tera_mgmt_pcoip_data_retrans_img_pkt: failed to find packet (seq_num=64852)

    02/10/2014, 11:25:41.318 LVL:3 RC:-510 MGMT_IMG :mgmt_img_ufcc_msg_process: tera_mgmt_pcoip_data_retrans_img_pkt() failed - not found

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_IMG :mgmt_img_ufcc_msg_process: Pkt retrans request idx = 11 nr=1 seq_num=64854

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_PCOIP_DATA :tera_mgmt_pcoip_data_retrans_img_pkt: failed to find packet (seq_num=64854)

    02/10/2014, 11:25:41.318 LVL:3 RC:-510 MGMT_IMG :mgmt_img_ufcc_msg_process: tera_mgmt_pcoip_data_retrans_img_pkt() failed - not found

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_IMG :mgmt_img_ufcc_msg_process: Pkt retrans request idx = 12 nr=1 seq_num=64856

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_PCOIP_DATA :tera_mgmt_pcoip_data_retrans_img_pkt: failed to find packet (seq_num=64856)

    02/10/2014, 11:25:41.318 LVL:3 RC:-510 MGMT_IMG :mgmt_img_ufcc_msg_process: tera_mgmt_pcoip_data_retrans_img_pkt() failed - not found

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_IMG :mgmt_img_ufcc_msg_process: Pkt retrans request idx = 13 nr=1 seq_num=64857

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_PCOIP_DATA :tera_mgmt_pcoip_data_retrans_img_pkt: failed to find packet (seq_num=64857)

    02/10/2014, 11:25:41.318 LVL:3 RC:-510 MGMT_IMG :mgmt_img_ufcc_msg_process: tera_mgmt_pcoip_data_retrans_img_pkt() failed - not found

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_IMG :mgmt_img_ufcc_msg_process: Pkt retrans request idx = 14 nr=1 seq_num=64858

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_PCOIP_DATA :tera_mgmt_pcoip_data_retrans_img_pkt: failed to find packet (seq_num=64858)

    02/10/2014, 11:25:41.318 LVL:3 RC:-510 MGMT_IMG :mgmt_img_ufcc_msg_process: tera_mgmt_pcoip_data_retrans_img_pkt() failed - not found

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_IMG :mgmt_img_ufcc_msg_process: Pkt retrans request idx = 15 nr=1 seq_num=64859

    02/10/2014, 11:25:41.318 LVL:3 RC: 0 MGMT_PCOIP_DATA :tera_mgmt_pcoip_data_retrans_img_pkt: failed to find packet (seq_num=64859)

    02/10/2014, 11:25:41.318 LVL:3 RC:-510 MGMT_IMG :mgmt_img_ufcc_msg_process: tera_mgmt_pcoip_data_retrans_img_pkt() failed - not found

    02/10/2014, 11:25:41.403 LVL:3 RC: 0 MGMT_IMG :rcv nak 3 seq_id 167 disp 1 fsp 1 f_ref 156

    02/10/2014, 11:25:41.403 LVL:3 RC: 0 MGMT_IMG :cSW_HOST_IPC_MASTER::ack_slice() display_id=1, fsp=1, flight_seq_id=156, ack_cmd=ref, slices_outstanding=21.

    02/10/2014, 11:25:41.407 LVL:3 RC: 0 MGMT_IMG :rcv nak 3 seq_id 168 disp 1 fsp 2 f_ref 11

    02/10/2014, 11:25:41.407 LVL:3 RC: 0 MGMT_IMG :cSW_HOST_IPC_MASTER::ack_slice() display_id=1, fsp=2, flight_seq_id=11, ack_cmd=ref, slices_outstanding=20.

    02/10/2014, 11:25:41.411 LVL:3 RC: 0 MGMT_IMG :rcv nak 3 seq_id 169 disp 1 fsp 3 f_ref 60

    02/10/2014, 11:25:41.411 LVL:3 RC: 0 MGMT_IMG :cSW_HOST_IPC_MASTER::ack_slice() display_id=1, fsp=3, flight_seq_id=60, ack_cmd=ref, slices_outstanding=19.

    02/10/2014, 11:25:43.917 LVL:3 RC: 0 MGMT_KMP :Cropped Alpha Pointer Shape: top=2 bot=36 left=3 right=39 size: 16384 - 2288

    02/10/2014, 11:25:43.971 LVL:0 RC: 0 IMG_FRONTEND :cSW_HOST_FRONTEND::request_pixels - forced flip with 25 changed blocks available.

    02/10/2014, 11:25:50.364 LVL:3 RC: 0 MGMT_IMG :ACTIVE: handle message 8

    02/10/2014, 11:25:50.364 LVL:2 RC: 0 MGMT_IMG :log: cur_s 0 max_s 30 bwc 0.02 bwt 33.51 changed fps 11.8 decode rate est (MBit/sec) - 500.00

    02/10/2014, 11:25:50.364 LVL:0 RC: 0 MGMT_IMG :Imaging rtt last: 0 min: 0 max: 156 avg: 3.1408

    02/10/2014, 11:25:50.364 LVL:2 RC: 0 MGMT_IMG :log: Disp_0:APEX, Disp_1:APEX, Disp_2:Disabled, Disp_3:Disabled

    02/10/2014, 11:25:50.364 LVL:3 RC: 0 MGMT_IMG :log: chg pix: 0, chg pix not motion: 18196032

    02/10/2014, 11:25:50.364 LVL:2 RC: 0 MGMT_IMG :log (SoftIPC): tbl 3 fps 0.00 quality 0

    02/10/2014, 11:25:50.364 LVL:3 RC: 0 MGMT_IMG :log (SoftIPC): min_qual 50 max_init_qual 100 quality_pref = 50 max fps = 120

    02/10/2014, 11:25:50.364 LVL:3 RC: 0 MGMT_IMG :log (SoftIPC): delta bits encoded: 0, delta build bits encoded: 0.

    02/10/2014, 11:25:50.364 LVL:2 RC: 0 MGMT_IMG :log (SoftIPC): bits/pixel - 0.00, bits/sec - 0.00, MPix/sec - 0.00

    02/10/2014, 11:25:50.364 LVL:2 RC: 0 MGMT_IMG :log (Tera2800IPC): fps 11.13 quality 100

    02/10/2014, 11:25:50.364 LVL:2 RC: 0 MGMT_IMG :log (Tera2800IPC): bits/sec - 740747.73, MPix/sec - 0.61, rx_pdu/sec - 0.0, tx_pdu/sec - 0.0

    02/10/2014, 11:25:50.364 LVL:2 RC: 0 MGMT_IMG :log (Tera2800IPC): caps exceeded: 0, low_pkts: 0, pkt q: 23, slice_limited: 0, bus empty 2475, total: 3402.

    02/10/2014, 11:25:50.364 LVL:3 RC: 0 MGMT_IMG :Tera2800 display 0: open:1 offload:1, update:0, update/sec: 4.9, update wait: 8.4%

    02/10/2014, 11:25:50.364 LVL:3 RC: 0 MGMT_IMG :Tera2800 display 1: open:1 offload:1, update:0, update/sec: 1.5, update wait: 3.3%

    02/10/2014, 11:25:55.724 LVL:2 RC: 0 MGMT_PCOIP_DATA :Tx thread info: bw limit = 4895, plateau = 4763.3, avg tx = 40.0, avg rx = 5.7 (KBytes/s)

    02/10/2014, 11:25:55.724 LVL:1 RC: 0 VGMAC :Stat frms: R=000000/000000/277728 T=002524/267800/129050 (A/I/O) Loss=0.02%/1.28% (R/T)

    02/10/2014, 11:26:01.389 LVL:3 RC: 0 MGMT_IMG :mgmt_img_ufcc_msg_process: Pkt retrans request idx = 0 nr=0 seq_num=897

    02/10/2014, 11:26:19.294 LVL:2 RC: 0 MGMT_PCOIP_DATA :Tx thread info: round trip time (ms) = 2, variance = 2, rto = 104, last = 2, max = 13

    02/10/2014, 11:26:20.364 LVL:3 RC: 0 MGMT_IMG :ACTIVE: handle message 8

    02/10/2014, 11:26:20.364 LVL:2 RC: 0 MGMT_IMG :log: cur_s 0 max_s 30 bwc 0.05 bwt 36.91 changed fps 7.6 decode rate est (MBit/sec) - 500.00

    02/10/2014, 11:26:20.364 LVL:0 RC: 0 MGMT_IMG :Imaging rtt last: 0 min: 0 max: 62 avg: 3.5296

    02/10/2014, 11:26:20.364 LVL:2 RC: 0 MGMT_IMG :log: Disp_0:APEX, Disp_1:APEX, Disp_2:Disabled, Disp_3:Disabled

    02/10/2014, 11:26:20.364 LVL:3 RC: 0 MGMT_IMG :log: chg pix: 0, chg pix not motion: 628928

    02/10/2014, 11:26:20.364 LVL:2 RC: 0 MGMT_IMG :log (SoftIPC): tbl 3 fps 0.00 quality 0

    02/10/2014, 11:26:20.364 LVL:3 RC: 0 MGMT_IMG :log (SoftIPC): min_qual 50 max_init_qual 100 quality_pref = 50 max fps = 120

    02/10/2014, 11:26:20.364 LVL:3 RC: 0 MGMT_IMG :log (SoftIPC): delta bits encoded: 0, delta build bits encoded: 0.

    02/10/2014, 11:26:20.364 LVL:2 RC: 0 MGMT_IMG :log (SoftIPC): bits/pixel - 0.00, bits/sec - 0.00, MPix/sec - 0.00

    02/10/2014, 11:26:20.364 LVL:2 RC: 0 MGMT_IMG :log (Tera2800IPC): fps 8.43 quality 100

    02/10/2014, 11:26:20.364 LVL:2 RC: 0 MGMT_IMG :log (Tera2800IPC): bits/sec - 22037.33, MPix/sec - 0.02, rx_pdu/sec - 0.0, tx_pdu/sec - 0.0

    02/10/2014, 11:26:20.364 LVL:2 RC: 0 MGMT_IMG :log (Tera2800IPC): caps exceeded: 0, low_pkts: 0, pkt q: 0, slice_limited: 0, bus empty 2227, total: 650.

    02/10/2014, 11:26:20.364 LVL:3 RC: 0 MGMT_IMG :Tera2800 display 0: open:1 offload:1, update:0, update/sec: 0.0, update wait: 0.1%

    02/10/2014, 11:26:20.364 LVL:3 RC: 0 MGMT_IMG :Tera2800 display 1: open:1 offload:1, update:0, update/sec: 6.8, update wait: 10.6%

    02/10/2014, 11:26:27.706 LVL:3 RC: 0 MGMT_IMG :mgmt_img_ufcc_msg_process: Pkt retrans request idx = 0 nr=0 seq_num=1294

    02/10/2014, 11:26:27.706 LVL:3 RC: 0 MGMT_IMG :mgmt_img_ufcc_msg_process: Pkt retrans request idx = 1 nr=0 seq_num=1295

    02/10/2014, 11:26:31.231 LVL:3 RC: 0 MGMT_PCOIP_DATA :Rx thread: duplicate packet detected (media_chan=16, seq_num=35794, exp=35795)

    02/10/2014, 11:26:50.364 LVL:3 RC: 0 MGMT_IMG :ACTIVE: handle message 8

    02/10/2014, 11:26:50.364 LVL:2 RC: 0 MGMT_IMG :log: cur_s 0 max_s 30 bwc 0.04 bwt 36.92 changed fps 10.0 decode rate est (MBit/sec) - 500.00

    02/10/2014, 11:26:50.364 LVL:0 RC: 0 MGMT_IMG :Imaging rtt last: 0 min: 0 max: 62 avg: 2.1016

    02/10/2014, 11:26:50.364 LVL:2 RC: 0 MGMT_IMG :log: Disp_0:APEX, Disp_1:APEX, Disp_2:Disabled, Disp_3:Disabled

    02/10/2014, 11:26:50.364 LVL:3 RC: 0 MGMT_IMG :log: chg pix: 0, chg pix not motion: 1516160

    02/10/2014, 11:26:50.364 LVL:2 RC: 0 MGMT_IMG :log (SoftIPC): tbl 3 fps 0.00 quality 0

    02/10/2014, 11:26:50.364 LVL:3 RC: 0 MGMT_IMG :log (SoftIPC): min_qual 50 max_init_qual 100 quality_pref = 50 max fps = 120

    02/10/2014, 11:26:50.364 LVL:3 RC: 0 MGMT_IMG :log (SoftIPC): delta bits encoded: 0, delta build bits encoded: 0.

    02/10/2014, 11:26:50.364 LVL:2 RC: 0 MGMT_IMG :log (SoftIPC): bits/pixel - 0.00, bits/sec - 0.00, MPix/sec - 0.00

    02/10/2014, 11:26:50.364 LVL:2 RC: 0 MGMT_IMG :log (Tera2800IPC): fps 10.80 quality 100

    02/10/2014, 11:26:50.364 LVL:2 RC: 0 MGMT_IMG :log (Tera2800IPC): bits/sec - 116605.60, MPix/sec - 0.05, rx_pdu/sec - 0.0, tx_pdu/sec - 0.0

    02/10/2014, 11:26:50.364 LVL:2 RC: 0 MGMT_IMG :log (Tera2800IPC): caps exceeded: 0, low_pkts: 0, pkt q: 0, slice_limited: 0, bus empty 2266, total: 1059.

    02/10/2014, 11:26:50.364 LVL:3 RC: 0 MGMT_IMG :Tera2800 display 0: open:1 offload:1, update:0, update/sec: 1.9, update wait: 2.8%

    02/10/2014, 11:26:50.364 LVL:3 RC: 0 MGMT_IMG :Tera2800 display 1: open:1 offload:1, update:0, update/sec: 7.9, update wait: 12.3%

    02/10/2014, 11:26:55.953 LVL:2 RC: 0 MGMT_PCOIP_DATA :Tx thread info: bw limit = 5251, plateau = 4763.3, avg tx = 4.0, avg rx = 5.8 (KBytes/s)

    02/10/2014, 11:26:55.953 LVL:1 RC: 0 VGMAC :Stat frms: R=000000/000000/280372 T=002524/268922/130784 (A/I/O) Loss=0.00%/0.00% (R/T)

    02/10/2014, 11:27:05.215 LVL:3 RC: 0 MGMT_PCOIP_DATA :Rx thread: duplicate packet detected (media_chan=16, seq_num=36074, exp=36075)

    02/10/2014, 11:27:19.318 LVL:2 RC: 0 MGMT_PCOIP_DATA :Tx thread info: round trip time (ms) = 1, variance = 0, rto = 101, last = 2, max = 9

    02/10/2014, 11:27:20.364 LVL:3 RC: 0 MGMT_IMG :ACTIVE: handle message 8

    02/10/2014, 11:27:20.364 LVL:2 RC: 0 MGMT_IMG :log: cur_s 0 max_s 30 bwc 0.09 bwt 36.92 changed fps 4.3 decode rate est (MBit/sec) - 500.00

    02/10/2014, 11:27:20.364 LVL:0 RC: 0 MGMT_IMG :Imaging rtt last: 0 min: 0 max: 16 avg: 2.6689

    02/10/2014, 11:27:20.364 LVL:2 RC: 0 MGMT_IMG :log: Disp_0:APEX, Disp_1:APEX, Disp_2:Disabled, Disp_3:Disabled

    02/10/2014, 11:27:20.364 LVL:3 RC: 0 MGMT_IMG :log: chg pix: 0, chg pix not motion: 102848

    02/10/2014, 11:27:20.364 LVL:2 RC: 0 MGMT_IMG :log (SoftIPC): tbl 3 fps 0.00 quality 0

    02/10/2014, 11:27:20.364 LVL:3 RC: 0 MGMT_IMG :log (SoftIPC): min_qual 50 max_init_qual 100 quality_pref = 50 max fps = 120

    02/10/2014, 11:27:20.364 LVL:3 RC: 0 MGMT_IMG :log (SoftIPC): delta bits encoded: 0, delta build bits encoded: 0.

    02/10/2014, 11:27:20.364 LVL:2 RC: 0 MGMT_IMG :log (SoftIPC): bits/pixel - 0.00, bits/sec - 0.00, MPix/sec - 0.00

    02/10/2014, 11:27:20.364 LVL:2 RC: 0 MGMT_IMG :log (Tera2800IPC): fps 5.27 quality 100

    02/10/2014, 11:27:20.364 LVL:2 RC: 0 MGMT_IMG :log (Tera2800IPC): bits/sec - 4722.40, MPix/sec - 0.00, rx_pdu/sec - 0.0, tx_pdu/sec - 0.0

    02/10/2014, 11:27:20.364 LVL:2 RC: 0 MGMT_IMG :log (Tera2800IPC): caps exceeded: 0, low_pkts: 0, pkt q: 0, slice_limited: 0, bus empty 2086, total: 227.

    02/10/2014, 11:27:20.364 LVL:3 RC: 0 MGMT_IMG :Tera2800 display 0: open:1 offload:1, update:0, update/sec: 0.1, update wait: 0.2%

    02/10/2014, 11:27:20.364 LVL:3 RC: 0 MGMT_IMG :Tera2800 display 1: open:1 offload:1, update:1, update/sec: 4.0, update wait: 6.2%

    Can anyone tell anything useful from that log snippet?

    DB:2.55:Vm Slow Response And Sluggishness 38


    Hi, I tried disabling the apex driver on my VM and rebooted. Running iperf after the reboot gives the following:

    iperf -c 10.2.14.161 -u -l 1300 -b 100m

    ------------------------------------------------------------

    Client connecting to 10.2.14.161, UDP port 5001

    Sending 1300 byte datagrams

    UDP buffer size: 64.0 KByte (default)

    ------------------------------------------------------------

    [ 3] local 10.2.20.226 port 64732 connected with 10.2.14.161 port 5001

    [ ID] Interval Transfer Bandwidth

    [ 3] 0.0-10.0 sec 119 MBytes 99.7 Mbits/sec

    [ 3] Sent 96003 datagrams

    [ 3] Server Report:

    [ 3] 0.0-10.0 sec 111 MBytes 93.4 Mbits/sec 0.000 ms 6157/96002 (6.4%)

    [ 3] 0.0-10.0 sec 1 datagrams received out-of-order

    C:\iperfiperf -s -u -l 1300 -i 1

    ------------------------------------------------------------

    Server listening on UDP port 5001

    Receiving 1300 byte datagrams

    UDP buffer size: 64.0 KByte (default)

    ------------------------------------------------------------

    [ 3] local 10.2.14.161 port 5001 connected with 10.2.20.226 port 64732

    [ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams

    [ 3] 0.0- 1.0 sec 11.3 MBytes 94.8 Mbits/sec 0.002 ms 351/ 9462 (3.7%)

    [ 3] 1.0- 2.0 sec 11.0 MBytes 92.4 Mbits/sec 0.007 ms 735/ 9615 (7.6%)

    [ 3] 2.0- 3.0 sec 11.3 MBytes 94.7 Mbits/sec 0.035 ms 510/ 9615 (5.3%)

    [ 3] 3.0- 4.0 sec 11.5 MBytes 96.4 Mbits/sec 0.007 ms 342/ 9616 (3.6%)

    [ 3] 4.0- 5.0 sec 11.2 MBytes 94.2 Mbits/sec 0.042 ms 563/ 9616 (5.9%)

    [ 3] 5.0- 6.0 sec 11.0 MBytes 92.1 Mbits/sec 0.000 ms 760/ 9615 (7.9%)

    [ 3] 6.0- 7.0 sec 10.6 MBytes 89.2 Mbits/sec 0.000 ms 1034/ 9615 (11%)

    [ 3] 7.0- 8.0 sec 11.4 MBytes 95.5 Mbits/sec 0.000 ms 432/ 9616 (4.5%)

    [ 3] 8.0- 9.0 sec 11.5 MBytes 96.2 Mbits/sec 0.000 ms 361/ 9614 (3.8%)

    [ 3] 9.0-10.0 sec 10.6 MBytes 88.9 Mbits/sec 0.000 ms 1070/ 9617 (11%)

    [ 3] 0.0-10.0 sec 111 MBytes 93.4 Mbits/sec 0.000 ms 6157/96002 (6.4%)

    [ 3] 0.0-10.0 sec 1 datagrams received out-of-order

    No change or improvement that I can tell, but is this a useful test? I've been trying to get iperf to run on UDP port 4172, but if I run iperf -s -u -p 4172 -l 1300 -i 1 and iperf -c 10.2.14.161 -u -p 4172 -l 1300 I get nothing. Is this not a supported operation via iperf?

  • RELEVANCY SCORE 2.54

    DB:2.54:Help Regarding Xuartlite_Recv Function d7



    Hi

    I am using Xuartlite_Recv function in polled mode and sending a specified number of bytes from PC. The code is given below

    B = 5;

    xil_printf("enter your datacolon; ");

    while (XUartLite_IsReceiveEmpty(XPAR_AXI_UARTLITE_0_BASE​ADDR));

    rc = XUartLite_Recv(UartLite,RecvBuffer,B); for (i = 0; i999999; i++) {

    } xil_printf("\n RC = %d and data = %c",rc,RecvBuffer[0]); xil_printf("\n RC = %d and data = %c",rc,RecvBuffer[1]); xil_printf("\n RC = %d and data = %c",rc,RecvBuffer[2]); xil_printf("\n RC = %d and data = %c",rc,RecvBuffer[3]); xil_printf("\n RC = %d and data = %c",rc,RecvBuffer[4]);

    After running the program and entering the data from keyboard, I found rc = 0 i.e do not received any data. Is there any method of finding that the data is received by the UART module before calling theXUartLite_Recv function. Do I have to use any function before calling the receive function?Thanks

    DB:2.54:Help Regarding Xuartlite_Recv Function d7


    Hi

    I am using Xuartlite_Recv function in polled mode and sending a specified number of bytes from PC. The code is given below

    B = 5;

    xil_printf("enter your datacolon; ");

    while (XUartLite_IsReceiveEmpty(XPAR_AXI_UARTLITE_0_BASE​ADDR));

    rc = XUartLite_Recv(UartLite,RecvBuffer,B); for (i = 0; i999999; i++) {

    } xil_printf("\n RC = %d and data = %c",rc,RecvBuffer[0]); xil_printf("\n RC = %d and data = %c",rc,RecvBuffer[1]); xil_printf("\n RC = %d and data = %c",rc,RecvBuffer[2]); xil_printf("\n RC = %d and data = %c",rc,RecvBuffer[3]); xil_printf("\n RC = %d and data = %c",rc,RecvBuffer[4]);

    After running the program and entering the data from keyboard, I found rc = 0 i.e do not received any data. Is there any method of finding that the data is received by the UART module before calling theXUartLite_Recv function. Do I have to use any function before calling the receive function?Thanks

  • RELEVANCY SCORE 2.54

    DB:2.54:Use Of Vbfs Table d3



    Dear All,

    1. What is the use of the VBFS table?

    2. When it has an entry with the Message ID V50R with Message ID 024 ("At least one order was blocked and could not be delivered"), what does it mean?

    3. If you have encountered it, what kind of senarios can trigger this message?

    Thanks in advance,

    S.Dakshna Nagaratnam.

    DB:2.54:Use Of Vbfs Table d3


    Hi,

    VBFS is error log table for creating delivery using VL04 Tcode

    Means VBFS table is error log table for SD Billing and Delivery due list documents.

    Salil ...

  • RELEVANCY SCORE 2.54

    DB:2.54:Rc 7 Media Player Crashes mc


    Windows Media player has suddenly stopped working on one of our 7 RC machines.  It plays for 5-10 minutes then stops with a vauge encountere an error message.  Troubleshooting provides messages saying the media files are corrupt.  But they all play fine using Realplayer, and they also play fine on the other7  RC machine and other XP machines.  I can't uninstall Media Player and don't want to reload the entire operating system.

    DB:2.54:Rc 7 Media Player Crashes mc

    That file seems fine in an MP3 file viewer and plays fine in an MP3 player.  I'd bet it works fine for you on any other PC.It appears that you're having serious hard drive issues - I see tons of NTFS failure events in your System event log.  Have you run chkdsk?

  • RELEVANCY SCORE 2.53

    DB:2.53:Need Help With Itcssconfigfromfile 3z



    I am having some trouble getting ITCSSConfigFromFile to work on a CN3 running Windows Mobile 6. I have the latest SSPB and firmware installed. I have tried about everything I can think and cannot get ITCSSConfigFromFile to return anything other thanE_SSAPI_OPERATION_FAILED. The XML file seems OK. I can open it with Pocket IE and no errors are displayed.

    Here is a code sample:

    LPCTSTR configFileIn = _T("\\SD Card\\PadnosCN3Config.xml");TCHAR configFileOut[MAX_PATH + 1];memset(configFileOut, 0, sizeof(configFileOut));TCHAR* returnedData = new TCHAR[1024 + 1];memset(returnedData, 0, sizeof(returnedData));size_t returnedDataSize = 1024;memset(configFileOut, 0, sizeof(configFileOut));ITCSSAPI_RETURN_TYPE rc = ITCSSConfigFromFile(configFileIn, configFileOut, returnedData, returnedDataSize, 15000);if (rc == E_SS_SUCCESS)AfxMessageBox(_T("IT WORKED"));else if (rc == E_SSAPI_RCV_BUFFER_TOO_SMALL){AfxMessageBox(_T("BUFFER TOO SMALL"));delete [] returnedData;returnedData = new TCHAR[returnedDataSize + 1];memset(returnedData, 0, returnedDataSize + 1);rc = ITCSSConfigFromFile(configFileIn, configFileOut, returnedData, returnedDataSize, 5000);if (rc == E_SS_SUCCESS){AfxMessageBox(_T("IT WORKED"));}delete[] returnedData;}else{CString outputMsg;outputMsg.Format(_T("rc=0x%08x"), rc);AfxMessageBox(outputMsg);}

    LPCTSTR configFileIn = _T("\\SD Card\\CN3Config.xml");

    TCHAR configFileOut[MAX_PATH + 1];

    memset(configFileOut, 0, sizeof(configFileOut));

    TCHAR* returnedData = new TCHAR[1024 + 1];

    memset(returnedData, 0, sizeof(returnedData));

    size_t returnedDataSize = 1024;

    memset(configFileOut, 0, sizeof(configFileOut));

    ITCSSAPI_RETURN_TYPE rc = ITCSSConfigFromFile(configFileIn, configFileOut, returnedData, returnedDataSize, 15000);

    if (rc == E_SS_SUCCESS)

    AfxMessageBox(_T("IT WORKED"));

    else if (rc == E_SSAPI_RCV_BUFFER_TOO_SMALL)

    {

    AfxMessageBox(_T("BUFFER TOO SMALL"));

    delete [] returnedData;

    returnedData = new TCHAR[returnedDataSize + 1];

    memset(returnedData, 0, returnedDataSize + 1);

    rc = ITCSSConfigFromFile(configFileIn, configFileOut, returnedData, returnedDataSize, 15000);

    if (rc == E_SS_SUCCESS)

    {

    AfxMessageBox(_T("IT WORKED"));

    }

    delete[] returnedData;}

    else

    {

    CString outputMsg;

    outputMsg.Format(_T("rc=0x%08x"), rc);

    AfxMessageBox(outputMsg);

    }

    DB:2.53:Need Help With Itcssconfigfromfile 3z


    Hello

    you did not specify the name of the output file.

    From Device_Management_Resource_Kit.chm:

    ITCSSConfigFromFile Sets and gets SmartSystems information on the computer, based on information in a configuration file. ITCSSAPI_RETURN_TYPE ITCSSConfigFromFile(const TCHAR* pInCfgFileName,const TCHAR* pOutCfgFileName,TCHAR* pszReturnedData,size_t *pReturnedDataSize,unsigned long timeOut);

    Parameters pInCfgFileName [in] Pointer to a null-terminated TCHAR string containing the name of the configuration file. pOutCfgFileName [in] Pointer to a null-terminated TCHAR string containing the filename of the retrieved data or the results of the set. pszReturnedData [out] Pointer to a TCHAR string buffer used to store the returned data. pReturnedDataSize [in/out] Pointer to the number of characters that can be stored in the pszReturnedData buffer. If the data to be returned is larger than the pszReturnedData buffer, then pReturnedDataSize will be modified to contain the required size. timeOut [in, optional] Amount of time (in ms) given to connect. Pass in zero to use the default value of 2000 ms. If INDEFINITE_TIMEOUT is used (defined as 4294967295), the call blocks indefinitely until completion.

    LPCTSTR configFileIn = _T("\\SD Card\\PadnosCN3Config.xml");TCHAR configFileOut[MAX_PATH + 1];memset(configFileOut, 0, sizeof(configFileOut));TCHAR* returnedData = new TCHAR[1024 + 1];memset(returnedData, 0, sizeof(returnedData));size_t returnedDataSize = 1024;memset(configFileOut, 0, sizeof(configFileOut));ITCSSAPI_RETURN_TYPE rc = ITCSSConfigFromFile(configFileIn, configFileOut, returnedData, returnedDataSize, 15000);

    change to

    LPCTSTR configFileIn = _T("\\SD Card\\PadnosCN3Config.xml");TCHAR* configFileOut = _T("\\SD Card\\PadnosCN3Config.xm.outl");TCHAR* returnedData = new TCHAR[1024 + 1];memset(returnedData, 0, sizeof(returnedData));size_t returnedDataSize = 1024;memset(configFileOut, 0, sizeof(configFileOut));ITCSSAPI_RETURN_TYPE rc = ITCSSConfigFromFile(configFileIn,configFileOut, returnedData, returnedDataSize, 15000);
    Ensure your xml file has the following form:

    ?xml version="1.0" encoding="UTF-8" ? DevInfo Action="Set" Persist="true" Subsystem Name="SS_Client" Group Name="Location" Field Name="Country"USA/Field /Group /Subsystem /DevInfo

    In contrast to the xml to be used for ITCSSSet, where you have to omiit the ?xml and the Devinfo and /Devinfo lines.
    ~josef



    .....................Don't be lazy, give KUDOS........................-------------==========================--------------See all my tips and tools at hxxp://www.hjgode.de/devand the NEW http://www.hjgode.de/wpcode at google com: http://code.google.com/p/itc-keyboard/http://code.google.com/p/rdesktop-ce/http://code.google.com/p/win-mobile-code/source/browse/#svn%2Ftrunk

  • RELEVANCY SCORE 2.53

    DB:2.53:Dial Peers Issue 8c



    Hello,

           I have the numbers which are 7 digit  8002111,8042222 and they are working good with the below configuration.

    dial-peer voice 800 voip

    description ** Outgoing Calls Toll Fr

    translation-profile incoming dialed

    destination-pattern 98[024].....

    translate-outgoing calling 1

    translate-outgoing called 2

    session protocol sipv2

    session target ipv4:10.21.20.49

    dtmf-relay rtp-nte sip-notify

    codec g711alaw

    no vad

    I also have one more number which is 10 digit 8002490123 and I want my users to be able to dial both the 7 digit and 10 digit numbers.

    How can I make a dialpeer

    DB:2.53:Dial Peers Issue 8c


    T is for interdigit timeout...so when you have match on dial-peer (not exact match in digits ie some digit pattern is matched) that dial-peer waits to see whole entered numbers and then send digits out. It's used in variable length dial-plans...

    So for example in your dial-peer you could enter only 98[024].T and it should work just fine.

    HTH, Dragan

  • RELEVANCY SCORE 2.53

    DB:2.53:Problem Compiling The Simplest Mpi Program xp



    I've installed Visual Studio 2005 and Intel Fortran Compiler 10 in Windows XP...No problems with the instalations...

    I've tryed to run the first program i've found in the book USING MPI (http://www-unix.mcs.anl.gov/mpi/usingmpi/usingmpi-1st/index.html) but it give me an error "Error 1 error LNK2019: unresolved external symbol _MPI_INIT referenced in function _MAIN__ pi.obj

    "

    ...The program is:

    program main

    include 'mpif.h'

    double precision PI25DT

    parameter (PI25DT = 3.141592653589793238462643d0)

    double precision mypi, pi, h, sum, x, f, a

    integer n, myid, numprocs, i, rc

    c function to integrate

    f(a) = 4.d0 / (1.d0 + a*a)

    call MPI_INIT( ierr )

    call MPI_COMM_RANK( MPI_COMM_WORLD, myid, ierr )

    call MPI_COMM_SIZE( MPI_COMM_WORLD, numprocs, ierr )

    print *, "Process ", myid, " of ", numprocs, " is alive"

    sizetype = 1

    sumtype = 2

    10 if ( myid .eq. 0 ) then

    write(6,98)

    98 format('Enter the number of intervals: (0 quits)')

    read(5,99) n

    99 format(i10)

    endif

    call MPI_BCAST(n,1,MPI_INTEGER,0,MPI_COMM_WORLD,ierr)

    c check for quit signal

    if ( n .le. 0 ) goto 30

    c calculate the interval size

    h = 1.0d0/n

    sum = 0.0d0

    do 20 i = myid+1, n, numprocs

    x = h * (dble(i) - 0.5d0)

    sum = sum + f(x)

    20 continue

    mypi = h * sum

    c collect all the partial sums

    call MPI_REDUCE(mypi,pi,1,MPI_DOUBLE_PRECISION,MPI_SUM,0,

    $ MPI_COMM_WORLD,ierr)

    c node 0 prints the answer.

    if (myid .eq. 0) then

    write(6, 97) pi, abs(pi - PI25DT)

    97 format(' pi is approximately: ', F18.16,

    + ' Error is: ', F18.16)

    endif

    goto 10

    30 call MPI_FINALIZE(rc)

    stop

    end

    ...I found the mpif.h and i put it in project directory...but it seems that this is not enough...Looks like it needs more linked files...Any help would be appreciated...Thank you

    DB:2.53:Problem Compiling The Simplest Mpi Program xp


    This program work for sure...It's from the book and in the book's errata nothing that say that program is wrong..Plus this program is put as example on many page from the internet...But it seems that my compilation tools are different..I don't know what's wrong with this program maybe my lack of knowledge for sure...

    But thanks anyway guys...Thank for your time

  • RELEVANCY SCORE 2.53

    DB:2.53:Random View Disconnects, Unable To Reconnect f1



    We are receiving reports of multiple users randomly being disconnected from view, and then when they try to re-connect they receive a black screen and are then disconnected again. The only way to correct it so they can re-connect is by resetting the desktop. The following is a section of the log file on the client. Any help would be appreciated!!

    10/15/2013, 07:36:24.742 LVL:2 RC: 0 MGMT_SYS :CONNECTED (10.2.11.94, 00-0F-01-01-01-00)

    10/15/2013, 07:36:25.038 LVL:2 RC: 0 MGMT_PCOIP_DATA :process_rx: Sending a NO_ECN_SUPPORT pkt to disable L3 ECN support.

    10/15/2013, 07:36:25.038 LVL:2 RC: 0 SERVER :server mailbox: MBX_ACKNOWLEDGE

    10/15/2013, 07:36:25.038 LVL:2 RC: 0 SERVER :connection_complete continuing.

    10/15/2013, 07:36:25.038 LVL:2 RC: 0 MGMT_HDA :soft_hda_host_open: Audio Input Encoding Supported

    10/15/2013, 07:36:25.038 LVL:2 RC: 0 MGMT_HDA :soft_hda_host_open(): Opening soft audio

    10/15/2013, 07:36:25.038 LVL:2 RC: 0 MGMT_IMG :OPEN: Transition 3 into ACTIVE, PRI 0

    10/15/2013, 07:36:25.038 LVL:2 RC: 0 MGMT_IMG :Peer is Software-based. Using video encoding protocol 3.

    10/15/2013, 07:36:25.038 LVL:2 RC: 0 MGMT_IMG :Motion negotiation summary: mec_disable 0, ver_wide_enabled 1, hor_wide_enabled 1, x_min -4096, x_max 4095, y_min -4096, y_max 4095

    10/15/2013, 07:36:25.038 LVL:2 RC: 0 MGMT_IMG :extended img_settings: use_client_settings: 0, build_to_lossless:1, max_frame_rate: 30, smoothness_vs_sharpness: 50

    10/15/2013, 07:36:25.038 LVL:2 RC: 0 MGMT_IMG :CODEC: State change from CODEC_DISABLED to CODEC_CFG_EXCHANGE

    10/15/2013, 07:36:25.038 LVL:2 RC: 0 MGMT_IMG :ACTIVE: EVENT_DDC_DISPLAY_CONNECTED

    10/15/2013, 07:36:25.038 LVL:2 RC: 0 MGMT_IMG :ACTIVE: EVENT_DDC_DISPLAY_CONNECTED

    10/15/2013, 07:36:25.038 LVL:2 RC: 0 MGMT_IMG :ACTIVE: EVENT_DDC_DISPLAY_DISCONNECTED

    10/15/2013, 07:36:25.038 LVL:2 RC: 0 MGMT_IMG :ACTIVE: EVENT_DDC_DISPLAY_DISCONNECTED

    10/15/2013, 07:36:25.038 LVL:2 RC: 0 MGMT_SYS :********************************************************

    10/15/2013, 07:36:25.038 LVL:2 RC: 0 MGMT_SYS :********************************************************

    10/15/2013, 07:36:25.038 LVL:2 RC: 0 MGMT_SYS :SESSION ACTIVE

    10/15/2013, 07:36:25.038 LVL:2 RC: 0 COMMON :TERA_PCOIP: SESSION_EVENT=TERA_MGMT_SYS_SESS_EVENT_ACTIVE

    10/15/2013, 07:36:25.038 LVL:2 RC: 0 SERVER :server main: cb_notify_session_status called (mask 0x8) with tera_disconnect_cause (0x0)

    10/15/2013, 07:36:25.038 LVL:2 RC: 0 SERVER :server main: TERA_MGMT_SYS_SESS_EVENT_ACTIVE.

    10/15/2013, 07:36:25.054 LVL:2 RC: 0 MGMT_IMG :CODEC: Processing MGMT_IMG_APDU_TYPE_CFG_ACK. [pri = 0]

    10/15/2013, 07:36:25.054 LVL:2 RC: 0 MGMT_IMG :cfg_ack_process: processing [1]: MGMT_IMG_APDU_TYPE_QUAD_CFG_ACK - extended

    10/15/2013, 07:36:25.054 LVL:2 RC: 0 MGMT_IMG :Soft client sent no preferred display topology. Using default values for 4 display(s). Forcing topology: 0

    10/15/2013, 07:36:25.070 LVL:2 RC: 0 MGMT_IMG :Native resolution of the client display 0 is 1366x768

    10/15/2013, 07:36:25.070 LVL:2 RC: 0 MGMT_IMG : Display 0 added using native dmt: resolution=1366x768, origin=(0, 0), rotation=0

    10/15/2013, 07:36:25.070 LVL:2 RC: 0 MGMT_IMG :Native resolution of the client display 1 is 1280x1024

    10/15/2013, 07:36:25.070 LVL:2 RC: 0 MGMT_IMG : Display 1 added using native dmt: resolution=1280x1024, origin=(1366, 0), rotation=0

    10/15/2013, 07:36:25.070 LVL:2 RC: 0 MGMT_IMG :Client display 2 is not connected

    10/15/2013, 07:36:25.070 LVL:2 RC: 0 MGMT_IMG :Client display 3 is not connected

    10/15/2013, 07:36:25.070 LVL:2 RC: 0 MGMT_IMG :Topology: valid:1 (res supported:1, no overlap:1, num active displays:2)

    10/15/2013, 07:36:25.070 LVL:2 RC: 0 MGMT_IMG :process_min_max_quality_params: minimum quality is set to 50 [host setting]

    10/15/2013, 07:36:25.070 LVL:2 RC: 0 MGMT_IMG :process_min_max_quality_params: maximum initial quality is set to 90 [host setting]

    10/15/2013, 07:36:25.070 LVL:2 RC: 0 MGMT_IMG :extended img_settings: use_client_settings: 0, build_to_lossless:1, max_frame_rate: 30, smoothness_vs_sharpness: 50

    10/15/2013, 07:36:25.070 LVL:0 RC: 0 IMG_FRONTEND :Calling open display in Tera2 mode.

    10/15/2013, 07:36:25.070 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: connecting to driver: win32 1/0, vmw 0, nv 0/0

    10/15/2013, 07:36:25.070 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: profiling disabled.

    10/15/2013, 07:36:25.070 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: handshake Win32

    10/15/2013, 07:36:25.382 LVL:1 RC: 0 SERVER :InputDevTap_GetKeyboardState @ timer: LEDs = 0xFFFFFFFF == 0x02

    10/15/2013, 07:36:25.382 LVL:1 RC: 0 SERVER :InputDevTap_GetKeyboardState @ timer: typematic [delay 0 == 500] [rate 0 == 33]

    10/15/2013, 07:36:25.617 LVL:1 RC:-500 COMMON :poll_sockets failed to generate 1 callbacks!

    10/15/2013, 07:36:30.851 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: unable to load NvFBC.dll

    10/15/2013, 07:36:30.851 LVL:2 RC: 0 IMG_FRONTEND :Init: ResolutionSet.dll includes SetDisplayTopologyWithRefreshRate() API.

    10/15/2013, 07:36:30.851 LVL:2 RC: 0 IMG_FRONTEND :Init: ResolutionSet.dll includes SyncDisplayTopology() API.

    10/15/2013, 07:36:30.851 LVL:0 RC: 0 IMG_FRONTEND :resync_windows_topology: new api called successfully

    10/15/2013, 07:36:30.851 LVL:0 RC: 0 IMG_FRONTEND :configure_displays: No displays reported, re-trying to get display modes, retries left: 11

    10/15/2013, 07:36:30.851 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:30.898 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:30.945 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:30.960 LVL:0 RC: 0 IMG_FRONTEND :configure_displays: No displays reported, re-trying to get display modes, retries left: 10

    10/15/2013, 07:36:30.992 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:31.038 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:31.070 LVL:0 RC: 0 IMG_FRONTEND :configure_displays: No displays reported, re-trying to get display modes, retries left: 9

    10/15/2013, 07:36:31.085 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:31.132 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:31.179 LVL:0 RC: 0 IMG_FRONTEND :configure_displays: No displays reported, re-trying to get display modes, retries left: 8

    10/15/2013, 07:36:31.179 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:31.226 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:31.273 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:31.288 LVL:0 RC: 0 IMG_FRONTEND :configure_displays: No displays reported, re-trying to get display modes, retries left: 7

    10/15/2013, 07:36:31.320 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:31.367 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:31.398 LVL:0 RC: 0 IMG_FRONTEND :configure_displays: No displays reported, re-trying to get display modes, retries left: 6

    10/15/2013, 07:36:31.413 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:31.460 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:31.507 LVL:0 RC: 0 IMG_FRONTEND :configure_displays: No displays reported, re-trying to get display modes, retries left: 5

    10/15/2013, 07:36:31.507 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:31.554 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:31.601 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:31.617 LVL:0 RC: 0 IMG_FRONTEND :configure_displays: No displays reported, re-trying to get display modes, retries left: 4

    10/15/2013, 07:36:31.648 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:31.695 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:31.726 LVL:0 RC: 0 IMG_FRONTEND :configure_displays: No displays reported, re-trying to get display modes, retries left: 3

    10/15/2013, 07:36:31.742 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:31.788 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:31.835 LVL:0 RC: 0 IMG_FRONTEND :configure_displays: No displays reported, re-trying to get display modes, retries left: 2

    10/15/2013, 07:36:31.835 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:31.882 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:31.929 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:31.945 LVL:0 RC: 0 IMG_FRONTEND :configure_displays: No displays reported, re-trying to get display modes, retries left: 1

    10/15/2013, 07:36:31.976 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:32.023 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:32.054 LVL:0 RC: 0 IMG_FRONTEND :configure_displays: No displays reported, re-trying to get display modes, retries left: 0

    10/15/2013, 07:36:32.070 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:32.117 LVL:0 RC: 0 EXTERN :svga_devtap == svgadevtap: Could not get the Cursor Information

    10/15/2013, 07:36:32.163 LVL:0 RC:-500 IMG_FRONTEND :open_displays(): Failed to configure displays, resetting devtap.

    10/15/2013, 07:36:32.163 LVL:0 RC:-500 MGMT_IMG :cSW_HOST_IPC::enable_frontend failed. 10 retries remaining. Trying again...

    DB:2.53:Random View Disconnects, Unable To Reconnect f1


    When this happens to us now I use Veeam One to remotely end any high memory usage processes such as iexplore.exe and the user is able to reconnect to their session. I believe you can also do this with vCOPS now.

  • RELEVANCY SCORE 2.53

    DB:2.53:Vmware View Can Not Connect The Virtual Desktop a9



    Dear All,

    Some of our laptop can connect the virtual desktop and another one using the same account ,same password ,login the same virtual desktop ,the screen will show black screen .

    I install the operation system again and close firewall of the connection server and the laptop ,it also show black screen .It seems UDP overtime .

    If i use RDP ,it work well .

    How can i solve this issue,Please help me .Thank you very much .

    laptop :Win XP

    virtual desktop:Win XP

    View:5.0

    The Following is the log on laptop .Please refer it .

    08/22/2013, 08:44:43.656 LVL:2 RC: 0 COMMON :-- pcoip_client begins.

    08/22/2013, 08:44:43.656 LVL:2 RC: 0 COMMON :--------------------------

    08/22/2013, 08:44:43.656 LVL:2 RC: 0 COMMON :**** System Info

    08/22/2013, 08:44:43.656 LVL:2 RC: 0 COMMON :Windows XP Service Pack 3 (5.1 build 2600)

    08/22/2013, 08:44:43.656 LVL:2 RC: 0 COMMON :2 processors detected

    08/22/2013, 08:44:43.656 LVL:2 RC: 0 COMMON :Intel or AMD 32 bit

    08/22/2013, 08:44:43.656 LVL:2 RC: 0 COMMON :Intel Pentium

    08/22/2013, 08:44:43.656 LVL:2 RC: 0 COMMON :****

    08/22/2013, 08:44:43.656 LVL:2 RC: 0 COMMON :FOLDER_TEMP = 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\'

    08/22/2013, 08:44:43.656 LVL:2 RC: 0 COMMON :FOLDER_PROGRAM_DATA = 'C:\Documents and Settings\All Users\Application Data\Teradici\'

    08/22/2013, 08:44:43.656 LVL:2 RC: 0 COMMON :FOLDER_LOCAL_APP_DATA = 'C:\Documents and Settings\Administrator\Local Settings\Application Data\Teradici\'

    08/22/2013, 08:44:43.656 LVL:2 RC: 0 COMMON :FOLDER_ROAMING_APP_DATA = 'C:\Documents and Settings\Administrator\Application Data\Teradici\'

    08/22/2013, 08:44:43.656 LVL:2 RC: 0 CLIENT :VMwareVDPPlugin_Init

    08/22/2013, 08:44:43.656 LVL:2 RC: 0 CLIENT :client main: VMwareVDPPlugin_Construct called.

    08/22/2013, 08:44:43.656 LVL:2 RC: 0 MGMT_SYS :CPU supports SSE2 instructions

    08/22/2013, 08:44:43.656 LVL:2 RC: 0 MGMT_SYS :CPU supports SSE3 instructions

    08/22/2013, 08:44:43.656 LVL:2 RC: 0 MGMT_SYS :CPU supports SSSE3 instructions

    08/22/2013, 08:44:43.656 LVL:2 RC: 0 MGMT_SYS :CPU supports SSE4.1 instructions

    08/22/2013, 08:44:43.656 LVL:2 RC: 0 MGMT_SYS :Teradici Corporation (c)2007-2011

    08/22/2013, 08:44:43.656 LVL:2 RC: 0 MGMT_SYS :Software Build ID: soft_pcoip_rc_3_8 3.8.0.9606

    08/22/2013, 08:44:43.656 LVL:2 RC: 0 MGMT_SYS :Software Build date: Jul 28 2011 14:40:29

    08/22/2013, 08:44:43.656 LVL:2 RC: 0 PRI :Tera device family: SOFT_PCOIP_CLIENT

    08/22/2013, 08:44:43.656 LVL:2 RC: 0 PRI :Tera device family: SOFT_PCOIP_CLIENT

    08/22/2013, 08:44:43.671 LVL:2 RC: 0 MGMT_ENV :Environment manager is enabled

    08/22/2013, 08:44:43.671 LVL:0 RC: 0 MGMT_ENV :cTERA_MGMT_CFG::load_client_config_from_stores[1]: Did not process over-rideable pcoip defaults from registry.

    08/22/2013, 08:44:43.671 LVL:0 RC: 0 MGMT_ENV :cTERA_MGMT_CFG::load_client_config_from_stores[2]: Did not process over-rideable admin defaults from registry.

    08/22/2013, 08:44:43.671 LVL:0 RC: 0 MGMT_ENV :cTERA_MGMT_CFG::No configuration file at C:\Documents and Settings\Administrator\Local Settings\Application Data\Teradici\pcoip_client_settings.txt.

    08/22/2013, 08:44:43.671 LVL:0 RC: 0 MGMT_ENV :cTERA_MGMT_CFG::load_client_config_from_stores[3]: Processed config from file C:\Documents and Settings\Administrator\Local Settings\Application Data\Teradici\pcoip_client_settings.txt.

    08/22/2013, 08:44:43.671 LVL:0 RC: 0 MGMT_ENV :cTERA_MGMT_CFG::load_client_config_from_stores[4]: Did not process pcoip policies from registry.

    08/22/2013, 08:44:43.671 LVL:0 RC: 0 MGMT_ENV :cTERA_MGMT_CFG::load_client_config_from_stores[5]: Did not process admin policies from registry.

    08/22/2013, 08:44:43.671 LVL:2 RC: 0 COMMON :Initializing Winsock2

    08/22/2013, 08:44:43.671 LVL:2 RC: 0 COMMON :Complete...

    08/22/2013, 08:44:43.671 LVL:2 RC: 0 SCNET :PCoIP Soft Crypto Module Build ID: trunk 3.5.0.4592

    08/22/2013, 08:44:43.671 LVL:2 RC: 0 SCNET :PCoIP Soft Crypto Module Build Date: Jul 22 2010 10:38:00

    08/22/2013, 08:44:43.781 LVL:2 RC: 0 CERTIFICATE :ca temp file name is C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\86fee138a933ad4c81daf2d34ec9b3a0

    08/22/2013, 08:44:43.781 LVL:0 RC: 0 MGMT_PCOIP_DATA :PCoIP over UDP Mode

    08/22/2013, 08:44:43.781 LVL:2 RC: 0 MGMT_PCOIP_DATA :Reset control block

    08/22/2013, 08:44:43.796 LVL:1 RC: 0 VGMAC :PCoIP socket has been bound to local IP 0.0.0.0 [UDP] port 50002 (bind)

    08/22/2013, 08:44:43.796 LVL:2 RC: 0 MGMT_PCOIP_DATA :UDP port selected is base=50002, range=4096, set=50002

    08/22/2013, 08:44:43.796 LVL:2 RC: 0 RTOS :tera_query_performance_frequency(): initializing - frequency = 3.579545MHz

    08/22/2013, 08:44:43.796 LVL:2 RC: 0 MGMT_IMG :Multi-threaded decoder is enabled (2 threads).

    08/22/2013, 08:44:43.796 LVL:2 RC: 0 IPC :cSW_CLIENT_IPC: Creating client cache (size = 21500, physical memory = 2627MB)

    08/22/2013, 08:44:43.796 LVL:2 RC: 0 MGMT_IMG :CODEC: State change from CODEC_INVALID to CODEC_DISABLED

    08/22/2013, 08:44:43.796 LVL:2 RC: 0 MGMT_HDA :Opening audio playback device

    08/22/2013, 08:44:43.828 LVL:2 RC: 0 MGMT_VCHAN :Config Param: enable_vchan=1

    08/22/2013, 08:44:43.828 LVL:2 RC: 0 MGMT_VCHAN :Config Param: auth_list=

    08/22/2013, 08:44:43.828 LVL:2 RC: 0 MGMT_VCHAN :Config Param: unauth_list=

    08/22/2013, 08:44:43.828 LVL:2 RC: 0 MGMT_VCHAN :Config Param: enable_datagram_logging=0

    08/22/2013, 08:44:43.828 LVL:2 RC: 0 MGMT_VCHAN :Config Param: datagram_logging_num_bytes=32

    08/22/2013, 08:44:43.828 LVL:2 RC: 0 MGMT_VCHAN :Config Param: datagram_logging_channel_name=

    08/22/2013, 08:44:43.828 LVL:2 RC: 0 MGMT_VCHAN :Config Param: callback_logging_timeout=20 ms

    08/22/2013, 08:44:43.828 LVL:2 RC: 0 MGMT_VCHAN :Loading C:\Program Files\VMware\VMware View\Client\bin\mksvchanclient.dll plugin ...

    08/22/2013, 08:44:43.828 LVL:2 RC: 0 MGMT_VCHAN :Loading C:\Program Files\VMware\VMware View\Client\bin\scredir_vchanclient.dll plugin ...

    08/22/2013, 08:44:43.843 LVL:2 RC: 0 MGMT_VCHAN :Loading C:\Program Files\VMware\VMware View\Client\bin\vdp_rdpvcbridge.dll plugin ...

    08/22/2013, 08:44:43.843 LVL:1 RC:-500 MGMT_VCHAN :DLL has no init routine (C:\Program Files\VMware\VMware View\Client\bin\vdp_rdpvcbridge.dll)

    08/22/2013, 08:44:43.843 LVL:2 RC: 0 MGMT_VCHAN :Loading C:\Program Files\VMware\VMware View\Client\bin\pcoip_vchan.dll plugin ...

    08/22/2013, 08:44:43.890 LVL:1 RC: 0 MGMT_VCHAN :Loaded Virtual Channel Plugins:

    08/22/2013, 08:44:43.890 LVL:2 RC: 0 MGMT_VCHAN : --------------------------------------

    08/22/2013, 08:44:43.890 LVL:2 RC: 0 MGMT_VCHAN : VMware_Client: C:\Program Files\VMware\VMware View\Client\bin\pcoip_vchan.dll

    08/22/2013, 08:44:43.890 LVL:2 RC: 0 MGMT_VCHAN : scredir_vchanclient: C:\Program Files\VMware\VMware View\Client\bin\scredir_vchanclient.dll

    08/22/2013, 08:44:43.890 LVL:2 RC: 0 MGMT_VCHAN : mksvchanclient: C:\Program Files\VMware\VMware View\Client\bin\mksvchanclient.dll

    08/22/2013, 08:44:43.890 LVL:2 RC: 0 MGMT_VCHAN : --------------------------------------

    08/22/2013, 08:44:43.890 LVL:2 RC: 0 MGMT_SYS :Boot-up complete

    08/22/2013, 08:44:43.890 LVL:2 RC: 0 VTIMER :vtimer thread is alive

    08/22/2013, 08:44:43.890 LVL:2 RC: 0 MGMT_PERF_MON :tera_mgmt_perf_mon_start: PCoIP Session Statistics Performance Counter is disabled for PCoIP Client

    08/22/2013, 08:44:43.890 LVL:2 RC: 0 MGMT_PERF_MON :tera_mgmt_perf_mon_start: PCoIP Session Statistics Performance Counter is disabled because it is not installed (TeradiciPerf registry driver not found)

    08/22/2013, 08:44:43.890 LVL:2 RC: 0 CLIENT :client main: VMwareVDPPlugin_Construct args=VChan/2EMMR/2Eenable,true,VChan/2EMMR/2Elistener,127/2E0/2E0/2E1/3A1196,VChan/2ERDPAddIns/2Eenabled,true,VChan/2EVMwareAddIns/2Eenabled,true,mks/2Evdp/2Eplugin/2Ewindow,1114510,target/2Ename,172/2E28/2E1/2E1,target/2Eport,4172.

    08/22/2013, 08:44:43.890 LVL:2 RC: 0 CLIENT :client main:VMwareVDPPlugin_Construct: Set session callback.

    08/22/2013, 08:44:43.890 LVL:2 RC: 0 CLIENT :client main: VMwareVDPPlugin_Construct complete.

    08/22/2013, 08:44:43.937 LVL:2 RC: 0 MGMT_DDC :(extract_edid): Found an EDID for display 0

    08/22/2013, 08:44:43.937 LVL:2 RC: 0 MGMT_DDC :(extract_edid): Display 0 topology: 1280x800, position 0,0 rot 0

    08/22/2013, 08:44:43.937 LVL:2 RC: 0 MGMT_DDC :(thread_entry): Display 0 native resolution 1280x800 @ 60 Hz

    08/22/2013, 08:44:44.203 LVL:0 RC: 0 CLIENT :Session Port found as '4172'

    08/22/2013, 08:44:44.203 LVL:0 RC: 0 CLIENT :Session Addr found as '172.28.1.1'

    08/22/2013, 08:44:44.218 LVL:2 RC: 0 PRI :tera_pri_client_set_tag: Version 1 format. ssig_tag is set

    08/22/2013, 08:44:44.218 LVL:2 RC: 0 MGMT_PCOIP_DATA :Tx thread info: bw limit = 0, plateau = 0.0, avg tx = 0.0, avg rx = 0.0 (KBytes/s)

    08/22/2013, 08:44:44.218 LVL:2 RC: 0 PRI :tera_pri_client_set_tag: Client Session ID Tag: '7deeqTkIgjwc'

    08/22/2013, 08:44:44.234 LVL:1 RC: 0 VGMAC :Stat frms: R=000000/000000/000000 T=000000/000000/000000 (A/I/O) Loss=0.00%/0.00% (R/T)

    08/22/2013, 08:44:44.234 LVL:2 RC: 0 MGMT_SYS :Connecting with host (172.28.1.1, 00-00-00-00-00-00)

    08/22/2013, 08:44:44.250 LVL:2 RC: 0 MGMT_SESS :PCoIP session type (PRI: 0)

    08/22/2013, 08:44:44.265 LVL:2 RC: 0 MGMT_SSIG :Initiating session with: (172.28.1.1)

    08/22/2013, 08:44:44.375 LVL:2 RC: 0 MGMT_SCHAN :SSL_get_peer_certificate() ok

    08/22/2013, 08:44:44.375 LVL:2 RC: 0 MGMT_SCHAN :scnet_client_open: Connecting to 172.28.1.1:4172

    08/22/2013, 08:44:44.390 LVL:2 RC: 0 MGMT_SSIG :Local IP address (192.168.10.158)

    08/22/2013, 08:44:44.406 LVL:2 RC: 0 MGMT_SSIG :Session established successfully (172.28.1.1, 00-0F-01-00-01-00, PRI: 0)

    08/22/2013, 08:44:44.406 LVL:2 RC: 0 MGMT_SSIG :Sending to peer: BYE disconnect reason cause (0x406)

    08/22/2013, 08:44:44.406 LVL:2 RC: 0 MGMT_PCOIP_DATA :Negotiated PCoIP data protocol version = 2

    08/22/2013, 08:44:44.406 LVL:2 RC: 0 MGMT_SSIG :Session closure reason cause (device:internal: SSIG negotiation complete - closing TLS connection)

    08/22/2013, 08:44:44.406 LVL:1 RC: 0 VGMAC :Connected the PCoIP socket to peer IP 172.28.1.1 peer [UDP] port 4172

    08/22/2013, 08:44:44.406 LVL:2 RC: 0 MGMT_PCOIP_DATA :tera_mgmt_pcoip_data_open: active=1175.04 target=0 floor=13 ceil=11250 wan=112.5

    08/22/2013, 08:44:44.406 LVL:2 RC: 0 MGMT_HDA :data_mtu_callback: set soft audio MTU to 1176 (given 1196)

    08/22/2013, 08:44:44.406 LVL:2 RC: 0 VGMAC :Setting encryption to AES-GCM-128.

    08/22/2013, 08:44:44.406 LVL:0 RC: 0 VGMAC :PCoIP Cleartext Transport Header Disabled

    08/22/2013, 08:44:44.437 LVL:1 RC:-500 COMMON :tera_sock_select() failed - Invalid argument

    08/22/2013, 08:45:09.156 LVL:2 RC: 0 MGMT_PCOIP_DATA :Tx thread info: round trip time (ms) = 0, variance = 0, rto = 1000

    08/22/2013, 08:45:13.859 LVL:2 RC: 0 RTOS :tera_query_performance_frequency(): frequency is 3.579156MHz

    08/22/2013, 08:45:16.312 LVL:1 RC:-504 MGMT_PCOIP_DATA :Invite packet not acknowledged, aborting session

    08/22/2013, 08:45:16.312 LVL:2 RC: 0 MGMT_PCOIP_DATA :mgmt_pcoip_data_set_media_activation: URBoIP is not used

    08/22/2013, 08:45:16.312 LVL:2 RC: 0 MGMT_SSIG :Request to reset session (PRI: 0)

    08/22/2013, 08:45:16.312 LVL:2 RC: 0 PRI :tera_pri_client_set_tag: Old or MAC format. ssig_tag is set

    08/22/2013, 08:45:16.312 LVL:2 RC: 0 PRI :tera_pri_client_set_tag: Client Session ID Tag: 'ssig:00-0F-01-01-01-00'

    08/22/2013, 08:45:16.312 LVL:2 RC: 0 COMMON :TERA_PCOIP: SESSION_EVENT=TERA_MGMT_SYS_SESS_EVENT_OPEN_TIMEOUT, disconnect cause (0x0)

    08/22/2013, 08:45:16.328 LVL:1 RC: 0 VGMAC :Session stats: Average TX=3.38722e-006 average RX=0 (Mbps) Loss=0.00%/0.00% (R/T)

    08/22/2013, 08:45:16.328 LVL:2 RC: 0 CLIENT :client main: notify_session_status: TERA_MGMT_SYS_SESS_EVENT_OPEN_TIMEOUT.

    08/22/2013, 08:45:16.328 LVL:1 RC:-500 VGMAC :tera_sock_recv() failed - Socket operation on non-socket (10038)!

    08/22/2013, 08:45:16.328 LVL:2 RC: 0 MGMT_SYS :Connect timeout (172.28.1.1, 00-0F-01-00-01-00)

    08/22/2013, 08:45:16.328 LVL:2 RC: 0 CLIENT :notify_session_status: VDP connect code: TIMEOUT (2)

    08/22/2013, 08:45:16.328 LVL:2 RC: 0 VGMAC :PCoIP UDP RX thread exiting

    08/22/2013, 08:45:16.328 LVL:1 RC:-500 MGMT_PCOIP_DATA :INIT: Peer has reset our PCoIP connection. Aborting session ...

    08/22/2013, 08:45:16.328 LVL:2 RC: 0 MGMT_SYS :********************************************************

    08/22/2013, 08:45:16.328 LVL:0 RC: 0 CLIENT :DASetConnectedCb called = 1, connected = 0, error = 2

    08/22/2013, 08:45:16.328 LVL:2 RC: 0 CLIENT :client main: VMwareVDPPlugin_Exit called.

    08/22/2013, 08:45:16.328 LVL:1 RC: 0 COMMON :PCoIP exit

    08/22/2013, 08:45:16.328 LVL:2 RC: 0 MGMT_SYS :********************************************************

    08/22/2013, 08:45:16.328 LVL:2 RC: 0 MGMT_VCHAN :VChanPluginExit: Closing plugin 'VMware_Client'.

    08/22/2013, 08:45:16.328 LVL:2 RC: 0 MGMT_SYS :********************************************************

    08/22/2013, 08:45:16.328 LVL:2 RC: 0 MGMT_SYS :********************************************************

    08/22/2013, 08:45:16.921 LVL:2 RC: 0 MGMT_VCHAN :VChanPluginExit: Plugin 'VMware_Client' is closed.

    08/22/2013, 08:45:16.921 LVL:2 RC: 0 MGMT_VCHAN :VChanPluginExit: Closing plugin 'scredir_vchanclient'.

    08/22/2013, 08:45:16.953 LVL:2 RC: 0 MGMT_VCHAN :VChanPluginExit: Plugin 'scredir_vchanclient' is closed.

    08/22/2013, 08:45:16.953 LVL:2 RC: 0 MGMT_VCHAN :VChanPluginExit: Closing plugin 'mksvchanclient'.

    08/22/2013, 08:45:16.953 LVL:2 RC: 0 MGMT_VCHAN :VChanPluginExit: Plugin 'mksvchanclient' is closed.

    08/22/2013, 08:45:16.953 LVL:1 RC: 0 MGMT_VCHAN := Successfully exited all the VChan plugins

    08/22/2013, 08:45:16.953 LVL:2 RC: 0 CLIENT :client main: VMwareVDPPlugin_Exit complete.

    DB:2.53:Vmware View Can Not Connect The Virtual Desktop a9


    Hi Richard,

    can you tell me which version of View 5.0 incl. Build and View Client your are using? Do you use more than 1 monitor?

    Regards,

    Fred

  • RELEVANCY SCORE 2.53

    DB:2.53:Ora-12535: Tns:Operation Timed Out pm


    Hi Gurus,

    I'm running in Unix Oracle 8.1.7.4.

    When I run a program with limited 10 processes it works OK.

    When I run unlimited(my application) I'm getting for a few files, not all:

    teh: Can't get base directory, RC=-1.
    teh: Unsuccessful completion. Return Code = 5.
    teh: Can't logon to database: bscslhs1, RC=-12535.
    ORA-12535: TNS:operation timed out

    I configured my listner.ora with CONNECT_TIMEOUT_LISTENER=0

    Can you please help me? Please anyone has an idea?

    Many thanks in advance!!!!!

    Edited by: user9044508 on 25-Jan-2010 05:02

    DB:2.53:Ora-12535: Tns:Operation Timed Out pm

    The issue is the process connect to the DB properly handle some files, it works in parallel so when I limit it to work for maximum 10 processes it works fine.

    Only when too many processes stay working or too many are open then I receive this message.

    I configured the init.ora the same as in other environment which the process works fine.

    What problem can it be? (Please notice I'm working in an Unix env).

    Thanks a lot, Marcelo.

  • RELEVANCY SCORE 2.52

    DB:2.52:Problem With Paper Size Errors With Workcentre 3045 Ni - When Printing dc



    Hallo,

    I have a problem with my WorkCentre 3045NI with the paper size which makes me mad. I want to use piper size A4.

    Each time when I try to print a Microsoft Word doccument the printer shows error on the display :

    No suitable paper 024-963

    Latter 8,5x11 ; Plane

    Each time I have to push OK or CANCEL the printing

    You can be sure that I:

    1. Set the paper size and piper type in "Tray settings" , "Main tray" as A4 - 210x297

    2. Set the paper size from "Page layout" menu from MS Word as A4

    3. Set the paper size from the "Printer properties " from "Print menu" as A4

    4. Made a new "Saved settings" where the paper size is again A4

    5. I even tried other version of MS Word

    Each time the error is the same.

    The problem NOT exist on other computers ! I tried - there everything there is OK!

    The problem NOT exist on the most of the PDF printed files.

    First time I have I problem like this.

    Can You Help me! Thank you in advance !

    Hristian Revenski







    Solved!
    Go to Solution.

    DB:2.52:Problem With Paper Size Errors With Workcentre 3045 Ni - When Printing dc

    I revealed the problem - Control Panel, Harduare and sound , Printers , Right click on the printer, Printer preferences - here must be also selected the needed paper and needed settings.

    I still don't know why only on this computer and only on MS Word was the problem.

    Thank you for attention !

  • RELEVANCY SCORE 2.52

    DB:2.52:Convert Code Page Problem 31



    I wanna use following code to convert 'ANSI' format file into 'UTF-8'.

    how to define the variant ' g_codepage' and 'c_unicodecp'.

    i am familiar with the code page.

    thank u

    Kevin

    Data : g_codepage LIKE tcp0c-charco VALUE '1100'.

    CONSTANTS: c_unicodecp(4) VALUE '1105'.

    PERFORM translate_codepage USING g_codepage

    c_unicodecp

    CHANGING T143T.

    FORM translate_codepage USING P_G_CODEPAGE

    P_C_UNICODECP

    CHANGING P_T143T.

    DATA: converter TYPE REF TO cl_abap_conv_obj.

    DATA: l_out TYPE string.

    DATA: l_fromcode TYPE cpcodepage.

    DATA: l_tocode TYPE cpcodepage.

    l_fromcode = P_G_CODEPAGE.

    l_tocode = P_C_UNICODECP.

    CREATE OBJECT converter

    EXPORTING

    incode = l_fromcode

    miss = '.'

    broken = '.'

    use_f1 = 'X'

    outcode = l_tocode

    EXCEPTIONS

    invalid_codepage = 1

    internal_error = 2.

    IF sy-subrc 0.

    CASE sy-subrc.

    WHEN 1.

    MESSAGE ID 'FES' TYPE 'E' NUMBER '024' RAISING unknown_error.

    WHEN 2.

    MESSAGE ID 'FES' TYPE 'E' NUMBER '024' RAISING unknown_error.

    ENDCASE.

    ENDIF.

    CALL METHOD converter-convert

    EXPORTING

    inbuff = P_T143T

    inbufflg = 0

    outbufflg = 0

    IMPORTING

    outbuff = l_out

    EXCEPTIONS

    internal_error = 1

    OTHERS = 2.

    IF sy-subrc 0.

    CASE sy-subrc.

    WHEN 1.

    MESSAGE ID 'FES' TYPE 'E' NUMBER '024' RAISING unknown_error.

    WHEN 2.

    MESSAGE ID 'FES' TYPE 'E' NUMBER '024' RAISING unknown_error.

    ENDCASE.

    ENDIF.

    P_T143T = l_out.

    ENDFORM. " translate_codepage

    Message was edited by:

    Kevin Gao

    DB:2.52:Convert Code Page Problem 31


    I wanna use following code to convert 'ANSI' format file into 'UTF-8'.

    how to define the variant ' g_codepage' and 'c_unicodecp'.

    i am familiar with the code page.

    thank u

    Kevin

    Data : g_codepage LIKE tcp0c-charco VALUE '1100'.

    CONSTANTS: c_unicodecp(4) VALUE '1105'.

    PERFORM translate_codepage USING g_codepage

    c_unicodecp

    CHANGING T143T.

    FORM translate_codepage USING P_G_CODEPAGE

    P_C_UNICODECP

    CHANGING P_T143T.

    DATA: converter TYPE REF TO cl_abap_conv_obj.

    DATA: l_out TYPE string.

    DATA: l_fromcode TYPE cpcodepage.

    DATA: l_tocode TYPE cpcodepage.

    l_fromcode = P_G_CODEPAGE.

    l_tocode = P_C_UNICODECP.

    CREATE OBJECT converter

    EXPORTING

    incode = l_fromcode

    miss = '.'

    broken = '.'

    use_f1 = 'X'

    outcode = l_tocode

    EXCEPTIONS

    invalid_codepage = 1

    internal_error = 2.

    IF sy-subrc 0.

    CASE sy-subrc.

    WHEN 1.

    MESSAGE ID 'FES' TYPE 'E' NUMBER '024' RAISING unknown_error.

    WHEN 2.

    MESSAGE ID 'FES' TYPE 'E' NUMBER '024' RAISING unknown_error.

    ENDCASE.

    ENDIF.

    CALL METHOD converter-convert

    EXPORTING

    inbuff = P_T143T

    inbufflg = 0

    outbufflg = 0

    IMPORTING

    outbuff = l_out

    EXCEPTIONS

    internal_error = 1

    OTHERS = 2.

    IF sy-subrc 0.

    CASE sy-subrc.

    WHEN 1.

    MESSAGE ID 'FES' TYPE 'E' NUMBER '024' RAISING unknown_error.

    WHEN 2.

    MESSAGE ID 'FES' TYPE 'E' NUMBER '024' RAISING unknown_error.

    ENDCASE.

    ENDIF.

    P_T143T = l_out.

    ENDFORM. " translate_codepage

    Message was edited by:

    Kevin Gao

  • RELEVANCY SCORE 2.52

    DB:2.52:Validation Tool Wont Install 18


    I just upgraded a workstation from XP home to XP pro using the XP Pro sp2 Upgrade CD.  The computer came along with a small CPA office acquired by a larger firm with a domain.
    The XP Pro installation processed without error but now I can't install Outlook 2003 with the small business server client software wizard and I can't install any windows updates.  Specifically, it won't install the Windows Genuine Advantage Validation Tool (KB892130)
    Maybe related to the outlook error, maybe not but I thought I'd try to fix this first.
    Here's the diag report from the wgadt.
     
    Appreciate the help.
     
    Greg
     
     
    Diagnostic Report (1.7.0095.0):-----------------------------------------WGA Data--Validation Status: GenuineValidation Code: 0Online Validation Code: N/ACached Validation Code: N/AWindows Product Key: *****-*****-76VCC-6Q9B4-TRKW9Windows Product Key Hash: Hd4fSjjcb0nC2d7RInlAPw6kPNA=Windows Product ID: 76488-024-2364355-22939Windows Product ID Type: 5Windows License Type: RetailWindows OS version: 5.1.2600.2.00010100.2.0.proCSVLK Server: N/ACSVLK PID: N/AID: {045D1E60-A51B-4AB4-AA27-BCC6E5139E19}(1)Is Admin: YesTestCab: 0x0WGA Version: Registered, 1.7.17.0Signed By: MicrosoftProduct Name: N/AArchitecture: N/ABuild lab: N/ATTS Error: N/AValidation Diagnostic: 025D1FF3-171-1Resolution Status: N/A
    WgaER Data--ThreatID(s): N/AVersion: N/A
    WGA Notifications Data--Cached Result: 0File Exists: YesVersion: 1.7.17.0WgaTray.exe Signed By: MicrosoftWgaLogon.dll Signed By: Microsoft
    OGA Notifications Data--Cached Result: N/A, hr = 0x80070002Version: N/A, hr = 0x80070002WGATray.exe Signed By: MicrosoftOGAAddin.dll Signed By: N/A, hr = 0x80070002
    OGA Data--Office Status: 114 Blocked VLK 2Microsoft Office XP Professional with FrontPage - 114 Blocked VLK 2Microsoft Office Outlook 2003 - 100 GenuineOGA Version: N/A, 0x80070002Signed By: N/A, hr = 0x80070002Office Diagnostics: B4D0AA8B-604-645_025D1FF3-171-1
    Browser Data--Proxy settings: N/AUser Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)Default Browser: C:\Program Files\Internet Explorer\iexplore.exeDownload signed ActiveX controls: PromptDownload unsigned ActiveX controls: DisabledRun ActiveX controls and plug-ins: AllowedInitialize and script ActiveX controls not marked as safe: DisabledAllow scripting of Internet Explorer Webbrowser control: DisabledActive scripting: AllowedScript ActiveX controls marked as safe for scripting: Allowed
    File Scan Data--
    Other data--Office Details: GenuineResultsMachineDataUGUID{045D1E60-A51B-4AB4-AA27-BCC6E5139E19}/UGUIDVersion1.7.0095.0/VersionOS5.1.2600.2.00010100.2.0.pro/OSArchitecturex32/ArchitecturePKey*****-*****-*****-*****-TRKW9/PKeyPID76488-024-2364355-22939/PIDPIDType5/PIDTypeSIDS-1-5-21-560980316-1924319675-2712295623/SIDSYSTEMManufacturerDell Inc/ManufacturerModelDimension C521/Model/SYSTEMBIOSManufacturerDell Inc/ManufacturerVersion1.1.2 /VersionSMBIOSVersion major=2 minor=4/Date20061108000000.000000+000/Date/BIOSHWID606D3D9F0184E069/HWIDUserLCID0409/UserLCIDSystemLCID0409/SystemLCIDTimeZonePacific Standard Time(GMT-08:00)/TimeZoneiJoin1/iJoinSBIDstat2/statmsppid/msppidnameDell Dimension DIMC521/namemodel/model/SBIDOEM/BRT//MachineData   SoftwareOfficeResult114/ResultProductsProduct GUID={90280409-6000-11D3-8CFE-0050048383C9}LegitResult114/LegitResultNameMicrosoft Office XP Professional with FrontPage/NameVer10/VerVal39476F84C4B4004/ValHash4iCnywwNW1w4s9ukTIwGMGxyGic=/HashPid54185-640-0000025-17631/PidPidType14/PidType/ProductProduct GUID={90E00409-6000-11D3-8CFE-0150048383C9}LegitResult100/LegitResultNameMicrosoft Office Outlook 2003/NameVer11/VerVal1E62824CA2E7D00/ValHashcb1+zg/NmrK5hd+1rhBnQm1nXZU=/HashPid73930-640-0000077-55557/PidPidType14/PidType/Product/ProductsApplicationsApp Id=15 Version=10 Result=114/App Id=16 Version=10 Result=114/App Id=17 Version=10 Result=114/App Id=18 Version=10 Result=114/App Id=1A Version=10 Result=114/App Id=1B Version=10 Result=114/App Id=1A Version=11 Result=100//Applications/Office/Software/GenuineResults 
     

    DB:2.52:Validation Tool Wont Install 18

    Thank you.  That was the problem.  Seems counterintuitive though.  You'd think the genuine advantage tool would install then tell you that you have an unlicensed Microsoft product rather than just failing and making you dig through a cryptic log.
     
    Wish we could find the techie that sold the pirated copy. 
     
    Greg
     

  • RELEVANCY SCORE 2.51

    DB:2.51:Problems With Document Protocal Parameters For Edi_Edifact In Oracle B2b cp


    Hi All,

    I am using oracle application server integration B2B version 10.1.2. And I am facing following issues while configuring protocol paramters for EDI_EDIFACT document type.
    1. Currently UNA segment is getting displayed with a character '*' and for CEGEDIM[one of our trading partners] its not a valid format. They want the character '*' to be removed from UNA. Please suggest a workaround.

    2. Following is the format where UNB segment is getting displayed by B2B server:
    UNB+UNOA:1+748:ZZ+024:ZZ+121010:1115+1158+ INVOIC+++1' . We have 3 issues here.
    A.There is a space between two '+' signs before the data element INVOIC. How to remove this space?
    B. Value 024 varies from invoice to invoice which is a dynamic value to be passed. How should we handle dynamic values?
    C. Between INVOIC and 1 there is a place for 3 data elements but we want to have just 2 places. How do we remove the extra data element?

    3. Carriage return after each segment in the .dat file that has been generated by B2B server. Is this possible?

    Could you please help me in getting this issue resolved as our UAT is on hold? If anything more required would share the same.

    Thanks in advance,

    Hari Priya.

    DB:2.51:Problems With Document Protocal Parameters For Edi_Edifact In Oracle B2b cp

    Please post your question in the B2B forum for guicker resolutions. The link is provided below

    Integration - B2B

  • RELEVANCY SCORE 2.51

    DB:2.51:Rnr 4.2: Unable To Create Tocfile 7f


    When I try to run a back up, everything goes well until the progress bar reaches 100%, at which point nothing happens. Trying to cancel the backup has no effect. Here is part of the engine.log:Sat May 10 15:41:07 2008 Engine: br_funcs.exe - version is '04.14.200.00'Sat May 10 15:41:07 2008 Verbatim: WriteDriveContents(DriveLetter='C:', Dest='G:\RRbackups', Level=0, SleepCount=0, DeviceType=32, dwOptFlags=0x00000003)Sat May 10 15:42:00 2008 Verbatim: 0x00000003b5277f95 - Space required before compressionSat May 10 15:42:00 2008 Verbatim: 0x00000002d561a593 - Estimated space required after compressionSat May 10 15:42:00 2008 Verbatim: 0x0000000c73090000 - Disk space currently availableSat May 10 15:50:16 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\All Users\Application Data\McAfee\VirusScan\Data\TFR6.tmp' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:52:39 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\Greg\Local Settings\Application Data\Microsoft\Windows\UsrClass.dat' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:52:39 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\Greg\Local Settings\Application Data\Microsoft\Windows\UsrClass.dat.LOG' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:56:56 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\Greg\NTUSER.DAT' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:56:58 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\Greg\NTUSER.DAT.LOG' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:57:01 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\LocalService\Local Settings\Application Data\Microsoft\Windows\UsrClass.dat' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:57:02 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\LocalService\Local Settings\Application Data\Microsoft\Windows\UsrClass.dat.LOG' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:57:02 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\LocalService\NTUSER.DAT' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:57:02 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\LocalService\NTUSER.DAT.LOG' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:57:03 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\NetworkService\Local Settings\Application Data\Microsoft\Windows\UsrClass.dat' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:57:03 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\NetworkService\Local Settings\Application Data\Microsoft\Windows\UsrClass.dat.LOG' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:57:06 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\NetworkService\NTUSER.DAT' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:57:07 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\NetworkService\NTUSER.DAT.LOG' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:57:15 2008 Verbatim: Unable to record short name for 'C:\hiberfil.sys' - WinRC = 0x00000020Sat May 10 15:57:15 2008 Engine: Unable to record attributes for file 'C:\hiberfil.sys' - WinRC = 0x00000020Sat May 10 16:59:29 2008 Engine: CreateFileW failed for file 'C:\WINDOWS\system32\config\default' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 16:59:29 2008 Engine: CreateFileW failed for file 'C:\WINDOWS\system32\config\default.LOG' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 16:59:30 2008 Engine: CreateFileW failed for file 'C:\WINDOWS\system32\config\SAM' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 16:59:32 2008 Engine: CreateFileW failed for file 'C:\WINDOWS\system32\config\SAM.LOG' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 16:59:33 2008 Engine: CreateFileW failed for file 'C:\WINDOWS\system32\config\SECURITY' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 16:59:33 2008 Engine: CreateFileW failed for file 'C:\WINDOWS\system32\config\SECURITY.LOG' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 16:59:33 2008 Engine: CreateFileW failed for file 'C:\WINDOWS\system32\config\software' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 16:59:44 2008 Engine: CreateFileW failed for file 'C:\WINDOWS\system32\config\software.LOG' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 16:59:45 2008 Engine: CreateFileW failed for file 'C:\WINDOWS\system32\config\system' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 16:59:48 2008 Engine: CreateFileW failed for file 'C:\WINDOWS\system32\config\system.LOG' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 17:08:05 2008 Engine: CreateFileW failed for file 'C:\WINDOWS\Temp\mcmsc_wIW3wrddCZiVhPC' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 17:08:08 2008 Engine: CreateFileW failed for file 'C:\WINDOWS\Temp\Perflib_Perfdata_71c.dat' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002...and it continues to produce that message several times per second, for over an hour, until I hit the cancel button:Sat May 10 18:36:37 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 19:10:43 2008 Engine: Received RR_CANCEL from pipe... preparing to abort backupSat May 10 19:10:53 2008 Engine: Received RR_CANCEL from pipe... preparing to abort backupSat May 10 19:11:03 2008 Engine: Received RR_CANCEL from pipe... preparing to abort backupSat May 10 19:11:08 2008 Engine: Received RR_CANCEL from pipe... preparing to abort backupSat May 10 19:11:09 2008 Engine: Received RR_CANCEL from pipe... preparing to abort backup...which continues until I kill the br_funcs process. A few seconds after the process is killed a message box appears saying the backup was cancelled.Her is the rr.log:Sat May 10 15:38:46 2008 RescueRecovery: Running: C:\Program Files\Common Files\Lenovo\msgbox.exe /t=56 /id=26 /icon=wait /wnd=1508706Sat May 10 15:38:46 2008 RescueRecovery: Running: C:\Program Files\Common Files\Lenovo\msgbox.exe /exitSat May 10 15:39:37 2008 RescueRecovery: Loc=32 NoPrimary=0Sat May 10 15:39:37 2008 RescueRecovery: Running: C:\Program Files\Common Files\Lenovo\msgbox.exe /t=56 /id=65 /icon=waitSat May 10 15:39:37 2008 RescueRecovery: BackupThread Started. There are 1 partitions to back upSat May 10 15:39:37 2008 RescueRecovery: Running: C:\Program Files\Lenovo\Rescue and Recovery\instapps.exe /captureSat May 10 15:40:05 2008 RescueRecovery: Running: C:\Program Files\Lenovo\Rescue and Recovery\Migration\bin\r2r.exe /c "C:\SWSHARE\capture.sma"Sat May 10 15:41:06 2008 RescueRecovery: Running: C:\Program Files\Common Files\Lenovo\msgbox.exe /exitSat May 10 15:41:06 2008 RescueRecovery: Running: C:\Program Files\Lenovo\Rescue and Recovery\br_funcs.exe backup level=0 destination="G:\RRbackups" drive=C: location=32 nice=0 pw=1 uuid=0 compress encryptSat May 10 17:08:20 2008 RescueRecovery: Running: C:\Program Files\Common Files\Lenovo\msgbox.exe /t=56 /id=66 /icon=waitSat May 10 18:36:37 2008 RescueRecovery: Running: C:\Program Files\Common Files\Lenovo\msgbox.exe /exitSat May 10 19:10:43 2008 RescueRecovery: Backup CanceledSat May 10 19:10:53 2008 RescueRecovery: Backup CanceledSat May 10 19:11:03 2008 RescueRecovery: Backup CanceledSat May 10 19:11:08 2008 RescueRecovery: Backup Canceled...which continues until I kill the br_funcs process.I've tried this with RnR 4.1 as well, but I get the same problem. Where can I get installers for old versions of RnR?Please help! Any ideas are welcome, thank you.Message Edited by MutantPlatypus on 05-11-2008 02:39 AM

    DB:2.51:Rnr 4.2: Unable To Create Tocfile 7f

    When I try to run a back up, everything goes well until the progress bar reaches 100%, at which point nothing happens. Trying to cancel the backup has no effect. Here is part of the engine.log:Sat May 10 15:41:07 2008 Engine: br_funcs.exe - version is '04.14.200.00'Sat May 10 15:41:07 2008 Verbatim: WriteDriveContents(DriveLetter='C:', Dest='G:\RRbackups', Level=0, SleepCount=0, DeviceType=32, dwOptFlags=0x00000003)Sat May 10 15:42:00 2008 Verbatim: 0x00000003b5277f95 - Space required before compressionSat May 10 15:42:00 2008 Verbatim: 0x00000002d561a593 - Estimated space required after compressionSat May 10 15:42:00 2008 Verbatim: 0x0000000c73090000 - Disk space currently availableSat May 10 15:50:16 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\All Users\Application Data\McAfee\VirusScan\Data\TFR6.tmp' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:52:39 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\Greg\Local Settings\Application Data\Microsoft\Windows\UsrClass.dat' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:52:39 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\Greg\Local Settings\Application Data\Microsoft\Windows\UsrClass.dat.LOG' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:56:56 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\Greg\NTUSER.DAT' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:56:58 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\Greg\NTUSER.DAT.LOG' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:57:01 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\LocalService\Local Settings\Application Data\Microsoft\Windows\UsrClass.dat' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:57:02 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\LocalService\Local Settings\Application Data\Microsoft\Windows\UsrClass.dat.LOG' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:57:02 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\LocalService\NTUSER.DAT' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:57:02 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\LocalService\NTUSER.DAT.LOG' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:57:03 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\NetworkService\Local Settings\Application Data\Microsoft\Windows\UsrClass.dat' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:57:03 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\NetworkService\Local Settings\Application Data\Microsoft\Windows\UsrClass.dat.LOG' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:57:06 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\NetworkService\NTUSER.DAT' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:57:07 2008 Engine: CreateFileW failed for file 'C:\Documents and Settings\NetworkService\NTUSER.DAT.LOG' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 15:57:15 2008 Verbatim: Unable to record short name for 'C:\hiberfil.sys' - WinRC = 0x00000020Sat May 10 15:57:15 2008 Engine: Unable to record attributes for file 'C:\hiberfil.sys' - WinRC = 0x00000020Sat May 10 16:59:29 2008 Engine: CreateFileW failed for file 'C:\WINDOWS\system32\config\default' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 16:59:29 2008 Engine: CreateFileW failed for file 'C:\WINDOWS\system32\config\default.LOG' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 16:59:30 2008 Engine: CreateFileW failed for file 'C:\WINDOWS\system32\config\SAM' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 16:59:32 2008 Engine: CreateFileW failed for file 'C:\WINDOWS\system32\config\SAM.LOG' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 16:59:33 2008 Engine: CreateFileW failed for file 'C:\WINDOWS\system32\config\SECURITY' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 16:59:33 2008 Engine: CreateFileW failed for file 'C:\WINDOWS\system32\config\SECURITY.LOG' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 16:59:33 2008 Engine: CreateFileW failed for file 'C:\WINDOWS\system32\config\software' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 16:59:44 2008 Engine: CreateFileW failed for file 'C:\WINDOWS\system32\config\software.LOG' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 16:59:45 2008 Engine: CreateFileW failed for file 'C:\WINDOWS\system32\config\system' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 16:59:48 2008 Engine: CreateFileW failed for file 'C:\WINDOWS\system32\config\system.LOG' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 17:08:05 2008 Engine: CreateFileW failed for file 'C:\WINDOWS\Temp\mcmsc_wIW3wrddCZiVhPC' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 17:08:08 2008 Engine: CreateFileW failed for file 'C:\WINDOWS\Temp\Perflib_Perfdata_71c.dat' and the reason was not a sharing violation - Windows RC = 0x00000020Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 17:08:20 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002...and it continues to produce that message several times per second, for over an hour, until I hit the cancel button:Sat May 10 18:36:37 2008 Engine: Unable to Create TOCFile 'G:\RRbackups\SIS\C\0\TOCFile' - dwRet = 0x00000501 - Windows RC = 0x00000002Sat May 10 19:10:43 2008 Engine: Received RR_CANCEL from pipe... preparing to abort backupSat May 10 19:10:53 2008 Engine: Received RR_CANCEL from pipe... preparing to abort backupSat May 10 19:11:03 2008 Engine: Received RR_CANCEL from pipe... preparing to abort backupSat May 10 19:11:08 2008 Engine: Received RR_CANCEL from pipe... preparing to abort backupSat May 10 19:11:09 2008 Engine: Received RR_CANCEL from pipe... preparing to abort backup...which continues until I kill the br_funcs process. A few seconds after the process is killed a message box appears saying the backup was cancelled.Her is the rr.log:Sat May 10 15:38:46 2008 RescueRecovery: Running: C:\Program Files\Common Files\Lenovo\msgbox.exe /t=56 /id=26 /icon=wait /wnd=1508706Sat May 10 15:38:46 2008 RescueRecovery: Running: C:\Program Files\Common Files\Lenovo\msgbox.exe /exitSat May 10 15:39:37 2008 RescueRecovery: Loc=32 NoPrimary=0Sat May 10 15:39:37 2008 RescueRecovery: Running: C:\Program Files\Common Files\Lenovo\msgbox.exe /t=56 /id=65 /icon=waitSat May 10 15:39:37 2008 RescueRecovery: BackupThread Started. There are 1 partitions to back upSat May 10 15:39:37 2008 RescueRecovery: Running: C:\Program Files\Lenovo\Rescue and Recovery\instapps.exe /captureSat May 10 15:40:05 2008 RescueRecovery: Running: C:\Program Files\Lenovo\Rescue and Recovery\Migration\bin\r2r.exe /c "C:\SWSHARE\capture.sma"Sat May 10 15:41:06 2008 RescueRecovery: Running: C:\Program Files\Common Files\Lenovo\msgbox.exe /exitSat May 10 15:41:06 2008 RescueRecovery: Running: C:\Program Files\Lenovo\Rescue and Recovery\br_funcs.exe backup level=0 destination="G:\RRbackups" drive=C: location=32 nice=0 pw=1 uuid=0 compress encryptSat May 10 17:08:20 2008 RescueRecovery: Running: C:\Program Files\Common Files\Lenovo\msgbox.exe /t=56 /id=66 /icon=waitSat May 10 18:36:37 2008 RescueRecovery: Running: C:\Program Files\Common Files\Lenovo\msgbox.exe /exitSat May 10 19:10:43 2008 RescueRecovery: Backup CanceledSat May 10 19:10:53 2008 RescueRecovery: Backup CanceledSat May 10 19:11:03 2008 RescueRecovery: Backup CanceledSat May 10 19:11:08 2008 RescueRecovery: Backup Canceled...which continues until I kill the br_funcs process.I've tried this with RnR 4.1 as well, but I get the same problem. Where can I get installers for old versions of RnR?Please help! Any ideas are welcome, thank you.Message Edited by MutantPlatypus on 05-11-2008 02:39 AM

  • RELEVANCY SCORE 2.51

    DB:2.51:Problem With Encryption In C++ And Decryption In Java (Rsa/Sha1/3des) 7k


    I'm encrypting textfiles with c++ (wincrypt) and decrypting with java (jce) but I can't get it right.

    Can anybody help me?

    Here is the code in c++ and java:

    [C++]
    -----------------------------------------------------------------

    #include stdio.h
    #include windows.h
    #include wincrypt.h
    #define ACTION_ENCRYPT 1
    #define ACTION_DECRYPT 2
    //-----------------------------------------------------------------------
    bool Crypt(char * szSource,
    char * szDestination,
    char * szPassword,
    int Operation);
    void writelog(char *);
    //-----------------------------------------------------------------------
    bool Crypt(char * szSource, char * szDestination, char * szPassword, int Operation)
    {

    //-----------------------------------------------------------------------
    const IN_BUFFER_SIZE = 2048;
    const OUT_BUFFER_SIZE = IN_BUFFER_SIZE + 512;
    //-----------------------------------------------------------------------

    HCRYPTPROV hCryptProv;
    HCRYPTKEY hKey;
    HCRYPTHASH hHash;
    //-----------------------------------------------------------------------

    HANDLE hSource, hDest;

    //-----------------------------------------------------------------------
    BYTE pbBuffer[OUT_BUFFER_SIZE];

    bool bFinished;

    DWORD dwByteCount;
    DWORD dwBytesWritten;
    //-----------------------------------------------------------------------
    char Tek_buffer[1024];
    char * Tek_ptr;
    ULONG rc;
    bool Ret_sw;
    //-----------------------------------------------------------------------
    Tek_ptr = Tek_buffer;
    Ret_sw = true;
    hSource = CreateFile(szSource,GENERIC_READ,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL);
    if(hSource == INVALID_HANDLE_VALUE) {
    rc = GetLastError();
    sprintf(Tek_buffer, "E Return from open source file. rc = %1d", rc);
    writelog( Tek_ptr);
    Ret_sw = false;
    goto Clean_up;
    }

    hDest = CreateFile(szDestination,GENERIC_WRITE,0,NULL,OPEN_ALWAYS,FILE_ATTRIBUTE_NORMAL,NULL);
    if(hDest == INVALID_HANDLE_VALUE) {
    rc = GetLastError();
    sprintf(Tek_buffer, "E Return from open destination file. rc = %1d", rc);
    writelog( Tek_ptr);
    Ret_sw = false;
    goto Clean_up;
    }

    if(!CryptAcquireContext(hCryptProv,NULL,NULL,PROV_RSA_FULL,0))
    {
    rc = GetLastError();
    if(rc == NTE_BAD_KEYSET)
    {
    if(!CryptAcquireContext(hCryptProv,NULL,NULL,PROV_RSA_FULL,CRYPT_NEWKEYSET)) {
    rc = GetLastError();
    sprintf(Tek_buffer, "E Acquire context newkeyset rc : %1d", rc);
    writelog(Tek_ptr);
    Ret_sw = false;
    goto Clean_up;
    }
    }
    else {
    sprintf(Tek_buffer, "E Acquire contex rc : %1d", rc);
    writelog(Tek_ptr);
    Ret_sw = false;
    goto Clean_up;
    }
    }

    if(!CryptCreateHash(hCryptProv,CALG_SHA1,0,0,hHash)) {
    rc = GetLastError();
    sprintf(Tek_buffer, "E Create HASH rc: %1d", rc);
    writelog(Tek_ptr);
    Ret_sw = false;
    goto Clean_up;
    }

    if(!CryptHashData(hHash,(BYTE *) szPassword,strlen(szPassword),0)) {
    rc = GetLastError();
    sprintf(Tek_buffer, "E add HASH data to object rc: %1d", rc);
    writelog(Tek_ptr);
    Ret_sw = false;
    goto Clean_up;
    }

    if(!CryptDeriveKey(hCryptProv,CALG_3DES,hHash,0,hKey)) {
    rc = GetLastError();
    sprintf(Tek_buffer, "E Generate crypt. session key rc: %1d", rc);
    writelog(Tek_ptr);
    Ret_sw = false;
    goto Clean_up;
    }

    CryptDestroyHash(hHash);
    hHash = 0;

    if(Operation==ACTION_ENCRYPT)
    {
    do
    {
    rc = ReadFile(hSource,pbBuffer,IN_BUFFER_SIZE,dwByteCount,NULL);
    if (rc == 0) {
    rc = GetLastError();
    sprintf( Tek_buffer, "E Action encrypt read source rc = %1d", rc);
    writelog(Tek_ptr);
    Ret_sw = false;
    goto Clean_up;
    }
    bFinished = (dwByteCount IN_BUFFER_SIZE);

    if (!CryptEncrypt(hKey,0,bFinished,0,pbBuffer,dwByteCount,OUT_BUFFER_SIZE)) {
    rc = GetLastError();
    sprintf(Tek_buffer, "E Function encrypt data rc: %1d", rc);
    writelog(Tek_ptr);
    Ret_sw = false;
    goto Clean_up;
    }

    rc = WriteFile(hDest,pbBuffer,dwByteCount,dwBytesWritten,NULL);
    if ( rc == 0 ) {
    rc = GetLastError();
    sprintf(Tek_buffer, "E Action decrypt write dest rc : %1d", rc);
    writelog(Tek_ptr);
    Ret_sw = false;
    goto Clean_up;
    }
    }while(!bFinished);
    }
    else if(Operation==ACTION_DECRYPT)
    {
    do
    {
    rc = ReadFile(hSource,pbBuffer,IN_BUFFER_SIZE,dwByteCount,NULL);
    if (rc == 0) {
    rc = GetLastError();
    sprintf( Tek_buffer, "E Action decrypt read source rc = %1d", rc);
    writelog(Tek_ptr);
    Ret_sw = false;
    goto Clean_up;
    }

    bFinished = (dwByteCount IN_BUFFER_SIZE);

    if (!CryptDecrypt(hKey,0,bFinished,0,pbBuffer,dwByteCount)) {
    rc = GetLastError();
    sprintf(Tek_buffer, "E Function decrypt data rc: %1d", rc);
    writelog(Tek_ptr);
    Ret_sw = false;
    goto Clean_up;
    }
    rc = WriteFile(hDest,pbBuffer,dwByteCount,dwBytesWritten,NULL);
    if ( rc == 0 ) {
    rc = GetLastError();
    sprintf(Tek_buffer, "E Action decrypt write dest rc : %1d", rc);
    writelog(Tek_ptr);
    Ret_sw = false;
    goto Clean_up;
    }
    } while(!bFinished);
    }
    else
    return false;
    Clean_up:
    if(hSource)
    CloseHandle(hSource);
    if(hDest)
    CloseHandle(hDest);

    if(hKey)
    CryptDestroyKey(hKey);

    if(hHash)
    CryptDestroyHash(hHash);

    if(hCryptProv)
    CryptReleaseContext(hCryptProv,0);
    return Ret_sw;
    }

    [Java]
    -----------------------------------------------------------------
    import java.io.*;
    import java.security.*;
    import java.security.spec.*;
    import javax.crypto.*;
    import javax.crypto.interfaces.*;
    import javax.crypto.spec.*;

    public class SHA3DESdecrypter {
    public static final int DEFAULT_KEY_LENGTH = 24;
    public static final int DEFAULT_MAC_LENGTH = 20;
    public static final int DEFAULT_IV_LENGTH = 8;

    public static void decrypt (String passphrase, String from, String to) throws Exception
    {
    byte [] dataTemp;

    try
    {
    Security.addProvider( new com.sun.crypto.provider.SunJCE() );
    MessageDigest md = MessageDigest.getInstance("SHA-1");
    md.update(passphrase.getBytes());
    // DESedeKeySpec key = new DESedeKeySpec (md.digest());
    // DESedeKeySpec key = new DESedeKeySpec (convertPasswordToKey(passphrase.getBytes()));

    // SecretKeySpec DESedeKey = new SecretKeySpec (key.getKey(), "DESede");

    byte[] iv = new byte[8];

    Cipher cipher = getBlockCipherForDecryption(convertPasswordToKey(passphrase.getBytes()),iv);

    InputStream is = new FileInputStream(from);
    OutputStream os = new FileOutputStream(to);

    byte[] b = new byte[10000];
    int n;
    while((n = is.read(b)) = 0) {
    byte[] b2;
    if(n b.length) {
    b2 = cipher.doFinal(b, 0, n);
    } else {
    b2 = cipher.update(b, 0, n);
    }
    os.write(b2, 0, b2.length);
    }

    is.close();
    os.close();

    } catch (Exception e) {
    throw e;
    }
    }

    public static void main(String[] args) throws Exception
    {
    SHA3DESdecrypter.decrypt ("TEST","c:\\z.2","c:\\z.3");
    }

    private static byte[] convertPasswordToKey(byte[] password)
    {
    try {
    MessageDigest md = MessageDigest.getInstance("SHA1");
    byte[] seed = md.digest(password);

    SecureRandom random = SecureRandom.getInstance("SHA1PRNG");
    random.setSeed(seed);

    byte[] rawkey = new byte[24];
    random.nextBytes(rawkey);
    return rawkey;
    } catch (Exception e) {
    throw new RuntimeException(e);
    }
    }

    private static Cipher getBlockCipherForDecryption(byte[] rawKey, byte[] iv)
    {

    try {
    SecretKeyFactory keygen = SecretKeyFactory.getInstance("DESede");
    DESedeKeySpec keyspec = new DESedeKeySpec(rawKey);
    Key key = keygen.generateSecret(keyspec);
    Cipher cipher = Cipher.getInstance("DESede/CBC/NoPadding");
    IvParameterSpec ivspec = new IvParameterSpec(iv);
    cipher.init(Cipher.DECRYPT_MODE, key, ivspec, SecureRandom.getInstance("SHA1PRNG"));
    return cipher;
    } catch (Exception e) {
    throw new RuntimeException(e);
    }
    }
    }

    DB:2.51:Problem With Encryption In C++ And Decryption In Java (Rsa/Sha1/3des) 7k

    Can anybody help me?no.

    You are using one undocumented method (CryptDeriveKey) to convert a password to a 3DES key on on Windows, and another undocumented method (seed a SHA1PRNG with the SHA1 hash of the password) in Java.

    Why did you think that would work?

    Since you seem to be doing password based encryption, you should probably implement http://www.rfc-editor.org/rfc/rfc2898.txt.

    Fortunately, Java has most of what you need. See the example in http://java.sun.com/j2se/1.5.0/docs/guide/security/jce/JCERefGuide.html#PBEEx

  • RELEVANCY SCORE 2.51

    DB:2.51:Missing File Stw Ped V1 024.Aif jd


    I recently downloaded Mainstage 2 for another laptop. Now when I load concerts with piano and bass sounds it says I am missing files like the one in the subject. How do I find these files to replace them??

    DB:2.51:Missing File Stw Ped V1 024.Aif jd

    I have problem with the exact same file in Logic. I had Garageband installed before I bought Logic from App Store but no Jam Packs. I've downloaded all additional content except Suround content. Since it's about 20GB to be downloaded I'd rather not reinstall everything again.

  • RELEVANCY SCORE 2.50

    DB:2.50:Asm Can't Start ka


    Hi,

    When I reboot my machine, the ASM can't start with this error in the alert.log:

    Mon Oct 16 11:17:26 2006
    NOTE: ASMB process exiting due to lack of ASM file activity
    Mon Oct 16 11:22:01 2006
    Errors in file /opt/oracle/admin/+ASM/bdump/+asm_gmon_7337.trc:
    ORA-29702: error occurred in Cluster Group Service operation
    ORA-29702: error occurred in Cluster Group Service operation
    Mon Oct 16 11:22:01 2006
    GMON: terminating instance due to error 29702
    Instance terminated by GMON, pid = 7337

    I verify the +asm_gmon_7337.trc:
    *** 2006-10-16 11:22:01.822
    2006-10-16 11:22:01.822: [ CSSCLNT]clsssRecvMsg: comm error received, comrc 11, con (0xcc84828), msg (0xbfffdf88), msgl 144
    2006-10-16 11:22:01.833: [ CSSCLNT]clssgsGroupGetStatus: clsssRecvMsg failed 3 1089159408)
    2006-10-16 11:22:01.833: [ CSSCLNT]clssgsGroupGetStatus: returning 8
    kgxgnpstat: received ABORT event from CLSS
    Group services Error [NM abort event ] @ 28019:719
    error 29702 detected in background process
    ORA-29702: error occurred in Cluster Group Service operation

    I find a solution, and I read the Note:363400.1 (metalink) and verify the CSS process, but my install is a single non-rac install.

    See the tests:
    oracle@drcbkplnx2:~ ps -ef | grep css
    root 3242 1 0 10:58 ? 00:00:00 /bin/sh /etc/init.d/init.cssd run
    oracle@drcbkplnx2:~ ps -ef | grep 3242
    root 3242 1 0 10:58 ? 00:00:00 /bin/sh /etc/init.d/init.cssd run
    root 5756 3242 0 10:59 ? 00:00:00 /bin/sleep 30

    My CSS service is not running.
    I starting the CSS service using the following command and this run.
    $cd /etc/init.d
    $./init.cssd start

    After that, I start the ASM normal.

    My problem is, how to do this automaticaly?

    Because my inittab archive is:

    l0:0:wait:/etc/init.d/rc 0
    l1:1:wait:/etc/init.d/rc 1
    l2:2:wait:/etc/init.d/rc 2
    h1:35:respawn:/etc/init.d/init.cssd run /dev/null 21 /dev/null
    l3:3:wait:/etc/init.d/rc 3
    #l4:4:wait:/etc/init.d/rc 4
    l5:5:wait:/etc/init.d/rc 5
    l6:6:wait:/etc/init.d/rc 6

    Somebody can help me?

    DB:2.50:Asm Can't Start ka

    Hi,

    When I reboot my machine, the ASM can't start with this error in the alert.log:

    Mon Oct 16 11:17:26 2006
    NOTE: ASMB process exiting due to lack of ASM file activity
    Mon Oct 16 11:22:01 2006
    Errors in file /opt/oracle/admin/+ASM/bdump/+asm_gmon_7337.trc:
    ORA-29702: error occurred in Cluster Group Service operation
    ORA-29702: error occurred in Cluster Group Service operation
    Mon Oct 16 11:22:01 2006
    GMON: terminating instance due to error 29702
    Instance terminated by GMON, pid = 7337

    I verify the +asm_gmon_7337.trc:
    *** 2006-10-16 11:22:01.822
    2006-10-16 11:22:01.822: [ CSSCLNT]clsssRecvMsg: comm error received, comrc 11, con (0xcc84828), msg (0xbfffdf88), msgl 144
    2006-10-16 11:22:01.833: [ CSSCLNT]clssgsGroupGetStatus: clsssRecvMsg failed 3 1089159408)
    2006-10-16 11:22:01.833: [ CSSCLNT]clssgsGroupGetStatus: returning 8
    kgxgnpstat: received ABORT event from CLSS
    Group services Error [NM abort event ] @ 28019:719
    error 29702 detected in background process
    ORA-29702: error occurred in Cluster Group Service operation

    I find a solution, and I read the Note:363400.1 (metalink) and verify the CSS process, but my install is a single non-rac install.

    See the tests:
    oracle@drcbkplnx2:~ ps -ef | grep css
    root 3242 1 0 10:58 ? 00:00:00 /bin/sh /etc/init.d/init.cssd run
    oracle@drcbkplnx2:~ ps -ef | grep 3242
    root 3242 1 0 10:58 ? 00:00:00 /bin/sh /etc/init.d/init.cssd run
    root 5756 3242 0 10:59 ? 00:00:00 /bin/sleep 30

    My CSS service is not running.
    I starting the CSS service using the following command and this run.
    $cd /etc/init.d
    $./init.cssd start

    After that, I start the ASM normal.

    My problem is, how to do this automaticaly?

    Because my inittab archive is:

    l0:0:wait:/etc/init.d/rc 0
    l1:1:wait:/etc/init.d/rc 1
    l2:2:wait:/etc/init.d/rc 2
    h1:35:respawn:/etc/init.d/init.cssd run /dev/null 21 /dev/null
    l3:3:wait:/etc/init.d/rc 3
    #l4:4:wait:/etc/init.d/rc 4
    l5:5:wait:/etc/init.d/rc 5
    l6:6:wait:/etc/init.d/rc 6

    Somebody can help me?

  • RELEVANCY SCORE 2.50

    DB:2.50:Mqseries - Oracle kz


    Hello,

    I have to set up a link between IBM WebSphere (MQSeries) 6.0 and Oracle 9i on WinXP. I'm using Oracle Procedural Gateway. I've successfully installed and tested the gateway, meaning that I can put and get messages from MQ queue using test scripts. I've also installed Visual Workbench and created a mapping that seems to be working properly (I can get and put messages on MQ queue). The problem is that I[b] can't create a propagation between Oracle and IBM queues (inbound or outbound). When I try to do that by calling dbms_hqadm.schedule_propagation, nothing happens. Querying the DBA_OUTBOUND_SCHEDULES or DBA_INBOUND_SCHEDULES, I can see that propagations have failed, but with no error messages. On the IBM side, though, I get an error "WinNT error 5 from OpenProces".

    I'm sending an excerpt from IBM error logs.

    Any help would be appreciated.

    Regards,
    Marin

    -----------------------------------------------------------------------------
    | |
    | WebSphere MQ First Failure Symptom Report |
    | ========================================= |
    | |
    | Date/Time :- Thu September 13 08:29:00 Central European Standard T |
    | Host Name :- ZGSERVER (Windows XP Build 2600: Service Pack 2) |
    | PIDS :- 5724H7200 |
    | LVLS :- 6.0.0.0 |
    | Product Long Name :- WebSphere MQ for Windows |
    | Vendor :- IBM |
    | Probe Id :- XY485114 |
    | Application Name :- MQM |
    | Component :- xcsDerestrictProcessHandle |
    | SCCS Info :- lib/cs/pc/winnt/amqxsecn.c, 1.109 |
    | Line Number :- 1018 |
    | Build Date :- May 24 2005 |
    | CMVC level :- p000-L050524 |
    | Build Type :- IKAP - (Production) |
    | UserID :- TEST |
    | Process Name :- D:\oracle\ora92\bin\pg4mqs92.exe |
    | Process :- 00000704 |
    | Thread :- 00000001 |
    | Major Errorcode :- xecF_E_UNEXPECTED_SYSTEM_RC |
    | Minor Errorcode :- OK |
    | Probe Type :- MSGAMQ6119 |
    | Probe Severity :- 2 |
    | Probe Description :- AMQ6119: An internal WebSphere MQ error has occurred |
    | (WinNT error 5 from OpenProcess.) |
    | FDCSequenceNumber :- 0 |
    | Comment1 :- WinNT error 5 from OpenProcess. |
    | |
    | Comment2 :- Access is denied. |
    | |
    | |
    -----------------------------------------------------------------------------

    MQM Function Stack
    MQCONN
    trmzstMQCONNX
    zstMQCONN
    zstMQConnect
    zstInitCS
    xcsInitialize
    xcsDerestrictProcessHandle
    xcsFFST

    MQM Trace History
    { InitProcessInitialisation
    -{ xcsReleaseThreadMutexSem
    -} xcsReleaseThreadMutexSem rc=OK
    -{ xcsGetEnvironmentString
    -} xcsGetEnvironmentString rc=xecE_E_ENV_VAR_NOT_FOUND
    -{ xcsGetEnvironmentInteger
    --{ xcsGetEnvironmentString
    --} xcsGetEnvironmentString rc=xecE_E_ENV_VAR_NOT_FOUND
    -} xcsGetEnvironmentInteger rc=xecE_E_ENV_VAR_NOT_FOUND
    } InitProcessInitialisation rc=OK
    { xcsCreateThreadMutexSem
    -{ xcsCloseHandle
    -} xcsCloseHandle rc=Unknown(1)
    } xcsCreateThreadMutexSem rc=OK
    { DLLMain
    -{ MCSInitCriticalSection
    -} MCSInitCriticalSection rc=OK
    -{ InitializeGCS
    --{ MCSInitCriticalSection
    --} MCSInitCriticalSection rc=OK
    -} InitializeGCS rc=OK
    } DLLMain rc=Unknown(1)
    { MQCONN
    -{ trmzstMQCONNX
    --{ MCSGetDefaultThreadModel
    --} MCSGetDefaultThreadModel rc=OK
    --{ IsMTSEnvironment
    --} IsMTSEnvironment rc=OK
    --{ zstMQCONN
    ---{ xcsInitialize
    ----{ xcsRequestThreadMutexSem
    ----} xcsRequestThreadMutexSem rc=OK
    ----{ xcsGetNTUserName
    ----} xcsGetNTUserName rc=OK
    ----{ xcsGetNTOwnerSid
    ----} xcsGetNTOwnerSid rc=OK
    ----{ xcsReleaseThreadMutexSem
    ----} xcsReleaseThreadMutexSem rc=OK
    ----{ xcsUpdateThreadUserDetails
    -----{ xcsGetNTOwnerSid
    -----} xcsGetNTOwnerSid rc=OK
    ----} xcsUpdateThreadUserDetails rc=OK
    ----{ xcsRequestThreadMutexSem
    ----} xcsRequestThreadMutexSem rc=OK
    ----{ xihCheckThreadList
    ----} xihCheckThreadList rc=OK
    ----{ xcsReleaseThreadMutexSem
    ----} xcsReleaseThreadMutexSem rc=OK
    ---} xcsInitialize rc=OK
    ---{ zstMQConnect
    ----{ zstMQConnect_CheckParameters
    -----{ xcsCheckPointer
    -----} xcsCheckPointer rc=OK
    -----{ xcsCheckPointer
    -----} xcsCheckPointer rc=OK
    ----} zstMQConnect_CheckParameters rc=OK
    ----{ zutBlankPad
    ----} zutBlankPad rc=OK
    ----{ zutLockLocalThreads
    -----{ xcsCreateThreadMutexSem
    -----} xcsCreateThreadMutexSem rc=OK
    ----} zutLockLocalThreads rc=OK
    ----{ zutIsItBlank
    ----} zutIsItBlank rc=OK
    ----{ zutCheckQMName
    -----{ zutCheckValidName
    -----} zutCheckValidName rc=OK
    ----} zutCheckQMName rc=OK
    ----{ zutCvtMQName2Str
    ----} zutCvtMQName2Str rc=OK
    ----{ zutQuickInquire
    -----{ xcsGetQMgrLocation
    -----} xcsGetQMgrLocation rc=OK
    ----} zutQuickInquire rc=OK
    ----{ zstGetPCDbyTID
    ----} zstGetPCDbyTID rc=OK
    ----{ zstInitCS
    -----{ xcsInitialize
    ------{ xcsUpdateThreadUserDetails
    -------{ xcsGetNTOwnerSid
    -------} xcsGetNTOwnerSid rc=OK
    ------} xcsUpdateThreadUserDetails rc=OK
    ------{ xcsRequestThreadMutexSem
    ------} xcsRequestThreadMutexSem rc=OK
    ------{ xihCheckThreadList
    ------} xihCheckThreadList rc=OK
    ------{ xcsInitGlobalSecurityData
    -------{ xcsRequestThreadMutexSem
    -------} xcsRequestThreadMutexSem rc=OK
    -------{ xcsGetNTGroupSID
    --------{ xcsTimedLookupAccountName
    --------} xcsTimedLookupAccountName rc=OK
    -------} xcsGetNTGroupSID rc=OK
    -------{ xcsReleaseThreadMutexSem
    -------} xcsReleaseThreadMutexSem rc=OK
    ------} xcsInitGlobalSecurityData rc=OK
    ------{ InitPrivateServices
    -------{ xcsGetEnvironmentString
    -------} xcsGetEnvironmentString rc=xecE_E_ENV_VAR_NOT_FOUND
    -------{ xcsGetEnvironmentString
    -------} xcsGetEnvironmentString rc=xecE_E_ENV_VAR_NOT_FOUND
    -------{ xcsCreateThreadMutexSem
    -------} xcsCreateThreadMutexSem rc=OK
    -------{ xcsForcePSAPILoaded
    -------} xcsForcePSAPILoaded rc=OK
    ------} InitPrivateServices rc=OK
    ------{ xcsDerestrictProcessHandle
    -------{ xcsFFST

    (...)

    Component Dumps (Thread 00000001)
    -------------------------------------

    Environment Variables
    ALLUSERSPROFILE=C:\Documents and Settings\All Users
    CLASSPATH=C:\Program Files\IBM\WebSphere MQ\lib\com.ibm.mqetclient.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\providerutil.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mqjms.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\ldap.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\jta.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\jndi.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\jms.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\connector.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\fscontext.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jar
    CommonProgramFiles=C:\Program Files\Common Files
    COMPUTERNAME=ZGSERVER
    ComSpec=C:\WINDOWS\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    ORACLE_HOME=D:\oracle\ora92
    ORACLE_SID=pg4mqs92
    include=C:\Program Files\IBM\WebSphere MQ\tools\c\include;C:\Program Files\IBM\WebSphere MQ\tools\cplus\include
    JSERV=D:\oracle\ora92/Apache/Jserv/conf
    lib=C:\Program Files\IBM\WebSphere MQ\tools\lib
    MQFT_JAVA_LIB_PATH=C:\Program Files\IBM\WebSphere MQ\java\lib
    MQFT_JRE_BIN_PATH=C:\Program Files\IBM\Eclipse SDK30eclipse\jre\bin
    MQ_JAVA_CAP_PATH=C:\Program Files\IBM\WebSphere MQ\
    MQ_JAVA_DATA_PATH=C:\Program Files\IBM\WebSphere MQ
    MQ_JAVA_INSTALL_PATH=C:\Program Files\IBM\WebSphere MQ\Java
    MQ_JAVA_LIB_PATH=C:\Program Files\IBM\WebSphere MQ\Java\lib
    NUMBER_OF_PROCESSORS=1
    OS=Windows_NT
    Path=C:\Program Files\IBM\WebSphere MQ\Java\lib;D:\oracle\ora92\bin;D:\oracle\orant\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\Program Files\PC Connectivity Solution\;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\IBM\WebSphere MQ\bin;C:\Program Files\IBM\WebSphere MQ\tools\c\samples\bin
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PROCESSOR_ARCHITECTURE=x86
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 79 Stepping 2, AuthenticAMD
    PROCESSOR_LEVEL=15
    PROCESSOR_REVISION=4f02
    ProgramFiles=C:\Program Files
    SystemDrive=C:
    SystemRoot=C:\WINDOWS
    TEMP=C:\WINDOWS\system32\config\SYSTEM~1\LOCALS~1\Temp
    TMP=C:\WINDOWS\system32\config\SYSTEM~1\LOCALS~1\Temp
    USERPROFILE=C:\Documents and Settings\LocalService
    windir=C:\WINDOWS
    WV_GATEWAY_CFG=D:\oracle\ora92\Apache\modplsql\cfg\wdbsvr.app

    DB:2.50:Mqseries - Oracle kz

    Why would you be using propagation when using the procedural gateway?

    Propagations are a concept that applies to the messaging gateway. In fact, for a propagation to work, quite a bit of infrastructure needs to be setup in Oracle. For example, the messaging gateway spawns an external java based process that does the heavy lifting.

    The procedural gateway is designed to allow the MQI metaphor to be extended to the PL/SQL level without the involvement of Streams AQ queues.

    blake

  • RELEVANCY SCORE 2.49

    DB:2.49:No Aac Audio In Premiere Cc 2014.1? [Bug - Resolved] xj



    --- Original post for reference

    I just updated to Premiere CC 2014.1 today.

    I have a set of files that I regularly convert with Handbrake into MP4s with an AAC audio stream. I have had no problems at all with CS6, CC, and CC 2014. But now with CC 2014.1, I get no audio when I import the mp4 files.

    The Project window says it is a "Video" file, not a "Movie" file. The associated icon in the Project window is also missing the waveform on it.

    When I drag it onto the timeline, only the video track appears, as you'd expect. The video alone appears to play back correctly.

    Restarting PP CC 2014.1 did not do anything.

    I loaded up PP CS6 and imported the exact same MP4 file and it works as expected. Windows Media Player has no problem playing the video file with audio either.

    What changed between CC 2014 and CC 2014.1 that could have caused this?

    This is what MediaInfo reports for the file:

    General

    Complete name : D:\temp\Test-MP4.mp4

    Format : MPEG-4

    Format profile : Base Media / Version 2

    Codec ID : mp42

    File size : 45.6 MiB

    Duration : 4mn 46s

    Overall bit rate mode : Variable

    Overall bit rate : 1 334 Kbps

    Encoded date : UTC 2014-10-07 06:48:03

    Tagged date : UTC 2014-10-07 07:18:53

    Writing application : HandBrake 0.9.9 2013052900

    Video

    ID : 1

    Format : AVC

    Format/Info : Advanced Video Codec

    Format profile : Main@L4.0

    Format settings, CABAC : Yes

    Format settings, ReFrames : 4 frames

    Codec ID : avc1

    Codec ID/Info : Advanced Video Coding

    Duration : 4mn 46s

    Bit rate : 1 200 Kbps

    Width : 1 024 pixels

    Height : 576 pixels

    Display aspect ratio : 16:9

    Frame rate mode : Constant

    Frame rate : 25.000 fps

    Color space : YUV

    Chroma subsampling : 4:2:0

    Bit depth : 8 bits

    Scan type : Progressive

    Bits/(Pixel*Frame) : 0.081

    Stream size : 41.1 MiB (90%)

    Writing library : x264 core 130 r2273 b3065e6

    Encoding settings : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=2 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=18 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=abr / mbtree=1 / bitrate=1200 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=20000 / vbv_bufsize=25000 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00

    Encoded date : UTC 2014-10-07 06:48:03

    Tagged date : UTC 2014-10-07 06:48:32

    Color primaries : BT.601 NTSC

    Transfer characteristics : BT.709

    Matrix coefficients : BT.601

    Audio

    ID : 2

    Format : AAC

    Format/Info : Advanced Audio Codec

    Format profile : LC

    Codec ID : 40

    Duration : 4mn 46s

    Bit rate mode : Variable

    Bit rate : 126 Kbps

    Maximum bit rate : 164 Kbps

    Channel(s) : 1 channel

    Channel positions : Front: C

    Sampling rate : 44.1 KHz

    Compression mode : Lossy

    Stream size : 4.31 MiB (9%)

    Encoded date : UTC 2014-10-07 06:48:03

    Tagged date : UTC 2014-10-07 06:48:31

    Thanks!

    Message was edited by: Kevin Monahan

    Reason: there is no Premiere Pro CC 2014.2, you probably mean 2014.1. If not, please PM me.

    DB:2.49:No Aac Audio In Premiere Cc 2014.1? [Bug - Resolved] xj


    Hi wired.au,

    Thanks for this solution.

    wired.au wrote:

    OK ... after I finished my post below about how PP CC 2014.1 would not recognize the mono AAC audio track from my MP4s, I decided to produce the same MP4 again with Handbrake, with a stereo audio track instead.

    It worked. After loading the stereo MP4, I reimported the original mono MP4 that didn't work (without restarting premiere or anything) and the mono audio is now recognized. Looks like there was a strange bug with Premiere Pro CC 2014.1 and mono AAC audio tracks, which got resolved after importing an MP4 with a stereo AAC track for the first time.

    I thought I should leave this here just in case anyone else encounters the same thing.

    Thanks,

    Kevin

  • RELEVANCY SCORE 2.49

    DB:2.49:Help Sb Live 1024 cj


    hi!
    I have an old card: SB li've 024. but i can't find any pack or file with dri'ves for xp.
    can u help me?

    thanks

    didi_bolero

    DB:2.49:Help Sb Live 1024 cj

    You can try to install the mentioned driverpack; although, you may get the can't find hardware error message, since you have the COMPAQ oem SB li've!. I have an older SB Li've! 52 OEM myself and it install fine on the system with the SB Li've! 52 OEM.

    If it doesn't work, you can always try out the Youppax drivers for soundblaster li've! soundcards. Another solution is installing the KX driver for the soundblaster, but it's not working properly for games, but it's great for music/audio.

    ?
    Good luck!

  • RELEVANCY SCORE 2.49

    DB:2.49:Self Test Oracle 8i And 9i xx


    Avail this opportunity

    Would you like to buy the selftest softwares?

    I have the following selftest softwares of 9i at only $40.
    1 Fundamental 1
    2 Fundamental 2
    3 SQL 9i

    I also have the selftest softwares for 8i whose details are as follows.
    All the followings are the exams which are available at only $30:

    1 1z0-001 Oracle: Intro to SQL ,PL/SQL
    2 1z0-023 Oracle8i : Architecture and Administration
    3 1z0-024 Oracle8i: Performance Tuning
    4 1z0-025 Oracle8i: Backup and Recovery
    5 1z0-026 Oracle8i : Network Administration

    Free stuff with the above softwares
    6 Braindumps for 1z0-001 Oracle: Intro to SQL ,PL/SQL.
    7 Braindumps for 1z0-023 Oracle8i : Architecture and Administration
    8 Braindumps for 1z0-024 Oracle8i: Performance Tuning
    9 Braindumps for 1z0-025 Oracle8i: Backup and Recovery
    10 Braindumps for 1z0-026 Oracle8i : Network Administration

    So what are you waiting for. ?

    Remember, just $30 (for all 8i selftests) or $40 (for each of 9i

    selftest) can make a big difference in your preparation for the exam.

    For correspondence, send me an email at sts_oracle@yahoo.com
    and sts_oracle@hotmail.com

    DB:2.49:Self Test Oracle 8i And 9i xx

    Avail this opportunity

    Would you like to buy the selftest softwares?

    I have the following selftest softwares of 9i at only $40.
    1 Fundamental 1
    2 Fundamental 2
    3 SQL 9i

    I also have the selftest softwares for 8i whose details are as follows.
    All the followings are the exams which are available at only $30:

    1 1z0-001 Oracle: Intro to SQL ,PL/SQL
    2 1z0-023 Oracle8i : Architecture and Administration
    3 1z0-024 Oracle8i: Performance Tuning
    4 1z0-025 Oracle8i: Backup and Recovery
    5 1z0-026 Oracle8i : Network Administration

    Free stuff with the above softwares
    6 Braindumps for 1z0-001 Oracle: Intro to SQL ,PL/SQL.
    7 Braindumps for 1z0-023 Oracle8i : Architecture and Administration
    8 Braindumps for 1z0-024 Oracle8i: Performance Tuning
    9 Braindumps for 1z0-025 Oracle8i: Backup and Recovery
    10 Braindumps for 1z0-026 Oracle8i : Network Administration

    So what are you waiting for. ?

    Remember, just $30 (for all 8i selftests) or $40 (for each of 9i

    selftest) can make a big difference in your preparation for the exam.

    For correspondence, send me an email at sts_oracle@yahoo.com
    and sts_oracle@hotmail.com

  • RELEVANCY SCORE 2.49

    DB:2.49:Long Ifand Functon In Excel dz


    Hi, I am trying to write some code in excel that involves a pretty long if/and function. For some reason I cannot get it to work. The code is as follows:
    ActiveCell.FormulaR1C1 = _
    "=IF((AND(RC[-2]=""BARX"",RC[-1]=""EURO"")),""AGCY"",IF((AND(RC[-2]=""BART"",RC[-1]=""GOVT"")),""TRSY"",IF((AND(RC[-2]=""BART"",RC[-1]=""CP"")),""ADN"",IF((AND(RC[-2]=""BARC"",RC[-1]=""CP"")),""CP"",IF((AND(RC[-2]=""BARX"",RC[-1]=""EURO"",RC[14]=""GOVT
    NATIONAL"")),""EUGV"",IF((AND(RC[-2]=""BXSU"",RC[-1]=""IRS"")),""DSWP"",IF((AND(RC[-2]=""BMBS"",RC[-1]=""TBA"")),""MBS"",IF((AND(RC[-2]=""BARX"",RC[-1]=""REPO"")),""USRP"","""")))))))))"

    I dont really know how to shorten the code at all but any help/ideas would be much appreciated!!

    DB:2.49:Long Ifand Functon In Excel dz

    No worries glad to be able to help...
    this includes the additional request, you were very close...
    ActiveCell.FormulaR1C1 = _
    "=IF(AND(RC[-2]=""BARC"",RC[-1]=""CP""),""CP"",IF(RC[-2]=""BART"",IF(RC[-1]=""CP"",""ADN"",IF(AND(RC[-1]=""EURO"",RC[14]""SUPRA-NATIONAL""),""AGCY"",IF(RC[-1]=""GOVT"",""TRSY"",""""))),IF(RC[-2]=""BARX"",IF(AND(RC[-1]=""EURO"",RC[14]=""GOVT
    NATIONAL""),""EUGV"",IF(RC[-1]=""REPO"",""USRP"","""")),IF(AND(RC[-2]=""BMBS"",RC[-1]=""TBA""),""MBS"",IF(AND(RC[-2]=""BXSU"",RC[-1]=""IRS""),""DSWP"","""")))))End Sub"
    Let me know how it goes!

    Rik_UK Please mark the message or messages that answer your question as the "Answer" or vote if a reply has been helpful.

  • RELEVANCY SCORE 2.48

    DB:2.48:Having Problems Playing Games On Windows 7 Rc That Worked Previously On Vista/Xp? ds


    windows 7 RC comes with directx 11 by default and more likely it is missing the directx 9 and 10 files... the best bet to fix this is to download and run the directx web updater so the system would download the missing directx 9 and 10 files since most games were designed using directx 9 and 10... make sure also to download the latest windows 7 drivers for your video (ati or nvidia)

    DB:2.48:Having Problems Playing Games On Windows 7 Rc That Worked Previously On Vista/Xp? ds

    thanks buddyhaven't noticed that because when you install any game it launches the directx web updater by itself at end of installation.

  • RELEVANCY SCORE 2.48

    DB:2.48:Top: User % Half Of Cpu % - Not Running Optimally? 7x


    Hi. I have a 2010 dual-quad core Mac Pro. Am running a molecular dynamics code in parallel (using OpenMPI) on 4 processors, and get the following output from top -o cpu:Processes: 79 total, 6 running, 73 sleeping, 350 threads 12:11:38Load Avg: 4.09, 4.05, 3.24 CPU usage: 24.82% user, 0.23% sys, 74.94% idleSharedLibs: 14M resident, 7832K data, 0B linkedit.MemRegions: 14774 total, 3679M resident, 33M private, 269M shared.PhysMem: 1528M wired, 2253M active, 1103M inactive, 4884M used, 15G free.VM: 203G vsize, 1118M framework vsize, 28393092(0) pageins, 0(0) pageouts.Networks: packets: 111460065/33G in, 127784719/165G out.Disks: 4538291/230G read, 3509593/152G written.PIDCOMMAND %CPU TIME #TH #WQ #POR #MRE RPRVT RSHRD RSIZE VPRVT VSIZE
    24998 lmp_mac 99.9 22:02.64 1/1 024 235 61M9668K 161M+ 175M+ 2611M+
    24997 lmp_mac 99.9 22:02.64 1/1 024 236 59M9668K 172M 186M 2621M
    24999 lmp_mac 99.8 22:02.64 1/1 024 211 54M9668K 59M74M 2509M24996 lmp_mac 98.3 21:58.07 1/1 024 223 59M9668K 171M 185M 2620M
    25019 top 1.0 00:00.62 1/1 028 38 920K 216K 1636K 19M 2379M
    The noteworthy thing (and the focus of my question is that even though the code lmp_mac is running at ~99% on four processors, the reported CPU usage is only ~25%, with ~75% reported as "idle". Since the individual processes hold steady at 99% over long periods of time, I would expect the overall usage and idle percentages to be closer to 50% and 50% when running on 4 processors on a 8-processor machine. Why do you think top reports 75% idle when 4 processes are running at 99%? Has anyone run across a similar issue? Is this some issue with multithreading (e.g. the fact that the lmp_mac code may not use it), or is it just a peculiarity of top on Mac OS X? Thanks,Rob

    DB:2.48:Top: User % Half Of Cpu % - Not Running Optimally? 7x

    Hi. I have a 2010 dual-quad core Mac Pro. Am running a molecular dynamics code in parallel (using OpenMPI) on 4 processors, and get the following output from top -o cpu:Processes: 79 total, 6 running, 73 sleeping, 350 threads 12:11:38Load Avg: 4.09, 4.05, 3.24 CPU usage: 24.82% user, 0.23% sys, 74.94% idleSharedLibs: 14M resident, 7832K data, 0B linkedit.MemRegions: 14774 total, 3679M resident, 33M private, 269M shared.PhysMem: 1528M wired, 2253M active, 1103M inactive, 4884M used, 15G free.VM: 203G vsize, 1118M framework vsize, 28393092(0) pageins, 0(0) pageouts.Networks: packets: 111460065/33G in, 127784719/165G out.Disks: 4538291/230G read, 3509593/152G written.PIDCOMMAND %CPU TIME #TH #WQ #POR #MRE RPRVT RSHRD RSIZE VPRVT VSIZE
    24998 lmp_mac 99.9 22:02.64 1/1 024 235 61M9668K 161M+ 175M+ 2611M+
    24997 lmp_mac 99.9 22:02.64 1/1 024 236 59M9668K 172M 186M 2621M
    24999 lmp_mac 99.8 22:02.64 1/1 024 211 54M9668K 59M74M 2509M24996 lmp_mac 98.3 21:58.07 1/1 024 223 59M9668K 171M 185M 2620M
    25019 top 1.0 00:00.62 1/1 028 38 920K 216K 1636K 19M 2379M
    The noteworthy thing (and the focus of my question is that even though the code lmp_mac is running at ~99% on four processors, the reported CPU usage is only ~25%, with ~75% reported as "idle". Since the individual processes hold steady at 99% over long periods of time, I would expect the overall usage and idle percentages to be closer to 50% and 50% when running on 4 processors on a 8-processor machine. Why do you think top reports 75% idle when 4 processes are running at 99%? Has anyone run across a similar issue? Is this some issue with multithreading (e.g. the fact that the lmp_mac code may not use it), or is it just a peculiarity of top on Mac OS X? Thanks,Rob

  • RELEVANCY SCORE 2.48

    DB:2.48:Error Update Progress Dblink d7


    Hello !

    I'd like ask help for this community to discover a problem when oracle try to make a update in Database Progress.

    I configured everythinkg (HS, LISTENER ETC ETC) and Do a select with sucess !

    The problem is when I try some update (SELECT WORK NO PROBLEM)

    UPDATE pub.empresa@dbems2cad cad SET cad.cep = 'TESTE'

    ERROR :

    ORA-00904: "CAD"."CEP": identificador invlido

    I posted a trace file to help analys.

    Oracle Corporation --- SEGUNDA-FEIRA MAR 04 2013 10:14:20.947

    Heterogeneous Agent Release
    11.2.0.2.0

    Oracle Corporation --- SEGUNDA-FEIRA MAR 04 2013 10:14:20.946

    Version 11.2.0.2.0

    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "debug"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
    setting HS_IDLE_TIMEOUT to default of 0
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "UCS2"
    setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
    setting HS_FDS_DATE_MAPPING to default of "DATE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
    setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
    setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    Default value of 32 assumed for HS_FDS_SQLLEN_INTERPRETATION
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
    setting HS_FDS_DELAYED_OPEN to default of "TRUE"
    setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
    ORACLE_SID is "ems2cad"
    Product-Info:
    Port Rls/Upd:2/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.2.0.2.0_0008, Instance:ems2cad
    Exiting hgogprd, rc=0
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=178
    HOCXU_DRV_NCHAR=1000
    HOCXU_DB_CSET=873
    HS_LANGUAGE not specified
    rc=1000 attempting to get LANG environment variable.
    HOCXU_SEM_VER=112000
    Entered hgolofn at 2013/03/04-10:14:22
    Exiting hgolofn, rc=0 at 2013/03/04-10:14:22
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
    HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
    HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
    HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
    HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
    Invalid value of 32 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2013/03/04-10:14:23
    Entered hgolgon at 2013/03/04-10:14:23
    reco:0, name:sysprogress, tflag:0
    Entered hgosuec at 2013/03/04-10:14:23
    Exiting hgosuec, rc=0 at 2013/03/04-10:14:23
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
    HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using sysprogress as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2013/03/04-10:14:23
    HS_FDS_CONNECT_INFO = "ems2cad"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2013/03/04-10:14:23
    dsn:ems2cad, name:sysprogress
    optn:
    Entered hgocip at 2013/03/04-10:14:23
    dsn:ems2cad
    Exiting hgocip, rc=0 at 2013/03/04-10:14:24
    Exiting hgogenconstr, rc=0 at 2013/03/04-10:14:24
    Entered hgolosf at 2013/03/04-10:14:25
    Exiting hgolosf, rc=0 at 2013/03/04-10:14:25
    DriverName:pgoe1025.dll, DriverVer:06.12.0086 (B0127, U0064)
    DBMS Name:OPENEDGE, DBMS Version:10.2B07
    Exiting hgocont, rc=0 at 2013/03/04-10:14:25
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 32 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2013/03/04-10:14:25
    Entered hgoulcp at 2013/03/04-10:14:25
    Entered hgowlst at 2013/03/04-10:14:25
    Exiting hgowlst, rc=0 at 2013/03/04-10:14:25
    SQLGetInfo returns 0x1f for SQL_OWNER_USAGE
    TXN Capable:2, Isolation Option:0xf
    SQLGetInfo returns 32 for SQL_MAX_SCHEMA_NAME_LEN
    SQLGetInfo returns 32 for SQL_MAX_TABLE_NAME_LEN
    SQLGetInfo returns 32 for SQL_MAX_PROCEDURE_NAME_LEN
    SQLGetInfo returns " (0x22) for SQL_IDENTIFIER_QUOTE_CHAR
    SQLGetInfo returns Y for SQL_COLUMN_ALIAS
    3 instance capabilities will be uploaded
    capno:1989, context:0x00000000, add-info: 0
    capno:1991, context:0x0001ffff, add-info: 0
    capno:1992, context:0x0001ffff, add-info: 0
    Exiting hgoulcp, rc=0 at 2013/03/04-10:14:26
    Entered hgouldt at 2013/03/04-10:14:26
    NO instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2013/03/04-10:14:26
    Entered hgobegn at 2013/03/04-10:14:26
    tflag:0 , initial:1
    hoi:0x18f05c, ttid (len 20) is ...
    00: 58452E63 30636536 3530612E 342E3136 [XE.c0ce650a.4.16]
    10: 2E333131 [.311]
    tbid (len 17) is ...
    00: 58455B34 2E31362E 3331315D 5B312E34 [XE[4.16.311][1.4]
    10: 5D []]
    Exiting hgobegn, rc=0 at 2013/03/04-10:14:26
    Entered hgodtab at 2013/03/04-10:14:26
    count:1
    table: PUB.EMPRESA
    Allocate hoada[0] @ 03C7CC84
    Entered hgopcda at 2013/03/04-10:14:26
    Column:1(ep-codigo): dtype:4 (INTEGER), prc/scl:10/0, nullbl:0, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:26
    Entered hgopcda at 2013/03/04-10:14:26
    Column:2(nome): dtype:12 (VARCHAR), prc/scl:140/0, nullbl:0, octet:140, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:26
    Entered hgopcda at 2013/03/04-10:14:26
    Column:3(razao-social): dtype:12 (VARCHAR), prc/scl:80/0, nullbl:0, octet:80, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:26
    Entered hgopcda at 2013/03/04-10:14:27
    Column:4(endereco): dtype:12 (VARCHAR), prc/scl:70/0, nullbl:0, octet:70, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:27
    Entered hgopcda at 2013/03/04-10:14:27
    Column:5(cep): dtype:12 (VARCHAR), prc/scl:24/0, nullbl:0, octet:24, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:27
    Entered hgopcda at 2013/03/04-10:14:27
    Column:6(cidade): dtype:12 (VARCHAR), prc/scl:50/0, nullbl:0, octet:50, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:27
    Entered hgopcda at 2013/03/04-10:14:27
    Column:7(uf): dtype:12 (VARCHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:27
    Entered hgopcda at 2013/03/04-10:14:27
    Column:8(cgc): dtype:12 (VARCHAR), prc/scl:38/0, nullbl:0, octet:38, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:27
    Entered hgopcda at 2013/03/04-10:14:27
    Column:9(inscr-estad): dtype:12 (VARCHAR), prc/scl:38/0, nullbl:0, octet:38, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:27
    Entered hgopcda at 2013/03/04-10:14:27
    Column:10(usa-reduzida): dtype:-7 (BIT), prc/scl:1/0, nullbl:0, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:27
    Entered hgopcda at 2013/03/04-10:14:27
    Column:11(encer-semest): dtype:-7 (BIT), prc/scl:1/0, nullbl:0, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:27
    Entered hgopcda at 2013/03/04-10:14:27
    Column:12(prim-pg-diar): dtype:4 (INTEGER), prc/scl:10/0, nullbl:0, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:28
    Entered hgopcda at 2013/03/04-10:14:28
    Column:13(ult-pg-diar): dtype:4 (INTEGER), prc/scl:10/0, nullbl:0, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:28
    Entered hgopcda at 2013/03/04-10:14:28
    Column:14(prox-pg-diar): dtype:4 (INTEGER), prc/scl:10/0, nullbl:0, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:28
    Entered hgopcda at 2013/03/04-10:14:28
    Column:15(ct-luc-perda): dtype:12 (VARCHAR), prc/scl:16/0, nullbl:1, octet:16, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:28
    Entered hgopcda at 2013/03/04-10:14:28
    Column:16(sc-luc-perda): dtype:12 (VARCHAR), prc/scl:16/0, nullbl:1, octet:16, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:28
    Entered hgopcda at 2013/03/04-10:14:28
    Column:17(ultima-reduz): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:28
    Entered hgopcda at 2013/03/04-10:14:28
    Column:18(apur-luc-per): dtype:-7 (BIT), prc/scl:1/0, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:28
    Entered hgopcda at 2013/03/04-10:14:28
    Column:19(moeda-fasb): dtype:4 (INTEGER), prc/scl:10/0, nullbl:0, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:28
    Entered hgopcda at 2013/03/04-10:14:28
    Column:20(tab-prev-inf): dtype:12 (VARCHAR), prc/scl:14/0, nullbl:1, octet:14, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:28
    Entered hgopcda at 2013/03/04-10:14:28
    Column:21(cd-termo-abe): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:28
    Entered hgopcda at 2013/03/04-10:14:28
    Column:22(cd-termo-enc): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:28
    Entered hgopcda at 2013/03/04-10:14:28
    Column:23(moeda-BTN): dtype:4 (INTEGER), prc/scl:10/0, nullbl:0, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:28
    Entered hgopcda at 2013/03/04-10:14:28
    Column:24(tp-variacao): dtype:4 (INTEGER), prc/scl:10/0, nullbl:0, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:29
    Entered hgopcda at 2013/03/04-10:14:29
    Column:25(mo-monetaria): dtype:4 (INTEGER), prc/scl:10/0, nullbl:0, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:29
    Entered hgopcda at 2013/03/04-10:14:29
    Column:26(contab-estat): dtype:12 (VARCHAR), prc/scl:54/0, nullbl:0, octet:54, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:29
    Entered hgopcda at 2013/03/04-10:14:29
    Column:27(ins-municipal): dtype:12 (VARCHAR), prc/scl:38/0, nullbl:1, octet:38, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:29
    Entered hgopcda at 2013/03/04-10:14:29
    Column:28(cmi-prim-ult): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:29
    Entered hgopcda at 2013/03/04-10:14:29
    Column:29(data-inicio): dtype:91 (DATE), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:29
    Entered hgopcda at 2013/03/04-10:14:29
    Column:30(data-fim): dtype:91 (DATE), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:29
    Entered hgopcda at 2013/03/04-10:14:29
    Column:31(ano-corrente): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:29
    Entered hgopcda at 2013/03/04-10:14:29
    Column:32(moeda-orcam): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:29
    Entered hgopcda at 2013/03/04-10:14:29
    Column:33(Endereco-2): dtype:12 (VARCHAR), prc/scl:80/0, nullbl:1, octet:80, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:30
    Entered hgopcda at 2013/03/04-10:14:30
    Column:34(e-mail): dtype:12 (VARCHAR), prc/scl:80/0, nullbl:1, octet:80, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:30
    Entered hgopcda at 2013/03/04-10:14:30
    Column:35(home-page): dtype:12 (VARCHAR), prc/scl:80/0, nullbl:1, octet:80, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:30
    Entered hgopcda at 2013/03/04-10:14:30
    Column:36(bairro): dtype:12 (VARCHAR), prc/scl:60/0, nullbl:1, octet:60, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:30
    Entered hgopcda at 2013/03/04-10:14:30
    Column:37(conta-lucros-perdas): dtype:12 (VARCHAR), prc/scl:34/0, nullbl:1, octet:34, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:30
    Entered hgopcda at 2013/03/04-10:14:30
    Column:38(pais): dtype:12 (VARCHAR), prc/scl:40/0, nullbl:1, octet:40, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:30
    Entered hgopcda at 2013/03/04-10:14:30
    Column:39(niv-mais-bai): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:30
    Entered hgopcda at 2013/03/04-10:14:30
    Column:40(char-1): dtype:12 (VARCHAR), prc/scl:200/0, nullbl:1, octet:200, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:30
    Entered hgopcda at 2013/03/04-10:14:30
    Column:41(char-2): dtype:12 (VARCHAR), prc/scl:200/0, nullbl:1, octet:200, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:30
    Entered hgopcda at 2013/03/04-10:14:30
    Column:42(dec-1): dtype:2 (NUMERIC), prc/scl:23/8, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:30
    Entered hgopcda at 2013/03/04-10:14:30
    Column:43(dec-2): dtype:2 (NUMERIC), prc/scl:23/8, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:30
    Entered hgopcda at 2013/03/04-10:14:30
    Column:44(int-1): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:30
    Entered hgopcda at 2013/03/04-10:14:31
    Column:45(int-2): dtype:4 (INTEGER), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:31
    Entered hgopcda at 2013/03/04-10:14:31
    Column:46(log-1): dtype:-7 (BIT), prc/scl:1/0, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:31
    Entered hgopcda at 2013/03/04-10:14:31
    Column:47(log-2): dtype:-7 (BIT), prc/scl:1/0, nullbl:1, octet:0, sign:1, radix:10
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:31
    Entered hgopcda at 2013/03/04-10:14:31
    Column:48(data-1): dtype:91 (DATE), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:31
    Entered hgopcda at 2013/03/04-10:14:31
    Column:49(data-2): dtype:91 (DATE), prc/scl:10/0, nullbl:1, octet:0, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:31
    Entered hgopcda at 2013/03/04-10:14:31
    Column:50(cod-imagem-emp): dtype:12 (VARCHAR), prc/scl:60/0, nullbl:1, octet:60, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:31
    Entered hgopcda at 2013/03/04-10:14:31
    Column:51(telefone): dtype:12 (VARCHAR), prc/scl:64/0, nullbl:1, octet:64, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:31
    Entered hgopcda at 2013/03/04-10:14:31
    Column:52(check-sum): dtype:12 (VARCHAR), prc/scl:40/0, nullbl:1, octet:40, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:31
    Entered hgopcda at 2013/03/04-10:14:31
    Column:53(endereco_text): dtype:12 (VARCHAR), prc/scl:4000/0, nullbl:1, octet:4000, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2013/03/04-10:14:31
    The hoada for table PUB.EMPRESA follows...
    hgodtab, line 1092: Printing hoada @ 03C7CC84
    MAX:53, ACTUAL:53, BRC:1, WHT=6 (TABLE_DESCRIBE)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR,0x20:NEGATIVE_HOADADTY)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    4 INTEGER N 4 4 0/ 0 0 0 0 ep-codigo
    12 VARCHAR N 140 140 0/ 0 0 0 200 nome
    12 VARCHAR N 80 80 0/ 0 0 0 200 razao-social
    12 VARCHAR N 70 70 0/ 0 0 0 200 endereco
    12 VARCHAR N 24 24 0/ 0 0 0 200 cep
    12 VARCHAR N 50 50 0/ 0 0 0 200 cidade
    12 VARCHAR N 8 8 0/ 0 0 0 200 uf
    12 VARCHAR N 38 38 0/ 0 0 0 200 cgc
    12 VARCHAR N 38 38 0/ 0 0 0 200 inscr-estad
    -7 BIT N 1 1 0/ 0 0 0 20 usa-reduzida
    -7 BIT N 1 1 0/ 0 0 0 20 encer-semest
    4 INTEGER N 4 4 0/ 0 0 0 0 prim-pg-diar
    4 INTEGER N 4 4 0/ 0 0 0 0 ult-pg-diar
    4 INTEGER N 4 4 0/ 0 0 0 0 prox-pg-diar
    12 VARCHAR Y 16 16 0/ 0 0 0 200 ct-luc-perda
    12 VARCHAR Y 16 16 0/ 0 0 0 200 sc-luc-perda
    4 INTEGER Y 4 4 0/ 0 0 0 0 ultima-reduz
    -7 BIT Y 1 1 0/ 0 0 0 20 apur-luc-per
    4 INTEGER N 4 4 0/ 0 0 0 0 moeda-fasb
    12 VARCHAR Y 14 14 0/ 0 0 0 200 tab-prev-inf
    4 INTEGER Y 4 4 0/ 0 0 0 0 cd-termo-abe
    4 INTEGER Y 4 4 0/ 0 0 0 0 cd-termo-enc
    4 INTEGER N 4 4 0/ 0 0 0 0 moeda-BTN
    4 INTEGER N 4 4 0/ 0 0 0 0 tp-variacao
    4 INTEGER N 4 4 0/ 0 0 0 0 mo-monetaria
    12 VARCHAR N 54 54 0/ 0 0 0 200 contab-estat
    12 VARCHAR Y 38 38 0/ 0 0 0 200 ins-municipal
    4 INTEGER Y 4 4 0/ 0 0 0 0 cmi-prim-ult
    91 DATE Y 16 16 0/ 0 0 0 0 data-inicio
    91 DATE Y 16 16 0/ 0 0 0 0 data-fim
    4 INTEGER Y 4 4 0/ 0 0 0 0 ano-corrente
    4 INTEGER Y 4 4 0/ 0 0 0 0 moeda-orcam
    12 VARCHAR Y 80 80 0/ 0 0 0 200 Endereco-2
    12 VARCHAR Y 80 80 0/ 0 0 0 200 e-mail
    12 VARCHAR Y 80 80 0/ 0 0 0 200 home-page
    12 VARCHAR Y 60 60 0/ 0 0 0 200 bairro
    12 VARCHAR Y 34 34 0/ 0 0 0 200 conta-lucros-perdas
    12 VARCHAR Y 40 40 0/ 0 0 0 200 pais
    4 INTEGER Y 4 4 0/ 0 0 0 0 niv-mais-bai
    12 VARCHAR Y 200 200 0/ 0 0 0 200 char-1
    12 VARCHAR Y 200 200 0/ 0 0 0 200 char-2
    3 DECIMAL Y 26 26 23/ 8 0 0 0 dec-1
    3 DECIMAL Y 26 26 23/ 8 0 0 0 dec-2
    4 INTEGER Y 4 4 0/ 0 0 0 0 int-1
    4 INTEGER Y 4 4 0/ 0 0 0 0 int-2
    -7 BIT Y 1 1 0/ 0 0 0 20 log-1
    -7 BIT Y 1 1 0/ 0 0 0 20 log-2
    91 DATE Y 16 16 0/ 0 0 0 0 data-1
    91 DATE Y 16 16 0/ 0 0 0 0 data-2
    12 VARCHAR Y 60 60 0/ 0 0 0 200 cod-imagem-emp
    12 VARCHAR Y 64 64 0/ 0 0 0 200 telefone
    12 VARCHAR Y 40 40 0/ 0 0 0 200 check-sum
    12 VARCHAR Y 4000 4000 0/ 0 0 0 200 endereco_text
    Exiting hgodtab, rc=0 at 2013/03/04-10:14:33
    Entered hgodafr, cursor id 0 at 2013/03/04-10:14:33
    Free hoada @ 03C7CC84
    Exiting hgodafr, rc=0 at 2013/03/04-10:14:33
    HS Agent received unexpected RPC disconnect
    Network error 1003: NCR-01003: NCRS: Erro na leitura.
    Entered hgoroll at 2013/03/04-10:15:44
    tflag:0 , cmt(38):Unexpected EOF from Oracle - Rollback
    hoi:0x3c63c10, ttid (len 20) is ...
    00: 58452E63 30636536 3530612E 342E3136 [XE.c0ce650a.4.16]
    10: 2E333131 [.311]
    tbid (len 17) is ...
    00: 58455B34 2E31362E 3331315D 5B312E34 [XE[4.16.311][1.4]
    10: 5D []]
    Entered hgocpctx at 2013/03/04-10:15:44
    Exiting hgocpctx, rc=0 at 2013/03/04-10:15:45
    Exiting hgoroll, rc=0 at 2013/03/04-10:15:45
    Entered hgolgof at 2013/03/04-10:15:45
    tflag:0
    Exiting hgolgof, rc=0 at 2013/03/04-10:15:45
    Entered hgoexit at 2013/03/04-10:15:45
    Exiting hgoexit, rc=0

    DB:2.48:Error Update Progress Dblink d7

    UPDATE pub.empresa@dbems2cad cad SET "cep" = 'TESTE' ;

    Worked to me !

    Just wondering, are there a way to dblink put automaticaly "" in field cep to avoid change my update statment ?

    Thanks man !

    Edited by: 989076 on 04/03/2013 06:40

  • RELEVANCY SCORE 2.47

    DB:2.47:Numbers Table Explanation a8


    Hi,

    I'm new to T-SQL and programming in general, and had a question regarding some code used to generate a numbers table. I realize there is more than one way to do this, I am curious as to what the statement

    SELECT n @rc does. To me it appears it is
    simply placing the contents of the @rc variable into the single column table, but I'm
    not sure.

    When I
    change the statement SET @rc = @rc * 2 to
    SET @rc = @rc * 4 I get the following results

    n
    -----------
    1
    2

    n
    -----------
    1
    2
    5
    6

    n
    -----------
    1
    2
    5
    6
    17
    18
    21
    22

    I'm not quite understanding why the table contains the numbers 1, 2, 3 ,4

    n
    -----------
    1
    2

    n
    -----------
    1
    2
    3
    4

    when to me it appears like the table should contain

    n
    ------------
    1
    2
    4
    8

    etc

    help
    would be appreciated, thanks

    example with SET @rc = @rc * 2 below
    IF OBJECT_ID('dbo.Nums', 'U') IS NOT NULL

    DROP TABLE dbo.Nums;

    CREATE TABLE dbo.Nums(n INT NOT NULL PRIMARY KEY);

    DECLARE @max AS INT, @rc AS INT;

    SET @max = 100;
    SET @rc = 1;

    INSERT INTO dbo.Nums(n) VALUES(1);

    WHILE @rc * 2 = @max

    BEGIN

    INSERT INTO dbo.Nums(n)
    SELECT n @rc

    FROM dbo.Nums;

    SELECT n
    FROM dbo.Nums

    SET @rc = @rc * 2;

    END
    truncated results

    n
    -----------
    1
    2

    n
    -----------
    1
    2
    3
    4

    n
    -----------
    1
    2
    3
    4
    5
    6
    7
    8

    n
    -----------
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16

    DB:2.47:Numbers Table Explanation a8

    thanks very much for these responses. they cleared up some of my confusion.

  • RELEVANCY SCORE 2.47

    DB:2.47:Sap Installation Log ac



    dear sir i am trying to install Netweaver 2004(s).i am getting following logs.please help me to resolve.

    i have installed central instance first successfully.

    now trying to install database instance but at stage 16 of 29 i am getting following error.

    DbSlExecute: rc = 8

    (DB) ERROR: DDL statement failed

    (ALTER TABLE [IWBKEPDEST] ADD CONSTRAINT [IWBKEPDEST~0] PRIMARY KEY CLUSTERED ( [LOG_DEST] ) )

    DbSlExecute: rc = 8

    (IMP) INFO: import of IWBKEPDEST completed (0 rows) #20100813120356

    (DB) ERROR: DDL statement failed

    (CREATE TABLE [IWBKMIG] ( [FOLDER_CL] nvarchar(10) NOT NULL , [FOLDER_ID] nvarchar(32) NOT NULL , [FOLDER_NA] nvarchar(64) NOT NULL , [COMPONENT] nvarchar(24) NOT NULL , [KEYW_START] int NOT NULL , [KEYW_COUNT] int NOT NULL , [TERM_COUNT] int NOT NULL , [TRANS_MIG] nvarchar(1) NOT NULL , [DELIVER] nvarchar(1) NOT NULL ) exec sp_bindefault 'str_default','IWBKMIG.FOLDER_CL'

    exec sp_bindefault 'str_default','IWBKMIG.FOLDER_ID'

    exec sp_bindefault 'str_default','IWBKMIG.FOLDER_NA'

    exec sp_bindefault 'str_default','IWBKMIG.COMPONENT'

    exec sp_bindefault 'num_default','IWBKMIG.KEYW_START'

    exec sp_bindefault 'num_default','IWBKMIG.KEYW_COUNT'

    exec sp_bindefault 'num_default','IWBKMIG.TERM_COUNT'

    exec sp_bindefault 'str_default','IWBKMIG.TRANS_MIG'

    exec sp_bindefault 'str_default','IWBKMIG.DELIVER'

    )

    DbSlExecute: rc = 8

    (DB) ERROR: DDL statement failed

    (ALTER TABLE [IWBKMIG] ADD CONSTRAINT [IWBKMIG~0] PRIMARY KEY CLUSTERED ( [FOLDER_CL], [FOLDER_ID] ) )

    DbSlExecute: rc = 8

    (IMP) INFO: import of IWBKMIG completed (0 rows) #20100813120356

    (DB) ERROR: DDL statement failed

    (CREATE TABLE [IWBREORG_S] ( [FIN_DEL] nvarchar(1) NOT NULL , [REORG_FLAG] nvarchar(1) NOT NULL , [ROLL_FLAG] nvarchar(1) NOT NULL , [FDEL_FLAG] nvarchar(1) NOT NULL , [REORG_MAXF] nvarchar(4) NOT NULL , [ROLL_MAXF] nvarchar(4) NOT NULL , [FDEL_MAXF] nvarchar(4) NOT NULL ) exec sp_bindefault 'str_default','IWBREORG_S.FIN_DEL'

    exec sp_bindefault 'str_default','IWBREORG_S.REORG_FLAG'

    exec sp_bindefault 'str_default','IWBREORG_S.ROLL_FLAG'

    exec sp_bindefault 'str_default','IWBREORG_S.FDEL_FLAG'

    exec sp_bindefault 'numc4_default','IWBREORG_S.REORG_MAXF'

    exec sp_bindefault 'numc4_default','IWBREORG_S.ROLL_MAXF'

    exec sp_bindefault 'numc4_default','IWBREORG_S.FDEL_MAXF'

    )

    DbSlExecute: rc = 8

    (DB) ERROR: DDL statement failed

    (ALTER TABLE [IWBREORG_S] ADD CONSTRAINT [IWBREORG_S~0] PRIMARY KEY CLUSTERED ( [FIN_DEL] ) )

    DbSlExecute: rc = 8

    (IMP) INFO: import of IWBREORG_S completed (0 rows) #20100813120356

    (DB) ERROR: DDL statement failed

    (CREATE TABLE [IWBUUIDVAL] ( [ID] nvarchar(32) NOT NULL , [VALUE] nvarchar(64) NOT NULL , [TIMESTMP] nvarchar(14) NOT NULL ) exec sp_bindefault 'str_default','IWBUUIDVAL.ID'

    exec sp_bindefault 'str_default','IWBUUIDVAL.VALUE'

    exec sp_bindefault 'numc14_default','IWBUUIDVAL.TIMESTMP'

    )

    DbSlExecute: rc = 8

    (DB) ERROR: DDL statement failed

    (ALTER TABLE [IWBUUIDVAL] ADD CONSTRAINT [IWBUUIDVAL~0] PRIMARY KEY CLUSTERED ( [ID] ) )

    DbSlExecute: rc = 8

    (IMP) INFO: import of IWBUUIDVAL completed (0 rows) #20100813120356

    (DB) ERROR: DDL statement failed

    (CREATE TABLE [IWDISPLAY] ( [DISPLAY] nvarchar(10) NOT NULL ) exec sp_bindefault 'str_default','IWDISPLAY.DISPLAY'

    )

    DbSlExecute: rc = 8

    (DB) ERROR: DDL statement failed

    (ALTER TABLE [IWDISPLAY] ADD CONSTRAINT [IWDISPLAY~0] PRIMARY KEY CLUSTERED ( [DISPLAY] ) )

    DbSlExecute: rc = 8

    (IMP) INFO: import of IWDISPLAY completed (0 rows) #20100813120356

    (DB) ERROR: DDL statement failed

    (CREATE TABLE [IWDISPLAYT] ( [SPRAS] nvarchar(1) NOT NULL , [DISPLAY] nvarchar(10) NOT NULL , [DESCRPTN] nvarchar(64) NOT NULL ) exec sp_bindefault 'str_default','IWDISPLAYT.SPRAS'

    exec sp_bindefault 'str_default','IWDISPLAYT.DISPLAY'

    exec sp_bindefault 'str_default','IWDISPLAYT.DESCRPTN'

    )

    DbSlExecute: rc = 8

    (DB) ERROR: DDL statement failed

    (ALTER TABLE [IWDISPLAYT] ADD CONSTRAINT [IWDISPLAYT~0] PRIMARY KEY CLUSTERED ( [SPRAS], [DISPLAY] ) )

    DbSlExecute: rc = 8

    (IMP) INFO: import of IWDISPLAYT completed (0 rows) #20100813120356

    (DB) ERROR: DDL statement failed

    (CREATE TABLE [IWEXEXOPTS] ( [OPT_ID] nvarchar(3) NOT NULL , [EXACT] nvarchar(1) NOT NULL , [KEEP] nvarchar(1) NOT NULL , [ALL_2ND] nvarchar(1) NOT NULL , [LOCATE] nvarchar(1) NOT NULL , [SENDMAIL] nvarchar(1) NOT NULL , [TRACE] nvarchar(1) NOT NULL , [HTMLHELP] nvarchar(1) NOT NULL , [HH_SSHEET] nvarchar(1) NOT NULL , [INDEX_TAB] nvarchar(1) NOT NULL , [SEARCH_TAB] nvarchar(1) NOT NULL , [MERGE_STR] nvarchar(1) NOT NULL , [MERGE_FLD] nvarchar(1) NOT NULL , [MAP] nvarchar(1) NOT NULL , [ORIGIN_X] nvarchar(5) NOT NULL , [ORIGIN_Y] nvarchar(5) NOT NULL , [SIZE_X] nvarchar(5) NOT NULL , [SIZE_Y] nvarchar(5) NOT NULL , [PLAINHTML] nvarchar(1) NOT NULL , [PH_SSHEET] nvarchar(1) NOT NULL ) exec sp_bindefault 'numc3_default','IWEXEXOPTS.OPT_ID'

    exec sp_bindefault 'str_default','IWEXEXOPTS.EXACT'

    exec sp_bindefault 'str_default','IWEXEXOPTS.KEEP'

    exec sp_bindefault 'str_default','IWEXEXOPTS.ALL_2ND'

    exec sp_bindefault 'str_default','IWEXEXOPTS.LOCATE'

    exec sp_bindefault 'str_default','IWEXEXOPTS.SENDMAIL'

    exec sp_bindefault 'str_default','IWEXEXOPTS.TRACE'

    exec sp_bindefault 'str_default','IWEXEXOPTS.HTMLHELP'

    exec sp_bindefault 'str_default','IWEXEXOPTS.HH_SSHEET'

    exec sp_bindefault 'str_default','IWEXEXOPTS.INDEX_TAB'

    exec sp_bindefault 'str_default','IWEXEXOPTS.SEARCH_TAB'

    exec sp_bindefault 'str_default','IWEXEXOPTS.MERGE_STR'

    exec sp_bindefault 'str_default','IWEXEXOPTS.MERGE_FLD'

    exec sp_bindefault 'str_default','IWEXEXOPTS.MAP'

    exec sp_bindefault 'numc5_default','IWEXEXOPTS.ORIGIN_X'

    exec sp_bindefault 'numc5_default','IWEXEXOPTS.ORIGIN_Y'

    exec sp_bindefault 'numc5_default','IWEXEXOPTS.SIZE_X'

    exec sp_bindefault 'numc5_default','IWEXEXOPTS.SIZE_Y'

    exec sp_bindefault 'str_default','IWEXEXOPTS.PLAINHTML'

    exec sp_bindefault 'str_default','IWEXEXOPTS.PH_SSHEET'

    )

    DbSlExecute: rc = 8

    (DB) ERROR: DDL statement failed

    (ALTER TABLE [IWEXEXOPTS] ADD CONSTRAINT [IWEXEXOPTS~0] PRIMARY KEY CLUSTERED ( [OPT_ID] ) )

    DbSlExecute: rc = 8

    (IMP) INFO: InitFastLoad failed with 2: This is not an error and can be ignored(IMP) INFO: DBSL will be used(IMP) ERROR: InitFastload: rc = 2

    (DB) ERROR: DDL statement failed

    (CREATE TABLE [IWEXINDX] ( [RELID] nvarchar(2) NOT NULL , [SRTFD] nvarchar(22) NOT NULL , [SRTF2] int NOT NULL , [LOEKZ] nvarchar(1) NOT NULL , [SPERR] nvarchar(1) NOT NULL , [CRDATE] nvarchar(8) NOT NULL , [CRTIME] nvarchar(6) NOT NULL , [CLUSTR] smallint NOT NULL , [CLUSTD] varbinary(2886) NULL ) exec sp_bindefault 'str_default','IWEXINDX.RELID'

    exec sp_bindefault 'str_default','IWEXINDX.SRTFD'

    exec sp_bindefault 'num_default','IWEXINDX.SRTF2'

    exec sp_bindefault 'str_default','IWEXINDX.LOEKZ'

    exec sp_bindefault 'str_default','IWEXINDX.SPERR'

    exec sp_bindefault 'numc8_default','IWEXINDX.CRDATE'

    exec sp_bindefault 'numc6_default','IWEXINDX.CRTIME'

    exec sp_bindefault 'num_default','IWEXINDX.CLUSTR'

    )

    DbSlExecute: rc = 8

    (DB) ERROR: DDL statement failed

    (ALTER TABLE [IWEXINDX] ADD CONSTRAINT [IWEXINDX~0] PRIMARY KEY CLUSTERED ( [RELID], [SRTFD], [SRTF2] ) )

    DbSlExecute: rc = 8

    (IMP) INFO: import of IWEXINDX completed (0 rows) #20100813120356

    (DB) ERROR: DDL statement failed

    (CREATE TABLE [IWEXRTAB] ( [RANGE] nvarchar(2) NOT NULL ) exec sp_bindefault 'str_default','IWEXRTAB.RANGE'

    )

    DbSlExecute: rc = 8

    (DB) ERROR: DDL statement failed

    (ALTER TABLE [IWEXRTAB] ADD CONSTRAINT [IWEXRTAB~0] PRIMARY KEY CLUSTERED ( [RANGE] ) )

    DbSlExecute: rc = 8

    (IMP) INFO: import of IWEXRTAB completed (0 rows) #20100813120356

    (DB) ERROR: DDL statement failed

    (CREATE TABLE [IWEXRTABT] ( [SPRAS] nvarchar(1) NOT NULL , [RANGE] nvarchar(2) NOT NULL , [DESCRIPTN] nvarchar(50) NOT NULL ) exec sp_bindefault 'str_default','IWEXRTABT.SPRAS'

    exec sp_bindefault 'str_default','IWEXRTABT.RANGE'

    exec sp_bindefault 'str_default','IWEXRTABT.DESCRIPTN'

    )

    DbSlExecute: rc = 8

    (DB) ERROR: DDL statement failed

    (ALTER TABLE [IWEXRTABT] ADD CONSTRAINT [IWEXRTABT~0] PRIMARY KEY CLUSTERED ( [SPRAS], [RANGE] ) )

    DbSlExecute: rc = 8

    (IMP) INFO: import of IWEXRTABT completed (0 rows) #20100813120356

    (DB) ERROR: DDL statement failed

    (CREATE TABLE [IWEXTSYMBS] ( [NAME] nvarchar(64) NOT NULL ) exec sp_bindefault 'str_default','IWEXTSYMBS.NAME'

    )

    DbSlExecute: rc = 8

    (DB) ERROR: DDL statement failed

    (ALTER TABLE [IWEXTSYMBS] ADD CONSTRAINT [IWEXTSYMBS~0] PRIMARY KEY CLUSTERED ( [NAME] ) )

    DbSlExecute: rc = 8

    (IMP) INFO: InitFastLoad failed with 2: This is not an error and can be ignored(IMP) INFO: DBSL will be used(IMP) ERROR: InitFastload: rc = 2

    (DB) ERROR: DDL statement failed

    (CREATE TABLE [IWEXTSYMBT] ( [SPRAS] nvarchar(1) NOT NULL , [NAME] nvarchar(64) NOT NULL , [VALUE] nvarchar(255) NOT NULL ) exec sp_bindefault 'str_default','IWEXTSYMBT.SPRAS'

    exec sp_bindefault 'str_default','IWEXTSYMBT.NAME'

    exec sp_bindefault 'str_default','IWEXTSYMBT.VALUE'

    )

    DbSlExecute: rc = 8

    (DB) ERROR: DDL statement failed

    (ALTER TABLE [IWEXTSYMBT] ADD CONSTRAINT [IWEXTSYMBT~0] PRIMARY KEY CLUSTERED ( [SPRAS], [NAME] ) )

    DbSlExecute: rc = 8

    (IMP) INFO: InitFastLoad failed with 2: This is not an error and can be ignored(IMP) INFO: DBSL will be used(IMP) ERROR: InitFastload: rc = 2

    (DB) ERROR: DDL statement failed

    (CREATE TABLE [IWH_31_LNK] ( [ID] nvarchar(32) NOT NULL , [STRUCCLASS] nvarchar(10) NOT NULL , [STRUCOBJID] nvarchar(32) NOT NULL , [TOPICCLASS] nvarchar(10) NOT NULL , [TOPICOBJID] nvarchar(32) NOT NULL , [DEVCLASS] nvarchar(4) NOT NULL , [TCODE] nvarchar(4) NOT NULL , [PROGRAMM] nvarchar(8) NOT NULL , [DYNPRONR] nvarchar(4) NOT NULL , [SPEC_PRG] nvarchar(8) NOT NULL , [SPEC_TEXT] nvarchar(60) NOT NULL , [ENTRY_BY] nvarchar(12) NOT NULL , [ENTRY_DAT] nvarchar(8) NOT NULL , [INDUSTRY] nvarchar(10) NOT NULL , [INDUSTRYRL] nvarchar(12) NOT NULL , [COUNTRY] nvarchar(3) NOT NULL , [NO_LINK] nvarchar(1) NOT NULL ) exec sp_bindefault 'str_default','IWH_31_LNK.ID'

    exec sp_bindefault 'str_default','IWH_31_LNK.STRUCCLASS'

    exec sp_bindefault 'str_default','IWH_31_LNK.STRUCOBJID'

    exec sp_bindefault 'str_default','IWH_31_LNK.TOPICCLASS'

    exec sp_bindefault 'str_default','IWH_31_LNK.TOPICOBJID'

    exec sp_bindefault 'str_default','IWH_31_LNK.DEVCLASS'

    exec sp_bindefault 'str_default','IWH_31_LNK.TCODE'

    exec sp_bindefault 'str_default','IWH_31_LNK.PROGRAMM'

    exec sp_bindefault 'numc4_default','IWH_31_LNK.DYNPRONR'

    exec sp_bindefault 'str_default','IWH_31_LNK.SPEC_PRG'

    exec sp_bindefault 'str_default','IWH_31_LNK.SPEC_TEXT'

    exec sp_bindefault 'str_default','IWH_31_LNK.ENTRY_BY'

    exec sp_bindefault 'numc8_default','IWH_31_LNK.ENTRY_DAT'

    exec sp_bindefault 'str_default','IWH_31_LNK.INDUSTRY'

    exec sp_bindefault 'str_default','IWH_31_LNK.INDUSTRYRL'

    exec sp_bindefault 'str_default','IWH_31_LNK.COUNTRY'

    exec sp_bindefault 'str_default','IWH_31_LNK.NO_LINK'

    )

    DbSlExecute: rc = 8

    (DB) ERROR: DDL statement failed

    (ALTER TABLE [IWH_31_LNK] ADD CONSTRAINT [IWH_31_LNK~0] PRIMARY KEY CLUSTERED ( [ID] ) )

    DbSlExecute: rc = 8

    (IMP) INFO: import of IWH_31_LNK completed (0 rows) #20100813120356

    (DB) ERROR: DDL statement failed

    (CREATE UNIQUE INDEX [IWH_31_LNK~001] ON [IWH_31_LNK] ( [DEVCLASS] , [TCODE] , [PROGRAMM] , [DYNPRONR] , [SPEC_PRG] , [SPEC_TEXT] , [INDUSTRY] , [INDUSTRYRL] , [COUNTRY] ) )

    DbSlExecute: rc = 8

    (DB) ERROR: DDL statement failed

    (CREATE TABLE [IWREFERENC] ( [ID] nvarchar(32) NOT NULL , [STRUCCLASS] nvarchar(10) NOT NULL , [STRUCOBJID] nvarchar(32) NOT NULL , [TOPICCLASS] nvarchar(10) NOT NULL , [TOPICOBJID] nvarchar(32) NOT NULL , [DEVCLASS] nvarchar(30) NOT NULL , [TCODE] nvarchar(20) NOT NULL , [PROGRAMM] nvarchar(40) NOT NULL , [DYNPRONR] nvarchar(4) NOT NULL , [SPEC_PRG] nvarchar(40) NOT NULL , [SPEC_TEXT] nvarchar(60) NOT NULL , [ENTRY_BY] nvarchar(12) NOT NULL , [ENTRY_DAT] nvarchar(8) NOT NULL , [INDUSTRY] nvarchar(10) NOT NULL , [INDUSTRYRL] nvarchar(12) NOT NULL , [COUNTRY] nvarchar(3) NOT NULL , [NO_LINK] nvarchar(1) NOT NULL , [SPEC_DYNP] nvarchar(4) NOT NULL , [EXPORTKEY] nvarchar(8) NOT NULL ) exec sp_bindefault 'str_default','IWREFERENC.ID'

    exec sp_bindefault 'str_default','IWREFERENC.STRUCCLASS'

    exec sp_bindefault 'str_default','IWREFERENC.STRUCOBJID'

    exec sp_bindefault 'str_default','IWREFERENC.TOPICCLASS'

    exec sp_bindefault 'str_default','IWREFERENC.TOPICOBJID'

    exec sp_bindefault 'str_default','IWREFERENC.DEVCLASS'

    exec sp_bindefault 'str_default','IWREFERENC.TCODE'

    exec sp_bindefault 'str_default','IWREFERENC.PROGRAMM'

    exec sp_bindefault 'numc4_default','IWREFERENC.DYNPRONR'

    exec sp_bindefault 'str_default','IWREFERENC.SPEC_PRG'

    exec sp_bindefault 'str_default','IWREFERENC.SPEC_TEXT'

    exec sp_bindefault 'str_default','IWREFERENC.ENTRY_BY'

    exec sp_bindefault 'numc8_default','IWREFERENC.ENTRY_DAT'

    exec sp_bindefault 'str_default','IWREFERENC.INDUSTRY'

    exec sp_bindefault 'str_default','IWREFERENC.INDUSTRYRL'

    exec sp_bindefault 'str_default','IWREFERENC.COUNTRY'

    exec sp_bindefault 'str_default','IWREFERENC.NO_LINK'

    exec sp_bindefault 'numc4_default','IWREFERENC.SPEC_DYNP'

    exec sp_bindefault 'str_default','IWREFERENC.EXPORTKEY'

    )

    DbSlExecute: rc = 8

    (DB) ERROR: DDL statement failed

    (ALTER TABLE [IWREFERENC] ADD CONSTRAINT [IWREFERENC~0] PRIMARY KEY CLUSTERED ( [ID] ) )

    DbSlExecute: rc = 8

    (IMP) INFO: InitFastLoad failed with 2: This is not an error and can be ignored(IMP) INFO: DBSL will be used(IMP) ERROR: InitFastload: rc = 2

    (DB) ERROR: DDL statement failed

    (CREATE INDEX [IWREFERENC~001] ON [IWREFERENC] ( [STRUCCLASS] , [STRUCOBJID] , [TOPICCLASS] , [TOPICOBJID] , [DEVCLASS] , [INDUSTRY] , [INDUSTRYRL] , [COUNTRY] ) )

    DbSlExecute: rc = 8

    (DB) ERROR: DDL statement failed

    (CREATE INDEX [IWREFERENC~002] ON [IWREFERENC] ( [DEVCLASS] , [TCODE] , [PROGRAMM] , [DYNPRONR] , [INDUSTRY] , [INDUSTRYRL] , [COUNTRY] ) )

    DbSlExecute: rc = 8

    (DB) ERROR: DDL statement failed

    (CREATE INDEX [IWREFERENC~003] ON [IWREFERENC] ( [STRUCCLASS] , [STRUCOBJID] , [TOPICCLASS] , [TOPICOBJID] , [SPEC_PRG] , [SPEC_TEXT] , [INDUSTRY] , [INDUSTRYRL] , [COUNTRY] ) )

    DbSlExecute: rc = 8

    (DB) ERROR: DDL statement failed

    (CREATE TABLE [IWRELEASE] ( [RELEASE] nvarchar(12) NOT NULL ) exec sp_bindefault 'str_default','IWRELEASE.RELEASE'

    )

    DbSlExecute: rc = 8

    (DB) ERROR: DDL statement failed

    (ALTER TABLE [IWRELEASE] ADD CONSTRAINT [IWRELEASE~0] PRIMARY KEY CLUSTERED ( [RELEASE] ) )

    DbSlExecute: rc = 8

    (IMP) INFO: InitFastLoad failed with 2: This is not an error and can be ignored(IMP) INFO: DBSL will be used(IMP) ERROR: InitFastload: rc = 2

    DB:2.47:Sap Installation Log ac


    (DB) INFO: disconnected from DB

    E:\usr\sap\ERD\SYS\exe\run/R3load.exe: job completed

    E:\usr\sap\ERD\SYS\exe\run/R3load.exe: END OF LOG: 20100814095316

    E:\usr\sap\ERD\SYS\exe\run/R3load.exe: START OF LOG: 20100814202807

    E:\usr\sap\ERD\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#6 $ SAP

    E:\usr\sap\ERD\SYS\exe\run/R3load.exe: version R6.40/V1.4 [UNICODE]

    E:\usr\sap\ERD\SYS\exe\run/R3load.exe -dbcodepage 4103 -i C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_ABAP_MSS_UC\DB/SAPPOOL.cmd -l C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_ABAP_MSS_UC\DB/SAPPOOL.log -loadprocedure fast

    (DB) ERROR: db_connect rc = 256

    (DB) ERROR: DbSlErrorMsg rc = 99

    E:\usr\sap\ERD\SYS\exe\run/R3load.exe: job finished with 1 error(s)

    E:\usr\sap\ERD\SYS\exe\run/R3load.exe: END OF LOG: 20100814203107

  • RELEVANCY SCORE 2.47

    DB:2.47:Error 1004 Vba Excel mm


    Olá pessoal,
    Preciso de uma ajuda se possivel, estou com problemas no VBA eu gravei uma macro para adicionar formulas porém ela não funciona.
    Segue abaixo em negrito a formula, alguem tem alguma sugestão para altera-lá?

    Muito obrigado!

    Hello Guys,
    I am having problems with a code in VBA.

    I Recorded a macro, but when I try to use I get the msg Error 1004

    Thanks a lot!!!
    Follow the code:

    Application.CutCopyMode = False

    Range(O10).Select
    ActiveCell.FormulaR1C1 = _
    =IF(RC[-2]=B,Removed,IF(RC[2]=-,Need to confirm the buyer,IF(RC[-2]=G,NOH ok,IF(RC[4]=RC[-3],NOH
    ok,IF(RC[5]=RC[-3],Material at SLC,IF(RC[7]=RC[-3],Material in transit,IF(AND(RC[8]=-,RC[11]=-),Place PO ETA (Buyer),IF(AND(RC[8]1,RC[11]=-),Inform
    ETA (Buyer),IF(AND(RC[8]=-,RC[11]1),Place PO (Buyer) _
    RC[8]1,RC[11]1),ETA ok,ERROR))))))))))

    DB:2.47:Error 1004 Vba Excel mm

    Muito obrigado Felipe!!

    Encontei o erro, a sua formula funcionou perfeitamente.

    Obrigado!!

  • RELEVANCY SCORE 2.47

    DB:2.47:Generics W/ Abstract Classes And Contructors sk


    Here's my setup:

    abstract class AC
    {
    AC(){};
    AC(String S){};
    abstract boolean IsValid();
    }

    class RC extends AC
    {
    ....
    public RC(){.........................};
    public RC(String S){...........................};
    public boolean IsValid(){...........................};
    }

    class ACContainerT extends AC
    {
    ....................
    public void ErrorFunc(String Str)
    {
    T tobj = new T(Str);
    }
    ............................
    }

    My problem is that it doesn't let ErrorFunc create a "new T(Str)" when I create an ACContainerRC RCContObj with a call to ErrorFunc.

    Why not?

    I get "unexpected type"

    Edited by: mikeatrxs on Apr 24, 2008 1:10 PM

    Edited by: mikeatrxs on Apr 24, 2008 1:11 PM

    DB:2.47:Generics W/ Abstract Classes And Contructors sk

    Reac a Generics tutorial. Type parameters are erased at compile time. There is no way it knows at runtime what class you want to create an instance of, unless you additionally pass in a Class object that tells it what class it is. It makes more sense if you ask, what happens when you "erase" the generic type parameters? Any valid Generics program should be able to erase to a valid non-Generics program and vice versa. But how are you going to erase the "new T(Str)"? How would you do this without Generics?

  • RELEVANCY SCORE 2.47

    DB:2.47:View 4: Rdp Works, Pcoip Doesn't f8



    Well, the title says it all.

    I have View 4 up and running, and all generally appears to have gone well. The problem I'm running into is if I choose the RDP protocol, the desktop pops up and runs fine. If, however, I choose the PCoIP protocol, I get a black screen and then 10-15 seconds later, the connection drops.

    One of the suggestions I've found was to double check the video memory on the DVM, which I did. It was originally 29.61 or something like that, so I changed it to 32. That didn't help, so I tried 64. That didn't help either.

    On the DVM, in the pcoip_server_pre_2010_* files, I see the following lines:

    01/10/10 19:48:54 server main: Opening mailboxes

    01/10/10 19:48:54 server main: ViewAgent did not give us a preferred connection address.

    01/10/10 19:48:54 server main: tera_pcoip_init

    01/10/10 19:49:26 server main: exiting

    01/10/10 19:49:28 server main: detaching inputdevtap

    01/10/10 19:49:28 server main: closing the connection

    01/10/10 19:49:28 server main: was connected - calling connection_closed

    01/10/10 19:49:28 server main: closing mailboxes

    01/10/10 19:49:28 server main: cleaning up reply ack wait

    01/10/10 19:49:28 server main: freeing argument copy

    01/10/10 19:49:28 server main: done

    On the DVM, in the pcoip_server_* files, I see the following:

    01/10/2010, 19:48:55 LVL:2 RC: 0 MGMT_SYS :Ready to connect with client

    01/10/2010, 19:48:55 LVL:0 RC: 0 SERVER :server main: cb_server_ready_to_connect called.

    01/10/2010, 19:48:55 LVL:2 RC: 0 MGMT_SCHAN :scnet_server_open: Listening for client on 192.168.90.225:50002

    01/10/2010, 19:48:55 LVL:0 RC: 0 SERVER :server main: InputDevTap setup

    01/10/2010, 19:48:55 LVL:1 RC:-500 SERVER :InputDevTap_Attach() failed (result=1002)

    01/10/2010, 19:48:55 LVL:0 RC: 0 SERVER :server main: registering session callbacks

    01/10/2010, 19:48:55 LVL:0 RC: 0 SERVER :server main: waiting for server to be ready

    01/10/2010, 19:48:55 LVL:0 RC: 0 SERVER :server main: sending ready message

    01/10/2010, 19:48:55 LVL:0 RC: 0 SERVER :server main: Starting message loop

    01/10/2010, 19:48:55 LVL:0 RC: 0 SERVER :server main: MBX_SESSION_TAG = 'bc3512c6f4c1f248bd6a71faef6f104c'

    01/10/2010, 19:48:55 LVL:2 RC: 0 RTOS :tera_query_performance_frequency(): initializing - frequency = 3.579545MHz

    01/10/2010, 19:48:56 LVL:2 RC: 0 MGMT_PCOIP_DATA :Tx thread info: bw limit = 0, plateau = 0.0, avg tx = 0.0, avg rx = 0.0 (KBytes/s)

    01/10/2010, 19:48:56 LVL:1 RC: 0 VGMAC :Stat frms: R=000000/000000/000000 T=000000/000000/000000 (A/I/O) 0.00% lost

    01/10/2010, 19:49:26 LVL:0 RC: 0 SERVER :server main: MBX_SHUTDOWN

    01/10/2010, 19:49:26 LVL:0 RC: 0 SERVER :server main: exiting

    01/10/2010, 19:49:26 LVL:0 RC: 0 SERVER :server main: tearing down the blob and waiting

    01/10/2010, 19:49:26 LVL:0 RC: 0 MGMT_SESS :Tearing down the session

    01/10/2010, 19:49:26 LVL:2 RC: 0 MGMT_VCHAN : app_reset: Session has been dropped. Forcing all channels to close!

    01/10/2010, 19:49:26 LVL:2 RC:-503 MGMT_VCHAN : Failed to close channel because session is not connected!

    01/10/2010, 19:49:26 LVL:2 RC: 0 MGMT_VCHAN :VChanPluginExit: Closing plugin 'VMware_Server'.

    01/10/2010, 19:49:28 LVL:2 RC: 0 MGMT_VCHAN :VChanPluginExit: Plugin 'VMware_Server' is closed.

    01/10/2010, 19:49:28 LVL:2 RC: 0 MGMT_VCHAN :VChanPluginExit: Closing plugin 'mksvchanserver'.

    01/10/2010, 19:49:28 LVL:2 RC:-503 MGMT_VCHAN : Failed to close channel because session is not connected!

    01/10/2010, 19:49:28 LVL:2 RC: 0 MGMT_VCHAN : Connect callback 0 has been un-registered (mksvchan).

    01/10/2010, 19:49:28 LVL:2 RC: 0 MGMT_VCHAN :VChanPluginExit: Plugin 'mksvchanserver' is closed.

    01/10/2010, 19:49:28 LVL:1 RC: 1 MGMT_VCHAN := Successfully exited all the VChan plugins

    In the pcoip_agent_* files, I see the following:

    01/10/10 19:46:58 pcoip_agent_get_codec_info

    01/10/10 19:46:58 **** System Info

    01/10/10 19:46:58 Windows XP Service Pack 3 (5.1 build 2600)

    01/10/10 19:46:58 1 processors detected

    01/10/10 19:46:58 Intel or AMD 32 bit

    01/10/10 19:46:58 Intel Pentium

    01/10/10 19:46:58 XMM instructions present

    01/10/10 19:46:58 SSE instructions present

    01/10/10 19:46:58 SSE2 instructions present

    01/10/10 19:46:58 PAE enabled

    01/10/10 19:46:58 NX present

    01/10/10 19:46:58 ****

    01/10/10 19:46:58 pcoip_agent_register

    01/10/10 19:46:58 pcoip_agent_register: intf version is 0102

    01/10/10 19:46:58 pcoip_agent_register: int length is 40

    01/10/10 19:46:58 pcoip_agent_connect_req

    01/10/10 19:46:58 Client address is 0.0.0.0:50002

    01/10/10 19:46:58 Agent GUID=2a04baac6f46f14ea4dabf0110ee2c36

    01/10/10 19:46:58 codec = 2.

    01/10/10 19:46:58 Launching pcoip_server_win32

    01/10/10 19:46:58 VMWare's launcher code worked.

    01/10/10 19:46:59 Waiting for ready message.

    01/10/10 19:47:03 Got ready message.

    01/10/10 19:47:03 Creating server's mailbox.

    01/10/10 19:47:03 Sending session tag.

    01/10/10 19:47:03 Adding session to list.

    01/10/10 19:47:03 Sending connection response ok.

    01/10/10 19:47:03 pcoip_agent_connect_req (end): connection_response, 0

    01/10/10 19:47:03 pcoip_agent_disconnect

    01/10/10 19:47:03 tera_agent_disconnect

    01/10/10 19:47:03 tera_agent_disconnect: connection_closed 2

    01/10/10 19:48:51 pcoip_agent_connect_req

    01/10/10 19:48:51 Client address is 0.0.0.0:50002

    01/10/10 19:48:51 Agent GUID=bc3512c6f4c1f248bd6a71faef6f104c

    01/10/10 19:48:51 codec = 2.

    01/10/10 19:48:51 Launching pcoip_server_win32

    01/10/10 19:48:51 VMWare's launcher code worked.

    01/10/10 19:48:52 Waiting for ready message.

    01/10/10 19:48:55 Got ready message.

    01/10/10 19:48:55 Creating server's mailbox.

    01/10/10 19:48:55 Sending session tag.

    01/10/10 19:48:55 Adding session to list.

    01/10/10 19:48:55 Sending connection response ok.

    01/10/10 19:48:55 pcoip_agent_connect_req (end): connection_response, 0

    01/10/10 19:49:26 pcoip_agent_disconnect

    01/10/10 19:49:26 tera_agent_disconnect

    01/10/10 19:49:26 tera_agent_disconnect: connection_closed 2

    Any ideas? Thoughts?

    Thanks in advance,

    Rick

    DB:2.47:View 4: Rdp Works, Pcoip Doesn't f8


    Hi,

    We have found the GPO that was causing the problems with our PCoIP. Essentially, the current GPO was overwriting the Windows firewall ports. Subsequently, we've created two new GPO entries that will allow UDP and TCP traffic on port 50002. This appears to have resolved the issue.

    I hope this info will help someone and I've notified VMware Tech supp on the resolution.

    Aaron B

  • RELEVANCY SCORE 2.47

    DB:2.47:Rc And Java-Installation 9m


    I tried to install the java runtime enviroment on the german version of Win7 RC and during installation i got the message dekomprimation of core-files failed. Thereafter started a rollback of installation  of java. I tried several downloaded  files from the java site, but always with this errormessage. I took always the latest version of java runtime.
    What´s to do now...any idea..??
    Thanks for help

    DB:2.47:Rc And Java-Installation 9m

    1. Do you have any previous version of Java Installed? -- uninstall all
    2. Clear the C:\Program Files\Java -folder after you have uninstalled Java all Javas from add remove program
    3. You should check the C:\Users\%username%\AppData\LocalLow\Sun\Java and clear it before you start the installer package again.
    4. If the installer fails again please run the jrexxxxxx.msi with /l parameter and specify a log path. Also check the Windows event viewer for MSI-installer errors.

  • RELEVANCY SCORE 2.47

    DB:2.47:Esx 2.5 And Tsm 39



    I have installed TSM client 5.2.3-1 over ESX 2.5 build 13053 (last fixpak).

    When I run dsmc I cannot connect with the server.

    Configuration files:

    dsmc.opt:

    \----

    ServerName servidor

    dsmc.sys:

    \----

    servername servidor

    nodename node_name

    tcpserveraddress 10.x.x.x

    passwordaccess generate

    errorlogretention 7

    compression yes

    I have tried with ESX 2.1.2 with no problem. I have tried with older TSM versions and with ESX 2.5 without fixpak and it doesn't work either.

    Error message on dsmerror.log:

    TcpOpen: TCP/IP error connecting to server.

    sessOpen: Failure in communications open call. rc: -50

    ANS1017E Session rejected

    DB:2.47:Esx 2.5 And Tsm 39


    Unfortunately that RPM isn't there. You can go to freshrpms.net (I believe) and look for this RPM: libstdc++32-3.2.2-5.fdr.0.rh73.i386.rpm[/i]. Install this RPM first then you should be able to install the rest of the TSM components

  • RELEVANCY SCORE 2.47

    DB:2.47:Odbc Foxpro Problem 7z


    hi all
    I have some problems with odbc fox pro driver
    I am using Microsoft Visual FoxPro Driver 6.01.8629.01

    I run query

    SELECT count(*), posfunc
    FROM pos_funx
    WHERE posfunc='007'
    ORDER BY posfunc
    GROUP BY posfunc;

    and got result
    cnt    posfunc
        58    007

    I run

    SELECT count(*), posfunc
    FROM pos_funx
    ORDER BY posfunc
    GROUP BY posfunc;

    and got
    cnt    posfunc
    30    001
    18    002
    29    004
    194    005
    192    006
    273    007
    8    009
    10    010
    2    011
    1    012
    3    014
    16    016
    157    017
    8    018
    5    019
    1    020
    3    021
    1    024
    3    026
    7    027
    5    028
    206    031
    16    033

    I got two counts  for '007' 58 and 273 and 273 is correct ?
    Can I rely on Where clause?

    DB:2.47:Odbc Foxpro Problem 7z

    Hi, 
    Thank you for your post!  I would suggest posting your question in one of the  MSDN Forums » Visual FoxPro » Visual FoxPro General  located here:  http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=60SiteID=1Have a great day!

  • RELEVANCY SCORE 2.46

    DB:2.46:Error After Install Data Management Tool (9005) s3



    Hello All ,

    When I tried to install Data Management Tool DMT (9005) , after installation I found in Summary information that "the installer was unsuccessful in installing ITSM Data Management Tool 1.0.01, the following feature failed to install: * ITSM Foundation Data Load " as with attachments snapshots:

    and also see the Installer_Logs:

    ****************************************************************************

    Results from loading application dld Mon Jul 19 13:55:13 2010
    Component dld .\.\dld_deplapp.def: Success .\.\DLD%DataLoadConsole2.def: Failed .\.\DLD%ImportParameters2.def: Failed .\.\DLD%LicenseCount2.def: Failed .\.\DLD%SYS%DataLoadStatus2.def: Failed .\.\DLD%SYS%DataloadOrder2.def: Failed .\.\DLD%ThreadManager2.def: Failed .\.\INTEG_DLD_CFG%Reminders2.def: Failed .\.\INTEG_DLD_SIT%Site2.def: Failed .\.\INTEG_DLD_SYS%Action2.def: Failed .\.\INTEG_SHRSHR_COM%LoadCompany2.def: Failed .\.\INTEG_SHRSHR_DLD%DataLoadConsole2.def: Failed .\.\INTEG_SHRSHR_DLD%LicenseCount2.def: Failed .\.\DLD%ImportParameters_guide.def: Failed .\.\DLD%SYS%DataloadOrder_guide.def: Failed .\.\DLD%ThreadManager_guide.def: Failed .\.\CAI_AppRegistry_cfg.arx: Success .\.\CAI_Commands_cfg.arx: Success .\.\DLD_LicenseCount_cfg.arx: Failed .\.\DLD_SYSErrorMessages_cfg.arx: Failed .\.\SYS_MessageBox_cfg.arx: Success .\.\RAC_Config_Tasks.arx: Success .\.\RAC_Config_Options.arx: SuccessComponent Summary dld
    Successful def files: 1 Failed def files: 15 Skipped status def files : 0 Successful cfg data files: 5 Failed cfg data files: 2 Skipped status cfg data files : 0 Successful sample data files: 0 Failed sample data files: 0 Skipped status sample data files : 0 Worst definition file import rc: 2 Worst config data import rc: 1025 Worst sample data import rc: 0 Worst rc for the component: 1025

    Application Summary
    Successful def files: 1

    Failed def files: 15

    Skipped status def files : 0

    Successful cfg data files: 5

    Failed cfg data files: 2

    Skipped status cfg data files : 0

    Successful sample data files: 0

    Failed sample data files: 0

    Skipped status sample data files : 0

    Worst definition file import rc: 2

    Worst config data import rc: 1025

    Worst sample data import rc: 0

    Worst rc for the application: 1025

    *******************************************************************

    This is environment configuration:

    - Windows 2003 SP2- ARS 7.1 Patch 10- ITSM 7.0.03 patch 10- CMDB 2.1 Patch 6- SLM 7.1 Patch 2- DB Oracle 10g

    I appreciate help me with the resolution.

    Thanks Best Regards ,

    Mohamed Nabawy

  • RELEVANCY SCORE 2.46

    DB:2.46:Saprouter Error js



    Dear All

    I have installed new router with VPN connection type and have niping, saprouter, saprouttab file under saprouter folder i am able to connect to sap with niping but when i execute saprouter -t i am getting this error. Any help would be appricated.

    Tue Sep 7 06:35:10 2010

    SAP Network Interface Router, Version 39.3 (SP4)

    Tue Sep 7 06:35:11 2010

    ***LOG Q0I= NiPConnect2: 127.0.0.1:3299: connect (111: Connection refused) [nixxi.cpp 3147]

    ERROR = NiPConnect2: SiPeekPendConn failed for hdl 1/sock 3

    (SI_ECONN_REFUSE/111; I4; ST; 127.0.0.1:3299) [nixxi.cpp 3147]

    ERROR = RTADMINREQ::sendAdminReq: NiBufConnect failed (rc=-10) [nirout.cpp 7004]

    *****************************************************************************

    *

    LOCATION SAProuter 39.3 (SP4) on 'rpc7444'

    ERROR partner '127.0.0.1:3299' not reached

    *

    TIME Tue Sep 7 06:35:11 2010

    RELEASE 710

    COMPONENT NI (network interface)

    VERSION 39

    RC -10

    MODULE nixxi.cpp

    LINE 3147

    DETAIL NiPConnect2: 127.0.0.1:3299

    SYSTEM CALL connect

    ERRNO 111

    ERRNO TEXT Connection refused

    COUNTER 2

    *

    *****************************************************************************

    kind regards

    Gurprinder

    DB:2.46:Saprouter Error js


    Dear All

    I have installed new router with VPN connection type and have niping, saprouter, saprouttab file under saprouter folder i am able to connect to sap with niping but when i execute saprouter -t i am getting this error. Any help would be appricated.

    Tue Sep 7 06:35:10 2010

    SAP Network Interface Router, Version 39.3 (SP4)

    Tue Sep 7 06:35:11 2010

    ***LOG Q0I= NiPConnect2: 127.0.0.1:3299: connect (111: Connection refused) [nixxi.cpp 3147]

    ERROR = NiPConnect2: SiPeekPendConn failed for hdl 1/sock 3

    (SI_ECONN_REFUSE/111; I4; ST; 127.0.0.1:3299) [nixxi.cpp 3147]

    ERROR = RTADMINREQ::sendAdminReq: NiBufConnect failed (rc=-10) [nirout.cpp 7004]

    *****************************************************************************

    *

    LOCATION SAProuter 39.3 (SP4) on 'rpc7444'

    ERROR partner '127.0.0.1:3299' not reached

    *

    TIME Tue Sep 7 06:35:11 2010

    RELEASE 710

    COMPONENT NI (network interface)

    VERSION 39

    RC -10

    MODULE nixxi.cpp

    LINE 3147

    DETAIL NiPConnect2: 127.0.0.1:3299

    SYSTEM CALL connect

    ERRNO 111

    ERRNO TEXT Connection refused

    COUNTER 2

    *

    *****************************************************************************

    kind regards

    Gurprinder

  • RELEVANCY SCORE 2.46

    DB:2.46:Foreign Window Issue md


    Hello.

    I’m new to cascades (and do not code in c++ to much too) and want to create an openGL window in cascades by using the ForeignwindowControl in these codes. The application compilation process is well except the result wasn’t what I expected. The foreign window show the started screen with the blackberry background and when I pick the window I have saw the background of the blackberry homescreen within the foreign widow. So I will appreciate any help to figured out this issued.

    Thank.

    OpenGl.qml

    import bb.cascades 1.0

    Page {

    Container {

    Label {

    textStyle.fontSizeValue: 10

    text: "[_OpenGL window_]"

    }Divider{bottomMargin: 20}

    ForeignWindowControl {

    id: f_Window

    windowId: "id"

    objectName: "fWindow"

    visible: true

    layoutProperties: AbsoluteLayoutProperties {

    positionX: 0

    positionY: 0

    }

    preferredWidth: 768

    preferredHeight: 1200

    }

    }

    }

    MyApp.cpp

    #include "MyApp.hpp"

    #include "OpenGlWindow.hpp"

    #include bb/cascades/Application

    #include bb/cascades/QmlDocument

    #include bb/cascades/window

    using namespace bb::cascades;

    namespace bb

    {

    namespace cascades

    {

    class AbstractPane;

    }

    }

    AbstractPane* MyApp::root;

    // an object of MyApp is created in the main() application method

    MyApp::MyApp(bb::cascades::Application *app)

    : QObject(app)

    {

    // create scene document from main.qml asset

    // set parent to created document to ensure it exists for the whole application lifetime

    QmlDocument *qml = QmlDocument::create("asset:///OpenGL.qml").parent(this);

    // create root object for the UI

    MyApp::root = qml-createRootObjectAbstractPane();

    // set created root object as a scene

    app-setScene(MyApp::root);

    // new ForeignWindow();

    OpenGlWindow openGlWindow;

    openGlWindow.createForeignWindow();

    }

    OpenGlWinndow.cpp

    #include "OpenGlWindow.hpp"

    #include "MyApp.hpp"

    #include math.h

    using namespace bb::cascades;

    OpenGlWindow:penGlWindow() :QThread(NULL){

    Renderer _renderer;

    }

    OpenGlWindow::~OpenGlWindow(){

    screen_destroy_context(this-mScreenCtx);

    }

    void OpenGlWindow::run(){

    _renderer.initialize();

    _renderer.contextCreated();

    while(true)

    {

    _renderer.update();

    _renderer.render();

    // Update the screen

    eglSwapBuffers(this-mEglDsp, this-mEglSrf);

    }

    }

    void OpenGlWindow::createForeignWindow(){

    ForeignWindowControl *foreignWindow= MyApp::root-findChildForeignWindowControl*();

    int x= foreignWindow-translationX();

    int y= foreignWindow-translationY();

    float width= foreignWindow-preferredWidth();

    float height= foreignWindow-preferredHeight();

    QByteArray group= (foreignWindow-windowGroup() ).toAscii();

    QByteArray id= (foreignWindow-windowId() ).toAscii();

    initForeignWindow(x, y, width, height, (const char *)group, (const char *)id );

    }

    bool OpenGlWindow::initForeignWindow(int x, int y, int width, int height, const char* group, const char* id){

    int usage;

    int format = SCREEN_FORMAT_RGBA8888;

    EGLint interval = 1;

    int rc, num_configs;

    int z= -1;

    this-nbuffers= 2;

    int windowPos[2]= {x +20, y +20};

    int windowSize[2]={width -20, height -20};

    screen_create_context(this-mScreenCtx, SCREEN_APPLICATION_CONTEXT);

    bps_initialize();

    EGLint attrib_list[]= { EGL_RED_SIZE, 8,

    EGL_GREEN_SIZE, 8,

    EGL_BLUE_SIZE, 8,

    EGL_SURFACE_TYPE, EGL_WINDOW_BIT,

    EGL_RENDERABLE_TYPE, 0,

    EGL_NONE};

    usage = SCREEN_USAGE_OPENGL_ES1 | SCREEN_USAGE_ROTATION;

    attrib_list[9] = EGL_OPENGL_ES_BIT;

    this-mEglDsp = eglGetDisplay(EGL_DEFAULT_DISPLAY);

    if (mEglDsp == EGL_NO_DISPLAY) {

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = eglInitialize(this-mEglDsp, NULL, NULL);

    if (rc != EGL_TRUE) {

    perror("eglInitialize");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = eglBindAPI(EGL_OPENGL_ES_API);

    if (rc != EGL_TRUE) {

    perror("eglBindApi");

    terminateGl();

    return EXIT_FAILURE;

    }

    if(!eglChooseConfig(this-mEglDsp, attrib_list, this-mEglCnf, 1, num_configs)) {

    perror("ChooseConfig error");

    terminateGl();

    return EXIT_FAILURE;

    }

    this-mEglCxt = eglCreateContext(this-mEglDsp, this-mEglCnf, EGL_NO_CONTEXT, NULL);

    if (mEglCxt == EGL_NO_CONTEXT) {

    perror("eglCreateContext");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = screen_create_window(this-mScreenWin, this-mScreenCtx);

    if (rc) {

    perror("screen_create_window");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = screen_set_window_property_iv(this-mScreenWin, SCREEN_PROPERTY_FORMAT, format);

    if (rc) {

    perror("screen_set_window_property_iv(SCREEN_PROPERTY_FORMAT)");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = screen_set_window_property_iv(this-mScreenWin, SCREEN_PROPERTY_USAGE, usage);

    if (rc) {

    perror("screen_set_window_property_iv(SCREEN_PROPERTY_USAGE)");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = screen_get_window_property_pv(this-mScreenWin, SCREEN_PROPERTY_DISPLAY, (void **)this-mScreenDsp);

    if (rc) {

    perror("screen_get_window_property_pv");

    terminateGl();

    return EXIT_FAILURE;

    }

    int screen_resolution[2];

    rc = screen_get_display_property_iv(this-mScreenDsp, SCREEN_PROPERTY_SIZE, screen_resolution);

    if (rc) {

    perror("screen_get_display_property_iv");

    terminateGl();

    return EXIT_FAILURE;

    }

    int angle = atoi(getenv("ORIENTATION"));

    screen_display_mode_t screen_mode;

    rc = screen_get_display_property_pv(this-mScreenDsp, SCREEN_PROPERTY_MODE, (void**)screen_mode);

    if (rc) {

    perror("screen_get_display_property_pv");

    terminateGl();

    return EXIT_FAILURE;

    }

    int size[2];

    rc = screen_get_window_property_iv(this-mScreenWin, SCREEN_PROPERTY_BUFFER_SIZE, size);

    if (rc) {

    perror("screen_get_window_property_iv");

    terminateGl();

    return EXIT_FAILURE;

    }

    int buffer_size[2] = {windowSize[0], windowSize[1]};

    if ((angle == 0) || (angle == 180)) {

    if (((screen_mode.width screen_mode.height) (size[0] size[1])) ||

    ((screen_mode.width screen_mode.height) (size[0] size[1]))) {

    buffer_size[1] = size[0];

    buffer_size[0] = size[1];

    }

    } else if ((angle == 90) || (angle == 270)){

    if (((screen_mode.width screen_mode.height) (size[0] size[1])) ||

    ((screen_mode.width screen_mode.height size[0] size[1]))) {

    buffer_size[1] = size[0];

    buffer_size[0] = size[1];

    }

    } else {

    fprintf(stderr, "Navigator returned an unexpected orientation angle.\n");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = screen_set_window_property_iv(this-mScreenWin, SCREEN_PROPERTY_BUFFER_SIZE, buffer_size);

    if (rc) {

    perror("screen_set_window_property_iv");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = screen_set_window_property_iv(this-mScreenWin, SCREEN_PROPERTY_SOURCE_SIZE, buffer_size);

    if (rc) {

    perror("screen_set_window_property_iv");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = screen_set_window_property_iv(this-mScreenWin, SCREEN_PROPERTY_SOURCE_POSITION, windowPos);

    if (rc) {

    perror("screen_set_window_property_iv");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = screen_set_window_property_iv(mScreenWin, SCREEN_PROPERTY_ROTATION, angle);

    if (rc) {

    perror("screen_set_window_property_iv");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = screen_create_window_buffers(this-mScreenWin, this-nbuffers);

    if (rc) {

    perror("screen_create_window_buffers");

    terminateGl();

    return EXIT_FAILURE;

    }

    this-mEglSrf = eglCreateWindowSurface(this-mEglDsp, this-mEglCnf, this-mScreenWin, NULL);

    if (this-mEglSrf == EGL_NO_SURFACE) {

    perror("eglCreateWindowSurface");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = eglMakeCurrent(this-mEglDsp, this-mEglSrf, this-mEglSrf, this-mEglCxt);

    if (rc != EGL_TRUE) {

    perror("eglMakeCurrent");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = screen_join_window_group(this-mScreenWin, group );

    if (rc) {

    perror("screen_join_window_group");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = screen_set_window_property_cv(this-mScreenWin, SCREEN_PROPERTY_ID_STRING, sizeof(id), id);

    if (rc) {

    perror("screen_set_window_property_cv");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = screen_set_window_property_iv(this-mScreenWin, SCREEN_PROPERTY_ZORDER, z);

    if (rc) {

    perror("screen_set_window_property_id");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = eglSwapInterval(this-mEglDsp, interval);

    if (rc != EGL_TRUE) {

    perror("eglSwapInterval");

    terminateGl();

    return EXIT_FAILURE;

    }

    return EXIT_SUCCESS;

    }

    void OpenGlWindow::terminateGl(){

    if (this-mEglDsp != EGL_NO_DISPLAY) {

    eglMakeCurrent(this-mEglDsp, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);

    if (this-mEglSrf != EGL_NO_SURFACE) {

    eglDestroySurface(this-mEglDsp, this-mEglSrf);

    mEglSrf = EGL_NO_SURFACE;

    }

    if (this-mEglCxt != EGL_NO_CONTEXT) {

    eglDestroyContext(this-mEglDsp, this-mEglCxt);

    mEglCxt = EGL_NO_CONTEXT;

    }

    if (this-mScreenWin != NULL) {

    screen_destroy_window(this-mScreenWin);

    this-mScreenWin = NULL;

    }

    eglTerminate(this-mEglDsp);

    this-mEglDsp = EGL_NO_DISPLAY;

    }

    eglReleaseThread();

    }

    Renderer.cpp

    #include GLES/glplatform.h

    #include GLES/gl.h

    #include GLES/egltypes.h

    #include math.h

    Renderer::Renderer() {

    }

    Renderer::~Renderer() {

    // TODO Auto-generated destructor stub

    }

    void Renderer::initialize(){

    }

    void Renderer::contextCreated(){

    this-width= 760;

    this-height= 1200;

    glViewport(0, 0, (int) width, (int) height);

    GLfloat aspect_ratio = width / height;

    GLfloat fovy = 45.0f;

    GLfloat zNear = 1.0f;

    GLfloat zFar = 1000.0f;

    GLfloat top = tan(fovy * 0.0087266462599716478846184538424431f) * zNear;

    GLfloat bottom = -top;

    glMatrixMode(GL_PROJECTION);

    glLoadIdentity();

    glFrustumf(aspect_ratio * bottom, aspect_ratio * top, bottom, top, zNear, zFar);

    glMatrixMode(GL_MODELVIEW);

    glLoadIdentity();

    glClearDepthf(1.0f);

    glClearColor(0.7f, 0.7f, 0.7f, 0.0f);

    glEnable(GL_DEPTH_TEST);

    glEnable(GL_CULL_FACE_MODE);

    glEnable(GL_TEXTURE_2D);

    glEnable(GL_LIGHTING);

    glEnable(GL_LIGHT0);

    const float amb[]= {0.4f, 0.4f, 0.4f, 1.0f};

    glLightfv(GL_LIGHT0, GL_AMBIENT, amb);

    }

    void Renderer::update(){

    };

    void Renderer::render(){

    const GLfloat vertices[] =

    {

    -0.5f, 0.5f, 0.5f,

    -0.5f, -0.5f, 0.5f,

    0.5f, 0.5f, 0.5f,

    0.5f, 0.5f, 0.5f,

    -0.5f, -0.5f, 0.5f,

    0.5f, -0.5f, 0.5f,

    };

    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

    glEnableClientState(GL_VERTEX_ARRAY);

    glVertexPointer(3, GL_FLOAT, 0, vertices);

    glDrawArrays(GL_TRIANGLES, 0 , 6);

    glDisableClientState(GL_VERTEX_ARRAY);

    };

    DB:2.46:Foreign Window Issue md

    Hello.

    I’m new to cascades (and do not code in c++ to much too) and want to create an openGL window in cascades by using the ForeignwindowControl in these codes. The application compilation process is well except the result wasn’t what I expected. The foreign window show the started screen with the blackberry background and when I pick the window I have saw the background of the blackberry homescreen within the foreign widow. So I will appreciate any help to figured out this issued.

    Thank.

    OpenGl.qml

    import bb.cascades 1.0

    Page {

    Container {

    Label {

    textStyle.fontSizeValue: 10

    text: "[_OpenGL window_]"

    }Divider{bottomMargin: 20}

    ForeignWindowControl {

    id: f_Window

    windowId: "id"

    objectName: "fWindow"

    visible: true

    layoutProperties: AbsoluteLayoutProperties {

    positionX: 0

    positionY: 0

    }

    preferredWidth: 768

    preferredHeight: 1200

    }

    }

    }

    MyApp.cpp

    #include "MyApp.hpp"

    #include "OpenGlWindow.hpp"

    #include bb/cascades/Application

    #include bb/cascades/QmlDocument

    #include bb/cascades/window

    using namespace bb::cascades;

    namespace bb

    {

    namespace cascades

    {

    class AbstractPane;

    }

    }

    AbstractPane* MyApp::root;

    // an object of MyApp is created in the main() application method

    MyApp::MyApp(bb::cascades::Application *app)

    : QObject(app)

    {

    // create scene document from main.qml asset

    // set parent to created document to ensure it exists for the whole application lifetime

    QmlDocument *qml = QmlDocument::create("asset:///OpenGL.qml").parent(this);

    // create root object for the UI

    MyApp::root = qml-createRootObjectAbstractPane();

    // set created root object as a scene

    app-setScene(MyApp::root);

    // new ForeignWindow();

    OpenGlWindow openGlWindow;

    openGlWindow.createForeignWindow();

    }

    OpenGlWinndow.cpp

    #include "OpenGlWindow.hpp"

    #include "MyApp.hpp"

    #include math.h

    using namespace bb::cascades;

    OpenGlWindow:penGlWindow() :QThread(NULL){

    Renderer _renderer;

    }

    OpenGlWindow::~OpenGlWindow(){

    screen_destroy_context(this-mScreenCtx);

    }

    void OpenGlWindow::run(){

    _renderer.initialize();

    _renderer.contextCreated();

    while(true)

    {

    _renderer.update();

    _renderer.render();

    // Update the screen

    eglSwapBuffers(this-mEglDsp, this-mEglSrf);

    }

    }

    void OpenGlWindow::createForeignWindow(){

    ForeignWindowControl *foreignWindow= MyApp::root-findChildForeignWindowControl*();

    int x= foreignWindow-translationX();

    int y= foreignWindow-translationY();

    float width= foreignWindow-preferredWidth();

    float height= foreignWindow-preferredHeight();

    QByteArray group= (foreignWindow-windowGroup() ).toAscii();

    QByteArray id= (foreignWindow-windowId() ).toAscii();

    initForeignWindow(x, y, width, height, (const char *)group, (const char *)id );

    }

    bool OpenGlWindow::initForeignWindow(int x, int y, int width, int height, const char* group, const char* id){

    int usage;

    int format = SCREEN_FORMAT_RGBA8888;

    EGLint interval = 1;

    int rc, num_configs;

    int z= -1;

    this-nbuffers= 2;

    int windowPos[2]= {x +20, y +20};

    int windowSize[2]={width -20, height -20};

    screen_create_context(this-mScreenCtx, SCREEN_APPLICATION_CONTEXT);

    bps_initialize();

    EGLint attrib_list[]= { EGL_RED_SIZE, 8,

    EGL_GREEN_SIZE, 8,

    EGL_BLUE_SIZE, 8,

    EGL_SURFACE_TYPE, EGL_WINDOW_BIT,

    EGL_RENDERABLE_TYPE, 0,

    EGL_NONE};

    usage = SCREEN_USAGE_OPENGL_ES1 | SCREEN_USAGE_ROTATION;

    attrib_list[9] = EGL_OPENGL_ES_BIT;

    this-mEglDsp = eglGetDisplay(EGL_DEFAULT_DISPLAY);

    if (mEglDsp == EGL_NO_DISPLAY) {

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = eglInitialize(this-mEglDsp, NULL, NULL);

    if (rc != EGL_TRUE) {

    perror("eglInitialize");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = eglBindAPI(EGL_OPENGL_ES_API);

    if (rc != EGL_TRUE) {

    perror("eglBindApi");

    terminateGl();

    return EXIT_FAILURE;

    }

    if(!eglChooseConfig(this-mEglDsp, attrib_list, this-mEglCnf, 1, num_configs)) {

    perror("ChooseConfig error");

    terminateGl();

    return EXIT_FAILURE;

    }

    this-mEglCxt = eglCreateContext(this-mEglDsp, this-mEglCnf, EGL_NO_CONTEXT, NULL);

    if (mEglCxt == EGL_NO_CONTEXT) {

    perror("eglCreateContext");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = screen_create_window(this-mScreenWin, this-mScreenCtx);

    if (rc) {

    perror("screen_create_window");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = screen_set_window_property_iv(this-mScreenWin, SCREEN_PROPERTY_FORMAT, format);

    if (rc) {

    perror("screen_set_window_property_iv(SCREEN_PROPERTY_FORMAT)");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = screen_set_window_property_iv(this-mScreenWin, SCREEN_PROPERTY_USAGE, usage);

    if (rc) {

    perror("screen_set_window_property_iv(SCREEN_PROPERTY_USAGE)");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = screen_get_window_property_pv(this-mScreenWin, SCREEN_PROPERTY_DISPLAY, (void **)this-mScreenDsp);

    if (rc) {

    perror("screen_get_window_property_pv");

    terminateGl();

    return EXIT_FAILURE;

    }

    int screen_resolution[2];

    rc = screen_get_display_property_iv(this-mScreenDsp, SCREEN_PROPERTY_SIZE, screen_resolution);

    if (rc) {

    perror("screen_get_display_property_iv");

    terminateGl();

    return EXIT_FAILURE;

    }

    int angle = atoi(getenv("ORIENTATION"));

    screen_display_mode_t screen_mode;

    rc = screen_get_display_property_pv(this-mScreenDsp, SCREEN_PROPERTY_MODE, (void**)screen_mode);

    if (rc) {

    perror("screen_get_display_property_pv");

    terminateGl();

    return EXIT_FAILURE;

    }

    int size[2];

    rc = screen_get_window_property_iv(this-mScreenWin, SCREEN_PROPERTY_BUFFER_SIZE, size);

    if (rc) {

    perror("screen_get_window_property_iv");

    terminateGl();

    return EXIT_FAILURE;

    }

    int buffer_size[2] = {windowSize[0], windowSize[1]};

    if ((angle == 0) || (angle == 180)) {

    if (((screen_mode.width screen_mode.height) (size[0] size[1])) ||

    ((screen_mode.width screen_mode.height) (size[0] size[1]))) {

    buffer_size[1] = size[0];

    buffer_size[0] = size[1];

    }

    } else if ((angle == 90) || (angle == 270)){

    if (((screen_mode.width screen_mode.height) (size[0] size[1])) ||

    ((screen_mode.width screen_mode.height size[0] size[1]))) {

    buffer_size[1] = size[0];

    buffer_size[0] = size[1];

    }

    } else {

    fprintf(stderr, "Navigator returned an unexpected orientation angle.\n");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = screen_set_window_property_iv(this-mScreenWin, SCREEN_PROPERTY_BUFFER_SIZE, buffer_size);

    if (rc) {

    perror("screen_set_window_property_iv");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = screen_set_window_property_iv(this-mScreenWin, SCREEN_PROPERTY_SOURCE_SIZE, buffer_size);

    if (rc) {

    perror("screen_set_window_property_iv");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = screen_set_window_property_iv(this-mScreenWin, SCREEN_PROPERTY_SOURCE_POSITION, windowPos);

    if (rc) {

    perror("screen_set_window_property_iv");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = screen_set_window_property_iv(mScreenWin, SCREEN_PROPERTY_ROTATION, angle);

    if (rc) {

    perror("screen_set_window_property_iv");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = screen_create_window_buffers(this-mScreenWin, this-nbuffers);

    if (rc) {

    perror("screen_create_window_buffers");

    terminateGl();

    return EXIT_FAILURE;

    }

    this-mEglSrf = eglCreateWindowSurface(this-mEglDsp, this-mEglCnf, this-mScreenWin, NULL);

    if (this-mEglSrf == EGL_NO_SURFACE) {

    perror("eglCreateWindowSurface");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = eglMakeCurrent(this-mEglDsp, this-mEglSrf, this-mEglSrf, this-mEglCxt);

    if (rc != EGL_TRUE) {

    perror("eglMakeCurrent");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = screen_join_window_group(this-mScreenWin, group );

    if (rc) {

    perror("screen_join_window_group");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = screen_set_window_property_cv(this-mScreenWin, SCREEN_PROPERTY_ID_STRING, sizeof(id), id);

    if (rc) {

    perror("screen_set_window_property_cv");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = screen_set_window_property_iv(this-mScreenWin, SCREEN_PROPERTY_ZORDER, z);

    if (rc) {

    perror("screen_set_window_property_id");

    terminateGl();

    return EXIT_FAILURE;

    }

    rc = eglSwapInterval(this-mEglDsp, interval);

    if (rc != EGL_TRUE) {

    perror("eglSwapInterval");

    terminateGl();

    return EXIT_FAILURE;

    }

    return EXIT_SUCCESS;

    }

    void OpenGlWindow::terminateGl(){

    if (this-mEglDsp != EGL_NO_DISPLAY) {

    eglMakeCurrent(this-mEglDsp, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);

    if (this-mEglSrf != EGL_NO_SURFACE) {

    eglDestroySurface(this-mEglDsp, this-mEglSrf);

    mEglSrf = EGL_NO_SURFACE;

    }

    if (this-mEglCxt != EGL_NO_CONTEXT) {

    eglDestroyContext(this-mEglDsp, this-mEglCxt);

    mEglCxt = EGL_NO_CONTEXT;

    }

    if (this-mScreenWin != NULL) {

    screen_destroy_window(this-mScreenWin);

    this-mScreenWin = NULL;

    }

    eglTerminate(this-mEglDsp);

    this-mEglDsp = EGL_NO_DISPLAY;

    }

    eglReleaseThread();

    }

    Renderer.cpp

    #include GLES/glplatform.h

    #include GLES/gl.h

    #include GLES/egltypes.h

    #include math.h

    Renderer::Renderer() {

    }

    Renderer::~Renderer() {

    // TODO Auto-generated destructor stub

    }

    void Renderer::initialize(){

    }

    void Renderer::contextCreated(){

    this-width= 760;

    this-height= 1200;

    glViewport(0, 0, (int) width, (int) height);

    GLfloat aspect_ratio = width / height;

    GLfloat fovy = 45.0f;

    GLfloat zNear = 1.0f;

    GLfloat zFar = 1000.0f;

    GLfloat top = tan(fovy * 0.0087266462599716478846184538424431f) * zNear;

    GLfloat bottom = -top;

    glMatrixMode(GL_PROJECTION);

    glLoadIdentity();

    glFrustumf(aspect_ratio * bottom, aspect_ratio * top, bottom, top, zNear, zFar);

    glMatrixMode(GL_MODELVIEW);

    glLoadIdentity();

    glClearDepthf(1.0f);

    glClearColor(0.7f, 0.7f, 0.7f, 0.0f);

    glEnable(GL_DEPTH_TEST);

    glEnable(GL_CULL_FACE_MODE);

    glEnable(GL_TEXTURE_2D);

    glEnable(GL_LIGHTING);

    glEnable(GL_LIGHT0);

    const float amb[]= {0.4f, 0.4f, 0.4f, 1.0f};

    glLightfv(GL_LIGHT0, GL_AMBIENT, amb);

    }

    void Renderer::update(){

    };

    void Renderer::render(){

    const GLfloat vertices[] =

    {

    -0.5f, 0.5f, 0.5f,

    -0.5f, -0.5f, 0.5f,

    0.5f, 0.5f, 0.5f,

    0.5f, 0.5f, 0.5f,

    -0.5f, -0.5f, 0.5f,

    0.5f, -0.5f, 0.5f,

    };

    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

    glEnableClientState(GL_VERTEX_ARRAY);

    glVertexPointer(3, GL_FLOAT, 0, vertices);

    glDrawArrays(GL_TRIANGLES, 0 , 6);

    glDisableClientState(GL_VERTEX_ARRAY);

    };

  • RELEVANCY SCORE 2.46

    DB:2.46:O Colar Especial Da Macro Como Valores Insere Um Caractere De Apstrofe Nas Clulas 9j


    Tenho um código que seleciona um intervalo com diversas fórmulas e valores, copia e cola especial valores.
    Somente com o intuito de diminuir o tamanho do arquivo e tempos de cálculos.
    O problema é que quando executo o código, o excel insere um ( ' ) antes do conteúdo da célula, o que me atrapalha com outras fórmulas.

    Alguém poderia me dizer como solucionar este problema.
    Parte do Código:
    Range(P11).Select
    ActiveCell.FormulaR1C1 = _
    =VLOOKUP(RC[-3],SERIE_NCR[[Num Serie]:[Biometria]],5,FALSE)
    Range(R11).Select
    ActiveCell.FormulaR1C1 = _
    =VLOOKUP(CONCATENATE(RC[-7],RC[-8]),tab_Cid_X_Mod[[CONCATENADO]:[CNPJ]],4,FALSE)
    Range(Q11).Select
    ActiveCell.FormulaR1C1 = _
    =IF(AND(ISERROR(RC[-12]),ISERROR(RC[-10])),XXX Fora de Contrato XXX,IF(IFERROR(AND(RC[-14]=5670,OR(RC[-5]=SAO CENTRO,RC[-5]=SAO SUL,RC[-5]=SAO ABC)),FALSE),XXX Fora de Contrato XXX,IF(IFERROR(AND(RC[-15]=Safra,RC[-13]Tecban),FALSE),XXX Fora de Contrato XXX,IF(IFERROR(AND(ISERROR(RC[-12]),ISNUMBER(RC[-10]),RC[-2]R7C14),FALSE),Incluir - Em Garantia,IF(IFERROR(AND(ISERROR(RC[-12]),ISNUMBER(RC[-10]),RC[-2]R7C14),FALSE),Incluir - Em Contrato,IF(AND(ISNUMBER(RC[-12]),ISERROR(RC[-10])),Retirar,IF(AND(ISNUMBER(RC[-12]),ISNUMBER(RC[-10]),RC[-4]=RC[-11],RC[-2]R7C14),Em Contrato,IF(AND(ISNUMBER(RC[-12]),ISNUMBER(RC[-10]),RC[-4]=RC[-11],RC[-2]R7C14),Em Garantia,IF(AND(ISNUMBER(RC[-12]),ISNUMBER(RC[-10]),RC[-4]RC[-11],RC[-2]R7C14),Alterar - Em Contrato,IF(AND(ISNUMBER(RC[-12]),ISNUMBER(RC[-10]),RC[-4]RC[-11],RC[-2]R7C14),Alterar - Em Garantia,))))))))))
    Range(B11:R11).Select
    Selection.AutoFill Destination:=Range(B11:R50010)
    Range(A11:R50010).Select
    Selection.Copy
    Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
    Application.CutCopyMode = False

    Cristiano Tomadon

    DB:2.46:O Colar Especial Da Macro Como Valores Insere Um Caractere De Apstrofe Nas Clulas 9j

    Apenas um comentário: você pode simplificar seu código um pouco evitando seleções desnecessárias:
    Sub pMain()
    Range(P11).FormulaR1C1 = =VLOOKUP(RC[-3],SERIE_NCR[[Num Serie]:[Biometria]],5,FALSE)
    Range(R11).FormulaR1C1 = =VLOOKUP(CONCATENATE(RC[-7],RC[-8]),tab_Cid_X_Mod[[CONCATENADO]:[CNPJ]],4,FALSE)
    Range(Q11).FormulaR1C1 = =IF(AND(ISERROR(RC[-12]),ISERROR(RC[-10])),XXX Fora de Contrato XXX,IF(IFERROR(AND(RC[-14]=5670,OR(RC[-5]=SAO CENTRO,RC[-5]=SAO SUL,RC[-5]=SAO ABC)),FALSE),XXX Fora de Contrato XXX,IF(IFERROR(AND(RC[-15]=Safra,RC[-13]Tecban),FALSE),XXX Fora de Contrato XXX,IF(IFERROR(AND(ISERROR(RC[-12]),ISNUMBER(RC[-10]),RC[-2]R7C14),FALSE),Incluir - Em Garantia,IF(IFERROR(AND(ISERROR(RC[-12]),ISNUMBER(RC[-10]),RC[-2]R7C14),FALSE),Incluir - Em Contrato,IF(AND(ISNUMBER(RC[-12]),ISERROR(RC[-10])),Retirar,IF(AND(ISNUMBER(RC[-12]),ISNUMBER(RC[-10]),RC[-4]=RC[-11],RC[-2]R7C14),Em Contrato,IF(AND(ISNUMBER(RC[-12]),ISNUMBER(RC[-10]),RC[-4]=RC[-11],RC[-2]R7C14),Em Garantia,IF(AND(ISNUMBER(RC[-12]),ISNUMBER(RC[-10]),RC[-4]RC[-11],RC[-2]R7C14),Alterar - Em Contrato,IF(AND(ISNUMBER(RC[-12]),ISNUMBER(RC[-10]),RC[-4]RC[-11],RC[-2]R7C14),Alterar - Em Garantia,))))))))))
    Range(B11:R11).AutoFill Destination:=Range(B11:R50010)
    Range(A11:R50010).Copy
    Selection.PasteSpecial Paste:=xlPasteValues
    Application.CutCopyMode = False
    End Sub

    Felipe Costa Gualberto - http://www.ambienteoffice.com.br

  • RELEVANCY SCORE 2.46

    DB:2.46:Error In System Logs Of The Abap Engine j8



    Hello All,

    I got a incident for "error in system logs of the abap engine".When i checked in SM21,

    -

    13:50:18 BTC 024 001 SETUPADMIN SM59 Q0 W

    SETUPADMIN deletes RFC destination

    0000000000011DECBA9958E212E09B2C

    05782 Background Processor No. 024 SETUPADMIN

    1 SM59 /ITSC/DSA_PERIODICAL T Transaction Problem STSK

    A destination has been deleted in SM59, destination

    maintenance of RFC.

    Problems can occur if this destination is still used in existing

    ABAP

    -

    I checked in sm37,the job /ITSAM/HEALTHCHECK which

    runs under the program /ITSC/DSA_PERIODICAL with frequency

    10 mins is in finished state.

    Kindly help me out, why this logs is always written in sm21 even if

    the job got finished .

    Thanks Regards,

    Harshavardhan

    DB:2.46:Error In System Logs Of The Abap Engine j8


    Hello All,

    I got a incident for "error in system logs of the abap engine".When i checked in SM21,

    -

    13:50:18 BTC 024 001 SETUPADMIN SM59 Q0 W

    SETUPADMIN deletes RFC destination

    0000000000011DECBA9958E212E09B2C

    05782 Background Processor No. 024 SETUPADMIN

    1 SM59 /ITSC/DSA_PERIODICAL T Transaction Problem STSK

    A destination has been deleted in SM59, destination

    maintenance of RFC.

    Problems can occur if this destination is still used in existing

    ABAP

    -

    I checked in sm37,the job /ITSAM/HEALTHCHECK which

    runs under the program /ITSC/DSA_PERIODICAL with frequency

    10 mins is in finished state.

    Kindly help me out, why this logs is always written in sm21 even if

    the job got finished .

    Thanks Regards,

    Harshavardhan

  • RELEVANCY SCORE 2.46

    DB:2.46:Self Test Oracle 8i And 9i pk


    Avail this opportunity

    Would you like to buy the selftest softwares?

    I have the following selftest softwares of 9i at only $40.
    1 Fundamental 1
    2 Fundamental 2
    3 SQL 9i

    I also have the selftest softwares for 8i whose details are as follows.
    All the followings are the exams which are available at only $30:

    1 1z0-001 Oracle: Intro to SQL ,PL/SQL
    2 1z0-023 Oracle8i : Architecture and Administration
    3 1z0-024 Oracle8i: Performance Tuning
    4 1z0-025 Oracle8i: Backup and Recovery
    5 1z0-026 Oracle8i : Network Administration

    Free stuff with the above softwares
    6 Braindumps for 1z0-001 Oracle: Intro to SQL ,PL/SQL.
    7 Braindumps for 1z0-023 Oracle8i : Architecture and Administration
    8 Braindumps for 1z0-024 Oracle8i: Performance Tuning
    9 Braindumps for 1z0-025 Oracle8i: Backup and Recovery
    10 Braindumps for 1z0-026 Oracle8i : Network Administration

    So what are you waiting for. ?

    Remember, just $30 (for all 8i selftests) or $40 (for each of 9i

    selftest) can make a big difference in your preparation for the exam.

    For correspondence, send me an email at sts_oracle@yahoo.com
    and sts_oracle@hotmail.com

    DB:2.46:Self Test Oracle 8i And 9i pk

    Avail this opportunity

    Would you like to buy the selftest softwares?

    I have the following selftest softwares of 9i at only $40.
    1 Fundamental 1
    2 Fundamental 2
    3 SQL 9i

    I also have the selftest softwares for 8i whose details are as follows.
    All the followings are the exams which are available at only $30:

    1 1z0-001 Oracle: Intro to SQL ,PL/SQL
    2 1z0-023 Oracle8i : Architecture and Administration
    3 1z0-024 Oracle8i: Performance Tuning
    4 1z0-025 Oracle8i: Backup and Recovery
    5 1z0-026 Oracle8i : Network Administration

    Free stuff with the above softwares
    6 Braindumps for 1z0-001 Oracle: Intro to SQL ,PL/SQL.
    7 Braindumps for 1z0-023 Oracle8i : Architecture and Administration
    8 Braindumps for 1z0-024 Oracle8i: Performance Tuning
    9 Braindumps for 1z0-025 Oracle8i: Backup and Recovery
    10 Braindumps for 1z0-026 Oracle8i : Network Administration

    So what are you waiting for. ?

    Remember, just $30 (for all 8i selftests) or $40 (for each of 9i

    selftest) can make a big difference in your preparation for the exam.

    For correspondence, send me an email at sts_oracle@yahoo.com
    and sts_oracle@hotmail.com

  • RELEVANCY SCORE 2.45

    DB:2.45:Iterative Data Step Programming fp



    I'm not really sure what SAS terms to use to describe what I'm trying to do, so the title of this discussion might be a little misleading, but I'll explain the problem and hopefully somebody will be able to answer the question.

    I've got a data set with 4 variables: (1) Examinee_ID, (2) Exam_ID, (3) Exam_Date, and (4) Pass_Fail_Status. An examinee can have multiple records because he or she can take a particular exam multiple times. He or she can also take multiple exams. He or she would have received a "P" (i.e., passing) or an "F" (failing) for each exam. Furthermore, all patterns are possible regarding pass_fail_status over time.

    I would like to create a new variable called "Attempt" that follows the following rules:

    1) If an examinee takes an exam for the first time, then Attempt for that record should be classified as "FT" (first-time).

    2) If an examinee takes an exam and fails, then the examinee's NEXT Attempt shoud be classified as "RT" (re-take).

    3) If an examinee takes an exam and passes, then the examinee's NEXT Attempt shoud be classified as "RC" (re-certification).

    Below is an example dataset that follows those rules. For example, Examinee 2 took Exam 2 a total of 4 times. His first attempt is classified as "FT". His 2nd attempt is classified as "RC" because on his previous attempt he passed the exam. His 3rd attempt is classified as a "RT" because he failed on his 2nd attempt. His 4th attempt is classified as "RC" because he passed his 3rd attempt. Also note that Examinee 3 took 2 different exams, taking Exam 1 twice and Exam 2 three times.

    Row Examinee_ID Exam_ID Exam_Date Pass_Fail_Status Attempt

    1 1 1 10/1/2011 F FT

    2 1 1 11/15/2011 P RT

    3 2 2 2/3/2005 P FT

    4 2 2 1/3/2008 F RC

    5 2 2 2/4/2008 P RT

    6 2 2 8/10/2012 P RC

    7 3 1 6/4/2009 P FT

    8 3 1 9/10/2011 F RC

    9 3 2 1/3/2008 P FT

    10 3 2 7/22/2011 F RC

    11 3 2 8/10/2011 F RT

    I want to be create the the Attempt variable using a DATA step or using PROC SQL. Either is fine for me. Thanks for your help!

    Andy

    DB:2.45:Iterative Data Step Programming fp


    @Andrew Dwyer : You aren't the only one who has indicated not being able to mark answers as being correct. What brand of browser are you using and which version of that browser?

  • RELEVANCY SCORE 2.45

    DB:2.45:Labview 5.1 To 11.0 jf


    Hello all,

    I've got a pretty strange Driver for the Keithly KE6485 Picoamperemeter as LV Version 5.1 llb files, some .mnu files and a .rc file. I hope you can help me with a conversion to the LV version compatible to 11.0.

    I am not sure what the .mnu and .rc files are good for, so I'll attach them as well as a .zip - compressed file.

    Thank you very much!

    Best Regards

    Petreus










    Attachments:







    KE6485.LLB ‏2952 KB

    DB:2.45:Labview 5.1 To 11.0 jf


    Mass compiled in 8.2.1




    There are only two ways to tell somebody thanks: Kudos and Marked Solutions

  • RELEVANCY SCORE 2.45

    DB:2.45:Crash, Terminate/Close And Freeze The Application With Save As And Open Dialog d9


    Hi All,
    I am facing a problem with my MFC application. The 'Save As' and 'Open' dialog automatically terminates/closes my application. Sometime the application doesn't get terminate/close but crash reproduce or freeze the application. I am using the
    below mentioned code for getting the file path for saving or reading. Please help me that how can i resolve or diagnose the problem.
    BOOL GetOpen_OR_SaveFileName(BOOL bOpenFileDialog, std::wstring filePath)
    {
    //this-UpdateData();
    BOOL rc = FALSE;
    wchar_t buf[MAX_PATH] = {'\0'};

    OPENFILENAME ofn;
    ::memset( ofn, 0, sizeof( OPENFILENAME ) );

    ofn.lStructSize = sizeof( OPENFILENAME );
    ofn.hwndOwner = this-GetSafeHwnd( );
    ofn.lpstrFile = buf;
    ofn.nMaxFile = MAX_PATH;
    ofn.lpstrFileTitle = NULL;
    ofn.nMaxFileTitle = 0;
    ofn.lpstrInitialDir = NULL;
    ofn.lpstrDefExt = NULL;
    ofn.lpstrFilter = _T(All files (*.*)\0*.*\0);

    if( bOpenFileDialog )
    {
    ofn.nFilterIndex = 0;
    ofn.lpstrTitle = _T(Open);
    ofn.Flags = OFN_EXPLORER | OFN_ENABLESIZING | OFN_HIDEREADONLY;
    rc = GetOpenFileName( ofn );
    }
    else
    {
    ofn.nFilterIndex = 1;
    ofn.lpstrTitle = _T(Save As);
    ofn.Flags = OFN_OVERWRITEPROMPT | OFN_EXPLORER | OFN_ENABLESIZING | OFN_HIDEREADONLY;
    rc = GetSaveFileName( ofn );
    }
    filePath = ( rc ('\0' != *ofn.lpstrFile) ) ? ofn.lpstrFile : L;

    //this-UpdateData(FALSE);
    return rc;
    }
    Sometime below shown exception occurs and doesn't show anything in call stack related to my code or mfc and just few Dll entries displays in call stack.

    DB:2.45:Crash, Terminate/Close And Freeze The Application With Save As And Open Dialog d9

    Whenever application crash then below shown call stack displays.

    Windows 8.1 Enterprise, Processor : i3-3220, RAM : 8 GB, System type : 64-bit Operating System, Microsoft Visual Studio Ultimate 2012

  • RELEVANCY SCORE 2.45

    DB:2.45:Windows 7 Rc 7z


    I am working with Windows 7 RC and thought I activated the product key.However, each day when I login, I get the message about Win 7 RC expiring on July 1. I see your link for installing Win 7 RC and how it will shut down...Do I really want to reinstall Win 7 RC if it's already on my PC. How can I ensure my product key has been activated?Any help will be appreciated.Thanks.

    DB:2.45:Windows 7 Rc 7z

    I would say you should go through the download process again through microsoft's RC download site. After you select the download option it will display for you a new key which should work with 7100. However this will only solve the problem if the error is with the key, and not with your Windows 7 build. If I were you I would go through the entire download process again and burn a new DVD.

  • RELEVANCY SCORE 2.44

    DB:2.44:Error 0x800f0818 During Ws2008 R2 Sp1 Rc Update With Ie9 Beta Installed f1


    Hi,
    Since I encountered some issue during 2008 R2 SP1 RC update, I wanted to share with you my troubleshoot and my solution, inspired from other threads and KB.
    I found that there are some issues if you have installed IE9 beta before SP1 update. I have to restore this two files :

    servicing\packages\Microsoft-Windows-InternetExplorer-Package~31bf3856ad364e35~amd64~~9.2.7930.16406.mum
    servicing\packages\Microsoft-Windows-InternetExplorer-Package~31bf3856ad364e35~amd64~~9.2.7930.16406.cat

    Iwrited a step by step on my blog:
    http://myitforum.com/cs2/blogs/forefrontsecurity/archive/2010/10/28/error-0x800f0818-during-windsows-server-2008-r2-sp1-rc-update.aspx
    Hope this can help other people who encountered the same issue.Olivier Detilleux - Service Line Manager | Core Infrastructure Department http://myitforum.com/cs2/blogs/forefrontsecurity/

  • RELEVANCY SCORE 2.44

    DB:2.44:New Release - Firmware Version 02.03.01-024 For My Book Live (10/25/11) cx



    WD is happy to announce the latest firmware update for the My Book Live. For information about the firmware update, please check out the release notes.

    Please feel free to post your experiences in this thread.




    Click the Kudos star to say thank you for helpful posts. And be sure to come back to click the 'Accept as Solution' button for the post that solved your issue. This may help someone else.

    DB:2.44:New Release - Firmware Version 02.03.01-024 For My Book Live (10/25/11) cx


    What a mess!!!. Just auto-upgraded to 02.03.01.024.

    Huge wait times to even connect to the dashboard 1 minute+ delay in logging in, 45sec-1:30 to logout. minutes and minutes to access, use, save settings. Green light flashing while drive is "idle." I have done re-sets, power down, swap router rj45 ports. Additionally, there was one dashboard error "31319" and a warning about losing network connectivity (traffic, timing. crowding?).. BOGUS. This is on a SOHO LAN with one user and no other activity (printing/internet).

    This is the same as a previous forum thread ---

    community.wdc.com/t5/My-Book-Live/New-Release-Firmware-Version-02-02-02-020-for-My-Book-Live-8-31/td-p/249714/page/1

    Tech support advises if the above steps do not work, unit is defective. Huh? Unit was not defect before firmware "upgrade."

    I have manually download the firmware and will try a reinstall.

    I will report again.

    In the meantime, anybody have suggestions?

  • RELEVANCY SCORE 2.44

    DB:2.44:Executearrayupdate Fail! Help Me! cs


    Hi All,
    Please help me with this. I wrote a very simple code to insert data into Oracle table. But I found that, it was too slow. I try array insert feature and not succesful. When call stmt-executeArrayUpdate(3);, my program raised error immediately.
    I am using Oracle 9.2.0.6 on Windows 2000 Advanced Server.
    -------------------------------------
    Environment* env = Environment::createEnvironment(Environment::THREADED_MUTEXED);
    Connection* conn = env-createConnection("test","z","CONN");
    Statement* stmt = conn-createStatement("insert into test(num) values(:1)");

    int it[10];
    it[0] = 1;
    it[1] = 2;
    it[2] = 3;
    it[3] = 4;

    ub4 inelements = 3;

    ub2 ilen[4];
    ilen[0] = sizeof(int);
    ilen[1] = sizeof(int);
    ilen[2] = sizeof(int);
    ilen[3] = sizeof(int);

    ub2 rc[4];
    rc[0] = 0;
    rc[1] = 0;
    rc[2] = 0;
    rc[3] = 0;

    int i = 1;
    stmt-setDataBufferArray(i++,it,OCCIINT,4,inelements,sizeof(int),ilen,NULL,rc);
    stmt-executeArrayUpdate(3);
    conn-commit();
    -----------------------------------
    Thank in advance.
    please send reply directly to quangnd412@yahoo.ca.
    I am in a urgent!

    DB:2.44:Executearrayupdate Fail! Help Me! cs

    Thanks for your reply,
    I have one more question: When a row in the array is rejected on error (primary key violated .etc), how can I identify the error row and skip that?

  • RELEVANCY SCORE 2.44

    DB:2.44:Remedy/Oracle Startup On Reboot jk



    I am a new user to this forum, therefore I'm not sure if this question/issue has been posted yet.

    We have just installed Remedy ARS 7.1, with Oracle 10g, running under Solaris 10.

    The installation of Remedy with Oracle went fine, however, after a reboot of the Solaris server there is a timing issue between the startup of Oracle and Remedy, utilzing the legacy "rc-related" scripts. It appears Remedy starts before Oracle has actually completed its' startup. We've attempted to incorporate "sleep" commands before the startup of Remedy within the "rc" files, and also a separate script that executes before Remedy, checking for specific Oracle processes, however, it appears under Solaris 10 this doesn't help. We can't seem to implement any dependencies within the initial startup after a reboot. Currently after a reboot, we have to manually stop and restart the Remedy processes to get it to connect to Oracle.

    We have read that Solaris 10 utilizes SMF to manage/control the execution of processes via XML files and it is recommended to use this method rather than the legacy "rc" files. Does anyone have any sample XML files available that can be used with Remedy 7.1 and\or Oracle 10g to setup the initialization process utilizing SMF? The problem only ocurrs during a reboot.

    Thanks,

    Lee

    DB:2.44:Remedy/Oracle Startup On Reboot jk


    I am a new user to this forum, therefore I'm not sure if this question/issue has been posted yet.

    We have just installed Remedy ARS 7.1, with Oracle 10g, running under Solaris 10.

    The installation of Remedy with Oracle went fine, however, after a reboot of the Solaris server there is a timing issue between the startup of Oracle and Remedy, utilzing the legacy "rc-related" scripts. It appears Remedy starts before Oracle has actually completed its' startup. We've attempted to incorporate "sleep" commands before the startup of Remedy within the "rc" files, and also a separate script that executes before Remedy, checking for specific Oracle processes, however, it appears under Solaris 10 this doesn't help. We can't seem to implement any dependencies within the initial startup after a reboot. Currently after a reboot, we have to manually stop and restart the Remedy processes to get it to connect to Oracle.

    We have read that Solaris 10 utilizes SMF to manage/control the execution of processes via XML files and it is recommended to use this method rather than the legacy "rc" files. Does anyone have any sample XML files available that can be used with Remedy 7.1 and\or Oracle 10g to setup the initialization process utilizing SMF? The problem only ocurrs during a reboot.

    Thanks,

    Lee

  • RELEVANCY SCORE 2.44

    DB:2.44:Thread: Novell Client For Vista Breaks Sysprep Autologon 13


    Hi,

    We use Sysprep Autologon to run some configuration files after the PC has been come out of sysprep on Vista.

    Without the Novell client installed it works fine. With the client installed I get password error.

    Oddly, if I manually set autoadminlogon in the registry with appropriate usernames and passwords it works.

    Thanks in advance for any advice,

    Stephen Burke

    Information Systems Consultant

    Warwick Business School

    phone 024 7657 2954

    fax 024 7652 4394

    DB:2.44:Thread: Novell Client For Vista Breaks Sysprep Autologon 13

    Stephen Burke Stephen.Burke@wbs.ac.uk wrote:

    We use Sysprep Autologon to run some configuration files

    after the PC has been come out of sysprep on Vista.

    Without the Novell client installed it works fine. With

    the client installed I get password error.

    Oddly, if I manually set autoadminlogon in the registry

    with appropriate usernames and passwords it works.

    Not sure if you meant in the registry literally with regard to the

    password. But the first thing that came to mind for me was whether

    possibly the Novell Client for Windows Vista wasn\'t successfully

    reading an encrypted AutoAdminLogon password set by Windows.

    (Introduced in Windows 2000, and stores the AutoAdminLogon password in

    an LSA-encrypted store instead of clear text in the registry.)

    But at least in my testing with Novell Client for Windows Vista 1.0

    English on Vista Ultimate x64, setting up the encrypted AutoAdminLogon

    password (using CONTROL.EXE USERPASSWORDS2 and de-selecting Users

    must enter a user name...) still resulted in a successful

    AutoAdminLogon.

    (The workstation automatically logged on to Windows only, same as

    occurs if you setup Windows AutoAdminLogon on XP/2003 when the Novell

    Client is present.)

    So I don\'t know what Sysprep\'s AutoAdminLogon would be doing that is

    so fundamentally different than setting up AutoAdminLogon through

    Windows\' other own interfaces. I would assume they do set the

    password as encrypted (I haven\'t used Sysprep on Vista to look for

    myself); maybe check and make sure there isn\'t also a

    DefaultPassword registry value being created in addition to the

    encrypted password, just in case this is ignored by Microsoft\'s

    credential provider but isn\'t ignored by Novell\'s.

    One workaround idea that comes to mind is to temporarily force the

    Novell Logon option in the Advanced Logon tab of the Novell Client

    Properties to Off. To see if getting the Novell Client\'s Vista

    credential provider out of the way lets the AutoAdminLogon succeed,

    or whether there is a deeper issue afoot.

    Note the setting can be imposed directly in the registry as:

    [HKEY_LOCAL_MACHINE\\Software\\Novell\\Authentication\\ NCCredProvider]

    Enabled=dword:00000000

    Alan Adams

    alancrumbadams@drcrumb.com

    (for email, remove the crumbs)

  • RELEVANCY SCORE 2.44

    DB:2.44:Ocipasswordchange Does Not Work When Pw Has Expired 8f


    I am trying to implement the OCIPasswordChange function but am having an interesting problem with it. If the userid that I am trying to change the pw for is not expired, my implementation works fine and the pw for the userid is updated. Running the exact same code, but forcing the pw to be expired via the servers "Database Home Page" before running it results in an "ORA-01017: invalid username/password; logon denied" error. I am using the right userid/pw and the preceding OCISessionBegin call return code correctly indicates that the pw has expired. Any ideas on what I am doing wrong?

    I am using Oracle Express 10g with the server on one pc and the client on another ... both XP.

    Here is a C example of using OciPasswordChange that I followed for implementing in VA Smalltalk. Thought it might help identify the problem:
    OCIPassworChange
    oid main()
    {
    intrc;

    charerrbuf[100];
    interrcode;

    // Step 1: Initialize OCI
    rc = OCIInitialize((ub4) OCI_DEFAULT, (dvoid *)0,
    (dvoid * (*)(dvoid *, size_t)) 0,
    (dvoid * (*)(dvoid *, dvoid *, size_t))0,
    (void (*)(dvoid *, dvoid *)) 0 );

    // Step 2: Initialize the OCI evironment
    rc = OCIEnvInit( (OCIEnv **) p_env, OCI_DEFAULT, (size_t) 0, (dvoid **) 0 );

    // Step 3: Initialize the OCI handles
    rc = OCIHandleAlloc( (dvoid *) p_env, (dvoid **) p_err, OCI_HTYPE_ERROR,
    (size_t) 0, (dvoid **) 0);

    rc = OCIHandleAlloc( (dvoid *) p_env, (dvoid **) p_svc, OCI_HTYPE_SVCCTX,
    (size_t) 0, (dvoid **) 0);

    rc = OCIHandleAlloc( (dvoid *) p_env, (dvoid **) p_srv, OCI_HTYPE_SERVER,
    (size_t) 0, (dvoid **) 0);

    rc = OCIHandleAlloc((dvoid *) p_env, (dvoid **)p_ses, (ub4) OCI_HTYPE_SESSION,
    (size_t) 0, (dvoid **) 0);

    // Step 4: Connect using a mutli-session connect
    rc = OCIServerAttach( p_srv, p_err,
    (text *)"local", 5, 0);

    // Create a server context
    rc = OCIAttrSet( (dvoid *) p_svc, OCI_HTYPE_SVCCTX,
    (dvoid *)p_srv, (ub4) 0,
    (ub4) OCI_ATTR_SERVER, (OCIError *) p_err);

    // Create a session context
    rc = OCIAttrSet((dvoid *) p_ses, (ub4) OCI_HTYPE_SESSION,
    (dvoid *) "testuser", (ub4) 8,
    (ub4) OCI_ATTR_USERNAME, p_err);
    rc = OCIAttrSet((dvoid *) p_ses, (ub4) OCI_HTYPE_SESSION,
    (dvoid *) "oldpass", (ub4) 7,
    (ub4) OCI_ATTR_PASSWORD, p_err);

    rc = OCIAttrSet((dvoid *) p_svc, (ub4) OCI_HTYPE_SVCCTX,
    (dvoid *) p_ses, (ub4) 0,
    (ub4) OCI_ATTR_SESSION, p_err);

    // Open the session on the server
    rc = OCISessionBegin ( p_svc, p_err, p_ses, OCI_CRED_RDBMS,
    (ub4) OCI_DEFAULT);

    // This is a generic error checking routine
    if (rc != 0)
    {
    OCIErrorGet((dvoid *)p_err, (ub4) 1, (text *) NULL, errcode,
    (text*)errbuf, (ub4) sizeof(errbuf), OCI_HTYPE_ERROR);
    printf("Error - %.*s\n", 512, errbuf);

    // If the error is a 28001, change the password.
    if(errcode==28001)
    {
    // You need to set the Session into the service context
    // before you can call OCIPasswordChange(), and you also need
    // to allocate both the session and service context handles
    // before hand. Then you can call OCIPasswordChange.
    rc = OCIAttrSet((dvoid *)p_svc, OCI_HTYPE_SVCCTX,
    (dvoid *)p_ses,0,OCI_ATTR_SESSION, p_err);
    rc = OCIPasswordChange(p_svc, p_err, "testuser",8,
    "oldpass",7, "newpass",8, OCI_DEFAULT);
    if(rc != 0) printf("Password change failed.\n");
    else printf("Password successfully changed.\n");
    }
    }

    // Step 10: Disconnect from the server and free the
    rc = OCIServerDetach( p_srv, p_err, OCI_DEFAULT );
    rc = OCIHandleFree((dvoid *) p_srv, OCI_HTYPE_SERVER);
    rc = OCIHandleFree((dvoid *) p_svc, OCI_HTYPE_SVCCTX);
    rc = OCIHandleFree((dvoid *) p_err, OCI_HTYPE_ERROR);
    printf("Disconnected.\n\n");

    return;
    }

    Thanks,
    Bob

    Edited by: bbrodd on Apr 10, 2013 6:44 AM

    DB:2.44:Ocipasswordchange Does Not Work When Pw Has Expired 8f

    I finally figured out my issue. I didn't realize that I was running with an 11.x Instant Client against my 10g Express DB. I don't remember setting up 11.x, but I have been running this way for about a year without experiencing any other problems. I don't know why the very specific event of updating an expired password fails (and updating an unexpired password succeeds), but re-installing the latest 10.x version of InstantClient resolved the issue.

  • RELEVANCY SCORE 2.44

    DB:2.44:Adf Rc Table Navigation s9


    Dear All ,

    I am Using ADF RC Component In JDeveloper 11g but i have two problems with adf rc table :

    1) adf rc table has no paging (navigation button next and previous) Such as those in adf table that in JDeveloper 10.1.3.3

    2) adf rc table has no facet with name action Such as adf table that in JDeveloper 10.1.3.3

    So please help me is there any alternative or way to do the same functionality for the table

    all best regards

    DB:2.44:Adf Rc Table Navigation s9

    ADF rich table don't use paging any more. You can just scroll up and down using the scroll bar (like in excel). The data is fetched in the background when you navigate in the table component.
    You can put action components in any facet the ad frc table has.
    If you must have the old style you can try the Trinidad table component.

    Timo

  • RELEVANCY SCORE 2.44

    DB:2.44:Thread: Nss Cluster Volume Issue 19


    Fairly new OES Linux cluster (OESSP2) - everything is working well in

    regards to services but we are seeing issues with the NSS clustered

    volumes. Everything is setup for clustering, but I am seeing odd things

    on failover to another node. In particular, there is one volume resource

    that seems to be a problem most often, but I am seeing errors show up

    in /var/log/novell/ncpserv.log on just about every NSS volume failover or

    migration to another node - even if the event is successful.

    On the one problem volume, when I see many of these errors (below), it

    goes into a comatose state and just hangs. In particular, it seems to

    fail most times at the ncpcon bind part of the script (as viewed in the

    log). Again, this is completely random and I cannot find any rhyme or

    reason. It will sometimes work 5-6 times in a row, and then all of a

    sudden fail. In addition, sometimes when it fails, I see the resource IP

    address does not unbind on unload which causes additional problems. When

    this happens, the only thing we can do is manually remove the virtual

    alias address on the node and then offline/online the cluster resource

    (frustrating).

    I have verified SLP, I have verified the volumes are setup correct, time

    sync is in check, eDir health looks good, etc. Anyone else seeing this

    stuff in an OES Linux cluster? Below are some of the errors seen in the

    ncpserv.log, which BTW - below are errors that presented themself even

    when the volumes migrated over and loaded successfully:

    [! 2006-12-30 10:20:31] ncp_idbroker_handler: (verb=1 len=96 ver=1)

    handler failed rc = -601

    [! 2006-12-30 10:20:31] AddVolumeToDirCache Error Parsing Trustee Data

    File; GUID and DN disagree with = 58e6c700-4f7a-11d3-a2c9-0060940aac23

    [! 2006-12-30 10:21:27] Unknown NSS volume guid

    b8de12a6-2954-01db-80-00-ad3555bbc64d

    [! 2006-12-30 10:22:08] Unknown NSS volume guid

    63b2b958-2954-01db-80-00-ad3555bbc64d

    [! 2006-12-30 10:22:09] ncp_idbroker_handler: (verb=1 len=96 ver=1)

    handler failed rc = -601

    [! 2006-12-30 10:22:09] ncp_idbroker_handler: (verb=1 len=92 ver=1)

    handler failed rc = -601

    [! 2006-12-30 10:22:09] ncp_idbroker_handler: (verb=1 len=76 ver=1)

    handler failed rc = -601

    [! 2006-12-30 10:22:11] NCPMapGUIDToUID: cannot map GUID to objectID

    [! 2006-12-30 10:22:11] ncp_idbroker_handler: (verb=5 len=16 ver=1)

    handler failed rc = -765

    [! 2006-12-30 10:22:11] ncp_idbroker_handler: (verb=1 len=96 ver=1)

    handler failed rc = -601

    [! 2006-12-30 10:22:15] NCPMapGUIDToUID: cannot map GUID to objectID

    [! 2006-12-30 10:22:15] ncp_idbroker_handler: (verb=5 len=16 ver=1)

    handler failed rc = -765

    [! 2006-12-30 10:22:15] NCPMapGUIDToUID: UID for this object (86df) is 0,

    returning -601

    [! 2006-12-30 10:22:15] ncp_idbroker_handler: (verb=5 len=16 ver=1)

    handler failed rc = -601

    [! 2006-12-30 10:22:15] NCPMapGUIDToUID: UID for this object (86df) is 0,

    returning -601

    [! 2006-12-30 10:22:15] ncp_idbroker_handler: (verb=5 len=16 ver=1)

    handler failed rc = -601

    [! 2006-12-30 10:22:15] NCPMapGUIDToUID: UID for this object (86df) is 0,

    returning -601

    [! 2006-12-30 10:22:15] ncp_idbroker_handler: (verb=5 len=16 ver=1)

    handler failed rc = -601

    [! 2006-12-30 10:22:17] NCPMapGUIDToUID: UID for this object (883d) is 0,

    returning -601

    [! 2006-12-30 10:22:17] ncp_idbroker_handler: (verb=5 len=16 ver=1)

    handler failed rc = -601

    [! 2006-12-30 10:22:17] NCPMapGUIDToUID: UID for this object (883d) is 0,

    returning -601

    [! 2006-12-30 10:22:17] ncp_idbroker_handler: (verb=5 len=16 ver=1)

    handler failed rc = -601

    Thanks in advance!

    DB:2.44:Thread: Nss Cluster Volume Issue 19

    I have been having some file locking/stuck connection problems with my

    cluster so I started to look through the logs and found that mine look

    basically the same as yours. Everything seems to be working ok but I was

    going to rug the server up to the latest version and now I am a little

    concerned. I tried to update nds information in nssmu, on one of my nodes

    I asks me if I want to delete the objects and recreate them (which I was

    scared to do) the other server give a 20011 - A default named pool object

    cannot be created for an existing shared pool. I\'m not sure if this is

    something to be concerned about or not.

    Doug

    Fairly new OES Linux cluster (OESSP2) - everything is working well in

    regards to services but we are seeing issues with the NSS clustered

    volumes. Everything is setup for clustering, but I am seeing odd things

    on failover to another node. In particular, there is one volume resource

    that seems to be a problem most often, but I am seeing errors show up

    in /var/log/novell/ncpserv.log on just about every NSS volume failover or

    migration to another node - even if the event is successful.

    On the one problem volume, when I see many of these errors (below), it

    goes into a comatose state and just hangs. In particular, it seems to

    fail most times at the ncpcon bind part of the script (as viewed in the

    log). Again, this is completely random and I cannot find any rhyme or

    reason. It will sometimes work 5-6 times in a row, and then all of a

    sudden fail. In addition, sometimes when it fails, I see the resource IP

    address does not unbind on unload which causes additional problems. When

    this happens, the only thing we can do is manually remove the virtual

    alias address on the node and then offline/online the cluster resource

    (frustrating).

    I have verified SLP, I have verified the volumes are setup correct, time

    sync is in check, eDir health looks good, etc. Anyone else seeing this

    stuff in an OES Linux cluster? Below are some of the errors seen in the

    ncpserv.log, which BTW - below are errors that presented themself even

    when the volumes migrated over and loaded successfully:

    [! 2006-12-30 10:20:31] ncp_idbroker_handler: (verb=1 len=96 ver=1)

    handler failed rc = -601

    [! 2006-12-30 10:20:31] AddVolumeToDirCache Error Parsing Trustee Data

    File; GUID and DN disagree with = 58e6c700-4f7a-11d3-a2c9-0060940aac23

    [! 2006-12-30 10:21:27] Unknown NSS volume guid

    b8de12a6-2954-01db-80-00-ad3555bbc64d

    [! 2006-12-30 10:22:08] Unknown NSS volume guid

    63b2b958-2954-01db-80-00-ad3555bbc64d

    [! 2006-12-30 10:22:09] ncp_idbroker_handler: (verb=1 len=96 ver=1)

    handler failed rc = -601

    [! 2006-12-30 10:22:09] ncp_idbroker_handler: (verb=1 len=92 ver=1)

    handler failed rc = -601

    [! 2006-12-30 10:22:09] ncp_idbroker_handler: (verb=1 len=76 ver=1)

    handler failed rc = -601

    [! 2006-12-30 10:22:11] NCPMapGUIDToUID: cannot map GUID to objectID

    [! 2006-12-30 10:22:11] ncp_idbroker_handler: (verb=5 len=16 ver=1)

    handler failed rc = -765

    [! 2006-12-30 10:22:11] ncp_idbroker_handler: (verb=1 len=96 ver=1)

    handler failed rc = -601

    [! 2006-12-30 10:22:15] NCPMapGUIDToUID: cannot map GUID to objectID

    [! 2006-12-30 10:22:15] ncp_idbroker_handler: (verb=5 len=16 ver=1)

    handler failed rc = -765

    [! 2006-12-30 10:22:15] NCPMapGUIDToUID: UID for this object (86df) is 0,

    returning -601

    [! 2006-12-30 10:22:15] ncp_idbroker_handler: (verb=5 len=16 ver=1)

    handler failed rc = -601

    [! 2006-12-30 10:22:15] NCPMapGUIDToUID: UID for this object (86df) is 0,

    returning -601

    [! 2006-12-30 10:22:15] ncp_idbroker_handler: (verb=5 len=16 ver=1)

    handler failed rc = -601

    [! 2006-12-30 10:22:15] NCPMapGUIDToUID: UID for this object (86df) is 0,

    returning -601

    [! 2006-12-30 10:22:15] ncp_idbroker_handler: (verb=5 len=16 ver=1)

    handler failed rc = -601

    [! 2006-12-30 10:22:17] NCPMapGUIDToUID: UID for this object (883d) is 0,

    returning -601

    [! 2006-12-30 10:22:17] ncp_idbroker_handler: (verb=5 len=16 ver=1)

    handler failed rc = -601

    [! 2006-12-30 10:22:17] NCPMapGUIDToUID: UID for this object (883d) is 0,

    returning -601

    [! 2006-12-30 10:22:17] ncp_idbroker_handler: (verb=5 len=16 ver=1)

    handler failed rc = -601

    Thanks in advance!

  • RELEVANCY SCORE 2.44

    DB:2.44:Jcmon -- Command 20 -- Can't Open Shared Memory Administration (Rc=3) jf



    This is Enterprise Portal 6.0, (J2EE Engine - 6.40 PatchLevel 102141.313) and (Portal - 6.0.9.0.0) running on HP-UX (B.11.11) .

    In the jcmon Menu when I select the option 20 getting error -- Can't open shared memory administration (rc=3).

    If I select the command 10 getting error -- Can't connect to message server (rc=-1)

    Below is the 2 command with error.

    Request some one to suggest.

    Thanks

    RGY

    ===========================================================

    JControl Monitor Program - Main Menue

    ===========================================================

    0 : exit

    -

    10 : Cluster Administration Menue

    -

    20 : Local Administration Menue

    -

    command = 20

    Can't open shared memory administration (rc=3)

    ============================================================

    JControl Monitor Program - Main Menue

    ============================================================

    0 : exit

    -

    10 : Cluster Administration Menue

    -

    20 : Local Administration Menue

    -

    command = 10

    Can't connect to message server (rc=-1)

    Thanks a lot

    RGY

    DB:2.44:Jcmon -- Command 20 -- Can't Open Shared Memory Administration (Rc=3) jf


    Hello Ravish ,

    Some one has solved this issue :

    Hello All,

    I solved this same problem using configtool to set the follow Max parameters to 512M:

    - server_IDXX (General and bootstrap)

    - Instance_IDXX (Message Server Bootstrap and Servers General)

    and using instance.properties

    - all MaxHeapSize

    All others parameters I set according SAP note 709140 and 716604.

    I'm using WAS 6.40 ABAP+Java Stack15 on WINNT (4Gb RAM) running XI.

    Regards,

    Lucas Oliveira

    Hope below thread help you :

    Re: "Dispatcher running. Server not Connected"

    Re: Shared memory error with jcmon

    Revert back to me if you need further assistance .

    Regards ,

    Santosh

  • RELEVANCY SCORE 2.44

    DB:2.44:Pcoip Reconnect Issues - Vm Thinks Another Connection Attempt Is Taking Place So Kills My Reconnect Attempt??? fk



    I've recently had issues where if I disconnect from a VM (I have 3 dedicated VM's in different pools that show this behavior) and then try to reconnect, I get the "black screen" and then a disconnect message saying the connection attempt ended. looking in the VM logs, I see the following (note, all x.x.x.x are valid IP's that I edited from this post). googling the "tera disconnect cause host broker reconnect" error indicates its either some pre-startup/shutdown message that I don't understand, or that view thinks another connection attempt is simultaneously being made. has anyone seen this before? and how do you troubleshoot it? there isn't enough for me to respond to here. i'm assigned to this VM and unless someone has my random RSA FOB token, and also somehow tried to interrupt my connection 20-30 times across the past several days, I dont believe a second connection attempt is trying to be made every time this happens. I have found if I reboot the VM, I can then connect fine, but if I then disconnect and try to reconnect this issue comes back.

    11/18/2014, 10:27:18.230 LVL:2 RC: 0 SERVER :server main: ViewAgent gave us a preferred connection address of 'x.x.x.x.

    ----------------------------------------------

    11/18/2014, 10:27:21.397 LVL:2 RC: 0 MGMT_SSIG :Received session INVITE (10.10.20.191, 5C-26-0A-86-F0-7E, PRI: 0)

    11/18/2014, 10:27:21.397 LVL:2 RC: 0 MGMT_SSIG :Client NATd address (x.x.x.x)

    11/18/2014, 10:27:21.397 LVL:2 RC: 0 MGMT_SSIG :Local IP address (x.x.x.x

    ----------------------------------------------

    11/18/2014, 10:27:21.397 LVL:2 RC: 0 PSDP :PCoIP MTU size - negotiated: 1200

    ----------------------------------------------

    11/18/2014, 10:27:21.413 LVL:2 RC: 0 MGMT_SSIG :Session established successfully (x.x.x.x, 5C-26-0A-86-F0-7E, PRI: 0)

    ----------------------------------------------

    11/18/2014, 10:30:41.888 LVL:2 RC: 0 SERVER :server cleanup: tearing down pcoip with agent disconnect reason code(5) and waiting

    11/18/2014, 10:30:41.888 LVL:1 RC: 0 SERVER :map_agent_to_tera: DISCONNECT_FOR_RECONNECT -TERA_DISCONNECT_CAUSE_HOST_BROKER_RECONNECT

    11/18/2014, 10:30:41.888 LVL:0 RC: 0 MGMT_SESS :Tearing down the session

    11/18/2014, 10:30:41.888 LVL:2 RC: 0 MGMT_PERF_MON :mgmt_perf_mon_timer_cback: calling UnmapViewOfFile...

    11/18/2014, 10:30:41.888 LVL:1 RC: 1 MGMT_SYS :tera_mgmt_sys_exit: tera_mgmt_perf_mon_stop() failed

  • RELEVANCY SCORE 2.44

    DB:2.44:Loop Help px


    I am trying to create a program that will take 2 series of numbers and do a formula.  I have the number 1-39 across row 1 in excel and 1-39 along column 1.  the formula is
    For counter = 1 To 39
        ActiveCell.Select
        ActiveCell.FormulaR1C1 = =(0.4*RC[-1])+(0.6*Rc)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-2])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-3])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-4])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-5])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-6])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-7])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-8])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-9])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-10])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-11])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-12])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-13])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-14])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-15])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-16])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-17])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-18])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-19])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-20])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-21])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-22])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-23])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-24])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-25])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-26])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-27])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-28])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-29])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-30])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-31])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-32])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-33])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-34])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-35])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-36])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-37])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-38])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-39])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select
        ActiveCell.Select    ActiveCell.Offset(1, -39).Range(a1).Select        Next counter
    End Sub
    this will allow me to get all = rows of cells complete if I manually place a -1 where the (i) is, but the data will always be taken from the previous cell. 
    the problem is that  I want to create a loop that will change each variable (i) from -1 to -39 to fill the other 39 rows and columns correctly with the number from row 1 and column 1 respectively.  please help
     

    DB:2.44:Loop Help px

    I am trying to create a program that will take 2 series of numbers and do a formula.  I have the number 1-39 across row 1 in excel and 1-39 along column 1.  the formula is
    For counter = 1 To 39
        ActiveCell.Select
        ActiveCell.FormulaR1C1 = =(0.4*RC[-1])+(0.6*Rc)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-2])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-3])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-4])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-5])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-6])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-7])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-8])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-9])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-10])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-11])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-12])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-13])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-14])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-15])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-16])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-17])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-18])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-19])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-20])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-21])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-22])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-23])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-24])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-25])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-26])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-27])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-28])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-29])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-30])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-31])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-32])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-33])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-34])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-35])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-36])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-37])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-38])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select    ActiveCell.FormulaR1C1 = =(0.4*RC[-39])+(0.6*RC)    ActiveCell.Offset(0, 1).Range(A1).Select
        ActiveCell.Select    ActiveCell.Offset(1, -39).Range(a1).Select        Next counter
    End Sub
    this will allow me to get all = rows of cells complete if I manually place a -1 where the (i) is, but the data will always be taken from the previous cell. 
    the problem is that  I want to create a loop that will change each variable (i) from -1 to -39 to fill the other 39 rows and columns correctly with the number from row 1 and column 1 respectively.  please help
     

  • RELEVANCY SCORE 2.43

    DB:2.43:Help With 3010cn Printer Error Code Mpf 024-969 zp



    What does that mean? I have paper in the tray!

    DB:2.43:Help With 3010cn Printer Error Code Mpf 024-969 zp


    OK, I have letter paper in the MPF and I still get the error. error reads load MPF 024-969 letter. How do I print an internal printer settings report?

  • RELEVANCY SCORE 2.43

    DB:2.43:If Else Loop Freezing kd


    I have some vba code which successfully creates a spreadsheet with data from several other workbooks. However I'm currently having an issue when I'm trying to one of two formulas into columnR ofthe spreadsheet based upon the data within columns DF.
    As a newbie to VBA I'm struggling to solve this problem and assistance would be gratefully received. I've posted the code below.

    Dim f1 As String
    Dim f2 As String

    f1 = Formula = "=IF(AND(RC[-14]"" ""RC[-12]=""Murray Hog Artic"",RC[-10]VLOOKUP(RC[-14]"" ""RC[-12],drop,3,FALSE)),0,(RC[-10]-VLOOKUP(RC[-14]"" ""RC[-12],drop,3,FALSE))*VLOOKUP(RC[-14]"" ""RC[-12],drop,2,FALSE))"
    f2 = Formula = "=IF(OR(RC[-10]VLOOKUP(RC[-14],drop,3,FALSE),RC[-14]=""""),0,(H3-4)*VLOOKUP(RC[-14],drop,2,FALSE))"

    Do Until IsEmpty(ActiveCell.Offset(0, -10))

    Dim txt As String
    Dim haul As String
    Dim veh As String

    lrow = ActiveCell.Row

    haul = Range("D" ActiveCell.Row)
    veh = Range("F" ActiveCell.Row)
    txt = haul " " veh

    If txt = "Murray Hog Artic" Then
    Range("R" lrow) = f1
    Else
    Range("R" lrow) = f2

    End If
    Loop

    DB:2.43:If Else Loop Freezing kd

    I've changed them slgihtly and they now work correctly if input directly into the spreadsheet

    When you have the formula working correctly in the worksheet, turn on macro recording and then select the cell with the formula. Using the mouse place the cursor at the end of the formula in the formula editing bar and then press Enter. Stop the recorder and
    you will have the correct syntax for your formula.
    In the recorded formula it will start like the following:
    ActiveCell.FormulaR1C1 = "= and the rest of the formula.
    Replace ActiveCell with Range("F1") like the following:
    Range("F1").FormulaR1C1 = "= and the rest of your formula.

    Note that the recorded code will probably be in a new module and you might have to select that module by double clicking it in the Project Explorer on the left of the VBA editor. You can copy the code and paste it into your main code area.

    Thanks for this I've now changed the way it pastes the formula into the cell.
    I've used the ActiveCell rather than range option I originally had and this seems to have solved the issue.

  • RELEVANCY SCORE 2.43

    DB:2.43:My Secondary Keys Aren't Working kd


    Here is a fairly small sample program I wrote that illustrate that my secondary keys are not working correctly. It is an excerpt from a larger pgm in order to isolate the problem.
    Can someone please tell me what I am doing wrong?
    It merely creates environment, opens 1 primary and 1 secondary DB, associates them and then writes 10 records to the DB. It then reads all 10 records using the primary key, then reads all the records using the index "BBBBBB".
    This should get 4 records, but seems to get all 10 again. I traced thru my secondary key callback extractor routine and saw no errors. All looked OK.
    This is on WinXP and BDB 4.6.19.

    Thanks for any help.

    Jim

    /*

    */

    #include db.h
    #include stdio.h
    #include stdlib.h
    #include string.h

    #ifdef _WIN32
    #define snprintf _snprintf
    #else
    #include unistd.h
    #endif

    /* from Al W. */
    char *datum[] = {
    "00000001AABBBBBBBBBBXXXXXCCCCC9999DDDDDDFFFFFFFFFFGGGGGGGGGG",
    "00000002AAWWWWWWBBBBXXXXXCCCCC9999DDDDDDFFFFFFFFFFGGGGGGGGGG",
    "00000003AAWWWWWWBBBBYYYYYCCCCC9999DDDDDDFFFFFFFFFFZZZZZGGGGG",
    "00000004AAWWWWWWBBBBYYYYYCCCCCDDDDDDDDDDFFFFFFFFFFZZZZZGGGGG",
    "00000005AABBBBBBBBBBYYYYYCCCCCDDDDDDDDDDFFFFFFFFFFZZZZZGGGGG",
    "00000006AABBBBBBBBBBCCCCCCCCCCDDDDDDDDDDFFFFFFFFFFTTTTTGGGGG",
    "00000007AABBBBBBBBBBCCCCCCCCCCDDDDDDDDDDFFFFFFFFFFHHHHHGGGGG",
    "00000020AAQQQQQQBBBBCCCCCCCCCCDDDDDDDDDDFFFFFFFFFFHHHHHGGGGG",
    "00000021AAQQQQQQBBBBCCCCCCCCCCDDDDDDDDDDFFFFFFFFFFHHHHHGGGGG",
    "00000022AABBBBBBBBBBCCCCCCCCCCDDDDDDDDDDFFFFFFFFFFHHHHHGGGGG",
    NULL
    };

    char *indices[] = {
    "PKEY",
    "INDEX1",
    NULL,
    "INDEX2",
    "INDEX3",
    "INDEX4",
    "INDEX5",
    NULL
    };

    int lens[6] = { 8, 6, 5, 4, 6, 5 };

    int offsets[6] = { 0, 10, 20, 30, 40, 50 };

    DB *dbs[]= {
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    };

    char *dbnames[] = {
    "p1.db",
    "s1.db",
    "s2.db",
    "s3.db",
    "s4.db",
    "s5.db",
    NULL
    };

    int ndb = 0;
    int nrecs = 10;
    int plen = 8;
    int poff = 0;
    DB_ENV *dbenv;
    char *dbhome = "./";
    void teardown( void );
    int get_sec( DB dbp, const DBT pkey, const DBT pdata, DBT skey );

    int main( int argc, char *argv[] )
    {
    int ii, jj, kk, rc, count;
    int openopts = DB_CREATE | DB_THREAD;
    int envopts = DB_CREATE | DB_INIT_LOCK | DB_INIT_MPOOL | DB_THREAD | DB_INIT_TXN | DB_INIT_LOG | DB_RECOVER;
    char *dbname, keyval[32];
    DB db, dbp;
    DBT key, data;
    DB_TXN *txn = NULL;

    ndb = 0;
    while ( indices[ndb] ) {
    ndb++;
    }
    if ( rc = db_env_create( dbenv, 0 ) ) {
    return( rc );
    }
    dbenv-set_errpfx(dbenv, argv[0] );
    dbenv-set_verbose( dbenv, DB_VERB_DEADLOCK | DB_VERB_FILEOPS | DB_VERB_FILEOPS_ALL |
    DB_VERB_RECOVERY | DB_VERB_REGISTER | DB_VERB_REPLICATION | DB_VERB_WAITSFOR,
    1 );
    dbenv-set_lk_detect( dbenv, DB_LOCK_MINWRITE );
    dbenv-set_data_dir(dbenv, dbhome );
    dbenv-set_data_dir(dbenv, dbhome );
    dbenv-set_lg_dir( dbenv, dbhome );
    envopts |= DB_RECOVER;
    if ( ( rc = dbenv-open( dbenv, dbhome, envopts, 0 ) ) ) {
    dbenv-err( dbenv, rc, "environment open: %s", dbhome );
    return( rc );
    }
    dbenv-txn_begin( dbenv, NULL, txn, 0 );
    for ( ii=0; iindb; ii++ ) {
    dbname = dbnames[ii];
    if ( rc = db_create( dbs[ii], dbenv, 0) ) {
    dbenv-err( dbenv, rc, "db_create", dbname );
    return( rc );
    }
    db = dbs[ii];
    if ( ii 0 ) {
    if ( rc = db-set_flags( db, DB_DUPSORT ) ) {
    dbenv-err( dbenv, rc, "db-set_flags: %s", dbname );
    return( rc );
    }
    }
    if ( rc = db-open( db, txn, dbnames[ii], NULL, DB_BTREE, openopts, 0664 ) ) {
    dbenv-err( dbenv, rc, "db-open: %s", dbname );
    return( rc );
    }
    if ( ii 0 ) {
    if ( ( rc = db-associate( dbp, txn, db, get_sec, DB_CREATE ) ) != 0 ) {
    dbenv-err( dbenv, rc, "associate: %s", dbs[ii] );
    return( rc );
    }
    } else {
    dbp = dbs[ii];
    }
    }
    db-truncate( dbp, txn, count, 0 );
    ii = 0;
    while ( datum[ii] ) {
    memset( key, 0, sizeof(DBT) );
    memset( data, 0, sizeof(DBT) );
    memset( keyval, 0, sizeof(keyval) );
    key.size = plen;
    key.data = keyval;
    memcpy( keyval, datum[ii], key.size );
    data.data = datum[ii];
    data.size = strlen(datum[ii]);
    if ( rc = dbp-put( dbp, txn, key, data, 0 ) ) {
    dbenv-err( dbenv, rc, "db-put: %s", dbp );
    return( rc );
    }
    ii++;
    }
    txn-commit( txn, 0 );
    readit( "PKEY", NULL );
    readit( "INDEX1", "BBBBBB" );

    for ( ii=ndb-1; ii=0; ii-- ) {
    if ( rc = dbs[ii]-close( dbs[ii], 0 ) ) {
    dbenv-err( dbenv, rc, "close: %s", dbs[ii] );
    }
    }
    teardown();
    return( 0 );
    }

    int readit( char keyname, char keyval )
    {
    DBT key, data;
    DBC *cursor;
    DB *db = NULL;
    int ii, rc;
    char str[256];

    memset(key, 0, sizeof(DBT));
    memset(data, 0, sizeof(DBT));
    for ( ii=0; iindb; ii++ ) {
    if ( !strcmp(keyname, indices[ii] ) ) {
    db = dbs[ii];
    key.size = lens[ii];
    break;
    }
    }
    key.data = keyval;
    if ( rc = db-cursor( db, NULL, cursor, 0) ) {
    dbenv-err( dbenv, rc, "db-cursor" );
    return( rc );
    }

    while ( rc = cursor-get( cursor, key, data, DB_NEXT ) == 0 ) {
    memset( str, 0, sizeof(str) );
    memcpy( str, data.data, data.size );
    printf( "data=%s\n", str );
    }
    if ( rc = cursor-close( cursor ) ) {
    dbenv-err( dbenv, rc, "cursor-close" );
    }
    printf( "\n" );
    return( 0 );
    }

    int get_sec( DB dbp, const DBT pkey, const DBT pdata, DBT skey )
    {
    int ii, len, rc;
    u_int offset;
    char dat[256];

    for ( ii=0; iindb; ii++) {
    if ( dbp == dbs[ii] ) {
    offset = offsets[ii];
    len = lens[ii];
    break;
    }
    }
    /* Check to make sure there's data */
    if ( pdata-size offset ) {
    printf( "sizeoffset, size=%d, offset=%d\n", pdata-size, offset );
    return(-1);
    }
    memset(skey, 0, sizeof(DBT) );
    memset( dat, 0, sizeof(dat) );
    memcpy( dat, (char *)pdata-data + offset, lens[ii] );
    //skey-data = (u_int8_t *)pdata-data + offset;
    skey-data = dat;
    skey-size = (u_int32_t)strlen(skey-data);

    return(0);
    }

    void teardown( void )
    {
    DB_ENV *dbenvnew;
    int rc;

    if ( dbenv ) {
    rc = dbenv-close(dbenv, 0 );
    if ( rc ) {
    printf( "dbenv-close failed: %s\n", db_strerror(rc) );
    }
    dbenv = NULL;
    }
    if ((rc = db_env_create(dbenvnew, 0)) != 0) {
    printf( "db_env_create failed: %s\n", db_strerror(rc));
    return;
    }

    (void)dbenvnew-set_data_dir(dbenvnew, dbhome );
    if ( ( rc = dbenvnew-remove( dbenvnew, dbhome, 0 ) ) ) {
    printf( "DB_ENV-remove: %s\n", db_strerror(rc) );
    return;
    }
    return;
    }

    DB:2.43:My Secondary Keys Aren't Working kd

    Yep. Fixed to do DB_SET.
    The real flaw was in the maksec() key extractor. I was returning an incorrect length for the secondary key.

    Thanks for reply.

    Jim

  • RELEVANCY SCORE 2.43

    DB:2.43:Missing Audio Files k7


    My question is having to deal with an error code: (the application is not able to find specific audio files that I need to use) ex:Audio file Stw ped v1 024.AIF not found! I've deleted and re-installed the app, but the audio files still can't be found.

    DB:2.43:Missing Audio Files k7

    HiMany seem to be having similar issues with Logic downloads.First, go to Library:Application Support:GarageBand:Instrument Library:Sampler:Sampler FilesThe file that you have missing should be in Steinway Grand Piano (Pedal V1 Folder).If it is there, you may have an issue with the Spotlight index:http://support.apple.com/kb/ht2409If it is not there, you'll need to re-download (I suggest that you do it 1 package at a time). First, try re-installing the GarageBand content.hthCCT

  • RELEVANCY SCORE 2.43

    DB:2.43:How Do I Remove Windows 7 Sp1 Rc 7s


    Hi, Back last year I installed Windows 7 SP1 RC and have had no problems with it untill a few days ago when I tried to remove it to be ready for the SP1 RTM, now having checked the web found that I was not the only 1 with the same problem, looking again
    on the web I was shocked to find out that when I installed SP1 RC the uninstall files were placed in a temp folder and that if you carried out any housekeeping on your PC then the files would be deleted and hence the only way to remove SP1 RC was to carry
    out a clean install back to factory settings.
    Does any 1 know if microsoft can correct this.
    cheers

    DB:2.43:How Do I Remove Windows 7 Sp1 Rc 7s

    Good or bad a beta should never be installed on a PC you rely on for every day use. And beta's can = Bugs and bugs = Problems. Otherwise why would they call it a Beta.
    JS
    http://www.pagestart.com

    Never be afraid to ask. This forum has some of the best people in the world available to help.

  • RELEVANCY SCORE 2.42

    DB:2.42:Error During Main_Newbas/Startsap_Nbas s9



    Hello,

    We are upgrading from 4.7 to ECC 6.0 EHP 5 and we are getting an error on phase MAIN_NEWBAS/STARTSAP_NBAS.

    Checks after phase MAIN_NEWBAS/STARTSAP_NBAS were negative!

    Last error code set: RFC call to subst_get_uvers failed with key RFC_ERROR_COMMUNICATION (open): SAP_CMINIT3 : rc=20 Connect to SAP gateway failed Connect_PM GWHOST=ocean71, GWSERV=sapgw00, SYSNR=00 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '10.100.100.71:3300' not reached TIME Mon Jan 9 12:00:18 2012 RELEASE 720 COMPONENT NI (network interface) VERSION 40 RC -10 MODULE nixxi.cpp LINE 2898 DETAIL NiPConnect: 10.100.100.71:3300 SYSTEM CALL connect ERRNO 79 ERRNO TEXT Connection refused COUNTER 866 System start failed Earlier, validating the profile failed, see INSTANCE.OUT

    In the phases.log I see the following

    2WETQ372 test RFC failed, rc="-1"

    2 ETQ370 starting test RFC

    4 ETQ359 RFC Login to: System="DEV", Nr="00", GwHost="ocean71", GwService="sapgw

    00"

    4 ETQ359 RFC Login to: System="DEV", Nr="00", GwHost="ocean71", GwService="sapgw

    00"

    2 ETQ231 RFC Login failed

    4 ETQ359 RFC Login to: System="DEV", Nr="00", GwHost="ocean71", GwService="sapgw

    00"

    2 ETQ231 RFC Login failed

    2WETQ372 test RFC failed, rc="-1"

    2EETQ354 Starting system failed, rc="0"

    4 ETQ010 Date Time: 20120109120018

    Any help is appreciated.

    Thanks

    Scott

    DB:2.42:Error During Main_Newbas/Startsap_Nbas s9


    hello Scott,

    Please execute SAPPFPAR after modifying the parameter to avoid any other parameter related problems.

    Thanks,

    Siva Kumar

  • RELEVANCY SCORE 2.42

    DB:2.42:Sound Hangs... dm


    hello out there,

    i have some big problem with my SB li've 5. soundcard. Everytime i play some mp3s or wav files, the sound makes a noise like hanging (shredding). its not normla i know, but i tried with another card from a friend, and theres the same problem, i also changed the PCI slots (with both cards). it doesnt matter what i do... please help!!

    my computer:

    AMD athlon 2200+
    024 MB DDR
    2 harddri'ves:
    80 GB samsung
    20 GB maxtor
    ECS elitegroup L7VTA mainboard
    radeon 9800 pro
    SB li've! 5.

    thanks DFOB

    p.s.: i tried with my medion 5. soundsystem and my headset, the onlything left must be this soundcard

    DB:2.42:Sound Hangs... dm

    DFOB,

    If there are any updates available for the motherboard, it would be best to try those now. Also make sure you have a recent update for the graphics card.

    Other than that there is a lot of information in this knowledgebase article that may help:
    FONT face=Tms Rmn color=#0000a size=
    http://us.creative.com/support/kb/article.asp?l=2sid=656

    Cat

  • RELEVANCY SCORE 2.42

    DB:2.42:Memory Managing With Timesten mc


    My program's memory grows with time. Would anyone help me to point out where I have memory leaks?

    Here is the code:

    typedef SQLCHAR *STR;

    SQLHSTMT Ehstmt;
    SQLHENV henv;
    SQLHDBC hdbc;
    SQLROWSETSIZE gIrow;
    SQLRETURN rc;
    SQLLEN gvi_len;
    int v1=1,v2=1,v3=1;

    void bind_param(void)
    {
    char *sqlbuf;

    sqlbuf=(char *)malloc(4000);
    memset(sqlbuf,0,4000);

    sprintf(sqlbuf,"insert into test values(?,?,?);
    rc=SQLAllocStmt(hdbc,Ehstmt);
    handle_errors(hdbc,SQL_NULL_HSTMT,rc,DISCONNECT_EXIT,"allocating a statement handle",__FILE__,__LINE__);

    rc=SQLPrepare(Ehstmt, (STR)sqlbuf, SQL_NTS);
    handle_errors(hdbc,Ehstmt,rc,ABORT_DISCONNECT_EXIT, sqlbuf, __FILE__,__LINE__);

    rc=SQLBindParameter(Ehstmt,1,SQL_PARAM_INPUT,SQL_C_SLONG,SQL_INTEGER,(SQLULEN)sizeof(int),0,v1,sizeof

    (int),gvi_len);
    handle_errors(hdbc,Ehstmt,rc,ABORT_DISCONNECT_EXIT,"binding parameter",__FILE__,__LINE__);

    rc=SQLBindParameter(Ehstmt,2,SQL_PARAM_INPUT,SQL_C_SLONG,SQL_INTEGER,(SQLULEN)sizeof(int),0,v2,sizeof

    (int),gvi_len);
    handle_errors(hdbc,Ehstmt,rc,ABORT_DISCONNECT_EXIT,"binding parameter",__FILE__,__LINE__);

    rc=SQLBindParameter(Ehstmt,3,SQL_PARAM_INPUT,SQL_C_SLONG,SQL_INTEGER,(SQLULEN)sizeof(int),0,v3,sizeof

    (int),gvi_len);
    handle_errors(hdbc,Ehstmt,rc,ABORT_DISCONNECT_EXIT,"binding parameter",__FILE__,__LINE__);
    free(sqlbuf);

    return;
    }

    void connect_TT()
    {
    static char connstr[100];
    char errstr[4096];

    strcpy(connstr, "DSN=ute;OracleID=db;UID=ute;PWD=ute;AutoCreate=0;OverWrite=0");

    rc = SQLAllocEnv(henv);
    if(rc != SQL_SUCCESS rc != SQL_SUCCESS_WITH_INFO)
    {
    fprintf(stderr, "*** ERROR in %s, line %d: %s\n", __FILE__,__LINE__, "allocating an environment handle");
    exit(1);
    }
    rc = SQLAllocConnect(henv, hdbc);
    handle_errors(SQL_NULL_HDBC,SQL_NULL_HSTMT,rc,ERROR_EXIT,"allocating an connection handle",__FILE__,__LINE__);
    rc = SQLDriverConnect(hdbc, NULL, (STR)connstr, SQL_NTS, NULL, 0, NULL, SQL_DRIVER_NOPPOMPT);
    handle_errors(hdbc,SQL_NULL_HSTMT,rc,ERROR_EXIT,"connecting to driver",__FILE__,__LINE__);
    return;
    }

    void main()
    {
    connect_TT();
    bind_param();
    for(int i=0;i100000;i++)
    {
    v1++;
    v2++;
    v3++;
    rc=SQLParamOption(Ehstmt,1,gIrow);
    handle_errors(hdbc,Ehstmt,rc,ABORT_DISCONNECT_EXIT,"settint batch size",__FILE__,__LINE__);

    rc=SQLExecute(Ehstmt);
    handle_errors(hdbc,Ehstmt,rc,NO_EXIT,errmsg,__FILE__,__LINE__);

    rc=SQLTransact(henv,hdbc,SQL_COMMIT);
    handle_errors(hdbc,SQL_NULL_HSTMT,rc,NO_EXIT,"committing",__FILE__,__LINE__);

    }
    rc=SQLFreeStmt(Ehstmt,SQL_DROP);
    handle_errors(hdbc,Ehstmt,rc,DISCONNECT_EXIT,"freeing the statement handle",__FILE__,__LINE__);

    rc=SQLDisconnect(hdbc);
    handle_errors(hdbc,SQL_NULL_HSTMT,rc,ERROR_EXIT,"disconnecting",__FILE__,__LINE__);

    rc=SQLFreeConnnect(hdbc);
    handle_errors(hdbc,SQL_NULL_HSTMT,rc,ERROR_EXIT,"freeing the connection handle",__FILE__,__LINE__);

    rc=SQLFreeEnv(henv);
    handle_errors(SQL_NULL_HDBC,SQL_NULL_HSTMT,rc,ERROR_EXIT,"freeing the enviroment handle",__FILE__,__LINE__);
    }

    DB:2.42:Memory Managing With Timesten mc

    As Jim says, the only way to know if you might have a real memory leak is to use a tool such as Purify or Valgrind. You cannot use tools such as vmstat, top, ps etc. to diagnose memory leaks as the information they report is unsuitable for that purpose. I can send you a whitepaper that explains why this is if you are interested.

    Chris

  • RELEVANCY SCORE 2.42

    DB:2.42:Sccm 2012 Agent Installation Error p8


    Dear Team,
    Im in a process of installing sccm agent on client pcs. unfortunately im getting the below error when trying to install. please advise what needs to be done.
    OS = Server 2008r2 with sp1
    SCCM 2012 with sp 1
    SQL 2008 R2 With sp 2

    --- Connected to administrative share on machine DE-PC-024 using account 'SANJEDE\smsadmin' SMS_CLIENT_CONFIG_MANAGER 1/24/2013 9:47:18 AM 6360 (0x18D8)
    --- Attempting to make IPC connection to share \\DE-PC-024\IPC$ SMS_CLIENT_CONFIG_MANAGER 1/24/2013 9:47:18 AM 6360 (0x18D8)
    --- Searching for SMSClientInstall.* under '\\DE-PC-024\admin$\' SMS_CLIENT_CONFIG_MANAGER 1/24/2013 9:47:18 AM 6360 (0x18D8)
    --- Unable to connect to WMI on remote machine DE-PC-024, error = 0x800706ba. SMS_CLIENT_CONFIG_MANAGER 1/24/2013 9:47:18 AM 6360 (0x18D8)
    --- Deleting SMS Client Install Lock File '\\DE-PC-024\admin$\SMSClientInstall.P01' SMS_CLIENT_CONFIG_MANAGER 1/24/2013 9:47:18 AM 6360 (0x18D8)
    Execute query exec [sp_CP_SetLastErrorCode] 2097152050, -2147023174 SMS_CLIENT_CONFIG_MANAGER 1/24/2013 9:47:18 AM 6360 (0x18D8)
    Stored request 2097152050, machine name DE-PC-024, in queue Retry. SMS_CLIENT_CONFIG_MANAGER 1/24/2013 9:47:18 AM 6360 (0x18D8)
    Execute query exec [sp_CP_SetPushRequestMachineStatus] 2097152050, 2 SMS_CLIENT_CONFIG_MANAGER 1/24/2013 9:47:18 AM 6360 (0x18D8)
    Execute query exec [sp_CP_SetLatest] 2097152050, N'01/24/2013 17:47:18', 2 SMS_CLIENT_CONFIG_MANAGER 1/24/2013 9:47:18 AM 6360 (0x18D8)

    thank you
    Mahesh

    DB:2.42:Sccm 2012 Agent Installation Error p8

    You should upgrade to SP1 CU2.Jason | http://blog.configmgrftw.com

  • RELEVANCY SCORE 2.42

    DB:2.42:Envelope Printing jd


    So far I can't get Adobe Photoshop to print. So I thought I would mail merge and at least get the envelopes printed ...no luck

    1) Envelopes are ole #10. Nothing Special
    2) I have envelopes selected in all the right places, Word, Dell Print Driver, and Cn3000 Panel
    3) It starts to print then stops with " LOAD MPF 024-969" in the LCD Panel
    4) I load, reload, reprint, cancel, reload, reprint, nothing.

    DELL is getting a return if I can't get an answer! Was on the phone in queue in Bangalanowhere for over 30 minutes. Never got to talk to someone I wouldn't be able to understand anyway.

    Why are we left to fend for ourselves!?!?!?!

    DB:2.42:Envelope Printing jd

    envelopes wrinkling is a known issue with this perticular model 3000/3100cn. there is currently no fix available other than to try different types of envelopes until you find one that works. i've had luck with the really cheap office depot brand, but no real fix other than that. (hence why envelope printing is not a selling feature if the unit) but as far as the paper jam when it's out of paper goes ... it should not be doing that at all. when it's empty, it should say "load mpf xxxxxx .. xxxxxxx" i would suggest you call support, and arrange for some kind of service for it. i suspect that a sensor might be bad.

  • RELEVANCY SCORE 2.42

    DB:2.42:Reative Soundblaster Live 1024 And Front Audio p7


    Hi all together!?I have a few questions:?Is it possible to use my Front Audio?with Creative Soundblaster Li've 024 Is it possible to do this?with the Audio Extension Pins?Thanks 4 your help. Greetzxerxes

    DB:2.42:Reative Soundblaster Live 1024 And Front Audio p7

    Hi all together!?I have a few questions:?Is it possible to use my Front Audio?with Creative Soundblaster Li've 024 Is it possible to do this?with the Audio Extension Pins?Thanks 4 your help. Greetzxerxes

  • RELEVANCY SCORE 2.42

    DB:2.42:Generate Number sx


    hi

    i need to generate a field called REF for reports in apps
    i am using oracle 6i report builder

    function refFormula return Char is
    peri DATE;
    NAM VARCHAR(100);
    begin

    SELECT start_Date into peri FROM HR.PER_TIME_PERIODS PRD WHERE prd.time_period_id in
    (SELECT distinct time_period_id
    from napesco_payroll_lst v
    WHERE PAYROLL_ACTION_ID =:p_Payroll_id );
    -- = :p_TIME_period_id;
    nam := to_char(peri,'MM / YY')||' NBK - SAL';
    return(nam);

    end;

    output for REF in report would be Ref : 02 / 10 NBK - SAL

    Similarly i need for another report REF as Ref:1131-CER-HE-024
    1131-CER-HE is constant ,i have to generate a number starting from 1 ie 001 and it should increment everytime a report is run

    kindly help me

    DB:2.42:Generate Number sx

    You can use a sequence in the database to generate the number between 0 and 100 or whatever. Other option is to store the last sequence in a table and pick it up from there and increment everytime report is run.
    Regards
    Gopal

  • RELEVANCY SCORE 2.42

    DB:2.42:I Need Vba Help jd


    Please help to make automatic macros including the following macros:

    I have two micros:
    1)
    Sub Buy()
    '
    ' Buy Macro
    '

    '
    ActiveCell.FormulaR1C1 = "=(RC[-1]-RC[-2])*10000"
    ActiveCell.Offset(1, 0).Range("A1").Select
    End Sub

    2)
    Sub Sell()
    '
    ' Sell Macro
    '

    '
    ActiveCell.FormulaR1C1 = "=(RC[-2]-RC[-1])*10000"
    ActiveCell.Offset(1, 0).Range("A1").Select
    End Sub

    How to make a new “macros”: I want to write in Cell C2 – Buy, and I want “macros” or VBA to run automatically 1 macros (buy) in cell G2
    And when I write in Cell C3 – Sell, and automatically run the second macros in cell G3.

    Please help me with such macros. I am not proficient in VBA. I appreciate your support and help.

    DB:2.42:I Need Vba Help jd

    Thank you very much for your help.

  • RELEVANCY SCORE 2.42

    DB:2.42:Nw Ce 7.2 Error While Starting Java: Could Not Copnnect To Message Server f1


    Hello,I have installed the NW CE 7.2 Trialversion. msg_server is running, but the as java can not connect to the message server. I have also maintained the hostsfile (IP-hostname). What else have I to do?Thank you for your help in advance,Peterp-/ptrc file: "dev_jstart.3840", trc level: 1, release: "720"/p-/p-/ptrc file: "dev_jstart.new", trc level: 1, release: "720"/p-/psysno 00sid CE1systemid 560 (PC with Windows NT)relno 7200patchlevel 0patchno 22intno 20020600make multithreaded, Unicode, optimizedprofile C:\usr\sap\CE1\SYS\profile\CE1_J00_ip-0A335F4Epid 3840* ACTIVE TRACE LEVEL 1 ACTIVE TRACE COMPONENTS All, egi*Sun Aug 28 19:49:52 2011* trace logging activated, max size = 52428800 bytes, 2 versions*arguments : arg[ 0] : C:\usr\sap\CE1\SYS\exe\uc\NTI386\jstart.EXE arg[ 1] : pf=C:\usr\sap\CE1\SYS\profile\CE1_J00_ip-0A335F4EF F Sun Aug 28 19:49:53 2011F ********************************************************************************F Java environment properties (C:\usr\sap\CE1\J00\work\jstart.jvm)F root directory : C:\usr\sap\CE1\SYS\exe\jvm\NTI386\sapjvm_6.1.007/sapjvm_6F vendor : SAP AGF version : 1.6.0_07F cpu : x86F java vm type : serverF java vm version : 6.1.007F jvm library name : jvm.dllF library path : C:\usr\sap\CE1\SYS\exe\jvm\NTI386\sapjvm_6.1.007\sapjvm_6\jre\bin\server;C:\usr\sap\CE1\SYS\exe\jvm\NTI386\sapjvm_6.1.007\sapjvm_6\jre\binF executable path : C:\usr\sap\CE1\SYS\exe\jvm\NTI386\sapjvm_6.1.007\sapjvm_6\binF ********************************************************************************F SAP extensions : availableF ********************************************************************************I [Thr 1712] MtxInit: 30002 0 2-trc file: "dev_jstart", trc level: 1, release: "720"-* ACTIVE TRACE LEVEL 1 ACTIVE TRACE COMPONENTS All, egi*M M [Thr 1712] Sun Aug 28 19:50:03 2011M [Thr 1712] *** ERROR = MsINiWrite: NiBufSend (rc=NIETIMEOUT) [msxxi.c 2730]M [Thr 1712] *** ERROR = MsIDetach: MsINiWrite (rc=MSENILAYER) [msxxi.c 1299]M M [Thr 1712] Sun Aug 28 19:50:13 2011M [Thr 1712] *** ERROR = MsINiWrite: NiBufSend (rc=NIETIMEOUT) [msxxi.c 2730]M [Thr 1712] *** ERROR = MsIDetach: MsINiWrite (rc=MSENILAYER) [msxxi.c 1299]M M [Thr 1712] Sun Aug 28 19:50:14 2011M [Thr 1712] ***LOG Q0I= NiPConnect2: 10.51.95.78:3201: connect (10060: WSAETIMEDOUT: Connection timed out) [nixxi.cpp 3255]M [Thr 1712] *** ERROR = NiPConnect2: SiPeekPendConn failed for hdl 33/sock 432 (SI_ECONN_REFUSE/10060; I4; ST; 10.51.95.78:3201) [nixxi.cpp 3255]E [Thr 1712] *** ERROR = EnqTCDisconnect: EnqTCIGetConn failed; invalid TChdl 33 [enxxtc.c 346]M M [Thr 1712] Sun Aug 28 19:50:23 2011M [Thr 1712] *** ERROR = MsINiWrite: NiBufSend (rc=NIETIMEOUT) [msxxi.c 2730]M [Thr 1712] *** ERROR = MsIDetach: MsINiWrite (rc=MSENILAYER) [msxxi.c 1299]M M [Thr 1712] Sun Aug 28 19:50:33 2011M [Thr 1712] *** ERROR = MsINiWrite: NiBufSend (rc=NIETIMEOUT) [msxxi.c 2730]M [Thr 1712] *** ERROR = MsIDetach: MsINiWrite (rc=MSENILAYER) [msxxi.c 1299]M M [Thr 1712] Sun Aug 28 19:50:43 2011M [Thr 1712] *** ERROR = MsINiWrite: NiBufSend (rc=NIETIMEOUT) [msxxi.c 2730]M [Thr 1712] *** ERROR = MsIDetach: MsINiWrite (rc=MSENILAYER) [msxxi.c 1299]M M [Thr 1712] Sun Aug 28 19:50:45 2011M [Thr 1712] ***LOG Q0I= NiPConnect2: 10.51.95.78:3201: connect (10060: WSAETIMEDOUT: Connection timed out) [nixxi.cpp 3255]M [Thr 1712] *** ERROR = NiPConnect2: SiPeekPendConn failed for hdl 41/sock 440 (SI_ECONN_REFUSE/10060; I4; ST; 10.51.95.78:3201) [nixxi.cpp 3255]E [Thr 1712] *** ERROR = EnqTCDisconnect: EnqTCIGetConn failed; invalid TChdl 41 [enxxtc.c 346]F F [Thr 1712] Sun Aug 28 19:50:53 2011F [Thr 1712] *** ERROR = cannot connect to Message Server. [sfxxmsc.hpp 788]M [Thr 1712] *** ERROR = MsINiWrite: NiBufSend (rc=NIETIMEOUT) [msxxi.c 2730]M [Thr 1712] *** ERROR = MsIDetach: MsINiWrite (rc=MSENILAYER) [msxxi.c 1299]F [Thr 1712] *** LOG = connecting to Message Server.F [Thr 1712] *** LOG = Run level 0 completed.F [Thr 1712] *** LOG = Instance state is "Instance terminated" (STOPPED @ 0, INACTIVE).I [Thr 1712] MPI: dynamic quotas disabled.I [Thr 1712] MPI init: pipes=4000 buffers=1279 reserved=383 quota=10% M [Thr 1712] *** WARNING = NiSelIGetMode: invalid hdl 30 [nixxsel.cpp 1475]F [Thr 1712] *** ERROR = SfCEventDispatcher::remHandler: mpSelSet-getMode failed (rc = -8 NIEINVAL) [sfxxevt.hpp 3691]M [Thr 1712] *** WARNING = NiSelIRemove: invalid hdl 30 [nixxsel.cpp 792]F [Thr 1712] *** ERROR = SfCEventDispatcher::remHandler: mpSelSet-remove failed (rc = -8 NIEINVAL) [sfxxevt.hpp 3704]M [Thr 1712] *** WARNING = NiSelIGetMode: invalid hdl 29 [nixxsel.cpp 1475]F [Thr 1712] *** ERROR = SfCEventDispatcher::remHandler: mpSelSet-getMode failed (rc = -8 NIEINVAL) [sfxxevt.hpp 3691]M [Thr 1712] *** WARNING = NiSelIRemove: invalid hdl 29 [nixxsel.cpp 792]F [Thr 1712] *** ERROR = SfCEventDispatcher::remHandler: mpSelSet-remove failed (rc = -8 NIEINVAL) [sfxxevt.hpp 3704]M [Thr 1712] *** WARNING = NiSelIGetMode: invalid hdl 28 [nixxsel.cpp 1475]F [Thr 1712] *** ERROR = SfCEventDispatcher::remHandler: mpSelSet-getMode failed (rc = -8 NIEINVAL) [sfxxevt.hpp 3691]M [Thr 1712] *** WARNING = NiSelIRemove: invalid hdl 28 [nixxsel.cpp 792]F [Thr 1712] *** ERROR = SfCEventDispatcher::remHandler: mpSelSet-remove failed (rc = -8 NIEINVAL) [sfxxevt.hpp 3704]M [Thr 1712] *** WARNING = NiSelIGetMode: invalid hdl 25 [nixxsel.cpp 1475]F [Thr 1712] *** ERROR = SfCEventDispatcher::remHandler: mpSelSet-getMode failed (rc = -8 NIEINVAL) [sfxxevt.hpp 3691]M [Thr 1712] *** WARNING = NiSelIRemove: invalid hdl 25 [nixxsel.cpp 792]F [Thr 1712] *** ERROR = SfCEventDispatcher::remHandler: mpSelSet-remove failed (rc = -8 NIEINVAL) [sfxxevt.hpp 3704]M [Thr 1712] *** WARNING = NiSelIGetMode: invalid hdl 27 [nixxsel.cpp 1475]F [Thr 1712] *** ERROR = SfCEventDispatcher::remHandler: mpSelSet-getMode failed (rc = -8 NIEINVAL) [sfxxevt.hpp 3691]M [Thr 1712] *** WARNING = NiSelIRemove: invalid hdl 27 [nixxsel.cpp 792]F [Thr 1712] *** ERROR = SfCEventDispatcher::remHandler: mpSelSet-remove failed (rc = -8 NIEINVAL) [sfxxevt.hpp 3704]M [Thr 1712] *** WARNING = NiSelIGetMode: invalid hdl 26 [nixxsel.cpp 1475]F [Thr 1712] *** ERROR = SfCEventDispatcher::remHandler: mpSelSet-getMode failed (rc = -8 NIEINVAL) [sfxxevt.hpp 3691]M [Thr 1712] *** WARNING = NiSelIRemove: invalid hdl 26 [nixxsel.cpp 792]F [Thr 1712] *** ERROR = SfCEventDispatcher::remHandler: mpSelSet-remove failed (rc = -8 NIEINVAL) [sfxxevt.hpp 3704]M [Thr 1712] *** ERROR = MsINiWrite: NiBufSend (rc=NIETIMEOUT) [msxxi.c 2730]M [Thr 1712] *** ERROR = MsIDetach: MsINiWrite (rc=MSENILAYER) [msxxi.c 1299]F F ********************************************************************************F *** ERROR = Cannot connect to Message Server.F ***F *** Please see section 'Instance initialization issues'F *** in SAP Note 1316652 for additional information and trouble shooting advice.F ********************************************************************************F F [Thr 1712] *** LOG = exiting (exitcode -21000, retcode 2)./p

    DB:2.42:Nw Ce 7.2 Error While Starting Java: Could Not Copnnect To Message Server f1

    Hello Sunny,thank you for your help. Meanwhile my system is up and running. I installed it in the AWS. I did not know, that each time you start the service a new IP and with this an new hostname is given. Afer I have disabled this in the Ec2ConfigServiceSettings and installed the system newly, it is running.Peter

  • RELEVANCY SCORE 2.42

    DB:2.42:Rc65rx Remote af



    New Install on 12-10-12. DTV RC would control H34 H dvr or Olivea 300 37" Tv with use of slide bar OK.

    #1 Tried to use DTV TV power buttons. Light over Dtv signals then light over Tv signals but

    no results at either unit.This continued from day 1.

    #2 Last night the DTV postion on slide just quit working. Did reset at H34, pulled the power plug

    but resets did not help. Have to use H34 front panel controls to get limited use of TV.

    All tv controls work on Olivea remote and DTV RC.

    Seems that Dtv RC selection on DTV remote has lost contact with H34 which is set on RF.

    Thanks for your help !!

    DB:2.42:Rc65rx Remote af


    1. dtv

    2. press and hold MUTE SELECT, wait for two blinks, release

    3. enter 0 0 0 0 1

    test, if it still doen't work, continue:

    4. press and hold MUTE SELECT, wait for two blinks, release

    5. enter 9 6 1

    6. press CH UP

    7. enter last 6 digits of Receiver ID #(RID), found on a sticker in the access card compartment

    8. press SELECT

  • RELEVANCY SCORE 2.42

    DB:2.42:Pl/Sql Mail Utility :: Binary/Ascii/Cc/Bcc/Filedump pd


    I was working on my mail package and decided it was overtly complicated and
    stripped it down to its bare bones. Here is what I came up with. Built on a previous
    foundation of anothers work, I expanded the functionality considerably. You will find all
    the features I think that you will need regarding a mail routine. There is also a nice
    filedump routine included which makes very easy to create flat file dumps that you can
    then attach to your emails. There are a few pre-reqs in using this though :

    - 9iR2+
    - DBA_Directories defined as opposed to utl_file paths
    - Java Virtual Machine. Document can be found in Note :105472.1 Setup, Configuration,
    and Use of the Java Virtual Machine on metalink.

    As always, I welcome feedback and suggestions for improvement.

    Barry C
    http://www.myoracleportal.com

    CREATE OR REPLACE PACKAGE mail_tools
    AS
    -- SENDMAIL supports variable message length with/without attachments
    -- QUERY_SERVER allows you to check the status of a mail server to see if it is running
    -- DUMP_FLATFILE allows you to dump flat file data from query submitted
    --
    --
    -- Query Server to verify that the server is up and running.
    -- Connects, Noop Command is executed, Disconnect.

    --
    -- GET_MAIL_ADDRESS is utilized in the SENDMAIL procedure
    --
    --
    --
    -- Table 100-3 SMTP Reply Codes
    -- Reply Code
    -- Meaning
    --
    -- 211 System status, or system help reply
    --
    -- 214 Help message [Information on how to use the receiver or the meaning of a particular non-standard command; this reply is useful only to the human user]
    --
    -- 220 domain Service ready
    --
    -- 221 domain Service closing transmission channel
    --
    -- 250 Requested mail action okay, completed
    --
    -- 251 User not local; will forward to forward-path
    --
    -- 252 OK, pending messages for node node started. Cannot VRFY user (e.g., info is not local), but will take message for this user and attempt delivery.
    --
    -- 253 OK, messages pending messages for node node started
    --
    -- 354 Start mail input; end with CRLF.CRLF
    --
    -- 355 Octet-offset is the transaction offset
    --
    -- 421 domain Service not available, closing transmission channel (This may be a reply to any command if the service knows it must shut down.)
    --
    -- 450 Requested mail action not taken: mailbox unavailable [for example, mailbox busy]
    --
    -- 451 Requested action aborted: local error in processing
    --
    -- 452 Requested action not taken: insufficient system storage
    --
    -- 453 You have no mail.
    --
    -- 454 TLS not available due to temporary reason. Encryption required for requested authentication mechanism.
    --
    -- 458 Unable to queue messages for node node
    --
    -- 459 Node node not allowed: reason
    --
    -- 500 Syntax error, command unrecognized (This may include errors such as command line too long.)
    --
    -- 501 Syntax error in parameters or arguments
    --
    -- 502 Command not implemented
    --
    -- 503 Bad sequence of commands
    --
    -- 504 Command parameter not implemented
    --
    -- 521 Machine does not accept mail.
    --
    -- 530 Must issue a STARTTLS command first. Encryption required for requested authentication mechanism.
    --
    -- 534 Authentication mechanism is too weak.
    --
    -- 538 Encryption required for requested authentication mechanism.
    --
    -- 550 Requested action not taken: mailbox unavailable [for , mailbox not found, no access]
    --
    -- 551 User not local; please try forward-path
    --
    -- 552 Requested mail action aborted: exceeded storage allocation
    --
    -- 553 Requested action not taken: mailbox name not allowed [for example, mailbox syntax incorrect]
    --
    -- 554 Transaction failed
    --
    --
    --
    /*
    This version allows for a customized seperator value. Using this function will allow you to
    perform fixed width flat files by defining '' for no seperator and then RPAD/LPAD your columns as necessary.
    Or use whatever seperator you wish to use, pipe, space, zeros, etc.
    */

    -- Example : This will generate a flat file which tabbed seperated
    --
    -- DECLARE
    -- l_rows NUMBER;
    -- l_sql VARCHAR2(32000);
    -- BEGIN
    -- l_sql := '
    -- SELECT rpad(hou.NAME,70) udn_desc
    -- , rpad(pcak.segment1,6) coid
    -- , rpad(pcak.segment2,4) udn
    -- FROM hr_all_organization_units hou, hr.pay_cost_allocation_keyflex pcak
    -- WHERE TRUNC (SYSDATE) BETWEEN hou.date_from
    -- AND NVL (hou.date_to, ''31-DEC-4712'')
    -- AND pcak.cost_allocation_keyflex_id = hou.cost_allocation_keyflex_id
    -- GROUP BY pcak.segment1, pcak.segment2, hou.NAME
    -- ORDER BY 1, 2, 3
    -- ';
    --
    -- l_rows :=
    -- dump_flatfile
    -- (p_query =
    -- , p_dir = 'INTF000_TABLES'
    -- , p_filename = 'test.csv'
    -- , p_separator = ' ' -- = tabbed 5 spaces between each column
    -- , p_max_linesize = 32000
    -- , p_mode = 'w' -- (w)rite mode or (a)ppend mode
    -- );
    -- END;
    FUNCTION dump_flatfile (
    p_query IN VARCHAR2
    , p_dir IN VARCHAR2
    , p_filename IN VARCHAR2
    , p_separator IN VARCHAR2
    , p_headers IN BOOLEAN DEFAULT FALSE
    , p_trailing_separator IN BOOLEAN DEFAULT FALSE
    , p_max_linesize IN NUMBER DEFAULT 32000
    , p_mode IN VARCHAR2 DEFAULT 'w' )
    RETURN NUMBER;

    FUNCTION get_mail_address (
    addr_list IN OUT VARCHAR2 )
    RETURN VARCHAR2;

    FUNCTION smtp_command (
    command IN VARCHAR2
    , ok IN VARCHAR2 DEFAULT '250'
    , code OUT VARCHAR2
    , DEBUG NUMBER DEFAULT 0 )
    RETURN BOOLEAN;

    FUNCTION query_server (
    smtp_server VARCHAR2
    , smtp_server_port PLS_INTEGER DEFAULT 25
    , DEBUG NUMBER DEFAULT 0 )
    RETURN BOOLEAN;

    /*
    This procedure uses the UTL_TCP package to send an email message.
    Up to three file names may be specified as attachments.

    Written: Dave Wotton, 14/6/01 (Cambridge UK)
    This script comes with no warranty or support. You are free to
    modify it as you wish, but please retain an acknowledgement of
    my original authorship.

    Amended: Dave Wotton, 10/7/01
    Now uses the utl_smtp.write_data() method to send the message,
    eliminating the 32Kb message size constraint imposed by the
    utl_smtp.data() procedure.

    Amended: Dave Wotton, 20/7/01
    Increased the v_line variable, which holds the file attachment
    lines from 400 to 1000 bytes. This is the maximum supported
    by RFC2821, The Simple Mail Transfer Protocol specification.

    Amended: Dave Wotton, 24/7/01
    Now inserts a blank line before each MIME boundary line. Some
    mail-clients require this.

    Amended: Dave Wotton, 4/10/01
    Introduced a 'debug' parameter. Defaults to 0. If set to
    non-zero then errors in opening files for attaching are
    reported using dbms_output.put_line.
    Include code to hand MS Windows style pathnames.

    Amended: Barry Chase, 4/29/03
    Added Priority to procedure and also X-Mailer ID.
    Removed restrictions for email size limitation as well.
    Emails are now formatted text messages, meaning you can
    write your message in html format.
    And finally, changed from using UTL_SMTP to UTL_TCP instead.

    Amended: Barry Chase 11/10/2003
    Added session timeout of 4 minutes to prevent hanging server connections

    Amended: Barry Chase 12/04/2003
    Added Date String so that it represents timezone of originating server
    p_datestring

    Amended: Barry Chase 03/01/2004
    Added functionality to support binary attachments and remote attachments.
    Its about 98% complete. Not work perfectly yet. Still trying to figure out
    encoding to base64 or mime. Have a good start on it though.

    04/12/2004
    BCHASE :: Binary Support is fully functional now.

    09/01/2005
    BCHASE :: Modified attachment directories to use DBA_DIRECTORIES instead
    of UTL_DIR in the Oracle initialization file.

    02/22/2006
    BCHASE :: Added variable length message email support (CLOB)

    04/21/2006
    BCHASE :: Expanded functionality to include Cc and Bcc
    Also removed redundant calls from package. The single
    mail_files command will handle flat files and binary files such as zip/pdf/etc.

    SMTP Server and SMTP Server Port are parameters on the sendmail procedure now
    as well.

    Refer to http://home.clara.net/dwotton/dba/oracle_smtp.htm for more
    details on the original source code.

    For information on the enhanced mail_tools package as provided by Barry
    Chase, refer to http://www.myoracleportal.com

    */

    /* Retrieves local binary file from database server.
    * using DBMS_LOB commands and stores into BLOB
    *
    * return BLOB
    */
    FUNCTION get_local_binary_data (
    p_dir IN VARCHAR2
    , p_file IN VARCHAR2 )
    RETURN BLOB;

    /* Supports binary attachments and message of variable length. Uses CLOB.*/

    -- DECLARE
    -- t_blob BLOB;
    -- BEGIN
    --
    -- Use the get_local_binary_data to collect your BLOB from the filesystem
    -- or just load from a table where your BLOB is stored at, then just pass
    -- as t_blob on the binaryfile parameter below. Remember to provide an
    -- appropriate filename. Optionally, you can leave filename NULL and pass
    -- the binaryfile parameter as EMPTY_BLOB() to send an email without an
    -- attachment.
    --
    -- t_blob :=
    -- mail_tools.get_local_binary_data
    -- ( p_dir = 'INTF0047_TABLES'
    --, p_file = 'test_file1.csv' );
    -- mail_tools.sendmail
    -- ( smtp_server = 'your.smtp.server'
    -- , smtp_server_port = 25
    -- , from_name = 'Email Address of Sender'
    -- , to_name = 'list of TO email addresses separated by commas (,)'
    -- , cc_name = 'list of CC email addresses separated by commas (,)'
    -- , bcc_name = 'list of BCC email addresses separated by commas (,)'
    -- , subject = 'Some brief Subject'
    -- , MESSAGE = 'Your message goes here. Can include HTML code.'
    -- , priority = '1-5 1 being the highest priority and 3 normal priority'
    -- , filename = 'your.filename.txt or leave NULL'
    -- , binaryfile = 'your blob is passed here otherwise leave as EMPTY_BLOB()
    -- , DEBUG = 'Default is DBMS output otherwise pass a 1 to disable );
    -- END;
    --
    PROCEDURE sendmail (
    smtp_server VARCHAR2
    , smtp_server_port PLS_INTEGER DEFAULT 25
    , from_name VARCHAR2
    , to_name VARCHAR2
    , cc_name VARCHAR2 DEFAULT NULL
    , bcc_name VARCHAR2 DEFAULT NULL
    , subject VARCHAR2
    , MESSAGE CLOB
    , priority PLS_INTEGER DEFAULT NULL
    , filename VARCHAR2 DEFAULT NULL
    , binaryfile BLOB DEFAULT EMPTY_BLOB ( )
    , DEBUG NUMBER DEFAULT 0 );

    v_parm_value VARCHAR2 ( 4000 );
    lbok BOOLEAN;
    v_smtp_server VARCHAR2 ( 50 );
    v_smtp_server_port NUMBER := 25;
    crlf VARCHAR2 ( 10 ) := utl_tcp.crlf;
    conn utl_tcp.connection;
    p_debug_marker PLS_INTEGER := 0;
    rc INTEGER;
    p_from_name VARCHAR2 ( 100 );
    p_to_name VARCHAR2 ( 4000 );
    p_cc_name VARCHAR2 ( 4000 );
    p_bcc_name VARCHAR2 ( 4000 );
    p_subject VARCHAR2 ( 150 );
    tx_timeout PLS_INTEGER := 240;
    -- 240 Seconds (4 minutes);
    --
    p_datestring VARCHAR2 ( 100 )
    := 'Date: '
    || TO_CHAR ( SYSDATE, 'MM/DD/RR HH:MI AM' )
    || ' '
    || DBTIMEZONE
    || ' '
    || '(GMT'
    || DBTIMEZONE
    || ')';
    -- Customize the signature that will appear in the email's MIME header.
    -- Useful for versioning.
    mailer_id CONSTANT VARCHAR2 ( 256 ) := 'Mailer by Oracle UTL_TCP';
    max_base64_line_width CONSTANT PLS_INTEGER := 76 / 4 * 3;
    END;
    /

    CREATE OR REPLACE PACKAGE BODY mail_tools
    IS
    PROCEDURE print_output (
    p_message IN VARCHAR2 )
    IS
    BEGIN
    dbms_output.put_line ( SUBSTR ( p_message
    , 1
    , 250 ));

    IF LENGTH ( p_message ) 250
    THEN
    dbms_output.put_line ( SUBSTR ( p_message
    , 251
    , 500 ));
    END IF;

    IF LENGTH ( p_message ) 500
    THEN
    dbms_output.put_line ( SUBSTR ( p_message
    , 501
    , 750 ));
    END IF;

    IF LENGTH ( p_message ) 750
    THEN
    dbms_output.put_line ( SUBSTR ( p_message
    , 751
    , 1000 ));
    END IF;
    EXCEPTION
    WHEN OTHERS
    THEN
    NULL; -- Ignore errors... protect buffer overflow's etc.
    END print_output;

    FUNCTION dump_flatfile (
    p_query IN VARCHAR2
    , p_dir IN VARCHAR2
    , p_filename IN VARCHAR2
    , p_separator IN VARCHAR2
    , p_headers IN BOOLEAN DEFAULT FALSE
    , p_trailing_separator IN BOOLEAN DEFAULT FALSE
    , p_max_linesize IN NUMBER DEFAULT 32000
    , p_mode IN VARCHAR2 DEFAULT 'w' )
    RETURN NUMBER
    IS
    l_output utl_file.file_type;
    l_thecursor INTEGER DEFAULT dbms_sql.open_cursor;
    l_columnvalue VARCHAR2 ( 4000 );
    l_status INTEGER;
    l_colcnt NUMBER DEFAULT 0;
    l_cnt NUMBER DEFAULT 0;
    l_separator VARCHAR2 ( 10 ) DEFAULT '';
    l_line LONG;
    l_desctbl dbms_sql.desc_tab;
    v_sqlerrm VARCHAR2 ( 32000 );
    l_mode CHAR ( 1 ) := 'w';
    BEGIN
    IF p_mode NOT IN ( 'w', 'a' )
    THEN
    l_mode := 'w';
    ELSE
    l_mode := p_mode;
    END IF;

    l_output := utl_file.fopen ( p_dir
    , p_filename
    , l_mode
    , p_max_linesize );
    dbms_sql.parse ( l_thecursor
    , p_query
    , dbms_sql.native );
    dbms_sql.describe_columns ( l_thecursor
    , l_colcnt
    , l_desctbl );

    FOR i IN 1 .. l_colcnt
    LOOP
    dbms_sql.define_column ( l_thecursor
    , i
    , l_columnvalue
    , 4000 );

    IF ( l_desctbl ( i ).col_type = 2 ) /* number type */
    THEN
    l_desctbl ( i ).col_max_len := l_desctbl ( i ).col_precision + 2;
    ELSIF ( l_desctbl ( i ).col_type = 12 ) /* date type */
    THEN
    /* length of my date format */
    l_desctbl ( i ).col_max_len := 20;
    ELSIF ( l_desctbl ( i ).col_type = 8 ) /* LONG type */
    THEN
    l_desctbl ( i ).col_max_len := 2000;
    END IF;

    IF p_headers
    THEN
    utl_file.put ( l_output, l_separator || l_desctbl ( i ).col_name );
    l_separator := p_separator;
    END IF;
    END LOOP;

    IF p_trailing_separator
    THEN
    utl_file.put ( l_output, l_separator );
    END IF;

    IF p_headers
    THEN
    utl_file.new_line ( l_output );
    END IF;

    l_status := dbms_sql.EXECUTE ( l_thecursor );

    LOOP
    EXIT WHEN ( dbms_sql.fetch_rows ( l_thecursor ) = 0 );
    l_line := NULL;
    l_separator := '';

    FOR i IN 1 .. l_colcnt
    LOOP
    dbms_sql.COLUMN_VALUE ( l_thecursor
    , i
    , l_columnvalue );

    IF NVL ( INSTR ( l_columnvalue, ',' ), 0 ) = 0
    THEN
    NULL;
    ELSE
    l_columnvalue := '"' || l_columnvalue || '"';
    END IF;

    utl_file.put ( l_output, l_separator || l_columnvalue );
    l_separator := p_separator;
    END LOOP;

    IF p_trailing_separator
    THEN
    utl_file.put ( l_output, l_separator );
    END IF;

    utl_file.new_line ( l_output );
    l_cnt := l_cnt + 1;
    END LOOP;

    dbms_sql.close_cursor ( l_thecursor );
    utl_file.fclose ( l_output );
    RETURN l_cnt;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    dbms_output.put_line ( 'NO_DATA_FOUND' );
    utl_file.fclose ( l_output );
    RETURN l_cnt;
    WHEN utl_file.invalid_path
    THEN
    dbms_output.put_line ( 'UTL_FILE.INVALID_PATH' );
    utl_file.fclose ( l_output );
    RETURN l_cnt;
    WHEN utl_file.read_error
    THEN
    dbms_output.put_line ( 'UTL_FILE.READ_ERROR' );
    utl_file.fclose ( l_output );
    RETURN l_cnt;
    WHEN utl_file.write_error
    THEN
    dbms_output.put_line ( 'UTL_FILE.WRITE_ERROR' );
    utl_file.fclose ( l_output );
    RETURN l_cnt;
    WHEN utl_file.invalid_mode
    THEN
    dbms_output.put_line ( 'UTL_FILE.INVALID_MODE' );
    utl_file.fclose ( l_output );
    RETURN l_cnt;
    WHEN utl_file.invalid_filehandle
    THEN
    dbms_output.put_line ( 'UTL_FILE.INVALID_FILEHANDLE' );
    utl_file.fclose ( l_output );
    RETURN l_cnt;
    WHEN utl_file.invalid_operation
    THEN
    dbms_output.put_line ( 'UTL_FILE.INVALID_OPERATION' );
    utl_file.fclose ( l_output );
    RETURN l_cnt;
    WHEN utl_file.internal_error
    THEN
    dbms_output.put_line ( 'UTL_FILE.INTERNAL_ERROR' );
    utl_file.fclose ( l_output );
    RETURN l_cnt;
    WHEN utl_file.invalid_maxlinesize
    THEN
    dbms_output.put_line ( 'UTL_FILE.INVALID_MAXLINESIZE' );
    utl_file.fclose ( l_output );
    RETURN l_cnt;
    WHEN VALUE_ERROR
    THEN
    dbms_output.put_line ( 'UTL_FILE.VALUE_ERROR' );
    utl_file.fclose ( l_output );
    RETURN l_cnt;
    WHEN OTHERS
    THEN
    hum_do.default_exception ( 'ERROR in dump_csv : ' );
    utl_file.fclose ( l_output );
    RETURN l_cnt;
    END dump_flatfile;

    -- Return the next email address in the list of email addresses, separated
    -- by either a "," or a ";". The format of mailbox may be in one of these:
    -- someone@some-domain
    -- "Someone at some domain" someone@some-domain
    -- Someone at some domain someone@some-domain
    FUNCTION get_mail_address (
    addr_list IN OUT VARCHAR2 )
    RETURN VARCHAR2
    IS
    addr VARCHAR2 ( 256 );
    i PLS_INTEGER;

    FUNCTION lookup_unquoted_char (
    str IN VARCHAR2
    , chrs IN VARCHAR2 )
    RETURN PLS_INTEGER
    AS
    c VARCHAR2 ( 5 );
    i PLS_INTEGER;
    len PLS_INTEGER;
    inside_quote BOOLEAN;
    BEGIN
    inside_quote := FALSE;
    i := 1;
    len := LENGTH ( str );

    WHILE ( i = len )
    LOOP
    c := SUBSTR ( str
    , i
    , 1 );

    IF ( inside_quote )
    THEN
    IF ( c = '"' )
    THEN
    inside_quote := FALSE;
    ELSIF ( c = '\' )
    THEN
    i := i + 1;
    -- Skip the quote character
    END IF;

    GOTO next_char;
    END IF;

    IF ( c = '"' )
    THEN
    inside_quote := TRUE;
    GOTO next_char;
    END IF;

    IF ( INSTR ( chrs, c ) = 1 )
    THEN
    RETURN i;
    END IF;

    next_char
    i := i + 1;
    END LOOP;

    RETURN 0;
    END;
    BEGIN
    addr_list := LTRIM ( addr_list );
    i := lookup_unquoted_char ( addr_list, ',;' );

    IF ( i = 1 )
    THEN
    addr := SUBSTR ( addr_list
    , 1
    , i - 1 );
    addr_list := SUBSTR ( addr_list, i + 1 );
    ELSE
    addr := addr_list;
    addr_list := '';
    END IF;

    i := lookup_unquoted_char ( addr, '' );

    IF ( i = 1 )
    THEN
    addr := SUBSTR ( addr, i + 1 );
    i := INSTR ( addr, '' );

    IF ( i = 1 )
    THEN
    addr := SUBSTR ( addr
    , 1
    , i - 1 );
    END IF;
    END IF;

    RETURN addr;
    END;

    FUNCTION smtp_command (
    command IN VARCHAR2
    , ok IN VARCHAR2 DEFAULT '250'
    , code OUT VARCHAR2
    , DEBUG NUMBER DEFAULT 0 )
    RETURN BOOLEAN
    IS
    response VARCHAR2 ( 3 );
    p_output_message VARCHAR2 ( 255 );
    len PLS_INTEGER;
    PRAGMA AUTONOMOUS_TRANSACTION;
    BEGIN
    len := utl_tcp.write_line ( conn, command );
    p_output_message := SUBSTR ( utl_tcp.get_line ( conn, TRUE )
    , 1
    , 255 );
    response := SUBSTR ( p_output_message
    , 1
    , 3 );
    p_output_message :=
    SUBSTR ( command || ' - ' || p_output_message
    , 1
    , 255 );

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;

    IF ( response ok )
    THEN
    code := response;
    RETURN FALSE;
    ELSE
    code := response;
    RETURN TRUE;
    END IF;
    EXCEPTION
    WHEN OTHERS
    THEN
    p_output_message := SQLCODE || ' - ' || SQLERRM;
    code := p_output_message;
    RETURN FALSE;
    END smtp_command;

    FUNCTION query_server (
    smtp_server VARCHAR2
    , smtp_server_port PLS_INTEGER DEFAULT 25
    , DEBUG NUMBER DEFAULT 0 )
    RETURN BOOLEAN
    IS
    p_output_message VARCHAR2 ( 255 );
    PRAGMA AUTONOMOUS_TRANSACTION;
    err_noop EXCEPTION; -- SMTP code 250 not received
    err_server_reject EXCEPTION;
    -- SMTP code 421 means rejected
    BEGIN
    v_smtp_server := smtp_server;
    v_smtp_server_port := smtp_server_port;
    -- Open the SMTP connection ...
    -- ------------------------
    conn :=
    utl_tcp.open_connection ( remote_host = v_smtp_server
    , remote_port = v_smtp_server_port
    , tx_timeout = tx_timeout );
    ----- OPEN SMTP PORT CONNECTION
    rc := utl_tcp.write_line ( conn, 'HELO ' || v_smtp_server );
    -- This will return a 250 OK response if your connection is valid
    -- Initial handshaking ...
    -- -------------------
    ----- PERFORMS HANDSHAKING WITH SMTP SERVER
    p_output_message := utl_tcp.get_line ( conn, TRUE );

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;

    IF SUBSTR ( p_output_message
    , 1
    , 3 ) = '421'
    THEN
    RAISE err_server_reject;
    END IF;

    -- NOOP THE SERVER
    rc := utl_tcp.write_line ( conn, 'NOOP' );
    -- This will return a 250 OK response if your connection is valid
    -- Initial handshaking ...
    -- -------------------
    ----- PERFORMS NOOP WITH SMTP SERVER
    p_output_message := utl_tcp.get_line ( conn, TRUE );

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;

    IF SUBSTR ( p_output_message
    , 1
    , 3 ) '250'
    THEN
    RAISE err_noop;
    END IF;

    rc := utl_tcp.write_line ( conn, 'QUIT' );

    ----- ENDS EMAIL TRANSACTION
    BEGIN
    FOR i_idx IN 1 .. 100
    LOOP
    p_output_message := utl_tcp.get_line ( conn, TRUE );

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;
    END LOOP;
    EXCEPTION
    WHEN OTHERS
    THEN
    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;
    END;

    utl_tcp.close_connection ( conn ); ----- CLOSE SMTP PORT CONNECTION
    RETURN TRUE;
    EXCEPTION
    WHEN err_server_reject
    THEN
    print_output ( 'ERROR -'
    || ' Server Rejected Connection ::'
    || ' SERVER_MSG := '
    || p_output_message );
    RETURN FALSE;
    WHEN err_noop
    THEN
    print_output ( 'ERROR -'
    || ' NOOP Check Failed ::'
    || ' SERVER_MSG := '
    || p_output_message );
    utl_tcp.close_connection ( conn ); ----- CLOSE SMTP PORT CONNECTION
    RETURN FALSE;
    END query_server;

    FUNCTION get_local_binary_data (
    p_dir IN VARCHAR2
    , p_file IN VARCHAR2 )
    RETURN BLOB
    IS
    -- --------------------------------------------------------------------------
    l_bfile BFILE;
    l_data BLOB;
    l_dbdir VARCHAR2 ( 100 ) := p_dir;
    BEGIN
    dbms_lob.createtemporary ( lob_loc = l_data
    , CACHE = TRUE
    , dur = dbms_lob.CALL );
    l_bfile := BFILENAME ( l_dbdir, p_file );
    dbms_lob.fileopen ( l_bfile, dbms_lob.file_readonly );
    dbms_lob.loadfromfile ( l_data
    , l_bfile
    , dbms_lob.getlength ( l_bfile ));
    dbms_lob.fileclose ( l_bfile );
    RETURN l_data;
    EXCEPTION
    WHEN OTHERS
    THEN
    print_output ( 'Error during GET_LOCAL_BINARY_DATA :: '
    || SQLCODE
    || ' - '
    || SQLERRM );
    dbms_lob.fileclose ( l_bfile );
    RAISE;
    END get_local_binary_data;

    ------------------------------------------------------------------------
    PROCEDURE attach_base64 (
    conn IN OUT NOCOPY utl_tcp.connection
    , DATA IN BLOB )
    IS
    i PLS_INTEGER;
    len PLS_INTEGER;
    l_result PLS_INTEGER;
    l_buffer RAW ( 32767 );
    l_pos INTEGER := 1;
    l_blob_len INTEGER;
    l_amount BINARY_INTEGER := 32767;
    --
    req utl_http.req;
    resp utl_http.resp;
    pdata RAW ( 200 );
    BEGIN
    -- Split the Base64-encoded attachment into multiple lines

    -- In writing Base-64 encoded text following the MIME format below,
    -- the MIME format requires that a long piece of data must be splitted
    -- into multiple lines and each line of encoded data cannot exceed
    -- 80 characters, including the new-line characters. Also, when
    -- splitting the original data into pieces, the length of each chunk
    -- of data before encoding must be a multiple of 3, except for the
    -- last chunk. The constant MAX_BASE64_LINE_WIDTH
    -- (76 / 4 * 3 = 57) is the maximum length (in bytes) of each chunk
    -- of data before encoding.
    --
    l_blob_len := dbms_lob.getlength ( DATA );

    --
    --
    --
    --
    WHILE l_pos l_blob_len
    LOOP
    l_amount := max_base64_line_width;
    dbms_lob.READ ( DATA
    , l_amount
    , l_pos
    , l_buffer );
    rc := utl_tcp.write_raw ( conn, utl_encode.base64_encode ( l_buffer ));
    utl_tcp.FLUSH ( conn );
    l_pos := l_pos + max_base64_line_width;
    rc := utl_tcp.write_line ( conn, crlf );
    END LOOP;
    END attach_base64;

    PROCEDURE sendmail (
    smtp_server VARCHAR2
    , smtp_server_port PLS_INTEGER DEFAULT 25
    , from_name VARCHAR2
    , to_name VARCHAR2
    , cc_name VARCHAR2 DEFAULT NULL
    , bcc_name VARCHAR2 DEFAULT NULL
    , subject VARCHAR2
    , MESSAGE CLOB
    , priority PLS_INTEGER DEFAULT NULL
    , filename VARCHAR2 DEFAULT NULL
    , binaryfile BLOB DEFAULT EMPTY_BLOB ( )
    , DEBUG NUMBER DEFAULT 0 )
    IS
    --
    pos PLS_INTEGER := 1;
    bytes_o_data CONSTANT PLS_INTEGER := 32767;
    offset PLS_INTEGER := bytes_o_data;
    msg_length CONSTANT PLS_INTEGER
    := dbms_lob.getlength ( MESSAGE );
    --
    v_line VARCHAR2 ( 32767 );
    i BINARY_INTEGER;
    v_slash_pos NUMBER;
    my_recipients VARCHAR2 ( 32767 );
    p_recipient_count PLS_INTEGER := 0;
    p_output_message VARCHAR2 ( 2000 );
    PRAGMA AUTONOMOUS_TRANSACTION;
    err_server_reject EXCEPTION;
    -- SMTP code 421 means rejected
    err_message_send EXCEPTION; -- SMTP code must be 250
    err_end_of_input EXCEPTION;
    -- Used to signify last line of input retrieved
    --
    --
    l_result PLS_INTEGER;
    l_buffer_b RAW ( 32767 );
    l_amount BINARY_INTEGER := 32767;
    l_pos INTEGER := 1;
    l_blob_len INTEGER;
    l_blob BLOB;
    g_debug BOOLEAN := TRUE;
    i_base64 PLS_INTEGER;
    len_base64 PLS_INTEGER;
    BEGIN
    v_smtp_server := smtp_server;
    v_smtp_server_port := smtp_server_port;
    l_blob := binaryfile;
    -- Open the SMTP connection ...
    -- ------------------------
    conn :=
    utl_tcp.open_connection ( remote_host = v_smtp_server
    , remote_port = v_smtp_server_port
    , tx_timeout = tx_timeout );
    ----- OPEN SMTP PORT CONNECTION
    rc := utl_tcp.write_line ( conn, 'HELO ' || v_smtp_server );
    -- Initial handshaking ...
    -- -------------------
    ----- PERFORMS HANDSHAKING WITH SMTP SERVER
    p_output_message := utl_tcp.get_line ( conn, TRUE );

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;

    IF SUBSTR ( p_output_message
    , 1
    , 3 ) = '421'
    THEN
    RAISE err_server_reject;
    ELSE
    -- DBMS_OUTPUT.put_line (UTL_TCP.get_line (conn, TRUE));
    rc := utl_tcp.write_line ( conn, 'MAIL FROM: ' || from_name );
    ----- MBOX SENDING THE EMAIL
    p_output_message := utl_tcp.get_line ( conn, TRUE );

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;

    -- DBMS_OUTPUT.put_line (UTL_TCP.get_line (conn, TRUE));

    -- rc := UTL_TCP.write_line (conn, 'RCPT TO: ' || to_name);
    -- Specify recipient(s) of the email.
    my_recipients := to_name;

    WHILE ( my_recipients IS NOT NULL )
    LOOP
    BEGIN
    rc :=
    utl_tcp.write_line ( conn
    , 'RCPT TO: '
    || get_mail_address ( my_recipients ));
    p_recipient_count := p_recipient_count + 1;
    END;
    END LOOP;

    -- DBMS_OUTPUT.put_line ('RCPT TO: COUNT ' || p_recipient_count);
    ----- MBOX RECV THE EMAIL
    p_output_message := utl_tcp.get_line ( conn, TRUE );

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;

    -- DBMS_OUTPUT.put_line (UTL_TCP.get_line (conn, TRUE));

    -- rc := UTL_TCP.write_line (conn, 'RCPT TO: ' || cc_name);
    -- Specify cc recipient(s) of the email.
    my_recipients := cc_name;

    WHILE ( my_recipients IS NOT NULL )
    LOOP
    BEGIN
    rc :=
    utl_tcp.write_line ( conn
    , 'RCPT TO: '
    || get_mail_address ( my_recipients ));
    p_recipient_count := p_recipient_count + 1;
    END;
    END LOOP;

    -- DBMS_OUTPUT.put_line ('RCPT TO: COUNT ' || p_recipient_count);
    ----- MBOX RECV THE EMAIL
    p_output_message := utl_tcp.get_line ( conn, TRUE );

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;

    -- DBMS_OUTPUT.put_line (UTL_TCP.get_line (conn, TRUE));

    -- rc := UTL_TCP.write_line (conn, 'RCPT TO: ' || bcc_name);
    -- Specify bcc recipient(s) of the email.
    my_recipients := bcc_name;

    WHILE ( my_recipients IS NOT NULL )
    LOOP
    BEGIN
    rc :=
    utl_tcp.write_line ( conn
    , 'RCPT TO: '
    || get_mail_address ( my_recipients ));
    p_recipient_count := p_recipient_count + 1;
    END;
    END LOOP;

    -- DBMS_OUTPUT.put_line ('RCPT TO: COUNT ' || p_recipient_count);
    ----- MBOX RECV THE EMAIL
    p_output_message := utl_tcp.get_line ( conn, TRUE );

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;

    -- DBMS_OUTPUT.put_line (UTL_TCP.get_line (conn, TRUE));
    rc := utl_tcp.write_line ( conn, 'DATA' );
    ----- EMAIL MSG BODY START
    p_output_message := utl_tcp.get_line ( conn, TRUE );

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;

    -- DBMS_OUTPUT.put_line (UTL_TCP.get_line (conn, TRUE));
    -- build the start of the mail message ...
    -- -----------------------------------
    rc := utl_tcp.write_line ( conn, p_datestring );
    rc := utl_tcp.write_line ( conn, 'From: ' || from_name );
    rc := utl_tcp.write_line ( conn, 'Subject: ' || subject );
    rc := utl_tcp.write_line ( conn, 'To: ' || to_name );

    IF cc_name IS NOT NULL
    THEN
    rc := utl_tcp.write_line ( conn, 'Cc: ' || cc_name );
    END IF;

    IF bcc_name IS NOT NULL
    THEN
    rc := utl_tcp.write_line ( conn, 'Bcc: ' || bcc_name );
    END IF;

    rc := utl_tcp.write_line ( conn, 'Mime-Version: 1.0' );

    -- Set priority:
    -- High Normal Low
    -- 1 2 3 4 5
    IF ( priority IS NOT NULL )
    THEN
    rc := utl_tcp.write_line ( conn, 'X-Priority: ' || priority );
    END IF;

    rc := utl_tcp.write_line ( conn, 'X-Mailer: ' || mailer_id );
    rc :=
    utl_tcp.write_line
    ( conn
    , 'Content-Type: multipart/mixed; boundary="=_mixed 0052287A85256E75_="' );
    rc := utl_tcp.write_line ( conn, '' );
    rc :=
    utl_tcp.write_line
    ( conn
    , 'This is a Mime message, which your current mail reader may not' );
    rc :=
    utl_tcp.write_line
    ( conn
    , 'understand. Parts of the message will appear as text. If the remainder' );
    rc :=
    utl_tcp.write_line
    ( conn
    , 'appears as random characters in the message body, instead of as' );
    rc :=
    utl_tcp.write_line
    ( conn
    , 'attachments, then you''ll have to extract these parts and decode them' );
    rc := utl_tcp.write_line ( conn, 'manually.' );
    rc := utl_tcp.write_line ( conn, '' );
    rc := utl_tcp.write_line ( conn, '--=_mixed 0052287A85256E75_=' );
    rc :=
    utl_tcp.write_line ( conn
    , 'Content-Type: text/html; charset=8859-1' );
    rc := utl_tcp.write_line ( conn, '' );
    rc := utl_tcp.write_line ( conn, 'html' );
    rc := utl_tcp.write_line ( conn, 'head' );
    rc :=
    utl_tcp.write_line
    ( conn
    , 'meta http-equiv="Content-Type" content="text/html;charset=8859-1"' );
    rc := utl_tcp.write_line ( conn, 'title' );
    rc := utl_tcp.write_line ( conn, subject );
    rc := utl_tcp.write_line ( conn, '/title' );
    rc := utl_tcp.write_line ( conn, '/head' );
    rc := utl_tcp.write_line ( conn, 'body' );

    WHILE pos msg_length
    LOOP
    rc :=
    utl_tcp.write_line ( conn
    , dbms_lob.SUBSTR ( MESSAGE
    , offset
    , pos ));
    pos := pos + offset;
    offset := LEAST ( bytes_o_data, msg_length - offset );
    END LOOP;

    rc := utl_tcp.write_line ( conn, 'BRBR' );
    rc := utl_tcp.write_line ( conn, '/body/html' );
    rc := utl_tcp.write_line ( conn, '' );
    rc := utl_tcp.write_line ( conn, crlf );

    -- Append the file BLOB ...
    -- ----------------
    -- If the filename has been supplied ... it will fail if the BLOB is empty
    IF filename IS NOT NULL
    THEN
    BEGIN
    -- generate the MIME boundary line ...
    rc :=
    utl_tcp.write_line ( conn, '--=_mixed 0052287A85256E75_=' );
    rc :=
    utl_tcp.write_line
    ( conn
    , 'Content-Type: application/octet-stream; name="'
    || filename
    || '"' );
    rc :=
    utl_tcp.write_line
    ( conn
    , 'Content-Disposition: attachment; filename="'
    || filename
    || '"' );
    rc :=
    utl_tcp.write_line ( conn
    , 'Content-Transfer-Encoding: base64' );
    rc := utl_tcp.write_line ( conn, '' );
    rc := utl_tcp.write_line ( conn, '' );
    -- and append the file contents to the end of the message ...

    -- Go get the file and the loop through blob and attach data
    -- and append the file contents to the end of the message ...
    attach_base64 ( conn = conn
    , DATA = l_blob );
    EXCEPTION
    WHEN OTHERS
    THEN
    p_output_message :=
    'Error in attaching file '
    || filename
    || ' :: '
    || SQLCODE
    || ' - '
    || SQLERRM;

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;

    RAISE err_message_send;
    END;
    END IF;

    rc := utl_tcp.write_line ( conn, '' );
    -- --
    --
    -- append the final boundary line ...
    rc := utl_tcp.write_line ( conn, '' );
    rc := utl_tcp.write_line ( conn, '--=_mixed 0052287A85256E75_=--' );
    rc := utl_tcp.write_line ( conn, '' );
    -- and close the SMTP connection ...
    rc := utl_tcp.write_line ( conn, '.' );
    ----- EMAIL MESSAGE BODY END
    p_output_message := utl_tcp.get_line ( conn, TRUE );

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;

    -- DBMS_OUTPUT.put_line (UTL_TCP.get_line (conn, TRUE));
    rc := utl_tcp.write_line ( conn, 'QUIT' );
    ----- ENDS EMAIL TRANSACTION
    p_output_message := utl_tcp.get_line ( conn, TRUE );

    -- Capture '.' Message sent dialog
    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;

    BEGIN
    FOR i_idx IN 1 .. 100
    LOOP
    p_output_message := utl_tcp.get_line ( conn, TRUE );

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;
    END LOOP;
    EXCEPTION
    WHEN OTHERS
    THEN
    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;
    END;
    END IF; -- err_server_reject

    utl_tcp.close_connection ( conn ); ----- CLOSE SMTP PORT CONNECTION
    EXCEPTION
    WHEN err_message_send
    THEN
    print_output ( CHR ( 10 )
    || CHR ( 10 )
    || 'ERROR -'
    || ' Message was not submitted for delivery' );
    print_output ( ' [FROM_NAME := ' || from_name || '] ' );
    print_output ( ' [TO_NAME := ' || to_name || '] ' );
    print_output ( ' [CC_NAME := ' || cc_name || '] ' );
    print_output ( ' [BCC_NAME := ' || bcc_name || '] ' );
    print_output ( ' [SUBJECT := ' || subject || '] ' );
    print_output ( ' SERVER_MSG := ' || p_output_message );
    utl_tcp.close_connection ( conn ); ----- CLOSE SMTP PORT CONNECTION
    WHEN err_server_reject
    THEN
    print_output ( CHR ( 10 )
    || CHR ( 10 )
    || 'ERROR -'
    || ' Server Rejected Email' );
    print_output ( ' [FROM_NAME := ' || from_name || '] ' );
    print_output ( ' [TO_NAME := ' || to_name || '] ' );
    print_output ( ' [CC_NAME := ' || cc_name || '] ' );
    print_output ( ' [BCC_NAME := ' || bcc_name || '] ' );
    print_output ( ' [SUBJECT := ' || subject || '] ' );
    print_output ( ' SERVER_MSG := ' || p_output_message );
    WHEN OTHERS
    THEN
    print_output ( CHR ( 10 )
    || CHR ( 10 )
    || 'ERROR :: '
    || SQLCODE
    || ' - '
    || SQLERRM );
    print_output ( ' [FROM_NAME := ' || from_name || '] ' );
    print_output ( ' [TO_NAME := ' || to_name || '] ' );
    print_output ( ' [CC_NAME := ' || cc_name || '] ' );
    print_output ( ' [BCC_NAME := ' || bcc_name || '] ' );
    print_output ( ' [SUBJECT := ' || subject || '] ' );
    print_output ( ' SERVER_MSG := ' || p_output_message );
    END sendmail;
    END;
    /

    DB:2.42:Pl/Sql Mail Utility :: Binary/Ascii/Cc/Bcc/Filedump pd

    I was working on my mail package and decided it was overtly complicated and
    stripped it down to its bare bones. Here is what I came up with. Built on a previous
    foundation of anothers work, I expanded the functionality considerably. You will find all
    the features I think that you will need regarding a mail routine. There is also a nice
    filedump routine included which makes very easy to create flat file dumps that you can
    then attach to your emails. There are a few pre-reqs in using this though :

    - 9iR2+
    - DBA_Directories defined as opposed to utl_file paths
    - Java Virtual Machine. Document can be found in Note :105472.1 Setup, Configuration,
    and Use of the Java Virtual Machine on metalink.

    As always, I welcome feedback and suggestions for improvement.

    Barry C
    http://www.myoracleportal.com

    CREATE OR REPLACE PACKAGE mail_tools
    AS
    -- SENDMAIL supports variable message length with/without attachments
    -- QUERY_SERVER allows you to check the status of a mail server to see if it is running
    -- DUMP_FLATFILE allows you to dump flat file data from query submitted
    --
    --
    -- Query Server to verify that the server is up and running.
    -- Connects, Noop Command is executed, Disconnect.

    --
    -- GET_MAIL_ADDRESS is utilized in the SENDMAIL procedure
    --
    --
    --
    -- Table 100-3 SMTP Reply Codes
    -- Reply Code
    -- Meaning
    --
    -- 211 System status, or system help reply
    --
    -- 214 Help message [Information on how to use the receiver or the meaning of a particular non-standard command; this reply is useful only to the human user]
    --
    -- 220 domain Service ready
    --
    -- 221 domain Service closing transmission channel
    --
    -- 250 Requested mail action okay, completed
    --
    -- 251 User not local; will forward to forward-path
    --
    -- 252 OK, pending messages for node node started. Cannot VRFY user (e.g., info is not local), but will take message for this user and attempt delivery.
    --
    -- 253 OK, messages pending messages for node node started
    --
    -- 354 Start mail input; end with CRLF.CRLF
    --
    -- 355 Octet-offset is the transaction offset
    --
    -- 421 domain Service not available, closing transmission channel (This may be a reply to any command if the service knows it must shut down.)
    --
    -- 450 Requested mail action not taken: mailbox unavailable [for example, mailbox busy]
    --
    -- 451 Requested action aborted: local error in processing
    --
    -- 452 Requested action not taken: insufficient system storage
    --
    -- 453 You have no mail.
    --
    -- 454 TLS not available due to temporary reason. Encryption required for requested authentication mechanism.
    --
    -- 458 Unable to queue messages for node node
    --
    -- 459 Node node not allowed: reason
    --
    -- 500 Syntax error, command unrecognized (This may include errors such as command line too long.)
    --
    -- 501 Syntax error in parameters or arguments
    --
    -- 502 Command not implemented
    --
    -- 503 Bad sequence of commands
    --
    -- 504 Command parameter not implemented
    --
    -- 521 Machine does not accept mail.
    --
    -- 530 Must issue a STARTTLS command first. Encryption required for requested authentication mechanism.
    --
    -- 534 Authentication mechanism is too weak.
    --
    -- 538 Encryption required for requested authentication mechanism.
    --
    -- 550 Requested action not taken: mailbox unavailable [for , mailbox not found, no access]
    --
    -- 551 User not local; please try forward-path
    --
    -- 552 Requested mail action aborted: exceeded storage allocation
    --
    -- 553 Requested action not taken: mailbox name not allowed [for example, mailbox syntax incorrect]
    --
    -- 554 Transaction failed
    --
    --
    --
    /*
    This version allows for a customized seperator value. Using this function will allow you to
    perform fixed width flat files by defining '' for no seperator and then RPAD/LPAD your columns as necessary.
    Or use whatever seperator you wish to use, pipe, space, zeros, etc.
    */

    -- Example : This will generate a flat file which tabbed seperated
    --
    -- DECLARE
    -- l_rows NUMBER;
    -- l_sql VARCHAR2(32000);
    -- BEGIN
    -- l_sql := '
    -- SELECT rpad(hou.NAME,70) udn_desc
    -- , rpad(pcak.segment1,6) coid
    -- , rpad(pcak.segment2,4) udn
    -- FROM hr_all_organization_units hou, hr.pay_cost_allocation_keyflex pcak
    -- WHERE TRUNC (SYSDATE) BETWEEN hou.date_from
    -- AND NVL (hou.date_to, ''31-DEC-4712'')
    -- AND pcak.cost_allocation_keyflex_id = hou.cost_allocation_keyflex_id
    -- GROUP BY pcak.segment1, pcak.segment2, hou.NAME
    -- ORDER BY 1, 2, 3
    -- ';
    --
    -- l_rows :=
    -- dump_flatfile
    -- (p_query =
    -- , p_dir = 'INTF000_TABLES'
    -- , p_filename = 'test.csv'
    -- , p_separator = ' ' -- = tabbed 5 spaces between each column
    -- , p_max_linesize = 32000
    -- , p_mode = 'w' -- (w)rite mode or (a)ppend mode
    -- );
    -- END;
    FUNCTION dump_flatfile (
    p_query IN VARCHAR2
    , p_dir IN VARCHAR2
    , p_filename IN VARCHAR2
    , p_separator IN VARCHAR2
    , p_headers IN BOOLEAN DEFAULT FALSE
    , p_trailing_separator IN BOOLEAN DEFAULT FALSE
    , p_max_linesize IN NUMBER DEFAULT 32000
    , p_mode IN VARCHAR2 DEFAULT 'w' )
    RETURN NUMBER;

    FUNCTION get_mail_address (
    addr_list IN OUT VARCHAR2 )
    RETURN VARCHAR2;

    FUNCTION smtp_command (
    command IN VARCHAR2
    , ok IN VARCHAR2 DEFAULT '250'
    , code OUT VARCHAR2
    , DEBUG NUMBER DEFAULT 0 )
    RETURN BOOLEAN;

    FUNCTION query_server (
    smtp_server VARCHAR2
    , smtp_server_port PLS_INTEGER DEFAULT 25
    , DEBUG NUMBER DEFAULT 0 )
    RETURN BOOLEAN;

    /*
    This procedure uses the UTL_TCP package to send an email message.
    Up to three file names may be specified as attachments.

    Written: Dave Wotton, 14/6/01 (Cambridge UK)
    This script comes with no warranty or support. You are free to
    modify it as you wish, but please retain an acknowledgement of
    my original authorship.

    Amended: Dave Wotton, 10/7/01
    Now uses the utl_smtp.write_data() method to send the message,
    eliminating the 32Kb message size constraint imposed by the
    utl_smtp.data() procedure.

    Amended: Dave Wotton, 20/7/01
    Increased the v_line variable, which holds the file attachment
    lines from 400 to 1000 bytes. This is the maximum supported
    by RFC2821, The Simple Mail Transfer Protocol specification.

    Amended: Dave Wotton, 24/7/01
    Now inserts a blank line before each MIME boundary line. Some
    mail-clients require this.

    Amended: Dave Wotton, 4/10/01
    Introduced a 'debug' parameter. Defaults to 0. If set to
    non-zero then errors in opening files for attaching are
    reported using dbms_output.put_line.
    Include code to hand MS Windows style pathnames.

    Amended: Barry Chase, 4/29/03
    Added Priority to procedure and also X-Mailer ID.
    Removed restrictions for email size limitation as well.
    Emails are now formatted text messages, meaning you can
    write your message in html format.
    And finally, changed from using UTL_SMTP to UTL_TCP instead.

    Amended: Barry Chase 11/10/2003
    Added session timeout of 4 minutes to prevent hanging server connections

    Amended: Barry Chase 12/04/2003
    Added Date String so that it represents timezone of originating server
    p_datestring

    Amended: Barry Chase 03/01/2004
    Added functionality to support binary attachments and remote attachments.
    Its about 98% complete. Not work perfectly yet. Still trying to figure out
    encoding to base64 or mime. Have a good start on it though.

    04/12/2004
    BCHASE :: Binary Support is fully functional now.

    09/01/2005
    BCHASE :: Modified attachment directories to use DBA_DIRECTORIES instead
    of UTL_DIR in the Oracle initialization file.

    02/22/2006
    BCHASE :: Added variable length message email support (CLOB)

    04/21/2006
    BCHASE :: Expanded functionality to include Cc and Bcc
    Also removed redundant calls from package. The single
    mail_files command will handle flat files and binary files such as zip/pdf/etc.

    SMTP Server and SMTP Server Port are parameters on the sendmail procedure now
    as well.

    Refer to http://home.clara.net/dwotton/dba/oracle_smtp.htm for more
    details on the original source code.

    For information on the enhanced mail_tools package as provided by Barry
    Chase, refer to http://www.myoracleportal.com

    */

    /* Retrieves local binary file from database server.
    * using DBMS_LOB commands and stores into BLOB
    *
    * return BLOB
    */
    FUNCTION get_local_binary_data (
    p_dir IN VARCHAR2
    , p_file IN VARCHAR2 )
    RETURN BLOB;

    /* Supports binary attachments and message of variable length. Uses CLOB.*/

    -- DECLARE
    -- t_blob BLOB;
    -- BEGIN
    --
    -- Use the get_local_binary_data to collect your BLOB from the filesystem
    -- or just load from a table where your BLOB is stored at, then just pass
    -- as t_blob on the binaryfile parameter below. Remember to provide an
    -- appropriate filename. Optionally, you can leave filename NULL and pass
    -- the binaryfile parameter as EMPTY_BLOB() to send an email without an
    -- attachment.
    --
    -- t_blob :=
    -- mail_tools.get_local_binary_data
    -- ( p_dir = 'INTF0047_TABLES'
    --, p_file = 'test_file1.csv' );
    -- mail_tools.sendmail
    -- ( smtp_server = 'your.smtp.server'
    -- , smtp_server_port = 25
    -- , from_name = 'Email Address of Sender'
    -- , to_name = 'list of TO email addresses separated by commas (,)'
    -- , cc_name = 'list of CC email addresses separated by commas (,)'
    -- , bcc_name = 'list of BCC email addresses separated by commas (,)'
    -- , subject = 'Some brief Subject'
    -- , MESSAGE = 'Your message goes here. Can include HTML code.'
    -- , priority = '1-5 1 being the highest priority and 3 normal priority'
    -- , filename = 'your.filename.txt or leave NULL'
    -- , binaryfile = 'your blob is passed here otherwise leave as EMPTY_BLOB()
    -- , DEBUG = 'Default is DBMS output otherwise pass a 1 to disable );
    -- END;
    --
    PROCEDURE sendmail (
    smtp_server VARCHAR2
    , smtp_server_port PLS_INTEGER DEFAULT 25
    , from_name VARCHAR2
    , to_name VARCHAR2
    , cc_name VARCHAR2 DEFAULT NULL
    , bcc_name VARCHAR2 DEFAULT NULL
    , subject VARCHAR2
    , MESSAGE CLOB
    , priority PLS_INTEGER DEFAULT NULL
    , filename VARCHAR2 DEFAULT NULL
    , binaryfile BLOB DEFAULT EMPTY_BLOB ( )
    , DEBUG NUMBER DEFAULT 0 );

    v_parm_value VARCHAR2 ( 4000 );
    lbok BOOLEAN;
    v_smtp_server VARCHAR2 ( 50 );
    v_smtp_server_port NUMBER := 25;
    crlf VARCHAR2 ( 10 ) := utl_tcp.crlf;
    conn utl_tcp.connection;
    p_debug_marker PLS_INTEGER := 0;
    rc INTEGER;
    p_from_name VARCHAR2 ( 100 );
    p_to_name VARCHAR2 ( 4000 );
    p_cc_name VARCHAR2 ( 4000 );
    p_bcc_name VARCHAR2 ( 4000 );
    p_subject VARCHAR2 ( 150 );
    tx_timeout PLS_INTEGER := 240;
    -- 240 Seconds (4 minutes);
    --
    p_datestring VARCHAR2 ( 100 )
    := 'Date: '
    || TO_CHAR ( SYSDATE, 'MM/DD/RR HH:MI AM' )
    || ' '
    || DBTIMEZONE
    || ' '
    || '(GMT'
    || DBTIMEZONE
    || ')';
    -- Customize the signature that will appear in the email's MIME header.
    -- Useful for versioning.
    mailer_id CONSTANT VARCHAR2 ( 256 ) := 'Mailer by Oracle UTL_TCP';
    max_base64_line_width CONSTANT PLS_INTEGER := 76 / 4 * 3;
    END;
    /

    CREATE OR REPLACE PACKAGE BODY mail_tools
    IS
    PROCEDURE print_output (
    p_message IN VARCHAR2 )
    IS
    BEGIN
    dbms_output.put_line ( SUBSTR ( p_message
    , 1
    , 250 ));

    IF LENGTH ( p_message ) 250
    THEN
    dbms_output.put_line ( SUBSTR ( p_message
    , 251
    , 500 ));
    END IF;

    IF LENGTH ( p_message ) 500
    THEN
    dbms_output.put_line ( SUBSTR ( p_message
    , 501
    , 750 ));
    END IF;

    IF LENGTH ( p_message ) 750
    THEN
    dbms_output.put_line ( SUBSTR ( p_message
    , 751
    , 1000 ));
    END IF;
    EXCEPTION
    WHEN OTHERS
    THEN
    NULL; -- Ignore errors... protect buffer overflow's etc.
    END print_output;

    FUNCTION dump_flatfile (
    p_query IN VARCHAR2
    , p_dir IN VARCHAR2
    , p_filename IN VARCHAR2
    , p_separator IN VARCHAR2
    , p_headers IN BOOLEAN DEFAULT FALSE
    , p_trailing_separator IN BOOLEAN DEFAULT FALSE
    , p_max_linesize IN NUMBER DEFAULT 32000
    , p_mode IN VARCHAR2 DEFAULT 'w' )
    RETURN NUMBER
    IS
    l_output utl_file.file_type;
    l_thecursor INTEGER DEFAULT dbms_sql.open_cursor;
    l_columnvalue VARCHAR2 ( 4000 );
    l_status INTEGER;
    l_colcnt NUMBER DEFAULT 0;
    l_cnt NUMBER DEFAULT 0;
    l_separator VARCHAR2 ( 10 ) DEFAULT '';
    l_line LONG;
    l_desctbl dbms_sql.desc_tab;
    v_sqlerrm VARCHAR2 ( 32000 );
    l_mode CHAR ( 1 ) := 'w';
    BEGIN
    IF p_mode NOT IN ( 'w', 'a' )
    THEN
    l_mode := 'w';
    ELSE
    l_mode := p_mode;
    END IF;

    l_output := utl_file.fopen ( p_dir
    , p_filename
    , l_mode
    , p_max_linesize );
    dbms_sql.parse ( l_thecursor
    , p_query
    , dbms_sql.native );
    dbms_sql.describe_columns ( l_thecursor
    , l_colcnt
    , l_desctbl );

    FOR i IN 1 .. l_colcnt
    LOOP
    dbms_sql.define_column ( l_thecursor
    , i
    , l_columnvalue
    , 4000 );

    IF ( l_desctbl ( i ).col_type = 2 ) /* number type */
    THEN
    l_desctbl ( i ).col_max_len := l_desctbl ( i ).col_precision + 2;
    ELSIF ( l_desctbl ( i ).col_type = 12 ) /* date type */
    THEN
    /* length of my date format */
    l_desctbl ( i ).col_max_len := 20;
    ELSIF ( l_desctbl ( i ).col_type = 8 ) /* LONG type */
    THEN
    l_desctbl ( i ).col_max_len := 2000;
    END IF;

    IF p_headers
    THEN
    utl_file.put ( l_output, l_separator || l_desctbl ( i ).col_name );
    l_separator := p_separator;
    END IF;
    END LOOP;

    IF p_trailing_separator
    THEN
    utl_file.put ( l_output, l_separator );
    END IF;

    IF p_headers
    THEN
    utl_file.new_line ( l_output );
    END IF;

    l_status := dbms_sql.EXECUTE ( l_thecursor );

    LOOP
    EXIT WHEN ( dbms_sql.fetch_rows ( l_thecursor ) = 0 );
    l_line := NULL;
    l_separator := '';

    FOR i IN 1 .. l_colcnt
    LOOP
    dbms_sql.COLUMN_VALUE ( l_thecursor
    , i
    , l_columnvalue );

    IF NVL ( INSTR ( l_columnvalue, ',' ), 0 ) = 0
    THEN
    NULL;
    ELSE
    l_columnvalue := '"' || l_columnvalue || '"';
    END IF;

    utl_file.put ( l_output, l_separator || l_columnvalue );
    l_separator := p_separator;
    END LOOP;

    IF p_trailing_separator
    THEN
    utl_file.put ( l_output, l_separator );
    END IF;

    utl_file.new_line ( l_output );
    l_cnt := l_cnt + 1;
    END LOOP;

    dbms_sql.close_cursor ( l_thecursor );
    utl_file.fclose ( l_output );
    RETURN l_cnt;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    dbms_output.put_line ( 'NO_DATA_FOUND' );
    utl_file.fclose ( l_output );
    RETURN l_cnt;
    WHEN utl_file.invalid_path
    THEN
    dbms_output.put_line ( 'UTL_FILE.INVALID_PATH' );
    utl_file.fclose ( l_output );
    RETURN l_cnt;
    WHEN utl_file.read_error
    THEN
    dbms_output.put_line ( 'UTL_FILE.READ_ERROR' );
    utl_file.fclose ( l_output );
    RETURN l_cnt;
    WHEN utl_file.write_error
    THEN
    dbms_output.put_line ( 'UTL_FILE.WRITE_ERROR' );
    utl_file.fclose ( l_output );
    RETURN l_cnt;
    WHEN utl_file.invalid_mode
    THEN
    dbms_output.put_line ( 'UTL_FILE.INVALID_MODE' );
    utl_file.fclose ( l_output );
    RETURN l_cnt;
    WHEN utl_file.invalid_filehandle
    THEN
    dbms_output.put_line ( 'UTL_FILE.INVALID_FILEHANDLE' );
    utl_file.fclose ( l_output );
    RETURN l_cnt;
    WHEN utl_file.invalid_operation
    THEN
    dbms_output.put_line ( 'UTL_FILE.INVALID_OPERATION' );
    utl_file.fclose ( l_output );
    RETURN l_cnt;
    WHEN utl_file.internal_error
    THEN
    dbms_output.put_line ( 'UTL_FILE.INTERNAL_ERROR' );
    utl_file.fclose ( l_output );
    RETURN l_cnt;
    WHEN utl_file.invalid_maxlinesize
    THEN
    dbms_output.put_line ( 'UTL_FILE.INVALID_MAXLINESIZE' );
    utl_file.fclose ( l_output );
    RETURN l_cnt;
    WHEN VALUE_ERROR
    THEN
    dbms_output.put_line ( 'UTL_FILE.VALUE_ERROR' );
    utl_file.fclose ( l_output );
    RETURN l_cnt;
    WHEN OTHERS
    THEN
    hum_do.default_exception ( 'ERROR in dump_csv : ' );
    utl_file.fclose ( l_output );
    RETURN l_cnt;
    END dump_flatfile;

    -- Return the next email address in the list of email addresses, separated
    -- by either a "," or a ";". The format of mailbox may be in one of these:
    -- someone@some-domain
    -- "Someone at some domain" someone@some-domain
    -- Someone at some domain someone@some-domain
    FUNCTION get_mail_address (
    addr_list IN OUT VARCHAR2 )
    RETURN VARCHAR2
    IS
    addr VARCHAR2 ( 256 );
    i PLS_INTEGER;

    FUNCTION lookup_unquoted_char (
    str IN VARCHAR2
    , chrs IN VARCHAR2 )
    RETURN PLS_INTEGER
    AS
    c VARCHAR2 ( 5 );
    i PLS_INTEGER;
    len PLS_INTEGER;
    inside_quote BOOLEAN;
    BEGIN
    inside_quote := FALSE;
    i := 1;
    len := LENGTH ( str );

    WHILE ( i = len )
    LOOP
    c := SUBSTR ( str
    , i
    , 1 );

    IF ( inside_quote )
    THEN
    IF ( c = '"' )
    THEN
    inside_quote := FALSE;
    ELSIF ( c = '\' )
    THEN
    i := i + 1;
    -- Skip the quote character
    END IF;

    GOTO next_char;
    END IF;

    IF ( c = '"' )
    THEN
    inside_quote := TRUE;
    GOTO next_char;
    END IF;

    IF ( INSTR ( chrs, c ) = 1 )
    THEN
    RETURN i;
    END IF;

    next_char
    i := i + 1;
    END LOOP;

    RETURN 0;
    END;
    BEGIN
    addr_list := LTRIM ( addr_list );
    i := lookup_unquoted_char ( addr_list, ',;' );

    IF ( i = 1 )
    THEN
    addr := SUBSTR ( addr_list
    , 1
    , i - 1 );
    addr_list := SUBSTR ( addr_list, i + 1 );
    ELSE
    addr := addr_list;
    addr_list := '';
    END IF;

    i := lookup_unquoted_char ( addr, '' );

    IF ( i = 1 )
    THEN
    addr := SUBSTR ( addr, i + 1 );
    i := INSTR ( addr, '' );

    IF ( i = 1 )
    THEN
    addr := SUBSTR ( addr
    , 1
    , i - 1 );
    END IF;
    END IF;

    RETURN addr;
    END;

    FUNCTION smtp_command (
    command IN VARCHAR2
    , ok IN VARCHAR2 DEFAULT '250'
    , code OUT VARCHAR2
    , DEBUG NUMBER DEFAULT 0 )
    RETURN BOOLEAN
    IS
    response VARCHAR2 ( 3 );
    p_output_message VARCHAR2 ( 255 );
    len PLS_INTEGER;
    PRAGMA AUTONOMOUS_TRANSACTION;
    BEGIN
    len := utl_tcp.write_line ( conn, command );
    p_output_message := SUBSTR ( utl_tcp.get_line ( conn, TRUE )
    , 1
    , 255 );
    response := SUBSTR ( p_output_message
    , 1
    , 3 );
    p_output_message :=
    SUBSTR ( command || ' - ' || p_output_message
    , 1
    , 255 );

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;

    IF ( response ok )
    THEN
    code := response;
    RETURN FALSE;
    ELSE
    code := response;
    RETURN TRUE;
    END IF;
    EXCEPTION
    WHEN OTHERS
    THEN
    p_output_message := SQLCODE || ' - ' || SQLERRM;
    code := p_output_message;
    RETURN FALSE;
    END smtp_command;

    FUNCTION query_server (
    smtp_server VARCHAR2
    , smtp_server_port PLS_INTEGER DEFAULT 25
    , DEBUG NUMBER DEFAULT 0 )
    RETURN BOOLEAN
    IS
    p_output_message VARCHAR2 ( 255 );
    PRAGMA AUTONOMOUS_TRANSACTION;
    err_noop EXCEPTION; -- SMTP code 250 not received
    err_server_reject EXCEPTION;
    -- SMTP code 421 means rejected
    BEGIN
    v_smtp_server := smtp_server;
    v_smtp_server_port := smtp_server_port;
    -- Open the SMTP connection ...
    -- ------------------------
    conn :=
    utl_tcp.open_connection ( remote_host = v_smtp_server
    , remote_port = v_smtp_server_port
    , tx_timeout = tx_timeout );
    ----- OPEN SMTP PORT CONNECTION
    rc := utl_tcp.write_line ( conn, 'HELO ' || v_smtp_server );
    -- This will return a 250 OK response if your connection is valid
    -- Initial handshaking ...
    -- -------------------
    ----- PERFORMS HANDSHAKING WITH SMTP SERVER
    p_output_message := utl_tcp.get_line ( conn, TRUE );

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;

    IF SUBSTR ( p_output_message
    , 1
    , 3 ) = '421'
    THEN
    RAISE err_server_reject;
    END IF;

    -- NOOP THE SERVER
    rc := utl_tcp.write_line ( conn, 'NOOP' );
    -- This will return a 250 OK response if your connection is valid
    -- Initial handshaking ...
    -- -------------------
    ----- PERFORMS NOOP WITH SMTP SERVER
    p_output_message := utl_tcp.get_line ( conn, TRUE );

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;

    IF SUBSTR ( p_output_message
    , 1
    , 3 ) '250'
    THEN
    RAISE err_noop;
    END IF;

    rc := utl_tcp.write_line ( conn, 'QUIT' );

    ----- ENDS EMAIL TRANSACTION
    BEGIN
    FOR i_idx IN 1 .. 100
    LOOP
    p_output_message := utl_tcp.get_line ( conn, TRUE );

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;
    END LOOP;
    EXCEPTION
    WHEN OTHERS
    THEN
    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;
    END;

    utl_tcp.close_connection ( conn ); ----- CLOSE SMTP PORT CONNECTION
    RETURN TRUE;
    EXCEPTION
    WHEN err_server_reject
    THEN
    print_output ( 'ERROR -'
    || ' Server Rejected Connection ::'
    || ' SERVER_MSG := '
    || p_output_message );
    RETURN FALSE;
    WHEN err_noop
    THEN
    print_output ( 'ERROR -'
    || ' NOOP Check Failed ::'
    || ' SERVER_MSG := '
    || p_output_message );
    utl_tcp.close_connection ( conn ); ----- CLOSE SMTP PORT CONNECTION
    RETURN FALSE;
    END query_server;

    FUNCTION get_local_binary_data (
    p_dir IN VARCHAR2
    , p_file IN VARCHAR2 )
    RETURN BLOB
    IS
    -- --------------------------------------------------------------------------
    l_bfile BFILE;
    l_data BLOB;
    l_dbdir VARCHAR2 ( 100 ) := p_dir;
    BEGIN
    dbms_lob.createtemporary ( lob_loc = l_data
    , CACHE = TRUE
    , dur = dbms_lob.CALL );
    l_bfile := BFILENAME ( l_dbdir, p_file );
    dbms_lob.fileopen ( l_bfile, dbms_lob.file_readonly );
    dbms_lob.loadfromfile ( l_data
    , l_bfile
    , dbms_lob.getlength ( l_bfile ));
    dbms_lob.fileclose ( l_bfile );
    RETURN l_data;
    EXCEPTION
    WHEN OTHERS
    THEN
    print_output ( 'Error during GET_LOCAL_BINARY_DATA :: '
    || SQLCODE
    || ' - '
    || SQLERRM );
    dbms_lob.fileclose ( l_bfile );
    RAISE;
    END get_local_binary_data;

    ------------------------------------------------------------------------
    PROCEDURE attach_base64 (
    conn IN OUT NOCOPY utl_tcp.connection
    , DATA IN BLOB )
    IS
    i PLS_INTEGER;
    len PLS_INTEGER;
    l_result PLS_INTEGER;
    l_buffer RAW ( 32767 );
    l_pos INTEGER := 1;
    l_blob_len INTEGER;
    l_amount BINARY_INTEGER := 32767;
    --
    req utl_http.req;
    resp utl_http.resp;
    pdata RAW ( 200 );
    BEGIN
    -- Split the Base64-encoded attachment into multiple lines

    -- In writing Base-64 encoded text following the MIME format below,
    -- the MIME format requires that a long piece of data must be splitted
    -- into multiple lines and each line of encoded data cannot exceed
    -- 80 characters, including the new-line characters. Also, when
    -- splitting the original data into pieces, the length of each chunk
    -- of data before encoding must be a multiple of 3, except for the
    -- last chunk. The constant MAX_BASE64_LINE_WIDTH
    -- (76 / 4 * 3 = 57) is the maximum length (in bytes) of each chunk
    -- of data before encoding.
    --
    l_blob_len := dbms_lob.getlength ( DATA );

    --
    --
    --
    --
    WHILE l_pos l_blob_len
    LOOP
    l_amount := max_base64_line_width;
    dbms_lob.READ ( DATA
    , l_amount
    , l_pos
    , l_buffer );
    rc := utl_tcp.write_raw ( conn, utl_encode.base64_encode ( l_buffer ));
    utl_tcp.FLUSH ( conn );
    l_pos := l_pos + max_base64_line_width;
    rc := utl_tcp.write_line ( conn, crlf );
    END LOOP;
    END attach_base64;

    PROCEDURE sendmail (
    smtp_server VARCHAR2
    , smtp_server_port PLS_INTEGER DEFAULT 25
    , from_name VARCHAR2
    , to_name VARCHAR2
    , cc_name VARCHAR2 DEFAULT NULL
    , bcc_name VARCHAR2 DEFAULT NULL
    , subject VARCHAR2
    , MESSAGE CLOB
    , priority PLS_INTEGER DEFAULT NULL
    , filename VARCHAR2 DEFAULT NULL
    , binaryfile BLOB DEFAULT EMPTY_BLOB ( )
    , DEBUG NUMBER DEFAULT 0 )
    IS
    --
    pos PLS_INTEGER := 1;
    bytes_o_data CONSTANT PLS_INTEGER := 32767;
    offset PLS_INTEGER := bytes_o_data;
    msg_length CONSTANT PLS_INTEGER
    := dbms_lob.getlength ( MESSAGE );
    --
    v_line VARCHAR2 ( 32767 );
    i BINARY_INTEGER;
    v_slash_pos NUMBER;
    my_recipients VARCHAR2 ( 32767 );
    p_recipient_count PLS_INTEGER := 0;
    p_output_message VARCHAR2 ( 2000 );
    PRAGMA AUTONOMOUS_TRANSACTION;
    err_server_reject EXCEPTION;
    -- SMTP code 421 means rejected
    err_message_send EXCEPTION; -- SMTP code must be 250
    err_end_of_input EXCEPTION;
    -- Used to signify last line of input retrieved
    --
    --
    l_result PLS_INTEGER;
    l_buffer_b RAW ( 32767 );
    l_amount BINARY_INTEGER := 32767;
    l_pos INTEGER := 1;
    l_blob_len INTEGER;
    l_blob BLOB;
    g_debug BOOLEAN := TRUE;
    i_base64 PLS_INTEGER;
    len_base64 PLS_INTEGER;
    BEGIN
    v_smtp_server := smtp_server;
    v_smtp_server_port := smtp_server_port;
    l_blob := binaryfile;
    -- Open the SMTP connection ...
    -- ------------------------
    conn :=
    utl_tcp.open_connection ( remote_host = v_smtp_server
    , remote_port = v_smtp_server_port
    , tx_timeout = tx_timeout );
    ----- OPEN SMTP PORT CONNECTION
    rc := utl_tcp.write_line ( conn, 'HELO ' || v_smtp_server );
    -- Initial handshaking ...
    -- -------------------
    ----- PERFORMS HANDSHAKING WITH SMTP SERVER
    p_output_message := utl_tcp.get_line ( conn, TRUE );

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;

    IF SUBSTR ( p_output_message
    , 1
    , 3 ) = '421'
    THEN
    RAISE err_server_reject;
    ELSE
    -- DBMS_OUTPUT.put_line (UTL_TCP.get_line (conn, TRUE));
    rc := utl_tcp.write_line ( conn, 'MAIL FROM: ' || from_name );
    ----- MBOX SENDING THE EMAIL
    p_output_message := utl_tcp.get_line ( conn, TRUE );

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;

    -- DBMS_OUTPUT.put_line (UTL_TCP.get_line (conn, TRUE));

    -- rc := UTL_TCP.write_line (conn, 'RCPT TO: ' || to_name);
    -- Specify recipient(s) of the email.
    my_recipients := to_name;

    WHILE ( my_recipients IS NOT NULL )
    LOOP
    BEGIN
    rc :=
    utl_tcp.write_line ( conn
    , 'RCPT TO: '
    || get_mail_address ( my_recipients ));
    p_recipient_count := p_recipient_count + 1;
    END;
    END LOOP;

    -- DBMS_OUTPUT.put_line ('RCPT TO: COUNT ' || p_recipient_count);
    ----- MBOX RECV THE EMAIL
    p_output_message := utl_tcp.get_line ( conn, TRUE );

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;

    -- DBMS_OUTPUT.put_line (UTL_TCP.get_line (conn, TRUE));

    -- rc := UTL_TCP.write_line (conn, 'RCPT TO: ' || cc_name);
    -- Specify cc recipient(s) of the email.
    my_recipients := cc_name;

    WHILE ( my_recipients IS NOT NULL )
    LOOP
    BEGIN
    rc :=
    utl_tcp.write_line ( conn
    , 'RCPT TO: '
    || get_mail_address ( my_recipients ));
    p_recipient_count := p_recipient_count + 1;
    END;
    END LOOP;

    -- DBMS_OUTPUT.put_line ('RCPT TO: COUNT ' || p_recipient_count);
    ----- MBOX RECV THE EMAIL
    p_output_message := utl_tcp.get_line ( conn, TRUE );

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;

    -- DBMS_OUTPUT.put_line (UTL_TCP.get_line (conn, TRUE));

    -- rc := UTL_TCP.write_line (conn, 'RCPT TO: ' || bcc_name);
    -- Specify bcc recipient(s) of the email.
    my_recipients := bcc_name;

    WHILE ( my_recipients IS NOT NULL )
    LOOP
    BEGIN
    rc :=
    utl_tcp.write_line ( conn
    , 'RCPT TO: '
    || get_mail_address ( my_recipients ));
    p_recipient_count := p_recipient_count + 1;
    END;
    END LOOP;

    -- DBMS_OUTPUT.put_line ('RCPT TO: COUNT ' || p_recipient_count);
    ----- MBOX RECV THE EMAIL
    p_output_message := utl_tcp.get_line ( conn, TRUE );

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;

    -- DBMS_OUTPUT.put_line (UTL_TCP.get_line (conn, TRUE));
    rc := utl_tcp.write_line ( conn, 'DATA' );
    ----- EMAIL MSG BODY START
    p_output_message := utl_tcp.get_line ( conn, TRUE );

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;

    -- DBMS_OUTPUT.put_line (UTL_TCP.get_line (conn, TRUE));
    -- build the start of the mail message ...
    -- -----------------------------------
    rc := utl_tcp.write_line ( conn, p_datestring );
    rc := utl_tcp.write_line ( conn, 'From: ' || from_name );
    rc := utl_tcp.write_line ( conn, 'Subject: ' || subject );
    rc := utl_tcp.write_line ( conn, 'To: ' || to_name );

    IF cc_name IS NOT NULL
    THEN
    rc := utl_tcp.write_line ( conn, 'Cc: ' || cc_name );
    END IF;

    IF bcc_name IS NOT NULL
    THEN
    rc := utl_tcp.write_line ( conn, 'Bcc: ' || bcc_name );
    END IF;

    rc := utl_tcp.write_line ( conn, 'Mime-Version: 1.0' );

    -- Set priority:
    -- High Normal Low
    -- 1 2 3 4 5
    IF ( priority IS NOT NULL )
    THEN
    rc := utl_tcp.write_line ( conn, 'X-Priority: ' || priority );
    END IF;

    rc := utl_tcp.write_line ( conn, 'X-Mailer: ' || mailer_id );
    rc :=
    utl_tcp.write_line
    ( conn
    , 'Content-Type: multipart/mixed; boundary="=_mixed 0052287A85256E75_="' );
    rc := utl_tcp.write_line ( conn, '' );
    rc :=
    utl_tcp.write_line
    ( conn
    , 'This is a Mime message, which your current mail reader may not' );
    rc :=
    utl_tcp.write_line
    ( conn
    , 'understand. Parts of the message will appear as text. If the remainder' );
    rc :=
    utl_tcp.write_line
    ( conn
    , 'appears as random characters in the message body, instead of as' );
    rc :=
    utl_tcp.write_line
    ( conn
    , 'attachments, then you''ll have to extract these parts and decode them' );
    rc := utl_tcp.write_line ( conn, 'manually.' );
    rc := utl_tcp.write_line ( conn, '' );
    rc := utl_tcp.write_line ( conn, '--=_mixed 0052287A85256E75_=' );
    rc :=
    utl_tcp.write_line ( conn
    , 'Content-Type: text/html; charset=8859-1' );
    rc := utl_tcp.write_line ( conn, '' );
    rc := utl_tcp.write_line ( conn, 'html' );
    rc := utl_tcp.write_line ( conn, 'head' );
    rc :=
    utl_tcp.write_line
    ( conn
    , 'meta http-equiv="Content-Type" content="text/html;charset=8859-1"' );
    rc := utl_tcp.write_line ( conn, 'title' );
    rc := utl_tcp.write_line ( conn, subject );
    rc := utl_tcp.write_line ( conn, '/title' );
    rc := utl_tcp.write_line ( conn, '/head' );
    rc := utl_tcp.write_line ( conn, 'body' );

    WHILE pos msg_length
    LOOP
    rc :=
    utl_tcp.write_line ( conn
    , dbms_lob.SUBSTR ( MESSAGE
    , offset
    , pos ));
    pos := pos + offset;
    offset := LEAST ( bytes_o_data, msg_length - offset );
    END LOOP;

    rc := utl_tcp.write_line ( conn, 'BRBR' );
    rc := utl_tcp.write_line ( conn, '/body/html' );
    rc := utl_tcp.write_line ( conn, '' );
    rc := utl_tcp.write_line ( conn, crlf );

    -- Append the file BLOB ...
    -- ----------------
    -- If the filename has been supplied ... it will fail if the BLOB is empty
    IF filename IS NOT NULL
    THEN
    BEGIN
    -- generate the MIME boundary line ...
    rc :=
    utl_tcp.write_line ( conn, '--=_mixed 0052287A85256E75_=' );
    rc :=
    utl_tcp.write_line
    ( conn
    , 'Content-Type: application/octet-stream; name="'
    || filename
    || '"' );
    rc :=
    utl_tcp.write_line
    ( conn
    , 'Content-Disposition: attachment; filename="'
    || filename
    || '"' );
    rc :=
    utl_tcp.write_line ( conn
    , 'Content-Transfer-Encoding: base64' );
    rc := utl_tcp.write_line ( conn, '' );
    rc := utl_tcp.write_line ( conn, '' );
    -- and append the file contents to the end of the message ...

    -- Go get the file and the loop through blob and attach data
    -- and append the file contents to the end of the message ...
    attach_base64 ( conn = conn
    , DATA = l_blob );
    EXCEPTION
    WHEN OTHERS
    THEN
    p_output_message :=
    'Error in attaching file '
    || filename
    || ' :: '
    || SQLCODE
    || ' - '
    || SQLERRM;

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;

    RAISE err_message_send;
    END;
    END IF;

    rc := utl_tcp.write_line ( conn, '' );
    -- --
    --
    -- append the final boundary line ...
    rc := utl_tcp.write_line ( conn, '' );
    rc := utl_tcp.write_line ( conn, '--=_mixed 0052287A85256E75_=--' );
    rc := utl_tcp.write_line ( conn, '' );
    -- and close the SMTP connection ...
    rc := utl_tcp.write_line ( conn, '.' );
    ----- EMAIL MESSAGE BODY END
    p_output_message := utl_tcp.get_line ( conn, TRUE );

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;

    -- DBMS_OUTPUT.put_line (UTL_TCP.get_line (conn, TRUE));
    rc := utl_tcp.write_line ( conn, 'QUIT' );
    ----- ENDS EMAIL TRANSACTION
    p_output_message := utl_tcp.get_line ( conn, TRUE );

    -- Capture '.' Message sent dialog
    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;

    BEGIN
    FOR i_idx IN 1 .. 100
    LOOP
    p_output_message := utl_tcp.get_line ( conn, TRUE );

    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;
    END LOOP;
    EXCEPTION
    WHEN OTHERS
    THEN
    IF DEBUG = 1
    THEN -- No Output
    NULL;
    ELSE -- Then DBMS_OUTPUT messages
    print_output ( p_output_message );
    END IF;
    END;
    END IF; -- err_server_reject

    utl_tcp.close_connection ( conn ); ----- CLOSE SMTP PORT CONNECTION
    EXCEPTION
    WHEN err_message_send
    THEN
    print_output ( CHR ( 10 )
    || CHR ( 10 )
    || 'ERROR -'
    || ' Message was not submitted for delivery' );
    print_output ( ' [FROM_NAME := ' || from_name || '] ' );
    print_output ( ' [TO_NAME := ' || to_name || '] ' );
    print_output ( ' [CC_NAME := ' || cc_name || '] ' );
    print_output ( ' [BCC_NAME := ' || bcc_name || '] ' );
    print_output ( ' [SUBJECT := ' || subject || '] ' );
    print_output ( ' SERVER_MSG := ' || p_output_message );
    utl_tcp.close_connection ( conn ); ----- CLOSE SMTP PORT CONNECTION
    WHEN err_server_reject
    THEN
    print_output ( CHR ( 10 )
    || CHR ( 10 )
    || 'ERROR -'
    || ' Server Rejected Email' );
    print_output ( ' [FROM_NAME := ' || from_name || '] ' );
    print_output ( ' [TO_NAME := ' || to_name || '] ' );
    print_output ( ' [CC_NAME := ' || cc_name || '] ' );
    print_output ( ' [BCC_NAME := ' || bcc_name || '] ' );
    print_output ( ' [SUBJECT := ' || subject || '] ' );
    print_output ( ' SERVER_MSG := ' || p_output_message );
    WHEN OTHERS
    THEN
    print_output ( CHR ( 10 )
    || CHR ( 10 )
    || 'ERROR :: '
    || SQLCODE
    || ' - '
    || SQLERRM );
    print_output ( ' [FROM_NAME := ' || from_name || '] ' );
    print_output ( ' [TO_NAME := ' || to_name || '] ' );
    print_output ( ' [CC_NAME := ' || cc_name || '] ' );
    print_output ( ' [BCC_NAME := ' || bcc_name || '] ' );
    print_output ( ' [SUBJECT := ' || subject || '] ' );
    print_output ( ' SERVER_MSG := ' || p_output_message );
    END sendmail;
    END;
    /

  • RELEVANCY SCORE 2.41

    DB:2.41:Rc Drift 8f


    Does anyone here drift rc cars? 1/10 scale.

    If so, Post your pictures, talk about your car, show off your car and upgrades.

    I am a huge rc car hobby fan and love drifting as well.

    Post all pictures possible of your hot rides.

    DB:2.41:Rc Drift 8f


    This is the RC car I take whenever I go camping

  • RELEVANCY SCORE 2.41

    DB:2.41:Slow File Transfer And Copy In Rc 8x


    First of all - I love my RC 64-bit. Its stable, quick, excellent GUI and include all the drivers I needed.
    BUT
    One problem I encounter.. File copy and transfer is slow. When I copy files between SATA disks my transfer speed start up at approx 80 MBps but drops rapidly. After 20 secunds its doen to 30 MBps, and after 30 seconds more down to 13-14 MBps. This is below
    10% of the theoretical troughput on Sata II. The average speed is almost the same as when I move files from a external disk over USB.
    Any ideas anyone? I never had this problem on XP.

    Additional info:

    core i7 rig with Asus P6T and 6GB ram SSD OS drive 1.5 TB Seagate disk HW-raid with 5*1 TB HDDs

    Kjell Arne

    DB:2.41:Slow File Transfer And Copy In Rc 8x

    I have this problem with windows 8!!!! With all the latest hardware! And, there are no fixes posted for 8!...so I'll try this??

  • RELEVANCY SCORE 2.41

    DB:2.41:I Can't Log In Datamover With User Ps 81


    Hi everyone,I am Jason
    I can't log in datamover with user ps

    Here is the log:
    PeopleTools 8.52 Client Trace - 2012-02-18

    PID-Line Time Elapsed Trace Data...
    -------- -------- ---------- --------------------
    1-1 23.55.35 Tuxedo session opened {oprid='PS', appname='TwoTier', addr='//TwoTier:7000', open at 03CA4D90, pid=14236}
    1-2 23.55.35 0.098000 Cur#0.14236.HR91DEV RC=0 Dur=0.034000 Create Connection Info=Primary/HR91DEV/people/ Handle=03CCE7E8
    1-3 23.55.35 0.003000 Cur#1.14236.notSamTran RC=0 Dur=0.003000 Open Cursor Handle=03CCE7E8
    1-4 23.55.35 0.000000 Cur#1.14236.HR91DEV RC=0 Dur=0.000000 COM Stmt=SELECT OWNERID FROM PS.PSDBOWNER WHERE DBNAME=:1
    1-5 23.55.35 0.000000 Cur#1.14236.HR91DEV RC=0 Dur=0.000000 Bind-1 type=2 length=7 value=HR91DEV
    1-6 23.55.35 0.001000 Cur#1.14236.HR91DEV RC=0 Dur=0.000000 Fetch
    1-7 23.55.35 0.001000 Cur#1.14236.HR91DEV RC=0 Dur=0.001000 COM Stmt=SELECT OWNERID, TOOLSREL, TO_CHAR(LASTREFRESHDTTM,'YYYY-MM-DD HH24:MI:SS'), TO_CHAR(LASTCHANGEDTTM,'YYYY-MM-DD HH24:MI:SS') FROM SYSADM.PSSTATUS
    1-8 23.55.35 0.000000 Cur#1.14236.HR91DEV RC=0 Dur=0.000000 Fetch
    1-9 23.55.35 0.000000 Cur#1.14236.HR91DEV RC=0 Dur=0.000000 COM Stmt=SELECT DBID FROM SYSADM.PSSTATUS
    1-10 23.55.35 0.000000 Cur#1.14236.HR91DEV RC=0 Dur=0.000000 Fetch
    1-11 23.55.35 0.000000 Cur#1.14236.HR91DEV RC=0 Dur=0.000000 COM Stmt=SELECT VERSION, OPERPSWD, ENCRYPTED, SYMBOLICID, ACCTLOCK FROM SYSADM.PSOPRDEFN WHERE OPRID = :1
    1-12 23.55.35 0.000000 Cur#1.14236.HR91DEV RC=0 Dur=0.000000 Bind-1 type=2 length=2 value=PS
    1-13 23.55.35 0.001000 Cur#1.14236.HR91DEV RC=0 Dur=0.000000 Fetch
    1-14 23.55.35 0.000000 Cur#1.14236.HR91DEV RC=0 Dur=0.000000 COM Stmt=SELECT ACCESSID, ACCESSPSWD, ENCRYPTED FROM SYSADM.PSACCESSPRFL WHERE SYMBOLICID = :1
    1-15 23.55.35 0.000000 Cur#1.14236.HR91DEV RC=0 Dur=0.000000 Bind-1 type=2 length=7 value=SYSADM1
    1-16 23.55.35 0.000000 Cur#1.14236.HR91DEV RC=0 Dur=0.000000 Fetch
    1-17 23.55.35 0.000000 Cur#1.14236.HR91DEV RC=0 Dur=0.000000 Disconnect
    1-18 23.55.35 0.048000 Cur#0.14236.notSamTran RC=0 Dur=0.048000 Destroy Connection Handle=03CCE7E8
    1-19 23.55.35 0.046000 Cur#0.14236.HR91DEV RC=404 Dur=0.046000 Create Connection Info=Primary/HR91DEV/SYSADM/ Handle=00000000

    thx for ur help

    DB:2.41:I Can't Log In Datamover With User Ps 81

    Many thanks to Nicolas for this thread. It was invaluable in helping me resolve my issue. I had upgraded a Financials database from PT8.45 to PT8.51 with the database at ORACLE 9i. After the upgrade I could log in to AppDesigner and DataMover with my OPRID, built/started appservers and webservers, etc.. NO PROBLEMS.
    But my DBA exported the data and imported into an 11g database and I found myself unable to login to AppDesigner or DataMover with the same OPRID (I didn't even bother to try to start appservers). After much digging I discovered this post. After reading the post I realized that my encrypted ACCESSID and ACCESSPSWD values in PSACCESSPRFL were probably uppercase values. In bootstrap mode I ran the resetpswd.dms script to update the PSACCESSPRFL table with my lowercase ACCESS ID and lowercase ACCESS PSWD and reencrypt these. I confirmed with a select statement that my encrypted values were now changed. AND as I expected at this point my OPRID can once again log into the database in AppDesigner and DataMover.

  • RELEVANCY SCORE 2.41

    DB:2.41:Convert Time Into Time With User's Time Format (Table Usr11) sx



    Dear SDN-Community,

    I am looking for a possibility to convert time into time using user's time format customizing of database table usr11.

    There is a field TIMEFM in which this setting is stored. The following variants are possible:

    024 Hour Format (Example: 12:05:10)

    112 Hour Format (Example: 12:05:10 PM)

    212 Hour Format (Example: 12:05:10 pm)

    3Hours from 0 to 11 (Example: 00:05:10 PM)

    4Hours from 0 to 11 (Example: 00:05:10 pm)

    Do anybody know a function module for this conversion purpose?

    Thanks in advanced and best regards,

    Thomas

    DB:2.41:Convert Time Into Time With User's Time Format (Table Usr11) sx


    Hi Thomas, take a look at 'convert time stamp lv_timestamp time zone lv_tz into date lv_date'. Where lv_timestamp type timestamp, lv_tz type ttzz-zone and lv_date type d.

    Kevin

  • RELEVANCY SCORE 2.41

    DB:2.41:Can Vba Be Written With More Than 7 If Statements fx



    I need help with code but have no idea where to begin so I’m hoping someone can help.
    I have a lot of arguments to write to one cell (J2) and then fill down.
    The number of rows continually changes and could be from as few as 25 rows to as many as 200 rows (but never more than 200 rows).
    I can make it run fine if I limit it to 7 arguments but I can’t find a way to make it work with more.
    Below are all the arguments that I have been working with. Any advice would be welcomed.
    Thank You,

    IF(RC[-8]=””””,””””
    IF(RC[-3]=””AR””,””Col””
    IF(RC[5]640,””Col””
    IF(RC[-6]=””conf10””,””Col””
    IF(RC[-6]=””conf15””,””Colonial””
    IF(RC[-6]=””Conf Fixed LP Relief Refi””,”Col””
    IF(RC[-6]=” “conf30relief refi"",""Col""
    IF(RC[-6]=””conf15relief refi””,””Col””
    IF(RC[-6]=””conf30relief refi 105-125””,””Col””
    IF(RC[-6]=””fha15””,””Lews””
    IF(RC[-6]=””fha15 Streamline””,””Lews””
    IF(RC[-6]=””conf20””,””Lews””
    IF(RC[-6]=””conf25””,””Lews””
    IF(RC[-6]=””conf30””,””Lews””
    IF(RC[-6]=””va15””,””Lews””
    IF(RC[-6]=””va15 irrrl””,”’Lews””
    IF(RC[-6]=””fha30””,””NeverReady””

    DB:2.41:Can Vba Be Written With More Than 7 If Statements fx

    Do as Graham Mayor suggested. That's a very good idea.

    Just remember that with that solution (as with putting it in your Personal.xlsm file) that a copy of the .xlam file would have to be put onto all machines that are going to be using the function in a workbook.

  • RELEVANCY SCORE 2.41

    DB:2.41:Vmw 9 - Help To Rename File000x.Chk To Right-Name.Vmdk zf



    hi

    I faced a partition issue and chkdsk renamed all my VM into file000x.chk

    I could rename these already:

    Qoolbox FC64-bit.nvram

    Qoolbox FC64-bit.vmem

    Qoolbox FC64-bit.vmsd

    Qoolbox FC64-bit.vmx

    Qoolbox FC64-bit.vmxf

    vmware.log

    however I'm stuck for the vmdk files. they all have different size from 7 to 9GB. Indeed the log show their old names:

    Qoolbox FC64-bit-s001.vmdk

    Qoolbox FC64-bit-s002.vmdk

    Qoolbox FC64-bit-s003.vmdk

    Qoolbox FC64-bit-s004.vmdk

    Qoolbox FC64-bit-s005.vmdk

    Qoolbox FC64-bit-s006.vmdk

    Qoolbox FC64-bit-s007.vmdk

    Qoolbox FC64-bit-s008.vmdk

    Qoolbox FC64-bit-s009.vmdk

    Qoolbox FC64-bit-s010.vmdk

    Qoolbox FC64-bit-s011.vmdk

    but the log doesn't tell their size as it ws before the crash. How could I fit these names to these remaining files (with size):

    1 791 885 312 file0000.chk
    2 120 679 424 file0001.chk
    2 065 563 648 file0002.chk
    2 013 921 280 file0003.chk
    2 013 265 920 file0004.chk
    2 034 499 584 file0005.chk
    2 024 538 112 file0006.chk
    1 535 705 088 file0007.chk
    1 752 170 496 file0008.chk
    327 680 file0009.chk
    131 072 file0010.chk

    DB:2.41:Vmw 9 - Help To Rename File000x.Chk To Right-Name.Vmdk zf


    You should have to be told however before doing anything make a copy of what you have and set it aside. Now rename them in logical order starting with file0000.chk renaming it to Qoolbox FC64-bit-s001.vmdk and continue through to file0010.chk renaming it to Qoolbox FC64-bit-s011.vmdk and see if this works.

  • RELEVANCY SCORE 2.41

    DB:2.41:Insert Code To Pull Only Data That Matches A Specific Date Entered In A Cell sa


    Here is my code below that i need to edit. right now it pulls everything from 3 columns, Works great i need to take one step more and make it so it will only pull the data that matches a date i put in Cell I7.. Please help!!! I can explain more if needed..
    Thanks so much in advance

    Sub PopulateRBDSrcTimes()
    Dim nR As Integer, nO As Integer, n As Integer, m As Integer, nId As Integer, nPr As Integer
    Dim xlWS_R As Worksheet, xlWS_OB As Worksheet

    ReDim nSrcRows(1, 0) As Integer

    Set xlWS_R = Sheets(Recording Break Down)
    Set xlWS_OB = Sheets(OB Log)

    nR = xlWS_R.Range(A65536).End(xlUp).Row
    nOB = xlWS_OB.Range(A65536).End(xlUp).Row

    If nOB 1 nR Then

    ' Copies from OB Log to Recording Break Down

    For n = nR - 1 To nOB
    xlWS_R.Cells(n 1, 1) = xlWS_OB.Cells(n, 3) ' time
    xlWS_R.Cells(n 1, 2) = xlWS_OB.Cells(n, 8) ' source id
    xlWS_R.Cells(n 1, 3) = xlWS_OB.Cells(n, 10) ' source type
    Next

    With xlWS_R

    For n = nR 2 To nOB 1
    If .Cells(n - 1, 2) .Cells(n, 2) Then

    SetSrcRow nSrcRows(), .Cells(n - 1, 2), n - 1

    nPr = nGetSrcRow(nSrcRows(), .Cells(n, 2))
    ' Insert Formula in Column D
    If nPr Then
    .Cells(n, 4).FormulaR1C1 = = IF(RC[-1]=EXPLO,RC[-3]-R[- (n - nPr) ]C[-3] -R6C1,IF(RC[-1]=VIBRO,RC[-3]-R[- (n - nPr) ]C[-3] -R3C1,IF(RC[-1]=OTHER,RC[-3]-R[- (n - nPr) ]C[-3] -R9C1)))
    End If

    Else
    .Cells(n, 4).FormulaR1C1 = = IF(RC[-1]=EXPLO,(RC[-3]-R[-1]C[-3]) -R6C1,IF(RC[-1]=VIBRO,(RC[-3]-R[-1]C[-3]) -R3C1,IF(RC[-1]=OTHER,(RC[-3]-R[-1]C[-3]) -R9C1)))
    End If

    Next

    End With
    End If

    MsgBox Done
    End Sub
    Function nGetSrcRow(Arr() As Integer, ByVal nId As Integer) As Integer
    Dim n As Integer

    For n = 0 To UBound(Arr, 2)
    If Arr(0, n) = nId Then
    nGetSrcRow = Arr(1, n)
    Exit For
    End If
    Next

    End Function
    Sub SetSrcRow(Arr() As Integer, ByVal nId As Integer, ByVal nRow As Integer)
    Dim n As Integer

    If UBound(Arr, 2) = 0 And Arr(0, 0) = 0 Then
    Arr(0, 0) = nId
    Arr(1, 0) = nRow
    Else
    For n = 0 To UBound(Arr, 2)
    If Arr(0, n) = nId Then
    Arr(1, n) = nRow
    Exit For
    End If
    Next
    End If

    If n UBound(Arr, 2) Then
    n = UBound(Arr, 2) 1

    ReDim Preserve Arr(1, n) As Integer

    Arr(0, n) = nId
    Arr(1, n) = nRow
    End If

    End Sub

    DB:2.41:Insert Code To Pull Only Data That Matches A Specific Date Entered In A Cell sa

    Hi,
    i need to take one step more and make it so it will only pull the data that matches a date i put in Cell I7
    What’s the meaning of “date”? Is it the column “time”?
    Where is the Cell 17? What's theColumn and row?
    From the code you provide, I find you copy the data form the Worksheet(“OB Log”) to Worksheet(“Recording Break Down”) and set the formula of the column D.
    But I’m not sure about the source data and the target data, would you mind providing a sample workbook and the target workbook by
    SkyDrive to help us to understand your requirement and help you to achieve the goal?

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click
    HERE to participate the survey.

  • RELEVANCY SCORE 2.41

    DB:2.41:How To Find The First Row Containing A Certain Character And Delete All The Rows Above It ck


    Hello,

    I have a macro that opens a text file and scrubs the data and formats it for use in the Excel workbook. However, I've run into a snag. I need to be able to identify the first row that has the character "=" in column H (that field will also contain other
    characters, but the "=" is the distinguishing item). Then I need to delete all of the rows above that row.
    I think this question is simple enough so that the code isn't needed, but just in case I'm posting it below. I'd need to do this delete process right after I open the text file, before any of the other testing for valid data is done. The text file will
    have 16 columns and a variable number of rows (anywhere from 50 to 1000).
    I'd really appreciate any help!
    Thanks,
    Penny

    Sub Get_Gantt()
    '
    ' Get_Gantt Macro
    ' In Spring Ops Workbook

    Dim ThisMoSh As Worksheet
    Dim LastRow1 As Integer
    Dim LastRow3 As Long
    Dim Lastrow4 As Long
    Dim DestCell As Range
    Set ThisMoSh = ActiveSheet
    Set DestCell = ThisMoSh.Cells(ThisMoSh.Rows.Count, "A").End(xlUp).Offset(1)
    ActiveSheet.Unprotect

    ' find the last used row in Column B - this will be where we copy data to

    With ActiveSheet
    LastRow3 = .Cells(.Rows.Count, "b").End(xlUp).Row
    End With

    ' Prompt user for file to use

    Dim COINsFile As Variant
    COINsFile = Application.GetOpenFilename("Text Files,*.txt", , "Select Gantt Report", "Open", False)

    If COINsFile = False Then
    'user hit cancel
    Exit Sub
    End If

    'Change ScreenUpdating, Calculation, EnableEvents, ....
    With Application
    CalcMode = .Calculation
    .Calculation = xlCalculationAutomatic
    .ScreenUpdating = False
    End With
    ViewMode = ActiveWindow.View
    ActiveWindow.View = xlNormalView
    ActiveSheet.DisplayPageBreaks = False

    ' Open file and format for Excel
    Workbooks.OpenText Filename:=COINsFile, Origin:= _
    437, StartRow:=1, DataType:=xlFixedWidth, FieldInfo:=Array(Array(0, 1), _
    Array(16, 1), Array(33, 1), Array(42, 1), Array(53, 1), Array(64, 1), Array(75, 1), Array( _
    86, 1), Array(97, 1), Array(108, 1), Array(119, 1), Array(130, 1), Array(141, 1), Array(152 _
    , 1), Array(163, 1), Array(174, 1)), TrailingMinusNumbers:=True

    ' Get operation name and copy down for all rows with data
    With ActiveSheet
    Lastrow4 = .Cells(.Rows.Count, "a").End(xlUp).Row
    End With
    Columns("a:a").Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
    Cells(1, 1).FormulaR1C1 = "=LEFT(R[2]C[1],8)"
    Range("A1").Copy
    Range("a1:a" Lastrow4).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
    :=False, Transpose:=False
    Application.CutCopyMode = False
    ' Cells(1, 1).AutoFill Destination:=Range("A1:A" Cells(256 ^ 2, 2).End(xlUp).Row), Type:=xlFillDefault

    ' Delete unused rows
    Rows("1:5").Delete Shift:=xlUp

    LastRow1 = ActiveSheet.UsedRange.Row - 1 + _
    ActiveSheet.UsedRange.Rows.Count
    Application.ScreenUpdating = False
    For r = LastRow1 To 1 Step -1
    If Application.CountA(Rows(r)) = 0 Then Rows(r).Delete
    Next r

    ' Put row-choosing formula in Cell A1 then copy down Column A for all rows

    Columns("A:A").Select
    Selection.Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove

    Range("A1").Select
    Cells(1, 1).FormulaR1C1 = "=if(iserr(IF(OR(RC[2]="""",LEFT(RC[2],3)=""Job"",LEFT(RC[2],3)=""Run"",LEN(RC[2])10,ISNUMBER(VALUE(LEFT(RC[2])))=FALSE),"""",ROW(RC[2]))),"""",IF(OR(RC[2]="""",LEFT(RC[2],3)=""Job"",LEFT(RC[2],3)=""Run"",LEN(RC[2])10,ISNUMBER(VALUE(LEFT(RC[2])))=FALSE),"""",ROW(RC[2])))"
    Cells(1, 1).AutoFill Destination:=Range("A1:A" Cells(256 ^ 2, 2).End(xlUp).Row), Type:=xlFillDefault

    ' Replace row# formula with value for column A

    Columns("A:A").Copy
    Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
    :=False, Transpose:=False

    ' Delete rows where value in column A is not greater than 1
    Dim Firstrow As Long
    Dim Lastrow2 As Long
    Dim Lrow2 As Long
    Dim CalcMode2 As Long
    Dim ViewMode2 As Long
    With Application
    CalcMode2 = .Calculation
    .Calculation = xlCalculationManual
    .ScreenUpdating = False
    End With
    With ActiveSheet
    .Select
    ViewMode2 = ActiveWindow.View

    'Set the first and last row to loop through
    Firstrow2 = .UsedRange.Cells(1).Row
    Lastrow2 = .UsedRange.Rows(.UsedRange.Rows.Count).Row
    'We loop from Lastrow to Firstrow (bottom to top)
    For Lrow2 = Lastrow2 To Firstrow2 Step -1
    'We check the values in the A column in this example
    With .Cells(Lrow2, "A")
    If Not IsError(.Value) Then
    If .Value = "" Then .EntireRow.Delete
    End If
    End With
    Next Lrow2
    End With

    ' Copy Data from the text file
    Set TextWks = ActiveSheet
    Columns("a:a").Delete
    Columns("Q:Q").Delete
    Range("A1").CurrentRegion.Copy
    'Copy and paste the cells into Spring Ops workbook below the existing data

    DestCell.PasteSpecial _
    Paste:=xlPasteValues, Operation:=xlNone, _
    SkipBlanks:=False, Transpose:=False


    ' Close the text file that was used without saving it
    Application.DisplayAlerts = False
    TextWks.Parent.Close savechanges:=False
    Application.DisplayAlerts = True

    Range("A" LastRow3 + 1).Select
    ' ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True
    With Application
    CalcMode = .Calculation
    .Calculation = xlCalculationAutomatic
    .ScreenUpdating = True
    End With
    End Sub
    Function LastRow(sh As Worksheet)
    On Error Resume Next
    LastRow = sh.Cells.Find(What:="*", _
    After:=sh.Range("A19"), _
    LookAt:=xlPart, _
    LookIn:=xlValues, _
    SearchOrder:=xlByRows, _
    SearchDirection:=xlPrevious, _
    MatchCase:=False).Row
    On Error GoTo 0
    End Function

    DB:2.41:How To Find The First Row Containing A Certain Character And Delete All The Rows Above It ck

    Hi,
    I have a similar query, what if I have a cell value in range "A" as"test" then I want to delete all rows after it.

  • RELEVANCY SCORE 2.41

    DB:2.41:Getting The Error "Anonymous Receive Connector" While Calling Stored Proc ff


    I am getting the error "220 012-BR1MMR1-005 Anonymous Receive Connector" while calling a store procedure from anonymous block.
    I am using SMTP host which is working for other cases.
    Please suggest!!

    create or replace
    PROCEDURE SOA_TIMESTAMP(errbuf OUT VARCHAR2, retcode OUT VARCHAR2) IS
    rc integer;
    crlf VARCHAR2(2) := CHR(13) || CHR(10);
    mesg VARCHAR2(1000);
    c utl_tcp.connection;
    L_FROM_DATE DATE;
    L_TO_DATE DATE;
    msg_from VARCHAR2(100) := 'Support@abc.com';
    to_addresses VARCHAR2(1000);
    cc_addresses VARCHAR2(1000);
    email_addresses VARCHAR2(2000);
    msg_subject VARCHAR2(200) := 'E-mail Alert: ';
    msg_text1 VARCHAR2(15) := 'Dear Sir,';
    msg_text2 VARCHAR2(500) := 'Please find the attached file,';
    msg_text3 VARCHAR2(25) := 'Division';
    msg_text4 VARCHAR2(25) := 'For the period : ';
    v_mail_to VARCHAR2(1000);
    lv_gcn varchar2(1000);
    next_column number;
    recipient_email_length number;
    single_recipient_addr varchar2(100);
    v_is_there_any_attachment CHAR(1):='N'; --New var.

    cursor cur_select is
    SELECT (DELIVERY_NUMBER || ',' ||
    RECD_IN_SOA || ',' ||
    SENT_TO_OTM || ',' ||
    OTM_RESP_RECD || ',' ||
    SENT_TO_MENLO) gcn
    from irsoa.otm_menlo_report;

    cursor cur_to_email is
    SELECT email_address
    FROM alert_users_ID
    WHERE MAIL_TYPE = 'To';

    cursor cur_cc_email is
    SELECT email_address
    FROM alert_users_ID
    WHERE MAIL_TYPE = 'Cc';

    BEGIN
    retcode := 'one';
    for c_to in cur_to_email loop
    to_addresses := to_addresses || ',' || c_to.email_address;
    end loop;

    to_addresses := ltrim(to_addresses, ',');

    for c_cc in cur_cc_email loop
    cc_addresses := cc_addresses || ',' || c_cc.email_address;
    end loop;
    retcode:= retcode||'two';
    cc_addresses := ltrim(cc_addresses, ',');

    email_addresses := to_addresses || ',' || cc_addresses;

    recipient_email_length := length(email_addresses);
    email_addresses := email_addresses || ','; -- Add comma for the last asddress
    next_column := 1;
    if instr(email_addresses, ',') = 0 then
    -- Single E-mail address
    single_recipient_addr := email_addresses;
    recipient_email_length := 1;
    end if;
    retcode := retcode||'three';
    c := utl_tcp.open_connection(remote_host = '127.0.0.1'',
    remote_port = 25,
    tx_timeout = null);
    retcode := retcode||'four';
    rc := utl_tcp.write_line(c, 'HELO '127.0.0.1');
    rc := utl_tcp.write_line(c, 'HELO '127.0.0.1');

    rc := utl_tcp.write_line(c, 'MAIL FROM: ' || msg_from);
    retcode := retcode||'five';
    while next_column = recipient_email_length loop
    -- Process Multiple E-mail addresses in the loop OR single E-mail address once.
    single_recipient_addr := substr(email_addresses,
    next_column,
    instr(email_addresses, ',', next_column) -
    next_column);
    next_column := instr(email_addresses, ',', next_column) + 1;

    --rc := utl_tcp.write_line(c, 'MAIL FROM: '||msg_from);
    rc := utl_tcp.write_line(c, 'RCPT TO: ' || single_recipient_addr);
    end loop;
    retcode := retcode||'six';
    rc := utl_tcp.write_line(c, 'DATA');
    rc := utl_tcp.write_line(c,
    'Date: ' ||
    TO_CHAR(SYSDATE, 'dd Mon yy hh24:mi:ss'));
    rc := utl_tcp.write_line(c,
    'From: ' || msg_from || ' ' || msg_from || '');
    rc := utl_tcp.write_line(c, 'MIME-Version: 1.0');
    rc := utl_tcp.write_line(c, 'To: ' || to_addresses);
    rc := utl_tcp.write_line(c, 'Cc: ' || cc_addresses);
    rc := utl_tcp.write_line(c, 'Subject: ' || msg_subject);
    rc := utl_tcp.write_line(c, 'Content-Type: multipart/mixed;');
    rc := utl_tcp.write_line(c, ' boundary="-----SECBOUND"');
    rc := utl_tcp.write_line(c, '');
    rc := utl_tcp.write_line(c, '-------SECBOUND');
    rc := utl_tcp.write_line(c, 'Content-Type: text/plain');
    rc := utl_tcp.write_line(c, 'Content-Transfer-Encoding: 7bit');
    rc := utl_tcp.write_line(c, '');
    rc := utl_tcp.write_line(c, msg_text1);
    rc := utl_tcp.write_line(c, ' ');
    rc := utl_tcp.write_line(c, msg_text2);
    rc := utl_tcp.write_line(c, ' ');
    rc := utl_tcp.write_line(c, msg_text3);
    rc := utl_tcp.write_line(c,
    msg_text4 || to_char(l_from_date, 'MON-YY') ||
    ' to ' || to_char(l_to_date, 'MON-YY'));
    rc := utl_tcp.write_line(c, '');
    rc := utl_tcp.write_line(c, '-------SECBOUND');
    rc := utl_tcp.write_line(c, 'Content-Type: text/plain;');
    rc := utl_tcp.write_line(c, ' name="GCN_Details.csv"');
    rc := utl_tcp.write_line(c, 'Content-Transfer_Encoding: 8bit');
    rc := utl_tcp.write_line(c, 'Content-Disposition: attachment;'); --Indicates that this is an attachment.
    rc := utl_tcp.write_line(c, ' filename="GCN_Details.csv"');
    rc := utl_tcp.write_line(c, '-------SECBOUND');
    rc := utl_tcp.write_line(c, '');
    retcode := retcode||'seven';
    begin

    -- WRITE COLUMN HEADERS
    rc := utl_tcp.write_text(c, 'BRANCH' || ',' || 'ORDER NUMBER');
    rc := utl_tcp.write_line(c, ' ');

    for c1 in cur_select loop --You are starting to write the data
    lv_gcn := c1.gcn;
    rc := utl_tcp.write_text(c, lv_gcn);
    rc := utl_tcp.write_line(c, ' ');
    v_is_there_any_attachment:='Y';--Is there any data ?
    end loop;
    retcode :=retcode||'eight';
    exception
    when others then
    dbms_output.put_line('error : ' || sqlerrm);
    rc := utl_tcp.write_text(c, 'Data Error');
    end;
    If v_is_there_any_attachment ='Y' THEN
    rc := utl_tcp.write_line(c, '');
    rc := utl_tcp.write_line(c, '.');
    rc := utl_tcp.write_line(c, '-------SECBOUND');
    --end loop;
    retcode := retcode||'nine';
    END If;
    rc := utl_tcp.write_line(c, 'QUIT');
    dbms_output.put_line(utl_tcp.get_line(c, TRUE));
    utl_tcp.close_connection(c);
    retcode := retcode||'ten';
    EXCEPTION
    when others then
    utl_tcp.close_connection(c);
    raise_application_error(-20000, SQLERRM);
    retcode := 'Unable to send mail'||' with error '||sqlerrm;
    END SOA_TIMESTAMP

    Edited by: 991162 on Mar 1, 2013 2:03 AM

    Edited by: 991162 on Mar 1, 2013 2:07 AM

    DB:2.41:Getting The Error "Anonymous Receive Connector" While Calling Stored Proc ff

    The error is coming from your SMTP server, so asking in their forums would be the better idea

  • RELEVANCY SCORE 2.41

    DB:2.41:Unable To Login To Datamover 8k


    PT 8.51 CRM 9.1 Oracle 11g On Linux

    Hi,

    Can someone please help me. I am installing a 9.1 CRM Database and unable to login to datamover as sysadm

    I installed tools and application.

    Ran the following scripts

    createdb
    utlspace
    dbowner -- created psdbowner table as PS
    crddl
    psroles
    psadmin
    connect

    I have configured configuration manager. When i try to login to datamover as sysadm, after entering username and password login screen disappears.

    Trace file:

    PeopleTools 8.51 Client Trace - 2011-03-30

    PID-Line Time Elapsed Trace Data...
    -------- -------- ---------- --------------------
    1-1 13.02.11 Tuxedo session opened {oprid='sysadm', appname='TwoTier', addr='//TwoTier:7000', open at 04627428, pid=2136}
    1-2 13.02.11 0.088000 Cur#0.2136.HRHDV1 RC=0 Dur=0.041000 --- router PSORA load succeeded
    1-3 13.02.11 0.508000 Cur#0.2136.HRHDV1 RC=0 Dur=0.508000 INI
    1-4 13.02.12 0.595000 Cur#0.2136.HRHDV1 RC=0 Dur=0.595000 Create Connection Info=Primary/HRHDV1/people/ Handle=04645280
    1-5 13.02.12 0.010000 Cur#1.2136.notSamTran RC=0 Dur=0.010000 Open Cursor Handle=04645280
    1-6 13.02.12 0.000000 Cur#1.2136.HRHDV1 RC=0 Dur=0.000000 GET type=1003 dbtype=4
    1-7 13.02.12 0.000000 Cur#1.2136.HRHDV1 RC=0 Dur=0.000000 GET type=1004 release=11
    1-8 13.02.12 0.005000 Cur#1.2136.HRHDV1 RC=0 Dur=0.000000 COM Stmt=SELECT OWNERID FROM PS.PSDBOWNER WHERE DBNAME=:1
    1-9 13.02.12 0.000000 Cur#1.2136.HRHDV1 RC=0 Dur=0.000000 SSB column=1 type=2 length=9 scale=0
    1-10 13.02.12 0.000000 Cur#1.2136.HRHDV1 RC=0 Dur=0.000000 Bind-1 type=2 length=6 value=HRHDV1
    1-11 13.02.12 0.001000 Cur#1.2136.HRHDV1 RC=0 Dur=0.001000 EXE
    1-12 13.02.12 0.000000 Cur#1.2136.HRHDV1 RC=1 Dur=0.000000 Fetch
    1-13 13.02.12 0.001000 Cur#1.2136.HRHDV1 RC=0 Dur=0.001000 Disconnect
    1-14 13.02.12 0.003000 Cur#0.2136.notSamTran RC=0 Dur=0.003000 Destroy Connection Handle=04645280
    1-15 13.02.12 0.051000 Cur#0.2136.notSamTran RC=0 Dur=0.051000 Create Connection Info=Primary/HRHDV1/sysadm/ Handle=04645280
    1-16 13.02.12 0.006000 Cur#1.2136.notSamTran RC=0 Dur=0.006000 Open Cursor Handle=04645280
    1-17 13.02.12 0.000000 Cur#1.2136.notSamTran RC=0 Dur=0.000000 Disconnect
    1-18 13.02.12 0.001000 Process aborted.

    DB:2.41:Unable To Login To Datamover 8k

    Seems that PeopleSoft cannot handle DB passwords that are too long (longer than 8 characters usually), that's why the data mover is crashing. So recommendation is to use passwords that are not longer than 8 characters.

  • RELEVANCY SCORE 2.41

    DB:2.41:Power Dvd With Spdif Prob px


    hi guys...

    when i set up spdif at speaker enviroment and let my sb audigy 2 zs pro decoding the video/audio is a total mess... with delays etc.

    i dont think it's my pcs hardware fault...

    3,4 gz p4
    024 ram kingston
    gforce 5900xt

    any can help?

  • RELEVANCY SCORE 2.41

    DB:2.41:Need Guidance..Trying To Change Background Color Of A Region.. a1


    Hi Apex experts with html css skills kindly help me..
    1)
    I am trying to change the background color of a region..to this color..#f2825b
    The current theme i am using is the one in sample application... The is theme 4 Topaz..
    The css it uses is theme_4_0.css
    I look into the template.... .

    div class="rounded-corner-region" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#
    div class="rc-gray-top"div class="rc-gray-top-r"
    div class="rc-title"#TITLE#/div
    /div/div
    div class="rc-body"div class="rc-body-r"
    div class="rc-content-buttons"#CLOSE##PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##CREATE2##EXPAND##COPY##HELP#/div
    div class="rc-content-main"
    #BODY#div class="clear"/div/div/div/div
    div class="rc-bottom"div class="rc-bottom-r"/div/div
    /div

    i Was looking through forums .and some one mentioned of a idea to use static region id to accomplish it..Still i am unable to accomplish it..Dont know how to use it actually.
    Can any one help.. I can read css..But am not a expert it.. very very beginner..

    Do i need to make a new template.. and ..then what should i write in those template...I need to change the border and region background color of the existing template
    Kindly help....Any information will be highly appreciated..

    2) And when i look into that css..and the class.."rc-gray-top rc-body etc i dont see a single class named rc-body..
    But its named in similar manner... .rounded-corner-region .rc-gray-top,
    here .rc-gray-top is the class.
    .rounded-corner-region what is that a html element ..?

    Edited by: pauljohny on Jun 21, 2012 9:04 PM

    Edited by: pauljohny on Jun 21, 2012 9:10 PM

    DB:2.41:Need Guidance..Trying To Change Background Color Of A Region.. a1

    Hi Paul,

    I was trying to understand how to override a existing templates background color with a new background color..
    Thanks for your earlier link. .Today i could change the background color of my existing theme..

    I didnot have a hosted apex.oracle.com account but i have registered for it and I shall surely get it today..

    I understood how to use the region_attribute ... in template..and adding it in html..

    I also seen the other link ..I was able to create borders through it..My idea was to understand how to use css..to change different themes etc.
    Which I understand now..

    Thanks again
    Paulj

  • RELEVANCY SCORE 2.41

    DB:2.41:Windows Professional pj


    Hello:
    I have a problem with my system slowing down and just discovered that the Windows 7 Professional that has requires at least 1 GB space of memory.
    I previously had windows xp professional. What can I do to fix this. My maintenance program is telling me that the windows 7 needs
    at least 1 gb memory I only have 1, 024 mbs.I don't understand what to do. Do I need to increase
    my memory or go back to another OS? What can I do can you help me? Thanks Sharon

    DB:2.41:Windows Professional pj

    On Wed, 11 Jul 2012 20:30:04 +0000, SharonHowe wrote:

    Hello, Ken

    So, are you saying that I need to add more memory to my system?

    If you go to Windows 7, yes, definitely. You almost certainly should
    have at least 2GB, and maybe 4GB.

    It is a 32-bit operating system. What about going from a 32-bit
    to a 64-bit system what does that do?

    As far as how much memory you should have? You need as least as much
    as with 32-bit Windows, but 4GB might be better than 2GB for you.

    My computer can go to a 64-bit system.

    Are you sure? You say below that it's seven years old, and seven years
    ago, very few computers had 64-bit motherboards and CPUs.

    What kind of memory would I have to buy?

    That depends on what your motherboard takes. Follow Hula_Balloo's
    advice and go to http://www.crucial.com/

    I do have a 54 GB hard drive.

    That's tiny--*way* too small. I would upgrade to at least 200GB, and
    more is better.

    1 gigabyte of RAM with

    Not enough, as I said above.

    a 2.80 GHz Processor.

    Not wonderful, but probably acceptable.

    This computer is about 7 years old.

    Would it be worth it to upgrade it or get a different one.

    If you upgrade, you need to buy RAM, a hard drive, maybe a new
    motherboard, a new CPU, and a copy of Windows 7. There isn't much of
    the old one you can keep. It would probably cost nothing or only a
    little more to buy a new computer, and that's what I think you should
    do (see below for another reason).

    I don't have much of any applications on it.
    The reason I am questioning all of this is because I may need it for school,etc.and I want to make sure
    I've got plenty of memory.

    If you going to go to college with your computer, almost certainly you
    should have a laptop, not a desktop. So that alone essentially rules
    out upgrading.

    thank you very much.

    You're welcome. Glad to help.
    Ken Blake, Microsoft MVP