Failed in testing bankapp sample ( Pro*C ver)

Hello.
A few days ago, I got the bankapp sample Pro*C version from OTN site.
According to README, I succeded to make TM, compile code, build the tables in Oracle 10g, make tuxconfig using ubbshm and finally I started the process successfuly using tmboot command.
Then, I typed bankclt and select the menu ( 5. Open Account ) and input the required parameters
but OPEN_ACCT returned fail message - Invalid branch number...
I couldn't figure out what I missed or was mistaken.
I tried many times using different parameter values, but I couldn't open the account after all.
To know what is wrong, I searched the error message - "Invalid branch number" in source codes using grep command, but I failed to find the source code which have that error message. so I didn't make any progress.
Could you help or advise to solve the problem ?
My test environment is
1. HW : CPU - Intel i5 64bit dualcore, Memory - 6G
1. OS : Redhat Enterprise Linux 5 64bit ( 2.6.18-194.11.4.el5 )
2. Compiler : gcc version 4.1.2 20080704 (Red Hat 4.1.2-48) X86_64
3. Database : Oracle 10gR2 Linux X86-64 ( 10.2.0.1.0 )
4. Tuxedo : Tuxedo 11gR1 Linux X86-64 (11.1.1.2.0)
=================================================================
[tuxedo@kr028211 bankapp]$ bankclt
Welcome to the Tuxedo Bank
Make a selection from the following choices
1. Balance Inquiry
2. Withdrawal
3. Deposit
4. Transfer
5. Open Account
6. Close Account
0. Exit Application
Enter Selection: 5
Please enter Last Name: Hong
First Name: Chang
Middle Initial: B
Social Security Number: 111-11-1111
Mailing Address: [email protected]
City, State and Zip: Los Angeles, CA, 90001
Telephone Number: 111-111-1111
Account Type C - checking S - Savings: S
Bank Branches are
1-San Francisco 2-Los Angeles 3-Dallas 4-Chacago 5-St. Louis
6-Atlanta 7-Maimi 8-Philadelphia 9-New York 10-Boston
Desired Branch For Account: 2
Initial Balance: 100
OPEN_ACCT returns failure (Invalid branch number)
===========================================================================
thanks in advance.
minnypa
Edited by: user11286352 on Oct 2, 2010 6:39 AM
Edited by: user11286352 on Oct 2, 2010 6:40 AM

thanks for your comment, Todd
Did you mean that I should run the script that insert the branch and account rows to the tables ?
I couldn't find the script that insert data to the tables. As I explained before, I ran the crbanktab.ora by running crbank command, so I created 4 tables - BRANCH, ACCOUNT, TELLER, HISTORY but the tables had no data rows.
Is there any method to insert branch data in order to test using bankclt client ?
Because I am a beginner in Tuxedo application, it is hard to invoking BR_ADD service by myself.
Could you provide detail information how to insert branch data ?
thanks.
minnypa

Similar Messages

  • 865PE NEO2 FSIR fails memory tests

    This is the second MB that I've had this problem with, so something is causing them to fail.  Here's the story:
    New install, 865PE Neo2 FSIR + P4 2.6GHz 800MHz FSB, 2 x Crucial PC3200 256MB DDR, everything seems ok, XP installs with no problems.
    About a month down the road I'm plagued by sudden reboots, Microsoft Error Reporting says RAM, says to DL and run it's DOS memory check utility.  I get the utility, create bootable CD and run the utility, computer fails all RAM checks.  I pull each RAM stick in turn and re-run the check with each stick separately, still fails all tests.  Shortly after this, the board refuses to POST.  Ship the board back to New Egg for replacement.
    Installed replacement MB with 4 x 256MB Crucial PC3200, Microsoft DOS memory check program passes, no problems.  About 2 weeks later I run into minor instability so I run the same memory check again, the board fails all tests?????  I pull all Crucial memory sticks and put in a test stick of Corsair XMS 3200; same result, failure of all memory tests.
    At this point, WinXP still runs, but this is the same pattern that the other board showed, right until it quit altogether.
    It occurs to me that I DID flash BIOS to 1.9 between the time I first tested the RAM and got a pass and the time I tested and got a failure, could this be a coincidence?  I can't remember if I updated the BIOS on the first board or not, so this may mean nothing.
    System Specs:
    MSI 865PE NEO2 FSIR
    P4 2.6GHz, 800MHz FSB (all defaults, no overclock, Vantec HS)
    Crucial CT3264Z40B.8T PC3200, CL3 256MB (2 Modules)
    Crucial CT3264Z40B.8T2 PC 3200, CL3 256MB (2 Modules)
    (Tested with same results with single Corsair CMX512-3200C2PT 512MB)
    Antex True Power 430W PS
    ATI Radeon 9600 Pro
    All PCI slots open
    Seagate 120GB System drive, 7,200RPM primary master
    IBM 30GB drive, 7,200RPM primary slave
    LiteOn DVD ROM secondary master
    Sony CDRW secondary slave
    2 x IBM 30GB drives on Promise PATA.
    I know I'm probably gonna have to RMA this board, but I'd really like to know what is causing this so I can avoid it next time.
    If anyone has any ideas I'd sure appreciate it.
    Scott

    Quote
    Originally posted by jwspicer
    As they say - been there, done that.  Always flash using DOS, and always keep backup, so I went back to the original BIOS for the board.  No luck.  Apparently once the screwup is done - it stays that way.
    --BUT--
    Suspect it is the reallocation for the P4 EE that is the issue.  Reason is that Memtest86 has been running on that box for 9 hours now with NO error.  However, it also shows only 104K of reserved memory.  My other 865 board with onboard RAID (an ASUS P4P800 Deluxe) shows 687K reserved.  So either the ASUS is wasting a lot of space, or the MIS is no longer correctly indicating the amount of memory reserved by the BIOS (including the Promise BIOS) at startup.  Then Microsoft's utility is not correctly scanning.  But Memtest, which probes for the "correct" setting, is.  (The Memtest86 version is 3.0, and the test was done with the Promise enabled and drives attached (so the BIOS loads) and all the other setup was as it would be normally (standard IBOS options, etc.)
    So who's right?  And if MS' tool has the problem, does that indicate Windows XP reads memory the same way?  Hmmm...
    Hmm, I haven't tried reverting BIOS, but I'm typing this on the affected machine (which Memtest 86 says is fine) with only the two RAM chips it likes and so far no problems; I've run PCMark4 and 3DMark4 benchmarks all night and no problems, it was still happily churning away on 3DMark this morning.  I guess either one of the Crucial sticks it doesn't like is bad or Crucial changed something in a revision to the chips it doesn't like.
    Just a FYI, the Crucial sticks it DOESN'T like are CT3264Z40B.8T2
    The sticks it DOES like (at slow or fast performance, forget about turbo or ultra turbo) are CT3264Z40B.8T
    Both pairs are PC3200, CL3, 256MB DIMM's, single sided.
    I think you're right about Microsoft's RAM tester being buggy, I can't believe ANYTHING could run if the RAM was actually giving the errors it shows, EVERY test shows things like "expected result 11111111 actual result ff1e0001"  The Microsoft tester does run fine on the other 5 computers here; a mix of laptops and desktops; none using this board.  It also ran on this board when it was installed, I guess the BIOS upgrade must be the cause.
    Scott

  • BANKAPP SAMPLE - HOW TO DO...

    I've tried to execute the bankapp sample, but I got
    the follow message below:
    162526.IPLANTTUXDES3!TMS_SQL.400: 041102: TUXEDO Version 6.5 32-bit Windows.
    162526.IPLANTTUXDES3!TMS_SQL.400: LIBTUX_CAT:262: INFO: Standard main starting
    162526.IPLANTTUXDES3!TMS_SQL.400: xa_open - QLopendb: LIBDUX_CAT:451: file system
    error: LIBDUX_CAT:78: existing shared memory doesn't match database
    162526.IPLANTTUXDES3!TMS_SQL.400: LIBTUX_CAT:466: ERROR: tpopen TPERMERR xa_open
    returned XAER_RMERR
    162526.IPLANTTUXDES3!TMS_SQL.400: LIBTUX_CAT:250: ERROR: tpsvrinit() failed
    162526.IPLANTTUXDES3!TMS_SQL.400: LIBTUX_CAT:300: ERROR: tlogopen: gptblopen:
    UNIX sys call error - 2
    I'm using Tux 6.5 with NT 4.0.
    What did I forgot?
    Thanks for any help.
    Andre Silveira David
    Systems Engineer
    IplanRio - BRAZIL

    Andre,
    sys call error 2 is usually ENOENT, "No such file or directory"
    ( You can find the errors defined in errno.h)
    It looks like the system cannot find the TLOG file to open it.
    Is the TLOG created and does TLOGDEVICE in the *MACHINES
    section point to it?
    David
    "Andre David" <[email protected]> wrote:
    >
    Scott,
    Yes, I used different values for IPC.
    Inside UBB I'm using:
    *RESOURCES
    IPCKEY          81035
    and I changed the crbank.cmd for using others IPCs:
    set DIPCKEY1=62921
    set DIPCKEY2=62922
    set DIPCKEY3=61923
    so I run crbankdb.exe and I had "crbankdb successful."
    without mistakes or warning messages.
    Could you give anymore tips?
    Thanks a lot for your help.
    Andre Silveira David
    Systems Engineer
    IplanRio - BRAZIL
    Scott Orshan <[email protected]> wrote:
    Make sure that you are using different ipc keys for the databases, and
    for Tuxedo itself. They each need independent IPC resources.
    Andre David wrote:
    I've tried to execute the bankapp sample, but I got
    the follow message below:
    162526.IPLANTTUXDES3!TMS_SQL.400: 041102: TUXEDO Version 6.5 32-bitWindows.
    162526.IPLANTTUXDES3!TMS_SQL.400: LIBTUX_CAT:262: INFO: Standard mainstarting
    162526.IPLANTTUXDES3!TMS_SQL.400: xa_open - QLopendb: LIBDUX_CAT:451:file system
    error: LIBDUX_CAT:78: existing shared memory doesn't match database
    162526.IPLANTTUXDES3!TMS_SQL.400: LIBTUX_CAT:466: ERROR: tpopen TPERMERRxa_open
    returned XAER_RMERR
    162526.IPLANTTUXDES3!TMS_SQL.400: LIBTUX_CAT:250: ERROR: tpsvrinit()failed
    162526.IPLANTTUXDES3!TMS_SQL.400: LIBTUX_CAT:300: ERROR: tlogopen:
    gptblopen:
    UNIX sys call error - 2
    I'm using Tux 6.5 with NT 4.0.
    What did I forgot?
    Thanks for any help.
    Andre Silveira David
    Systems Engineer
    IplanRio - BRAZIL

  • HTML generated by Flash failed validation test

    Hello guys,
    I have created a simple Flash website:
    http://www.icebergfilms.com
    It's HTML was also created in Flash using Publish Settings. However, when I tried to validate this HTML using online validator, it failed the test:
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.icebergfilms.com%2F&charset=%28detect+a utomatically%29&doctype=Inline&group=0&No200=1&verbose=1&user-agent=W3C_Validator%2F1.654
    I am a complete novice in Flash and in HTML, so could please anyone give me some advise how to fix this?
    Thank you so much for your help.

    Thank you so much for your response.
    I actually did try (with help of some guys from html forum) to use text editor to generate HTML and simply just embed that swf file onto that HTML document.
    It works well, but there is one little problem. Very first thing viewer see (after clicking on URL to upload my site) is black background with
    white rectangle which is the space where swf movie will appear. It last around 2-3 seconds. Then preloader appears and everything goes normal. But this white empty space before preloader shows up is very weird.
    here is that code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
       "http://www.w3.org/TR/html4/strict.dtd">
    <html lang="en">
    <head>
    <base href="http://www.icebergfilms.com/">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta name="language" content="english">
    <meta http-equiv="Content-Style-Type" content="text/css">
    <meta name="Subject" content="IcebergFilms specializes in promotional videos and demos, environmental projects, adventure documentaries, live sport events, corporate and training videos and videos for fundraising presentations.">
    <meta name="Description" content="IcebergFilms is a local video production company located in Vancouver BC specializing in promotional videos, adventure documentaries, training and educational videos, demo reels, live sport evets, videos for fundraising presentations, etc.">
    <meta name="Keywords" content="video production in Vancouver, videographer in Vancouver, video production services, professional, editing, promotional, demo, film, educauional, outdoors, expeditions, documentaries, corporate, dvd, hdv, hd, advertising, environmental, video stock footage, fundraising, high definition, nature, digital, live events, sport, kayaking, hiking, trekking, biking, training, final cut pro, videographer for hire, vancouver, bc, canada">
    <meta content="General" name="rating">
    <meta content="index,follow" name="robots">
    <meta content="ALL" name="robots">
    <meta content="5 days" name="revisit-after">
    <title>>Promotional Video Production company in Vancouver - IcebergFilms</title>
    <style type="text/css">
    body {
        background-color:#000;
    object {
        display:block;
        margin:auto;
    </style>
    </head>
    <body>
    <div>
    <object type="application/x-shockwave-flash" data="IcebergFilms.swf" width="810" height="600">
    <param name="movie" value="IcebergFilms.swf">
    <param name="play" value="true">
    <param name="loop" value="true">
    <param name="quality" value="high">
    </object>
    </div>
    </body>
    </html>
    This white space does not happened when using HTML generated by Flash, however, that one on the other hand misses some basic elements.
    Should I then maybe just use the code above , delete this BODY sectiont:
    <div>
    <object type="application/x-shockwave-flash" data="IcebergFilms.swf" width="810" height="600">
    <param name="movie" value="IcebergFilms.swf">
    <param name="play" value="true">
    <param name="loop" value="true">
    <param name="quality" value="high">
    </object>
    </div>
    and replace it with BODY section from Flash generated HTML?
    I apologize for this chaotic post, but I am trying to create the correct code for about 2 weeks now, and I am starting to lose it
    Thanks again for your response .... and for your patience.

  • System failed memory test

    I am really new to Solaris so please forgive me if I sound really dumb. I was able to install Solaris 10, turned off my computer and now all I recieve is System failed memory test. Please help have tried different memory sticks and still recieve the same message.

    is this a bios message? id suggest running a mem test if this is coming before the os starts up [http://www.memtest.org/]
    if you have the mother board diag tools on cd, run those as well. unless this is a sparc system?

  • Photoshop CC White Window Workaround Plugin Fails Version Test?

    I'm sure everyone with a Wacom tablet on a Mac is aware of the "White window" issue. See the original discussion thread at: Drop Down Menus in Photoshop CS 6 Goes Blank In Mavericks
    Photoshop developers partook in the discussion on the thread, and a plugin that fixed the issue was released. Plugin works great, and even in CC/CS6
    With the latest update to the Photoshop CC application, the white window issue is back. Looking in the console reveals the following:
    8/7/14 1:31:03.798 PM Adobe Photoshop CC 2014[11038]: WhiteWindowWorkaround failed version test (<= 14) and it will not install. Version is 15
    8/7/14 1:31:03.798 PM Adobe Photoshop CC 2014[11038]: WhiteWindowWorkaround did *not* initialize
    Is there an updated version/fix that anyone is aware of? I searched, but maybe I missed something.
    Many thanks.
    Andrew.

    Photoshop CC 2014 does not need that plugin, because the workarounds are already built into the app.

  • External USB Maxtor One-Touch 3  suddenly fails to mount on MacBook Pro:

    External USB HD suddenly fails to mount on MacBook Pro:
    My One Touch III 600GB drive, external power supply, suddenly will not mount and is not recognized by the system profiler or Disk Utility, however, drive, connected USB, appears under windows XP.
    1. Power cable and usb cable working.
    2. Using external AC adapter(not relying on USB power).
    3. Other USB devices, mice, flash drives work on both USB ports.
    4. Drive works on Windows, folders and data integrity ok.
    5. Drive format is NTFS.
    6. No Maxtor software installed.
    7. No humming or strange noises emanating from drive.
    8. No problem to January 14, 2008,
    9. Mac OS 10.4.10 updates last downloaded and installed Jan 20, 2008.
    10.1 blip of the light on "The One Touch Button", then light turns solid white.
    Questions:
    1. Does Apple set sleep or lock switch for devices (drives)?
    2. If so, can it be reset manually?
    3. Does Apple have configuration profile for devices, like a registry key?
    4. If so, where is it located?
    Configuration:
    Dual 2 GHz MacBook Pro 15”
    2 GB DDR SDRAM
    OSX 10.4.10
    2 USB Ports Left and Right

    NOTE: This Update is required when using a OneTouch Drive as a bootable device. Seagate suggests that you dismount and disconnect your FireWire Drive before continuing.
    Users have identified issues when connecting OneTouch External Drives to FireWire Ports on their Mac G4 and/or G5 computers. These Problems range from system hangs, kernel panics to slow data transfer rates. The cause of these problems has been traced back to the FireWire Driver. Seagate has resolved these problems through updated FireWire Drivers.
    I am using USB and not trying to use drive as a boot device.

  • A sample Pro*C cannot run

    Hi,
    On the document Pro*C/C++ Precompiler Programmer's Guide Release 8.1.5 (Oracle 8i Document), a sample Pro*C program sample9.pc
    is introduced as an example for calling a stored PL/SQL subprogram. The SQL script to create a package containing stored PL/SQL subprograms is called calldemo.sql. Both sample9.pc and calldemo.sql are located on a subdirectory of your Oracle 8i product. However, I found that there are pre-compile errors on sample9.pc. The source codes of the two programs are listed as below:
    sample9.pc==>
    Sample Program 9: Calling a stored procedure
    This program connects to ORACLE using the SCOTT/TIGER
    account. The program declares several host arrays, then
    calls a PL/SQL stored procedure (GET_EMPLOYEES in the
    CALLDEMO package) that fills the table OUT parameters. The
    PL/SQL procedure returns up to ASIZE values.
    Sample9 keeps calling GET_EMPLOYEES, getting ASIZE arrays
    each time, and printing the values, until all rows have been
    retrieved. GET_EMPLOYEES sets the done_flag to indicate "no
    more data."
    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>
    #include <sqlda.h>
    #include <sqlcpr.h>
    typedef char asciz[20];
    typedef char vc2_arr[11];
    EXEC SQL BEGIN DECLARE SECTION;
    /* User-defined type for null-terminated strings */
    EXEC SQL TYPE asciz IS STRING(20) REFERENCE;
    /* User-defined type for a VARCHAR array element. */
    EXEC SQL TYPE vc2_arr IS VARCHAR2(11) REFERENCE;
    asciz username;
    asciz password;
    int dept_no; /* which department to query? */
    vc2_arr emp_name[10]; /* array of returned names */
    vc2_arr job[10];
    float salary[10];
    int done_flag;
    int array_size;
    int num_ret; /* number of rows returned */
    EXEC SQL PROCEDURE calldemo.get_employees(
    dept_number IN number, -- department to query
    batch_size IN INTEGER, -- rows at a time
    found IN OUT INTEGER, -- rows actually returned
    done_fetch OUT INTEGER, -- all done flag
    emp_name OUT name_array,
    job OUT job_array,
    sal OUT sal_array);
    EXEC SQL calldemo PACKAGE;
    EXEC SQL END DECLARE SECTION;
    long SQLCODE;
    void print_rows(n)
    int n;
    int i;
    if (n == 0)
    printf("No rows retrieved.\n");
    return;
    for (i = 0; i < n; i++)
    printf("%10.10s%10.10s%6.2f\n",
    emp_name, job[i], salary[i]);
    /* Handle errors. Exit on any error. */
    void sql_error()
    char msg[512];
    size_t buf_len, msg_len;
    EXEC SQL WHENEVER SQLERROR CONTINUE;
    buf_len = sizeof(msg);
    sqlglm(msg, &buf_len, &msg_len);
    printf("\nORACLE error detected:");
    printf("\n%.*s \n", msg_len, msg);
    EXEC SQL ROLLBACK WORK RELEASE;
    exit(1);
    void main()
    char temp_buf[32];
    /* Connect to ORACLE. */
    EXEC SQL WHENEVER SQLERROR DO sql_error();
    strcpy(username, "scott");
    strcpy(password, "tiger");
    EXEC SQL CONNECT :username IDENTIFIED BY :password;
    printf("\nConnected to ORACLE as user: %s\n\n", username);
    printf("Enter department number: ");
    gets(temp_buf);
    dept_no = atoi(temp_buf);
    /* Print column headers. */
    printf("\n\n");
    printf("%-10.10s%-10.10s%s\n", "Employee", "Job", "Salary");
    printf("%-10.10s%-10.10s%s\n", "--------", "---", "------");
    /* Set the array size. */
    array_size = 10;
    done_flag = 0;
    num_ret = 0;
    /* Array fetch loop.
    * The loop continues until the OUT parameter done_flag is set.
    * Pass in the department number, and the array size--
    * get names, jobs, and salaries back.
    for (;;)
    EXEC SQL EXECUTE
    BEGIN calldemo.get_employees
    (:dept_no, :array_size, :num_ret, :done_flag,
    :emp_name, :job, :salary);
    END;
    END-EXEC;
    print_rows(num_ret);
    if (done_flag)
    break;
    /* Disconnect from the database. */
    EXEC SQL COMMIT WORK RELEASE;
    exit(0);
    calldemo.sql==>
    rem
    rem $Header: calldemo.sql,v 1.1 1993/11/13 20:49:01 mchiocca Exp $
    rem
    Rem Copyright (c) 1992, 1997 by Oracle Corporation
    Rem NAME
    Rem calldemo.sql - <one-line expansion of the name>
    Rem DESCRIPTION
    Rem <short description of component this file d eclares/defines>
    Rem RETURNS
    Rem
    Rem NOTES
    Rem <other useful comments, qualifications, etc.>
    Rem MODIFIED (MM/DD/YY)
    Rem mjogleka 04/15/97 - add connect
    Rem mchiocca 11/13/93 - Creation
    CONNECT SCOTT/TIGER
    CREATE OR REPLACE PACKAGE calldemo AS
    TYPE name_array IS TABLE OF emp.ename%type
    INDEX BY BINARY_INTEGER;
    TYPE job_array IS TABLE OF emp.job%type
    INDEX BY BINARY_INTEGER;
    TYPE sal_array IS TABLE OF emp.sal%type
    INDEX BY BINARY_INTEGER;
    PROCEDURE get_employees(
    dept_number IN number, -- department to query
    batch_size IN INTEGER, -- rows at a time
    found IN OUT INTEGER, -- rows actually returned
    done_fetch OUT INTEGER, -- all done flag
    emp_name OUT name_array,
    job OUT job_array,
    sal OUT sal_array);
    END calldemo;
    CREATE OR REPLACE PACKAGE BODY calldemo AS
    CURSOR get_emp (dept_number IN number) IS
    SELECT ename, job, sal FROM emp
    WHERE deptno = dept_number;
    -- Procedure "get_employees" fetches a batch of employee
    -- rows (batch size is determined by the client/caller
    -- of the procedure). It can be called from other
    -- stored procedures or client application programs.
    -- The procedure opens the cursor if it is not
    -- already open, fetches a batch of rows, and
    -- returns the number of rows actually retrieved. At
    -- end of fetch, the procedure closes the cursor.
    PROCEDURE get_employees(
    dept_number IN number,
    batch_size IN INTEGER,
    found IN OUT INTEGER,
    done_fetch OUT INTEGER,
    emp_name OUT name_array,
    job OUT job_array,
    sal OUT sal_array) IS
    BEGIN
    IF NOT get_emp%ISOPEN THEN -- open the cursor if
    OPEN get_emp(dept_number); -- not already open
    END IF;
    -- Fetch up to "batch_size" rows into PL/SQL table,
    -- tallying rows found as they are retrieved. When all
    -- rows have been fetched, close the cursor and exit
    -- the loop, returning only the last set of rows found.
    done_fetch := 0; -- set the done flag FALSE
    found := 0;
    FOR i IN 1..batch_size LOOP
    FETCH get_emp INTO emp_name(i), job(i), sal(i);
    IF get_emp%NOTFOUND THEN -- if no row was found
    CLOSE get_emp;
    done_fetch := 1; -- indicate all done
    EXIT;
    ELSE
    found := found + 1; -- count row
    END IF;
    END LOOP;
    END;
    END;
    The pre-compile outcome is listed as below:
    #proc SQLCHECK=SEMANTICS INAME=example_8_1.pc
    Pro*C/C++: Release 8.0.5.0.0 - Production on Wed Aug 1 17:28:32 2001
    (c) Copyright 1998 Oracle Corporation. All rights reserved.
    System default option values taken from: /gisdata/DB/app/oracle/product/8.0.5/pr
    ecomp/admin/pcscfg.cfg
    Syntax error at line 33, column 12, file example_8_1.pc:
    Error at line 33, column 12 in file example_8_1.pc
    float pack1.emp_calc(int col);
    ...........1
    PCC-S-02201, Encountered the symbol "." when expecting one of the following:
    ; , = ( [
    The symbol ", was inserted before "." to continue.
    Error at line 0, column 0 in file example_8_1.pc
    PCC-F-02102, Fatal error while doing C preprocessing
    Who can help me in this problem?
    null

    emp_calc does not appear to be in your Pro*C, from the error messages below it doesn't look like you're compiling the code you have pasted into your post. Another problem may be you are trying to compile 8.1.5 code against 8.0.5 database.

  • How to delete photos with Zero KB size that were downloaded onto mac pro osx vers 10.5.8, 2x2.8 quad core intel Xeon ?

    How to delete picture files ( nikon NeF and jpeg )  with Zero  KB  size that were downloaded onto mac pro osx vers 10.5.8, 2x2.8 quad core intel Xeon
    -- have not been able to move them or move them to trash without  crashing  Finder  ?

    Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive & clear caches.)
    Try trashing them in Safe Mode, reply if that doesn't help.

  • Can't Create a Data Source - Failed to test connection. [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied

    Hi there,
    I am having a serious issue with The Power BI Data Management Gateway which I am hoping that someone can help me with.
    Basically I am setting a connection between a Power BI demo site and a SQL 2012 Database based on Azure. The Data Management Gateway and is up and running, and Power BI has managed to connect to it successfuly.
    By following the tutorials at
    here I was able to successful create my Data Connection Gateway with a self-signed certificate.
    However, when trying to create the data source I come into problems. The Data Source Manager manages to successfully resolve the hostname, as per the screenshot below:
    Bear in mind that I exposed the require ports in Azure as endpoints and I managed to modify my hosts file on my local machine so I could access the SQL server hosted in Azure using its internal name -- otherwise I would not be able to get this far.
    However the creation of the data source also fails when trying to created it whilst logged in the SQL server in question:
    The Data Source Manager returns the error when using the Microsoft OLE DB Provider for SQL Server:
    Failed to test connection. [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied
    I tried using the SQL Server Native Client 11.0 instead but I also get an error. This time the error is:
    Failed to test connection. Login timeout expiredA network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.Named Pipes Provider: Could not open a connection to SQL Server [53]. 
    Some considerations
    If I provide an invalid username/password, the Data Source Manager does say that the username and password is incorrect.
    Firewall is turned off in the SQL Server (either way, this error also happens if I try top use the Data Source Manager whilst logged in the SQL Server itself).
    SQL Profiler does not show any attempt of connection.
    The SQL server instance in question is the default one.
    The error happens regardless if I select the option to encrypt connection or not.
    In SQL Configuration manager I can see that all protocols are enabled (TCP/IP, Named Pipes and Shared Memory.
    The Event Viewer does not provide any further errors than the one I have copied in this post.
    I'm at a loss here. Could someone please advise what might I be doing wrong?
    Regards,
    P.

    Here is what I had to do to solve this issue:
    Basically I had to add the MSSQL TCP/IP port as an end-point in Azure. After I did that, then I was able to create the data-source. However, I was only able to authenticate with a SQL account, as any domain account would return me an error saying that the
    domain isn't trusted.
    What puzzles me here is how come the Data Source Manager would inform me that an account username/password was invalid, but it would fail/timeout if I provided valid credentials (!?!?!!?)

  • How to test the sample adapter code on PI 7.1?

    Hi,
    I would like to test the sample adapter on PI 7.1.
    I followed these explanations:
    /people/gowtham.kuchipudi2/blog/2006/01/04/testing-sample-adapter
    How-to deploy Sample Adapter in PI 7.1
    but I still can't get things working.
    The com.sap.aii.adapter.sample.ra.jar file I retrieved from the server doesn't contain any ra.xml file so I took the SampleRA.xml I found in the sample_ra.jar file fetched from a PI 7.0 server.
    I used this XML file content to fill the adapter metadata in the integration repository.
    The sample adapter is deployed and its JNDI name is
    deployedAdapters/com.sap.aii.adapter.sample.ra/shareable/com.sap.aii.adapter.sample.ra
    I don't know where to put this information in the metadata.
    As a result my sender and receiver communication channels are said to be running in the runtime work bench but there is no message thrown when I put the expected file in the source directory.
    The sender communication channel stays blind.
    Could someone help me?
    Thanks in advance for any help.
    Olivier

    Hi,
    Thanks for your answer but there is no sample_ra.rar file on my PI 7.1 server.
    Instead I have a com.sap.aii.adapter.sample.ra.jar file that is located at
    D:\usr\sap\P71\DVEBMGS01\j2ee\cluster\apps\sap.com\com.sap.aii.adapter.sample.ra\connector\bin\com.sap.aii.adapter.sample.ra.rar
    and
    D:\usr\sap\P71\DVEBMGS01\j2ee\cluster\apps\sap.com\com.sap.aii.adapter.sample.ra\connector\connectors\com.sap.aii.adapter.sample.ra.rar
    It is the same file and its content is:
    testing: META-INF\                OK
    testing: META-INF\MANIFEST.MF     OK
    testing: com\                     OK
    testing: com\sap\                 OK
    testing: com\sap\aii\             OK
    testing: com\sap\aii\af\          OK
    testing: com\sap\aii\af\sample\   OK
    testing: com\sap\aii\af\sample\adapter\   OK
    testing: com\sap\aii\af\sample\adapter\ra\   OK
    testing: com\sap\aii\af\sample\adapter\ra\CCIConnection.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\CCIConnectionFactory.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\CCIConnectionMetaData.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\CCIConnectionRequestInfo.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\CCIInteraction.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\CCIResourceAdapterMetaData.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\SPIConnectionManager.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\SPIManagedConnection.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\SPIManagedConnectionFactory$XIManagedConnectionFactoryController.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\SPIManagedConnectionFactory.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\SPIManagedConnectionMetaData.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\XIAdapterCategories.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\XIConfiguration.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\XIConnectionEventListenerManager.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\XIConnectionSpecImpl.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\XIInteractionSpecImpl.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\XILocalizationUtilities.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\XIMessageFactoryImpl.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\XIMessageRecordImpl.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\XISecurityUtilities$1.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\XISecurityUtilities.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\XITrace.class   OK
    testing: com\sap\aii\af\sample\adapter\ra\package-version.properties   OK
    testing: com\sap\aii\af\sample\adapter\ra\rb_JCAAdapter_ChannelMonitor.properties   OK
    testing: com\sap\aii\af\sample\adapter\ra\rb_JCAAdapter_ChannelMonitor_de.properties   OK
    testing: com\sap\aii\af\sample\adapter\ra\rb_JCAAdapter_ChannelMonitor_en.properties   OK
    testing: com\sap\aii\af\sample\adapter\ra\rb_JCAAdapter_ChannelMonitor_fr.properties   OK
    testing: com\sap\aii\af\sample\adapter\ra\rb_JCAAdapter_ChannelMonitor_ja.properties   OK
    There is no ra.xml file
    Regards
    Olivier

  • I just tried to sync calendar on my iPhone 3 (ver. 4.2.1) with my MacBook Pro (Lion ver. 10.7.4). It doesn't sync. Is there any way to do it?

    I just tried to sync calendar on my iPhone 3 (ver. 4.2.1) with my MacBook Pro (Lion ver. 10.7.4). It doesn't sync. Is there any way to do it?

    Have you updated your itunes to the latest version? You have to have itunes to sync the phone to any computer.

  • Randomly skips/fails to play some samples during playback?

    Randomly skips/fails to play some samples during playback?

    You're right that was foolish let me clarify.
    Raising the I/O buffer thing is a good idea, i've tried that already though and no joy
    BASICALLY i've had this problem with a couple of tracks, ones which i have worked on the longest and probably the ones with the most effect plugins and tracks used. Seemingly at random during playback some of the samples dont play (and some even stop playing halfway through the sample). If the regions are bounced, the resulting wav file visibly splits the original sound where the computer 'decided' to stop/restart playing the sample. Again, i haven't found a pattern: - at one point a four bar loop with three tracks solo'd would play all the tracks perfectly during playback for a few seconds, then suddenly switch to only playing one track, then switch back after another few seconds.
    Weird.
    I think it may be related to previous experience which i have had with the Space Designer and Echo effects, where the echo or reverb sound itself cuts out halfway through the sound/after a seemingly random amount of time (and then cuts back in).
    I've seen this reverb and effect problem on more than one computer, but the original problem with the track playback is, in my experience, unique to my system.
    The computer i'm using is not old or at all running out of memory (although i realise this does not exempt it from being the cause of the problem)
    Anyway this has been trolling me for weeks and its driving me mad
    Thanks
    OP

  • [svn:bz-trunk] 16330: QA: Yes - Ran test locally and it was failing but tested condition was true - there is no services-config .xml file

    Revision: 16330
    Revision: 16330
    Author:   [email protected]
    Date:     2010-05-26 07:55:41 -0700 (Wed, 26 May 2010)
    Log Message:
    QA: Yes - Ran test locally and it was failing but tested condition was true - there is no services-config.xml file
    Doc: No
    Checkintests: NA
    Details: Updated expected error message to match current error.
    Modified Paths:
        blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/NoServicesConfigFileTest/error.t xt

    I have uploaded detail.txt at below url.
    http://m.uploadedit.com/b041/1413264342685.txt
    Hi Mahesh,
    According to log file, I find the message ‘The setup100.exe.config file was not found, therefore the DTSWizard and SQLWatson app config files were not replaced’. It seems that the SQL Server setup file is not complete. Please check that if the SQL Server
    setup file is corrupted, if it is corrupted, please download it again and reinstall SQL Server 2008 R2.
    However, if there’s no problem with the setup file, please check that if there is third-party software such as anti-virus software on your computer blocking the process of SQL Server installation. In addition, make sure that you choose ‘Run as administrator’
    to launch the setup and configure SQL Server service accounts appropriately with administrator permission during the installation.
    For more details about this error, please review the following similar thread.
    http://answers.flyppdevportal.com/categories/sqlserver/sqlsetupandupgrade.aspx?ID=ad794a97-09ae-4aae-9d68-0b06f9af3e16
    Thanks,
    Lydia Zhang

  • RPE-02085: Failed to test wb_rti_workflow_util.initialize

    Hi,
    I'm getting the below error when i try to deploy process flow via deployment manager.
    RPE-02085: Failed to test wb_rti_workflow_util.initialize through deployed Workflow Database Link ORCL@WB_LK_LD_INV. Please check that "EXECUTE ANY PROCEDURE" privilege is set and that the OWB Runtime is available.
    - ORA-04052: error occurred when looking up remote object RUNTIME_OWNER.WB_RTI_WORKFLOW_UTIL@ORCL@WB_LK_LD_INV
    ORA-12545: Connect failed because target host or object does not exist
    What would be the cause?
    I'm exactly following the toturial which given by http://www.oracle.com/technology/obe/obe_bi/index.html
    Even I have given grant EXECUTE ANY PROCEDURE to owf_mgr but still i'm getting the same error.
    Please help me...
    Below is the details of my installation:
    Database : 10.1.0.2.0
    OWB: 10.1.0.2.0
    OWF: 2.6.3
    Thanks
    Raj Kumar

    U need to login into repository owner and grant the all privilages on wb_rti_workflow_util package to your user ( owf_mgr , in ur case)
    in short
    grant all on wb_rti_workflow_util to owf_mgr ( u need to type this command from repository owner login )
    Nikita

Maybe you are looking for

  • Enter Requisition Form Query - Help Needed

    Hi Forum, I have a requirement to modify the lov for the Category field in the Enter Requisition form and add a new field. The item is in the block :LINES.ITEM_CATEGORY. So, I ftp'd the form and libraries onto my local drive which is in the FORMS60_P

  • Converting Word Documents to PDF Loses Header

    OK, so a two page Word (2010) document with headers on the second page. Using the latest update for Adobe Acrobat XI. If I print>save as .pdf, it works fine. However, we often combine multiple files together into one PDF, so it is inconvenient to hav

  • Launching Flash Builder 4 Help takes 20 secs (ACH or browser)

    We have 5 flex developers on our team who are all running into the same issue with the dynamic help: 1) Hit F1 (display help section) 2) Select a class (ArrayList for example) 3) Click on the Related API (mx.collections.ArrayList) in the help section

  • Unplugging network cable wakes sleeping MacBookPro

    Is there anyway to stop my MBP from waking when I unplug a network cable? This happens even with the display shut. This is very annoying, as it happens everytime I am packing up my MBP to take it somewhere. Of course, I can avoid this by unplugging t

  • Play symbol more than one time

    I have 1 "master"symbol and within a animation This symbol is 2 times on the timeline, hidden at beginning of the timeline there is 2 buttons on the stage with 2 actions first button sym.$("mySymbol1").show(); sym.$("mySymbol1").play(0); second butto