Script help - caller's ANI and workflow call control actions

Greetings!
Apologies in advance for the wall of text.
What does work: We have a main script where we do a database lookup on the caller's ANI - specifically, their area code. If there is a match in the DB we queue the call to a regional queue. If there is no match (some block their caller ID, or the ANI is less than 10 digits) we queue the call to a general queue. This works. Every time.
Except ..
So the call comes in, we do a successful lookup and route to the regional queue. The agent handles the call and transfers the caller to another queue. The agent in the second queue discovers the caller needs to go back to the regional queue and we have a call control action configured to handle this. And this is where I'm looking for some help.
And so, the call control action setup does a blind conference back to the main script which does the lookup again based on the original caller's ANI and routes the call to the regional queue. However, everyone can hear everyone and the business unit would prefer the customer not be aware of the agents talking until the agents want to bring the customer into the conversation.
So, if I change the call control action to another option (supervised conference) I lose the ability to route the call based on the original callers ANI. The main script queues the call to the general queue. I've done the reactive debugs and the caller ANI does not populate, the extension of the agent initiating the call control action populates the ANI field. What's more confusing is the caller ANI does populate in the enterprise data on the agent desktop. So the data must be "there" somewhere, I'm not sure how to get it so I can do the DB lookup.
What am I missing?
Thanks in advance for your time and attention!
Keith

Hello again.
That's an nice way to do this. But I found another way around simple enough for the end customer too. It gives the ability to change things themselves.
a) Under System Parameters > Media Parameters enable the 'User Prompts override System Prompts' parameter
b) Create a subfolder (named el_GR in my case) under Applications > Prompts .../gen/phone
c) Upload your number prompts recorded in the language you want
d) Modify the 'Create Generated Prompt' as shown to the screenshot
e) Now you can hear the string numbers in your language
Took the info from the following posts:
https://supportforums.cisco.com/thread/2080962
https://supportforums.cisco.com/docs/DOC-13933

Similar Messages

  • I cannot call my contacts and their calls don't co...

    Can someone please help me. I can't call any of my contacts via skype. I can text them and they can text me but we cannot connect via phone or video. Can you please tell me why this is happening?
    I have read all skype's messages  and solutions for help and none of them address this directly.
    The only call I can make is to the Skype Test Call. I have checked my connection, my mic, video, internet speed and everything is working so I don't know what's going on. I logged out of skype on my desktop, tried with my android and still nothing. I restarted my computer and again nothing.
    I have skype credit so can call mobile phones but I need to be able to video chat and call my skype contacts directly and for some reason, it's not working...most of my contacts are based abroad so it's vital I have this component; if not, then there's no point having skype. 
    Can someone please help!!!??!?!
    Thanks in advance!

    I have had the same problem the last 3-4 months or longer. The only and fastest workaround I have for this issue is:
    Ctrl-Alt-Del
    Start tast manager
    Find Skype and "End task"
    Start Skype over again.
    Then I can receive and make phone calls. No problem the rest of the day...
    Do not like this workaround, but I have no other alternaitves.
    Maybe the solution is to make Skype "Not start" automatically when log in. That I will test now
    This can be changed in: 
    Tools - Options
    General settings 
    Hook off - Start Skype when I start Windows

  • Lync 2013 and Macbook Pro (can not complete the call ) on audio and video call

    hi everyone ,
    we installed lync2013 server on windows 2012 server .Windows client working perfectly without any problems but we have some MacBook pro (maverick) with lync 2011 installed (14.0.8) .Mac clients can log in , make Instant messaging but can not make audio and
    video calls at the moment.When  I had done some logging on lync server , I ifigured out the following error message  which is
    "Start-Line: SIP/2.0 401 Unauthorized"
    TL_INFO(TF_PROTOCOL) [LYNCFE\LYNCFE]15EC.26C8::05/30/2014-13:08:46.224.00000BF4 (SIPStack,SIPAdminLog::ProtocolRecord::Flush:ProtocolRecord.cpp(265)) [3440658878]
    Trace-Correlation-Id: 3440658878
    Instance-Id: 10DF1
    Direction: outgoing;source="local"
    Peer: 10.45.40.22:54285
    Message-Type: response
    Start-Line: SIP/2.0 401 Unauthorized
    From: <sip:[email protected]>;tag=118c2f6503;epid=1dac663933
    To: <sip:[email protected]>;tag=59BF4D7B62264F8A815140BEC75A72BC
    Call-ID: b50d1d78ea20324eb00dbe3ed316c4b6
    CSeq: 2 INVITE
    Via: SIP/2.0/TLS 10.45.40.22:3540;received=10.45.40.22;ms-received-port=54285;ms-received-cid=243800
    Content-Length: 0
    $$end_record
    any ideas related with this error  ???
    1-I had tried 3 different mac book with 4 different user account
    2-Fresh installed lync 2011 on each MacBook ,

    Hi,
    Please try to clear all preferences for Mac Lync.
    You can do as following steps in the link:
    http://www.unicom.iu.edu/kb.php?docid=bave :
    1.  Quit Lync for Mac.
    2..In your Home folder, open the Library folder. Note that Mac OS X 10.7 and later hides your Library folder. To access it:
           1. Press Command-Shift-g, or from the Go menu, select Go to Folder... .
           2. In the Go to Folder drop-down window, enter ~/Library, and click Go.
    3.  Remove the following files from your Library folder:
              /Users/username/Library/Preferences/com.microsoft.Lync.plist
              /Users/username/Library/Preferences/ByHost/MicrosoftLyncRegistrationDB.xxxx.plist
              /Users/username/Library/Logs/Microsoft-Lync-x.log (This file is present only if you turned on Lync Logging.)
              /Users/username/Library/Logs/Microsoft-Lync.log
    4.  In your Documents folder, remove the following:
              /Users/username/Documents/Microsoft User Data/Microsoft Lync Data
    5.  Optionally, also remove Microsoft Lync History:
              Users/username/Documents/Microsoft User Data/Microsoft Lync History
              Note: This optional step will delete saved conversations. For Mac users, the conversation history is not saved to the Exchange account, but instead is saved locally
    to the Mac.
    6.  Open Keychain Access from the /Applications/Utilities folder:
         1. Delete any keychains on the left that look like the following, where emailaddress is your email address: 
    OC__KeyContainer__emailaddress
         2. In your Login keychain, delete the following, where emailaddress is your email address: 
    emailaddress.cer
    7.  In the /Users/username/Library/Keychains folder, delete all files that look like the following, where emailaddress is your email address: 
    OC__KeyContainer__emailaddress  
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information
    found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • [HELP] ALE inbound process and Workflow handling problem

    Hello,
    first of all, i have to apologize about my english level. I will try to explain my problem (thanks for your patience ).
    Well, I'm implementing an ALE inbound interface. My development at this point are:
    - Customer Idoc Inbound function (with correct interface).
    - Customer Basic Type
    - Customer Message Type and correct assignment to the Basic Type (Tx WE81 and WE82)
    - Customer Object Type (Subtype of IDOCAPPL)
    - On BD51 I put "1" for my function.
    - On WE57 I put this:
    Processing by --> My function and type "F"
    IDOC type --> My Basic type (without any extension)
    Message --> My message type (without any message code or msg. function)
    Object --> My object type (subtype of IDOCAPPL)
    Direction --> "2" (Inbound)
    - I created a process code for this interface (on WE42):
    It is processed with ALE service and by a function module (my function).
    On "Module(Inboud)" part I put my function and maximun number of repeats "0". On IDOC part I put my Object type with start event "INPUTERROROCURRED" and end event "INPUTFINISHED".
    On application objet I put my Object type.
    Rests of fields are blank.
    - I defined a partner (WE20) with this new message type and process code.
    - Also I created a Task (PFTC) for handle exceptions in inbound process. It has a rule for agent determinate.
    I think it is all.
    My problem is: when I process an IDOC (from WE19 for example) and it gets 51 status (error), it has to launch an event that trigger my task, is this way? Well I'm not getting any event.
    I have all Workflow customizations OK (in this systems are running some Workflows).
    In my function code, when I detect any error I put an error in the status table and put in WORKFLOW_RESULT the number '99999'.
    Why I'm not getting any event? What I'm doing wrong?
    Thanks in advance. Regards.

    Hello again,
    finally I've solved the problem. The solution for me, was a config on tx. WE42 and some missing code in the function, I only fill WORKFLOW_RESULT with '9999', but I didn't add any register to RETURN_VARIABLES table.
    Regards.

  • Is it possible to do an source call-Routing (ANI) on an Cisco IOS Gateway ?

    Hi,
    i´ve the following Problem. I want to route an Call from the PSTN over an IOS Gateway to another Gateway by using the Calling Number (ANI). The Called-Number is allways the same but the Calling Number is different. The IOS-Gateway should route the Call by the Different Calling Number (ANI) not by the Called Number. I tried some tests with IOS 12.2.11T10 but i wasn´t able to route the call properly.
    Is there a solution avalaible where i can route the Call on an VoIP-Dial Peer properly ?
    Thanks
    Carsten

    configure the dial-peer with the command :
    answer-address "The Call Destination Number"

  • ANI and DNIS field displays same value

    Hi,
    During the outbound call the ANI and the DNIS field displays the same number which i am dialling. Is this the standard behaviour?
    Whereas the Inbound call displays the correct numbers in both the field.
    Thanks
    Selvan

    Yes, it seams that this is the standard behaviour. It's in the same way in the freshly installed system.

  • Help in calling sql loader and an oracle procedure in a script

    Hi Guru's
    please help me in writing an unix script which will call sql loader and also an oracle procedure..
    i wrote an script which is as follows.
    !/bin/sh
    clear
    #export ORACLE_SID='HOBS2'
    sqlldr USERID=load/ps94mfo16 CONTROL=test_nica.ctl LOG=test_nica.log
    retcode=`echo $?`
    case "$retcode" in
    0) echo "SQL*Loader execution successful" ;;
    1) echo "SQL*Loader execution exited with EX_FAIL, see logfile" ;;
    2) echo "SQL*Loader execution exited with EX_WARN, see logfile" ;;
    3) echo "SQL*Loader execution encountered a fatal error" ;;
    *) echo "unknown return code";;
    esac
    sqlplus USERID=load/ps94mfo16 << EOF
    EXEC DO_TEST_SHELL_SCRIPT
    it is loading the data in to an oracle table
    but the procedure is not executed..
    any valuable suggestion is highly appriciated..
    Cheers

    multiple duplicate threads:
    to call an oracle procedure and sql loader in an unix script
    Re: Can some one help he sql loader issue.

  • Shell script calling SQL Program and passing parameters

    Hi guys,
    Greetings from Toronto. Is it possible to pass a string or strings as parameters to a sql program from a shell script ?
    Shell Script
    # Accept system input parameters
    p_user_id=$1
    p_job_id=$2
    sqlplus.exe -s $p_user_id @$RD_PATH/rd_test.sql $p_user_id $p_job_id
    SQL Program (rd_test.sql)
    -- Accept system input parameters
    define p_user_id = &1
    define p_job_id = &2
    -- Wondering if its possible to pass these 3 parameters from a shell script program.
    -- (1) rd_test-$p_job_id-3-1.lis
    -- (2) RD_PRINTER(rd_test,3)
    -- (3) t_data
    select
    t_data=''rd_test-'||'''$p_job_id'''||'-1-1.txt''
    t_data_dir=''.''
    ksh $RD_PATH/another_shell_prog.sh $p_user_id $p_job_id '||a.rd_value||' '
    ||b.rd_value||' rd_test-$p_job_id-3-1.lis $RD_PRINTER(rd_test,3) '||
    '$t_data $t_data_dir'||'
    exit_status=$?
    check_command'
    from rd_job_parameter b, rd_job_parameter a
    where a.job_id = &2
    and a.jp_module_id = 'RDTEST'
    and b.job_id = a.job_id
    and b.module_id = a.module_id
    /As always, its not something I have to solve this minute. Any help would be appreciated
    and I will be thinking of the problem.
    Thanks
    Raj
    Edited by: Raj404261 on Jun 25, 2009 11:40 AM
    Edited by: Raj404261 on Jun 25, 2009 5:29 PM

    Hi Sean,
    Thanks for the reply. I am not at work yet. I already do have the if condition to call 2 separate sql scripts. I was hoping them to be reduced to one sql script. That's why I was hoping to pass some of those values to the select statement as parameters.
    Here is what I was hoping to pass from the shell script based on an IF condition. The good thing about it is that I can hard code these 3 parameters in the shell script in the IF and ELSE conditions. Is it possible to tag these 3 hard coded values in the command line after $p_job_id and then capture these 3 parameters in the SQL program ?
    1. rd_test-$p_job_id-3-1.lis or rd_test-$p_job_id-3-1.lis
    2. RD_PRINTER(rd_test,3) or RD_PRINTER(rd_test,4)
    3. t_data=''rd_test-'||'''$p_job_id'''||'-1-1.txt''
    Shell script :
    # Accept system input parameters
    p_user_id=$1
    p_job_id=$2
    if [condition]
       sqlplus.exe -s $p_user_id @$RD_PATH/rd_test.sql $p_user_id $p_job_id
    else
       sqlplus.exe -s $p_user_id @$RD_PATH/rd_test.sql $p_user_id $p_job_id
    fi
    ksh $RD_PATH/another_shell_prog.sh $p_user_id $p_job_id '||a.rd_value||' '
    ||b.rd_value||' rd_test-$p_job_id-3-1.lis $RD_PRINTER(rd_test,3) '||
    '$t_data $t_data_dir'||'

  • UCCX script and abandoned calls

    Hi Guys
    I got question about that UCCX script and abandoned calls , so currently we had 4 different script for  support the call follow .
    So the Main script is just AA let the people select menu 1 , 2 ,3 then go to different queue , after select 1 (for example) then call-direct to second script trigger number and coming into the queue .
    Unfortunately , the system counter the action to be an Abandoned call      , I already open the case about this issue and the TAC did not found any configure issue on UCCX , from the log we can seem all the REDIRECT,lrd=5000 is abandoned call .
    23811205: Apr 28 13:01:44.257 GMT+800 %MIVR-SS_TEL-7-UNK:Call.received() JTAPICallContact[id=37148,implId=151183/1,state=STATE_RECEIVED_IDX,inbound=true,App name=APP0,task=null,session=null,seq num=-1,cn=5000,dn=5000,cgn=0405554590,ani=null,dnis=null,clid=null,atype=DIRECT,lrd=null,ocn=5000,route=RP[num=5000],TP=null
    23811420: Apr 28 13:02:00.491 GMT+800 %MIVR-SS_TEL-7-UNK:Call.transferring(5030) JTAPICallContact[id=37148,implId=151183/1,state=STATE_ANSWERED_IDX,inbound=true,App name=APP0,task=48000040709,session=36000027315,seq num=0,cn=5000,dn=5000,cgn=0405554590,ani=null,dnis=null,clid=null,atype=DIRECT,lrd=null,ocn=5000,route=RP[num=5000],TP=5007]
    23811424: Apr 28 13:02:00.491 GMT+800 %MIVR-SS_TEL-7-UNK:Call.abandoned() - transferring JTAPICallContact[id=37148,implId=151183/1,state=STATE_ANSWERED_IDX,inbound=true,App name=APP0,task=48000040709,session=36000027315,seq num=0,cn=5000,dn=5000,cgn=0405554590,ani=null,dnis=null,clid=null,atype=DIRECT,lrd=null,ocn=5000,route=RP[num=5000],TP=5007]
    23818414: Apr 28 13:09:46.095 GMT+800 %MIVR-SS_TEL-7-UNK:Call.transferring(239) JTAPICallContact[id=37149,implId=151183/1,state=STATE_ANSWERED_IDX,inbound=true,App name=app2_Admin,task=48000040710,session=null,seq num=-1,cn=5030,dn=5030,cgn=0405554590,ani=null,dnis=null,clid=null,atype=REDIRECT,lrd=5000,ocn=5000,route=RP[num=5030],TP=5034]
    23818421: Apr 28 13:09:46.095 GMT+800 %MIVR-SS_TEL-7-UNK:Call.abandoned() - transferring JTAPICallContact[id=37149,implId=151183/1,state=STATE_ANSWERED_IDX,inbound=true,App name=app2_Admin,task=48000040710,session=null,seq num=-1,cn=5030,dn=5030,cgn=0405554590,ani=null,dnis=null,clid=null,atype=REDIRECT,lrd=5000,ocn=5000,route=RP[num=5030],TP=5034]
    Please give some advice about that and I am look forward to heard from you guys soon .
    Thanks

    Hi Jon
    I was tested "Set Call Contact Info step to mark the call as handled" last night , but not working .
    so in the get call contact info properties , I was used  last Redirect number  to nest trigger number .
    but not working .
    so have got any idea about that ?
    thanks

  • Script Help to determine calling region for CSQ routing

    Contact Center Express 7.01 - Premium
    US client who has separated the states into three regions and wants to deliver calls to each of the three regions based on calling number.
    I have a database of 255 area codes across US that is separated into 3 xml files.  I have the script parse through the xml files one at a time, one line at a time to look for the calling area code.  Once a match is determined it sets the CSQ and routes, if it never matches it takes a default route.  (The script is similar to the Holiday.xml checking sample most people are familar with)
    Based on this long looping script the steps exceed the normal 1000 and this had to be bumped for it to work.  But when I test the script it works as designed.  I get some trouble calls, however, that claim that some calls are mis-routed.  For example calls that should be for the west region are ending up in the east region.  I have double checked my xml files for the area codes, but find no problems.  And each time I debug it works as expected.
    I am wondering if this long script is causing the problem and creating these issues.  Anyone have a shorter way to do this?
    I will rate helpful replies.

    Yes, it helps you save steps.
    The XML parser supports xpath dom node selections.  It's pretty powerful too.
    You would use this xpath syntax in your get xml document data step.  it will output the numeric value of the region for which the NPA is a descendent of.
    Here's a break down:
    "//region[npa='" + npa + "']/@id"
    The two slashes are like a search
    "//region[npa='" + npa + "']/@id"
    This is a node selection
    "//region[npa='" + npa + "']/@id"
    This is a predicate match.  Kind of like filtering.  I am using a string concatenation to use the calling party's NPA here.
    "//region[npa='612']/@id"
    This is what the resulting string would look like with the variable replaced with a static value
    "//region[npa='" + npa + "']/@id"
    This is an attribute selector.  It returns the value of id for the matched region node
    I used this as an example to get you thinking in the right direction.  The way you actually implement this is up to you.  That's the fun part.

  • I've installed ios 7.0.6 on my iphone 4 and lost voice on outgoing and incoming calls. My simm is ok, i've checked it, I've done a full clean and restore. Still no calls. Please help.

    Hi there,
    I've just installed ios 7.0.6 on my iphone 4 and now lost voice on outgoing and incoming calls.It rings on incoming and I'm told rings on the recipient's 'phone, but then no vocal communication...its just dead. My simm is ok, i've checked it, I've done a full clean and restore of the 'phone. Still no calls.
    I've not caused any physical or water damage to the 'phone. I would welcome any help/suggestions to get my calls back asap.
    Please help.
    Miss liberty

    Have you tried restarting or resetting your iPhone?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after It shuts down, press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds).
    Also consider deleting and reinstalling the Mail Account in question.

  • I just bought this iPhone 4S second hand and during incoming and outgoing calls I can't hear the other person talk unless it's on speaker or if I have headphones in. I don't know what to do I've turned up my volume and checked my settings!! Need help

    I Just bought a second hand iPhone 4S I am having issues with the hearing during incoming and outgoing calls, I have turned the volume up and checked my settings but I still have trouble hearing the other person speak. It works if it's on speaker or if I have headphones plugged in. I need help desperately!!!!! Any suggestions on what to do???

    Hey Itsanaasaunders,
    Thanks for the question. I understand that you are experiencing issues hearing sound while on a call (receiver wise, not speakerphone). The following resource provides troubleshooting steps for this symptom:
    If you can't hear a person on a call or voicemail or if the sound quality is poor on iPhone - Apple Support
    http://support.apple.com/en-us/HT203800
    Clear the receiver
    The iPhone receiver won't work properly if it's blocked or dirty. Here's where the receiver is:
    Follow these steps, testing after each:
    - Make sure nothing is blocking the receiver, such as a case or film.
    If you have a new iPhone, remove the plastic film on the front and back of the device.
    - Check the receiver opening to see if it's blocked or dirty. If necessary, clean the receiver opening with a clean, small, dry, soft-bristled brush.
    - While you're on a call, turn on speakerphone. If you still can't hear, then your network or reception could be the issue. Try calling again later or from a different location.
    Restart and update
    1. Restart your iPhone and test again.
    2. If there's still no sound or poor sound quality, update to the latest version of iOS.
    Get more help
    If you've tried these steps and there's still no sound or poor sound quality from your iPhone, contact Apple Support.
    Thanks,
    Matt M.

  • Is it possible to call a CMD or VBS within MAXL? Need script help

    Hello,
    I have a CMD script that uses MAXL to execute Essbase backups, the details of which are located in a txt file. That works fine, and I have the logs being sent to a folder.
    What I am trying to accomplish is AFTER it is finished running the backup, it calls a CMD script to parse the log file for errors, then either send a successful or failure notification through SMTP.
    I have all the scripts to perform the operations and they all function properly, but when I run it, the email is sent before the Essbase backup has completed.
    Is there a better way to do this like possibly calling the other CMD/VBS directly from within the MAXL shell? This is my current CMD file:
    Echo Calls Maxl shell with reference to EssbaseBackup.txt for variables
    call \\<server>\HyperionPlanning\App\Backups\MaxlBackup.cmd
    Echo Search Essbase Backup Logs for Errors
    findstr /c:"ERROR" \\<server>\HyperionPlanning\App\Backups\Logs\HyperionSetEssbaseForBackuplog.txt
    if %ERRORLEVEL% NEQ 0 goto NO_ERROR
    goto ERROR
    Echo Sends backup success mail
    :NO_ERROR
    \\<server>\HyperionPlanning\App\Backups\mail_send_success.vbs
    EXIT 0
    Echo Sends backup failure notification
    :ERROR
    \\<server>\HyperionPlanning\App\Backups\backup_failed.vbs
    EXIT 1MaxlBackup.cmd
    "C:\Oracle\Middleware\EPMSystem11R1\products\Essbase\EssbaseClient-32\bin\startmaxl.cmd" "\\<server>\HyperionPlanning\App\Backups\EssbaseBackup.txt"EssbaseBackup.txt
    spool on to '\\<server>\HyperionPlanning\App\Backups\logs\HyperionSetEssbaseForBackuplog.txt';
    set timestamp on;set timestamp off;
    login admin identified by <password> on <server>;
    alter system logout session on application App force;
    alter application App disable connects;
    alter database App.main force archive to file 'F:\Backups\App\Appmain.arc';
    alter database App.cap force archive to file 'F:\Backups\App\Appcap.arc';
    alter application App enable connects;
    set timestamp on;set timestamp off;
    logout;
    spool off;Edited by: Metatron on Mar 30, 2012 8:10 AM

    Try taking the code that is in the MaxLBackup.cmd and stick it into the root script just to remove that area of complexity. If that works, you might also try removing CALL from the line. Although I thought the point of CALL was to run another script and then return control to originating script.
    Here's some old (System 9.3.1) code that does what you're doing -- the pathing is wrong for 11x:
    REM Write filters to disc
    %hyperion_home%\products\Essbase\EssbaseClient\bin\essmsh.exe -D write_filters_to_disc.mshs %7,%8
    REM If error, go to end, else write
    IF ERRORLEVEL == 1 (SET errormsg=Error! - Read of filters from Essbase failed &     GOTO ERROR)The -D and .mshs are to handle an encrypted MaxL script.
    Regards,
    Cameron Lackpour

  • Help with calling stored procedure and preparing statement

    hi guys help please..I want to call a procedure set the ResultSet to TYPE_SCROLL_INSENSITIVE and CONCUR_UPDATABLE in order for me to scroll thru the resultset from 1st row to end row and vice-versa..but currently, my code has an error becuase im hot sure on how to do this..Can you please help me guys to solve this? Thanks in advance!
    CODE:
                int c = 0;
                String searchArg = txtSearch.getText();
                String studName, mInitial;
                searchArg = searchArg.replace('*', '%');           
                con = FuncCreateDBConnection();
                con.prepareCall("{call dbsample.usp_StudentInfo_SEARCH(?, ?)}");
                *cStmt = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);*
                cStmt.setString("searchArg", searchArg);
                cStmt.setString("searchType", cmboSearchBy.getSelectedItem().toString());           
                rs = cStmt.executeQuery();           
                if (rs != null){
                    listModel = new DefaultListModel();           
                    lstSearchResult.setModel(listModel);
                    while (rs.next()){                                      
                          mInitial = rs.getString(4).substring(0, 1).toUpperCase();
                          studName = rs.getString(3) + ", " + rs.getString(2) + " " + mInitial + ".";                     
                          listModel.addElement(studName);
                    System.out.println("Rows:"+ rs.getString(2));                                                     
                          c++;
    ERROR:
    Incompatible Types
    Found : java.sql.Statement
    Required: java.sql.CallableStatement

    Nevermind guys..i got it..
    CODE:
                int c = 0;
                String searchArg = txtSearch.getText();
                String studName, mInitial;
                searchArg = searchArg.replace('*', '%');           
                con = FuncCreateDBConnection();           
                cStmt = con.prepareCall("{call dbsample.usp_StudentInfo_SEARCH(?, ?)}",ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABLE);
                cStmt.setString("searchArg", searchArg);
                cStmt.setString("searchType", cmboSearchBy.getSelectedItem().toString());           
                rs = cStmt.executeQuery();           
                if (rs != null){
                    listModel = new DefaultListModel();           
                    lstSearchResult.setModel(listModel);
                    while (rs.next()){                                      
                          mInitial = rs.getString(4).substring(0, 1).toUpperCase();
                          studName = rs.getString(3) + ", " + rs.getString(2) + " " + mInitial + ".";                     
                          listModel.addElement(studName);
                    System.out.println("Rows:"+ rs.getString(2));                                                     
                          c++;
                }     Edited by: daimous on Jan 31, 2008 6:04 PM

  • Hey guys I seriously need help... I just got my iPad 3 delivered the before yesterday and yesterday i was going though the AppStore and found some app called "performamce test and I ran the test and that apps tell me I have poor 3d perfoamce. *worried* :(

    Hey guys I seriously need help... I just got my iPad 3 delivered the before yesterday and yesterday i was going though the AppStore and found some app called "performamce test and I ran the test and that apps tell me I have poor 3d perfoamce. *worried* :( I've been up since tomorrow. Could you install that app and tell me what scores do you guys get? :(

    http://www.google.com.pk/url?sa=t&rct=j&q=performance%20test%20mobile%20itunes&s ource=web&cd=2&ved=0CGYQFjAB&url=http%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Fperf ormancetest-mobile%2Fid494438360%3Fmt%3D8&ei=cOf_T-r2AuzT4QSpv4zBCA&usg=AFQjCNGi c8vn6zl8AINqrYuNc2RYobSiVA
    Here's the link.

Maybe you are looking for