Oracle to Sybase from UNIX

Can ve connect to Sybase from Oracle, where the Oracle runs on Unix by using Generic Connectivity?
Thanks.

Depends on which Unix platform your Oracle db is running.
HSODBC needs to be installed on the same machine/directory where the Oracle DB is installed.
For Oracle 9i hsodbc is available on Sun, AIX and HP; starting with 10g also on Linux.
In addition you need a 3rd party ODBC driver to work with hsodbc; in your case an ODBC driver to Sybase.

Similar Messages

  • Call Oracle Forms 6i from UNIX

    Hi,
    I am new to Oracle forms and I have some querries -
    I have a form created on windows environment (.fmb/.fmx). This form accepts a parameter in a text field and calls another Oracle Report. Now my questions are:
    1. If windows forms are not compatible with UNIX environment, then how these are converted to be compatible with UNIX/Linux (without re-creating them on different platform)?
    2. Can I call the same form from UNIX shell with input as a shell script input?
    3. And if answer to the second query is no, then can I invoke Web deplyed froms (on application server) using shell? and how..
    I w'd appreciate your help!
    Regards.

    hello
    please provide forms6i (on web?,client server?),OS version.
    im Assumed your using character mode.
    user9040817 wrote:
    Hi,
    I am new to Oracle forms and I have some querries -
    I have a form created on windows environment (.fmb/.fmx). This form accepts a parameter in a text field and calls another Oracle Report. Now my questions are:
    1. If windows forms are not compatible with UNIX environment, then how these are converted to be compatible with UNIX/Linux (without re-creating them on different platform)?you need to generate fmx on server side. this is character mode. use : f60gen yourforms.fmb username/password@tns > a
    yes you can call it forms use : f60run forms.fmx username/password@tns
    report : rwrun60c yourreportname.rdf username/password@tns destype=file desname=a.lis
    but always use HOST command inside the forms, also to send to the printer name that is configured to your server.
    host ('rwrun60c /dsk8/ciame/rcption/wagih/reportname xxx/xxxn@xxx batch=yes destype=file desname=$user_output/'||to_char(:blk1.office_emp_no)||'.lis tty_office_no='||to_char(:blk1.office_no)||' tty_emp_no='||to_char(:blk1.office_emp_no)||' tty_rcpt_no='||to_char(:blk2.rcpt_mst_receipt_no)||' tty_rpt_type=0;
    lp -d $lp01 -c $user_output/'||to_char(:blk1.office_emp_no)||'.lis',NO_PROMPT);
    and if you call another form then you can use open_form,call_form,,... inside the form. Be sure you add in the library your wroking folder.
    edit your user profile .
    Study this as a case : this is the profile of our mis user in our old character based system.
    SunOS 5.9
    |-----------------------------------------------------------------|
    | This system is for the use of authorized users only. |
    | Individuals using this computer system without authority, or in |
    | excess of their authority, are subject to having all of their |
    | activities on this system monitored and recorded by system |
    | personnel. |
    | |
    | In the course of monitoring individuals improperly using this |
    | system, or in the course of system maintenance, the activities |
    | of authorized users may also be monitored. |
    | |
    | Anyone using this system expressly consents to such monitoring |
    | and is advised that if such monitoring reveals possible |
    | evidence of criminal activity, system personnel may provide the |
    | evidence of such monitoring to law enforcement officials. |
    |-----------------------------------------------------------------|
    login: ciame
    Password:
    Last login: Tue Mar 6 09:39:32 from 0.0.0.0
    Sun Microsystems Inc. SunOS 5.9 Generic May 2002
    $ bash
    bash-2.05$ cd mis
    bash-2.05$ cat .profile
    # This is the default standard profile provided to a user.
    # They are expected to edit it to meet their own needs.
    #MAIL=/usr/mail/${LOGNAME:?}
    DISPLAY=8.4.2.5:0.0;export DISPLAY
    NLS_LANG=AMERICAN_AMERICA.AR8ISO8859P6; export NLS_LANG
    NLS_DATE_FORMAT=dd/mm/yyyy;export NLS_DATE_FORMAT
    TK6_PRINTER=alp35;export TK6_PRINTER
    EDITOR=/usr/bin/vi;export EDITOR
    ORACLE_BASE=/oracle; export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/product/dev6i; export ORACLE_HOME
    TNS_ADMIN=$ORACLE_HOME/network/admin; export TNS_ADMIN
    HOME=$ORACLE_HOME/bin;export HOME
    ORACLE_SID=JMH; export ORACLE_SID
    ORACLE_TERM=vt220; export ORACLE_TERM
    FORMS60_TERMINAL=$ORACLE_HOME/bin; export FORMS60_TERMINAL
    LD_LIBRARY_PATH=LD_LIBRARY_PATH:$ORACLE_HOME/bin:$ORACLE_HOME/lib:/usr/dt/lib:/u
    sr/openwin/lib:/usr/lib:$ORACLE_HOME/network/jre11/lib/sparc/native_threads; exp
    ort LD_LIBRARY_PATH
    SHLIB_PATH=$ORACLE_HOME/bin:/usr/dt/lib:/usr/openwin/lib:/usr/lib:$ORACLE_HOME/n
    etwork/jre11/lib/sparc/native_threads; export SHLIB_PATH
    PATH=/usr/ccs/bin:$ORACLE_HOME/bin:/usr/bin:/usr/openwin/bin/; export PATH
    user_output=/user_account/mis;export user_output
    alias ls='ls -aF'
    umask=022
    lp01=alp1;export lp01
    lp02=alp1;export lp02
    lp03=alp1;export lp03
    lp04=alp1;export lp04
    lp05=alp1;export lp05
    lp06=alp1;export lp06
    lp07=alp1;export lp07
    lp08=alp1;export lp08
    lp09=alp1;export lp09
    lp10=ps401;export lp10
    lpc=alp1;export lpc
    cd /dsk8/ciame
    f60run mis_menu xxxx/xxx@xxx
    exit
    Edited by: ck on Mar 5, 2012 11:05 PM
    Edited by: ck on Mar 5, 2012 11:08 PM

  • Importing table dump from oracle into sybase

    I was wondering if anyone has ever imported a table dump from oracle into sybase. I just tried it and it didn't work. I used TOAD to create my table dump file but when i imprted it into sybase using bcp in i got the following error
    cs_convert: cslib user api layer: common library error: The result is truncated because the conversion/operation resulted in overflow.
    CSLIB Message: - L0/O0/S0/N36/1/0:

    If you are looking for a basic/standard way to exchange data between Oracle and Sybase, use the CSV format.
    It is trivial to write a generic SQL*Plus script for Oracle to extract data from a table (or a SELECT) and spool this into a properly formatted CSV file.
    It is also just as easy to use Sybase Bulk Copy utility to load that CSV file into Sybase.
    There are also alternative methods. One would be to use Oracle's Heterogeneous Services. You can define a database link in Oracle that connects, via ODBC, to Sybase. And using this database link you can push (insert) data into Sybase.

  • Have you moved from Unix/Oracle to Windows/SQL Server

    I am looking for people that have moved from Unix/Oracle to Windows/SQL Server...
    Would you do it again ?
    Did you save money ?
    Were you using Zones to virutalize on Unix ?
    Did you gain or loose overall Performance ?
    Have you had to perform a recovery on SQL Server ? 
    Have you done a recovery in Oracle ?
    Were you using Rman ?
    Which worked better ?
    We are going through an analysis of does it really make sense, save money and effect performance to move from a strong unix/oracle environment to a MS/SQL environment.
    THanks Rob
    [email protected]

    Hi,
    All our R/3 legacy systems are Windows/Oracle.
    All the new systems (BW, SRM, CRM, XI) are Windows/MSSQL.
    It was an order from the management to make the switch because of the high prices of Oracle licences.
    The official motto is now Oracle on Unix only and SQL server on Windows only.
    We get the same level of performance as with Oracle, but we, old SAP Oracle grumpy admins, are much more comfortable with Oracle admin than SQL server admin.
    imho, SQL server may seem simplier but it is much easier to look under the hood whith Oracle.
    We have to reinvent the wheel and it's kind of frustrating but we will cope with it...
    I would say that SQL server is not a good choice for BW usage because there is a lot more litterature on BW database optimisation for Oracle than MSSQL.
    The official SAP class does not speak at all about SQL server but has several chapters on Oracle...
    Regards,
    Olivier

  • How to run import from Unix Oracle 8.0.5 database with Windows Oracle client?

    How to run import from Unix Oracle 8.0.5 database via network with Windows Oracle client? Is it possible? When I try to do it Oracle client just hangs... If not which ones are compatible Aix or Solaris to Unix or it must be a Unix client to connect to Unix Oracle database. Thank's for any help.

    Hi,
    In our project we are using this type. Since in this project server in UNIX(DEC) and client is running on windows. We have created a listener which always listen requests from client and doing the according to the request.
    Step1. create a request table, where u are inserting ur request.
    step2. create PRO*C proram, which is listening request on the table. If there is any request, call the imp (executable). This is happening on server side.
    Benifit. U can make a request from cleint and ftp the file client sit.
    Are u interested in more details and code, pls send a mail to me
    ---- Boby Jose Thekkanath
    [email protected]
    Dharma Computers(p) Ltd. Bangalore.
    null

  • Replicate the data from oracle to sybase

    Hi, I have to replicate the data of some of the tables from Oracle 10g to Sybase.
    Here the data from the table is live data (OLTP).
    Is there any process like materalized view so that data is refreshed from Oracle to Sybase periodically.
    Please let me know the Process for the same.

    Hello,
    as a starter you may want to read the following Metalink note:
    Note 283700.1: How to replicate Data between Oracle and a Foreign Datasource
    Please let me know whether this is helpful.
    Best regards
    Wolfgang Kobarg-Sachsse

  • Zero Downtime Migration from Oracle to Sybase

    Is there any way/ tool to migrate from oracle to sybase with Zero Downtime??
    Thanks

    Better answered on a Sybase forum I suppose...

  • How to access the Oracle from Unix when SID is not provided?

    How to access the Oracle from Unix when SID is not provided.
    User Name : xxx
    Password : yyy
    SID : SID
    I use to access it using below command from Unix prompt:
    sqlplus xxx/yyy@SIDNow since I dont have SID, how to access the Oracle DB from Unix Box?
    User Name : xxx
    Password : yyy
    Service Name : zzz
    Regards,
    Sunny.

    Hi Ajay
    Thanks for the suggesstion :)..It worked as well.
    The Actual problem was in the "tnsnames.ora" file where in I need to make entry for the new SERVICE name.
    Now I am able to connect it properly.
    Regards,
    Sunny.

  • How to execute oracle procedure from Unix

    Hi All,
    Could you please help me in Unix commands.
    we have different databases i want to run one procedure from unix for one database.
    How can i run pls give me the flow.
    Thanks,

    Oracle wrote:
    Hi All,
    Could you please help me in Unix commands.
    we have different databases i want to run one procedure from unix for one database.
    How can i run pls give me the flow.
    Thanks,you give the command to launch sqlplus, and pass it the appropriate sql or sqlplus commands.
    Like this:
    oracle> sqlplus /nolog <<EOF
    conn / as sysdba
    exec mystoredprocedure
    exit
    EOFor this
    oracle> sqlplus /nolog @somefile.sqlwhere 'somefile.sql' has the sqlplus commands needed.

  • Connecting to Windows SQL server from Unix Oracle Server

    How can I connect to Windows MS SQL server from Unix Oracle Server? What installation or package will I need?

    Two options:
    1) Do a search on "Oracle Transparent Gateways" and/or "Heterogenous Services". These are products that are designed solely to connect to other databases from Oracle.
    2) Use a type-4 JDBC driver for SQL Server, installed and running in the JVM of your Oracle server. I'm assuming your Oracle database is sufficiently recent to be java-enabled here.
    Justin

  • Trying to Connect from Oracle to Sybase

    Hi
    Iam trying to connect from Oracle to Sybase only to retrieve data which is why--Generic COnnectivity. Everything was fine like creating default entries with hsodbc(instead of default tg4sybs) in listner.ora, tnsnames.ora like discussed in this forum. But, the final problem which Iam encountering is:
    ERROR at line 1:
    ORA-02085: database link HSODBC.US.ORACLE.COM connects to HO.WORLD
    Can anyone explain about this problem and solution?? Please help....It is URGENT!
    Thanks
    Gopikrishna.

    This happens with global naming set to true for the database.
    How to check if global_names is true or false:
    openSQL*plus connection to the database and type
    SHOW PARAMETER GLOBAL_NAMES
    What to do:
    1. you can alter your SQL*Plus session each time you
    connect:
    ALTER SESSION SET GLOBAL_NAMES=FALSE;
    2. you can set global_names to false within the init.ora
    of the database
    3. you can change the default GLOBAL_NAME HO.WORLD of the
    HSODBC system while changing the values in the init.ora
    of the hsodbc:
    HS_DB_NAME=HSODBC
    HS_DB_DOMAIN=us.oracle.com

  • How to verify all the Services in Oracle R12 from Unix OS

    Hi,
    Can someone please through some details on how to check and verify the unix processes and services from Unix backend in R12. In 11i I was using
    ps -ef|grep f60
    ps -ef|grep httpd
    ps -ef|grep FNDLIB
    Currently , I am using './adopmnctl.sh status ' command to see if all the components are UP. But I need to see the conc manager, form/report server , apache etc and on which port they are running as OS Processes.
    Thanks
    -Samar

    Hi Samar,
    Processes in Instance: hostname_domain
    ------------------------------------------------+---------
    ias-component | process-type | pid | status
    ------------------------------------------------+---------
    OC4J | oafm | 29879 | Alive
    OC4J | forms | 29801 | Alive
    OC4J | oacore | 29726 | Alive
    HTTP_Server | HTTP_Server | 29669 | AliveThe above indicates that all application processes (except the CM) is up and running. You may also refer to the log files to verify that.
    I can also see the ps -ef|grep Apache but noting is comming as ps -ef|grep FNDLIB or ps -ef|grep frmweb or
    ps -ef|grep rwrun. What about "ps -ef | grep -i fnd"? If CM is down (verify by issuing "adcmctl.sh status" or from the application (Administer CM window)), the ps command will not return any result.
    For the forms server, does "ps -ef | grep -i frm" return something?
    I am using the R12 on linux single node. I shudown and starting all the services with adstrall.sh and it exited with status 0 after bringing up all the components. Apache and DB listeners are UP. I cant opent the forms due to firewall and Virus Protection AD blockers.What is the error you get? Can you open the forms if the firewall and pop-up blockers are disabled?
    How can I check if all the services are performing OK.The adopmnctl.sh command should be helpful here. In addition, review the log files (and try the commands in this reply) to verify the application components.
    Regards,
    Hussein

  • How can I Connect to SQL Server or other RDBMS like Sybase from Form 6i

    I want to connect Connect to SQL Server or other RDBMS like Sybase from Form 6i. I kniow that I need some gateway product but I don't know the name of the product?Can i use some other technology to do the same like client software etc.
    I need this help urgently?

    Check the following link.
    http://www.oracle.com/technology/products/gateways/index.html

  • How to submit a cuncurrent program from UNIX?

    How to submit a concurrent program from UNIX.Plz reply immediatly

    Please see;
    Oracle Metalink Document: How to Submit a Concurrent Request Using CONCSUB Syntax: Doc ID: Note:457519.1
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:5250231761732667752::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,457519.1,1,1,0,helvetica
    Adith

  • Calling a report from unix shell script

    Hi,
    I had to call a report from unix shell script.
    May i know the procedure to accomplish this
    Thanks in Advance
    A.Gopal

    First you should not include the whole path to your report in the call ...
    Use like this:
    /ora/u01/oracle/v101/as2/bin/rwrun.sh report=an_stati destype=file desname=/ora/u01/oracle/v101/as2/test.pdf desformat=pdf
    In $ORACLE_HOME/bin/reports.sh:
    1) Verify that you have updated the REPORTS_PATH variable to include your folder where you have the report in question
    REPORTS_PATH=/ora/u20/app/qits/env1/run:$ORACLE_HOME/reports/templates:$ORACLE_HOME/reports/samples/demo: ....
    2) Verify that the REPORTS_TMP variable is pointing to a valid location and that the oracle user has access to write on it.
    After that, post the content of the tracefile located at $ORACLE_HOME/reports/logs/{in-process report server name folder}/rwserver.trc
    If no file is present then it means that you need to enable trace in your reports's conf file.... go to the $ORACLE_HOME/reports/conf folder and and locate the .conf file that correspond to your in-process reports server name (as specified in the rwservelet.properties file)... open/edit the file to enable trace logs ..
    i.e.
    Change the following line:
    <!--trace traceOpts="trace_all"/-->
    to <trace traceOpts="trace_all"/>
    Bounce the reports server and try to run the report again, this time the .trc file should be generated, post the content so that we can take a look.

Maybe you are looking for

  • Sales invoice Price difference

    Hi gurus, Please help me to solve this  scenario. I sale 10 units  material for 100 each  price to my customer. But due to some problem if he returns my material. When we Replace the material there is a Price Difference. Now we are using Moving Avera

  • Simple Question on using an iPod nano v iPod

    I do not have an iPod, but am considering getting one. I have about a 10 gb library of music and have been using a 256 mb mp3 player for the last couple of years. So my process for getting music has been to pick what 50-60 songs I want to hear and lo

  • Tab groups disappear each time i reopen firefox - and saved tabs do not open up either.

    <blockquote>Locking duplicate thread.<br> Please continue here: [[/questions/879179]]</blockquote> I sent this same complaint yesterday. What I need is someone to contact me to let me know what to do about the problem. I have received NO feedback.

  • About HR payroll posting FI in the distributed systems

    Hi All, I have a question about HR payroll post FI in the distributed system(both are Ecc6.0). There are difference In configuration between Ecc6.0 and lower version(like 4.70, 46C) ?  Best regards, Sap leaner

  • Premiere Pro is eating up all my RAM and Crashing on a Super-Fast Mac System?

    Premiere Pro is eating up all my RAM and Crashing on a Super-Fast Mac System? Mac 12 Core (2012 Version) 24 GB RAM Nvida quatro 4000 Blackmagic Decklink Cineraid 24TB RAID tower CS6.02 Note I copied the project and media to a much older MAC with only