How to recognize operator from dbase

Hi All,
I have a small query regarding the rule retrieving from dbase.Let me clear that.
I have a dbase which have some java expressions like,
     >
     <
     >=
     <=
     +
     ||
     !=
     and so on...............
The dbase columns something like this...
field1     field2     field3
x     <     y
l     + z
u != m
now when i am trying to execute the rule in my class(logic)file.....it would look some thing like this,
rs.getInt(field1)
rs.getString(field2)
rs.getString(field3)
when i am trying to execute the condition like (l+z)....its not able to recognize the '+' operator as it is in the string format retrieved from dbase.....
Hope I am clear about my query...plz do lemme know how to go about this issue...
Thanks and Regards
Kishore

sounds like you need to build an expression analyser (and probably executor).
Good luck. They're fun exercises.

Similar Messages

  • How to delete an operation from order using the bapi

    Can somebody please tell me how to delete an operation from order using the bapi
    BAPI_ALM_ORDER_MAINTAIN.
    Following was the test data for the BAPI.
    000000 OPERATION DELETE 0000040052810070
    000000 SAVE 0000040052810070
    Even I tried entering the operation table. The BAPI control ends fine, but when I check the order using IW32, the operation still exists.
    So, can you please tell me where Iam going wrong.

    Hi Subash Mohanvel,
    Check bapireturn parameter of the bapi BAPI_ALM_ORDER_MAINTAIN after execution of the code , and if there is no error message in the return table then call bapi_Transaction_commit.
    Unless you call this database saving of the records/values will not get reflected in the system.
    Hope that helps.
    Regards
    Kapadia
    ***Assigning points is the way to say thanks in SDN.***

  • How to call Operating System commands / external programs from within APEX

    Hi,
    Can someone please suggest how to call Operating Systems commands / external programs from within APEX?
    E.g. say I need to run a SQL script on a particular database. SQL script, database name, userid & password everything is available in a table in Oracle. I want to build a utility in APEX where by when I click a button APEX should run the following
    c:\oracle\bin\sqlplusw.exe userud/password@database @script_name.sql
    Any pointers will be greatly appreciated.
    Thanks & Regards,

    Hi Guys,
    I have reviewed the option of using scheduler and javascript and they do satisfy my requirements PARTIALLY. Any calls to operating system commands through these features will be made on the server where APEX is installed.
    However, here what I am looking at is to call operating systems programs on client machine. For example in my APEX application I have constructed the following strings of commands that needs to be run to execute a change request.
    sqlplusw.exe user/password@database @script1.sql
    sqlplusw.exe user/password@database @script2.sql
    sqlplusw.exe user/password@database @script3.sql
    sqlplusw.exe user/password@database @script4.sql
    What I want is to have a button/link on the APEX screen along with these lines so that when I click that link/button this entire line of command gets executed in the same way it would get executed if I copy and paste this command in the command window of windows.
    Believe me, if I am able to achieve what I intend to do, it is going to save a lot of our DBAs time and effort.
    Any help will be greatly appreciated.
    Thanks & Regards,

  • HT1379 Summary: how to transfer files from SD card when the system (Mac OS X v 10.7.5) will NOT recognize SD cards.

    How to transfer files from SD card when the system (Mac OS X v 10.7.5) will NOT recognize SD cards?
    Insert the SD card.
    System opens iPhoto with SD contents.
    Want to transfer files from SD card to system drive.  iPhoto closes
    SD card directory removed from the Finder window and is not available again. 
    I don't want to have to reboot the system every time I want to perform this option.
    What's wrong here. 
    The support columns show this isn't an isolated incident with all sorts of solutions possible.
    This is a simple task - there should be a simple method for the system to recognize SD cards.
    What's the answer?
    I've reviewed a recommendation to reset the SMC.
    https://discussions.apple.com/message/18500187#18500187
    and
    http://support.apple.com/kb/HT3964
    and another thread that says, basically, you must buy extra hardware to perform this simple task,
    https://discussions.apple.com/message/16911326#16911326
    another one that has the same problem with OS Mountian Lion,
    https://discussions.apple.com/message/21919740#21919740
    another one with the problem that says SD cards can't be read by Apple unless the card is formatted specifically for Apple, ie. that Apple is not compatible with other cards, but the problem maybe something else that requires Apple service - (bad SD card reader?).
    https://discussions.apple.com/message/18711818#18711818
    there are probably more discussions, but I dont' want to spend my entire sunny in Seattle day working this.
    thanks for the help!

    Bucky Fullmeister wrote:
    When I plug in an SD card, the finder window shows it under the DEVICES section.  At this point, I can drag the contents to the hard drive.  However, when I screw up and click the character on the right side of the name - it apparently closes the SD card and I can't find any command to reload or re-recognize the card.  I have to remove and reinsert the card and then sometimes it recognizes the card.  Other times I reboot and it will recognize it.
    What does that character on the right side of the SD card name do?  Is it an eject function - with no way to subsequently reread the drive?
    It ejects or unmounts the card. When the SD card mounts click on it once to highlight it and then drag the files shown within it to the new folder.
    Pete

  • How to transfer photos from my iphone 5 in my dell lapotop having windows 8 operating system?

    how to transfer photos from my iphone 5 in my dell lapotop having windows 8 operating system?

    The only photos that can be imported, are photos in your camera roll. Read here:
    http://support.apple.com/kb/ht4083

  • How to migrate from Dbase Database to Oracle 11gRelease2 database

    Hi,
    I have a Dbase database and i need to migrate to Oracle 11g Release2 database.
    Please suggest as to how to proceed for the same.
    Thanks,
    Gaurav

    GauravJ wrote:
    Hi,
    I have a Dbase database and i need to migrate to Oracle 11g Release2 database.
    Please suggest as to how to proceed for the same.
    Thanks,
    Gauravhttp://search.cpan.org/dist/CAM-DBF/lib/CAM/DBF.pm
    PERL can access both DBs simultaneously.
    so all you have to do is write some custom code to SELECT from DBASE DB & INSERT into Oracle DB

  • How to execute Operating System commands from Stored procedure.

    Any help on how to execute Operating System commands from stored procedures will be appreciated.
    Nanditha.

    Search the forums for 'External Procedure' and you will find example code that has been posted before.

  • How to import data from a text file into a table

    Hello,
    I need help with importing data from a .csv file with comma delimiter into a table.
    I've been struggling to figure out how to use the "Import from Files" wizard in Oracle 10g web-base Enterprise Manager.
    I have not been able to find a simple instruction on how to use the Wizard.
    I have looked at the Oracle Database Utilities - Overview of Oracle Data Pump and the Help on the "Import: Files" page.
    Neither one gave me enough instruction to be able to do the import successfully.
    Using the "Import from file" wizard, I created a Directory Object using the Create Directory Object button. I Copied the file from which i needed to import the data into the Operating System Directory i had defined in the Create Directory Object page. I chose "Entire files" for the Import type.
    Step 1 of 4 is the "Import:Re-Mapping" page, I have no idea what i need to do on this page. All i know i am not tying to import data that was in one schema into a different schema and I am not importing data that was in one tablespace into a different tablespace and i am not R-Mapping datafiles either. I am importing data from a csv file.
    For step 2 of 4, "Import:Options" page, I selected the same directory object i had created.
    For step 3 of 4, I entered a job name and a description and selected Start Immediately option.
    What i noticed going through the wizard, the wizard never asked into which table do i want to import the data.
    I submitted the job and I got ORA-31619 invalid dump file error.
    I was sure that the wizard was going to fail when it never asked me into which table do i want to import the data.
    I tried to use the "imp" utility in command-line window.
    After I entered (imp), i was prompted for the username and the password and then the buffer size as soon as i entered the min buffer size I got the following error and the import was terminated:
    C:\>imp
    Import: Release 10.1.0.2.0 - Production on Fri Jul 9 12:56:11 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Username: user1
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Import file: EXPDAT.DMP > c:\securParms\securParms.csv
    Enter insert buffer size (minimum is 8192) 30720> 8192
    IMP-00037: Character set marker unknown
    IMP-00000: Import terminated unsuccessfully
    Please show me the easiest way to import a text file into a table. How complex could it be to do a simple import into a table using a text file?
    We are testing our application against both an Oracle database and a MSSQLServer 2000 database.
    I was able to import the data into a table in MSSQLServer database and I can say that anybody with no experience could easily do an export/import in MSSQLServer 2000.
    I appreciate if someone could show me how to the import from a file into a table!
    Thanks,
    Mitra

    >
    I can say that anybody with
    no experience could easily do an export/import in
    MSSQLServer 2000.
    Anybody with no experience should not mess up my Oracle Databases !

  • How do I upgrade from ITunes 10.6.3 to ITunes 10.6.8?

    How do I upgrade from ITunes 10.6.3 to ITunes 10.6.8? Unable to find a download? I need to get to the point of ITunes 10.6.8 so I can then upgrade to ITunes 10.7 so that i can sync with my iphone 5.
    Am i on the right path or do i need to upgrade my software which is OS X version 10.5.8?
    Any help is appeciated.

    All these programs levels are a little confusing ..... you currently are on OS X 10.5.8 and want to upgrade to OS X 10.6.8, so you can download iTunes 7.
    You'll need to call the online Apple store, which in the US is 800-MY-APPLE, and buy OS X 10.6 Snow Leopard, from the legacy products list. You'll use the DVD they send to install the new operating system, then run Software Update several times until there are no more updates. At that point, you'll be at 10.6.8 and can download iTunes 7.
    PS. Be sure and have a system backup before upgrading your operating system.

  • OBIEE 11g How to pass variable from one prompt to another prompt in dashboard page.

      How to pass variable from one prompt to another prompt in dashboard page.
    I have two prompt in dashboard page as below.
    Reporttype
    prompt: values(Accounting, Operational) Note: values stored as
    presentation variable and they are not coming from table.
    Date prompt values (Account_date, Operation_date)
    Note:values are coming from dim_date table.  
    Now the task is When user select First
    Prompt value  “Accounting” Then in the
    second prompt should display only Accounting_dates , if user select “operational”
    and it should display only operation_dates in second prompt.
    In order to solve this issue I made the
    first prompt “Reporttype” values(Accounting, Operational) as presentation
    values (custom specific values) and default presentation value is accounting.
    In second prompt Date are coming from
    dim_date table and I selected Sql results as shown below.
    SELECT case when '@{Reporttype}'='Accounting'
    then "Dates (Receipts)"."Acct Year"
    else "Dates (Receipts)"."Ops
    Year"  End  FROM "Receipts"
    Issue: Presentation variable value is not
    changing in sql when user select “operation” and second prompt always shows
    acct year in second prompt.
    For testing pupose I kept this presentation
    variable in text object of dashboard and values are changing there, but not in
    second prompt sql.
    Please suggest the solution.

    You will want to use the MoveClipLoader class (using its loadClip() and addListener() methods) rather than loadMovie so that you can wait for the file to load before you try to access anything in it.  You can create an empty movieclip to load the swf into, and in that way the loaded file can be targeted using the empty movieclip instance name.

  • How to backup files from other user logged in as administrator

    RE: How to backup files from other user logged in as administrator AND/OR how to repair drive with "Invalid catalog PEOF"
    Hello,
    My MacBook Pro computer’s hard drive is not booting.
    I booted with the base operating system and ran Disk utilities and I got the following messages:
        Invalid catalog PEOF
        The volume could not be verified completely.
        This disk needs to be repaired.
        Disk utility can’t repair this disk. Backup as many files as possible, reformat the disk,
        and restore your backed-up files.
    The problem is that I have a couple of USERS set up on this computer, and it won’t let me backup the files of the second user.  The folders are locked and I can’t access them, even though I am logged in as the administrator.
    I made a boot disk on my other computer ( a MacPro Early 2008 ) desktop computer with the DiskWarrior 4.4 updater,
    but it won’t boot on my MacBook Pro.
    How can I backup these user files so that I can copy them back once I fix the drive?
    or better yet,  How can I repair the Invalid catalog PEOF on this drive?
    Thank you in advance for your time! 
    Bill
    THIS IS THE COMPUTER
    ================
    17” MacBook Pro 2.8GHZ 4GB Ram (purchased in 2009).
    Model: A1297
    Running Mac OSX 10.9.5

    Try using Disk Utility/Restore to copy the backup to a new location. Please note that this will reformat the destination partition which will erase all data.
    Do a backup. Boot to the Recovery Volume (command - R on a restart or hold down the option/alt key during a restart and select Recovery Volume). Run Disk Utility Verify/Repair and Repair Permissions until you get no errors.  Reformat the drive using Disk Utility/Erase Mac OS Extended (Journaled), then click the Option button and select GUID. Then re-install the OS.
    OS X Recovery
    OS X Recovery (2)
    When you reboot, use Setup Assistant to restore your data.

  • How to transfer music from laptop to ipad

    I have music in my laptop in itune folder.How do I transfer music from itune in laptop to itune in ipad2.

    If you have iTunes installed on the computer, you have to make sure it is the current version.
    Just run iTunes and go to "File > Check for Update" to check whether your iTunes is the latest one. Then, use USB cable to connect iPad with computer as well.
    After iTunes recognize your iTunes, just hit "iPad" tab under the "DEVICE" section of the iTunes sidebar. On the right screen, you can see a new window to list you all categories of iPad. Just hit "Music" tab. Check the box next to "Sync Music" and click the circle next to "Entire music library" or "Selected playlists, artists and genres." Click the boxes next to specific artists, playlists and genres if you want to sync specific music to your iPad.
    Now, you may press the "Apply" button in the bottom-right corner of the main iTunes screen, followed by "Sync" in the same area to transfer the music to your iPad.
    For more related articles you can see these: "How to transfer files from Computer to iPad 2" and "How to transfer music files from Mac to iPad"

  • Hi, I would like to synchronize the calendar's items of my iPad Mini with my MacBook Pro. At today I can only do the reverse operation (from MacBook Pro to iPad Mini). Can you help me maybe with a little tutorial or something? Many Thanks.

    Hi, I would like to synchronize the calendar's items of my iPad Mini with my MacBook Pro. At today I can only do the reverse operation (from MacBook Pro to iPad Mini). Can you help me maybe with a little tutorial or something? Many Thanks.

    Hello there Tonynos.
    The following Knowledge Base article should help with guiding you on how to synchronize information from your iOS device to your computer:
    iOS: How to transfer or sync content to your computer
    http://support.apple.com/kb/HT1296
    Thanks for reaching Apple Support Communities.
    Cheers,
    Pedro D.

  • How to call webservice from Java application

    Hi XI gurus
    Pls let me know how to call a webservice from Java application.
    I wanted to build synchronous interface from Java Application to SAP using SAP XI
    For example, i need to create Material master from Java application and the return message from SAP, should be seen in Java application
    Regards
    MD

    Hi,
    If your  JAVA Application is Web based application, you can expose it as Webservice.
    JAVA People will pick the data from Dbase using their application and will send the data to XI by using our XI Details like Message Interface and Data type structure and all.
    So we can Use SOAP Adapter or HTTP in XI..
    If you use HTTP for sending the data to XI means there is no need of Adapter also. why because HTTP sits on ABAP Stack and can directly communicate with the XI Integration Server Directly
    If you are dealing with the Webservice and SAP Applications means check this
    Walkthrough - SOAP  XI  RFC/BAPI
    REgards
    Seshagiri

  • How to pickup files from multiple directories

    Hi all,
    How to pickup files from multiple directories and send it to two different folders at target
    Ex:
    files\xi\us\US.txt
    files\xi\uk\UK.txt
    i need to pick up the above mentioned two files and send it to the following paths
    app1\files\us\download\US.txt
    app1\files\uk\download\UK.txt
    US.txt has to goto US folder and UK.txt has to goto UK folder only
    Regards

    Hi,
    To pick form multiple folders, select Advanced Mode for file selection in file adapter..
    there u can specify directory name/file names
    Refer
    /people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter
    To put those files at multiple folders write a command line arguments for this.. go through this weblog...
    /people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching
    XI/PI: Command line sample functions
    /people/michal.krawczyk2/blog/2007/02/08/xipi-command-line-sample-functions
    Hope this will help you....
    Regds,
    Pinangshuk.

Maybe you are looking for

  • Creation of partner functions for customer master with LSMW

    Hello, I try to create partner functions together with a customer via Batch Input in LSMW. Object: 0050, method: 0000, program name: RFBIDE00, program type: B. I use the structure BKNVP (Customer master partner functions) to create a new partner and

  • Multiple accounts in 1 iTunes

    I have an iPhone with my apple account that is connected to my mac and my sister has here iPad with her own account. She has no computer at the moment so she wanted to update her iPad using my iTunes. Is it possible to have multiple accounts in iTune

  • How do I submit a bug to microsoft for TEE

    I'm not sure but I think I may have found a bug in TEE on Linux.  The question on stackoverflow was answered but I've just run into the same problem when trying to merge our trunk to my branch.  In short, the root of the problem is that was a directo

  • Help -- Trying to create JAR file but not working

    Hi everyone I have created a rather noddy Java program that consists of 4 JComboBox's and 1 JButton on a JFrame. When the button is clicked a text file is generate with the options that have been selected. There are severial files that the program us

  • Very Poor Frames Per Second on MSI 661FM2-LSR

    Ok this new motherboard that i purchased has a onboard graphics SIS 661fx now my old motherboard the MSI ProSavageDDR P4M266A has also an onboard chip however it allowed me to play HL2 with 32mb of shared memory off my 512MB ram the graphics werent t