How to set .oraenv command in linux to use sqlplus.

Hi
I have installed oracle 11.1.0.6.0 in Oracle Enterprise Linux 5.
My problem is every time i use sqlplus, i have to execute .oraenv at first. There it always asks me to enrer ORACLE_SID = [oracle] ?
Is there any way to fix it permanently?
Thanks

user576726 wrote:
Thanks
Could you please tell me how to export those variables? because I am new in Linux.Actually it depends on your system. While installing Oracle 10g on Linux, I make the following changes to .bashrc file in order to connect to database automatically without defining the same variables once more
export ORACLE_HOME=/home/oracle/oracle/product/10.2.0/db_1
export ORACLE_SID=your_database_sid
export PATH=$ORACLE_HOME/bin:$PATH

Similar Messages

  • How to set the data fields column wide at sqlplus

    Dear Sir/Madam
    I would like to know how to set the data fields column wide at sqlplus
    Thanks
    Francis

    see
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch6.htm#sthref1131
    and the FORMAT clause of the COLUMN command in
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12013.htm#BACHCABF

  • How to set fetchsize of sql Query when using Database Adapter.

    Hi All,
    I am using DatabaseAdapter to connect to database and retriving huge amount of data.For improvement in the performance I want to set the "fetchsize" of sql query. I know fetchsize can be preset in Java using Jdbc 2.0 API.Please let me know how to set this value in BPEL when using DBAdapter?
    Thanks
    Chandra

    I talked to the developer of the db adapter - and he told me this feature will be available in BPEL PM 10.1.3 (which is supposed to be production later this year, and a public beta soon). If this is an emergency I would recommend going throug Oracle support and have them file an enhancement for 10.1.2.0.2
    hth clemens

  • How to set a variable in portal session using web dynpro java.

    Hi,
    I have created a web dynpro application, which is running inside portal. I have created a role called "R1". Inside role R1, i have created 3 workset W1, W2 and W3. and inside each workset i have some pages and iviews.
    My requirement is when user logins to the portal , and when he clicks on role R1 for the first time, a login page should come (so that we can do revalidation), and when he enters his password again in that login page , then only workset W1, W2 and W3 should be visible/accessible to him and after successful revalidation, if he clicks again on role R1, in that particular portal session, than that login page should not come.
    for this, i thought i will set a variable in portal session, whenever user successfully revalidated himself, and if after successful revalidation he clicks again on role R1, i will check in doinit method of webdynpro whether variable is set or not (which i already set on successful revalidation), and if it is set then i will do Donavigation else i will present login page to the user.
    Can anyone tells me how to set a variable in portal session using web dynpro java.
    thanks
    Arush

    Hi,
    Try this:
    WDScopeUtil.put(WDScopeType.CLIENTSESSION_SCOPE, key, value)
    WDScopeUtil.get(WDScopeType.CLIENTSESSION_SCOPE, key)
    Ex:
    WDScopeUtil.put(WDScopeType.CLIENTSESSION_SCOPE,"Key1","Value1");
    String value1=WDScopeUtil.get(WDScopeType.CLIENTSESSION_SCOPE,"Key1").toString();
    /people/william.cui/blog/2007/02/12/sharing-session-context-between-parent-and-external-windows-running-on-same-host
    Regards,
    Charan

  • How to set value for trim and bleed using jsx script?

    I have tried using bleedoffsetRect but somehow it is not working. Can anybody please help me on how to set value for trim and bleed using jsx script? Any example will be highly appreciated.
    Following is the code I am trying with:
    var _saveName = new File ( root_path +_strFileName+".pdf");
        var _saveOpts = new PDFSaveOptions();
        _saveOpts.printerResolution = 300; 
        var bleedarray = new Array();
         bleedarray[0] =9.00;
         bleedarray[1]=9.00;
         bleedarray[2]=9.00;
         bleedarray[3]=9.00;    
        _saveOpts.bleedOffsetRect = bleedarray;

    I would expect although I've not actually tried this for the bleed off set box to be larger than the artbaord and the first two values to be negative or 0…
    var bleedarray = new Array(-9,-9,artboard.width+9,artboard.height+9);
    Where 'artboard.width' & 'artboard.height' you will have calculated from your file. An Array(9,9,9,9); would not constitute any boxes bounds.

  • How to set request number of info package using start routine

    Hi All,
    I have a specific requirement in which I need to upload only selective request nos from PSA to DSO.
    Any one can suggest how to set request number of info package using start routine or any other mode so that only selective request should proceed using DTP?
    Thanks
    Sangita

    You'll probably want to do this in a start routine.  It is probably not advisable to hard-code the technical name of the InfoPak.  They seem to remain the same upon transport, unlike DTP technical names which are locally generated.
    I would do a SQL select like this in a start routine, and then filter based on the results of the SQL.  You'll probably want to sort the results by date and time, both descending.  Or do a MAX in the SQL.
    Please let me know if this isn't clear.
    select q~rnr q~logdpid q~tdatum q~tuzeit
    from rsreqdone as q
      inner join rsldpio as p
        on p~logdpid = q~logdpid
    where p~objvers = 'A'
    and p~logdpid like 'ZPAK%'
    and p~source = 'your data source'

  • How to set default value of a table using sequence number

    Dear all,
    Does any body know that how to set default value of a table
    using sequence number.
    But I don't want to use trigger to do that.
    Please help!!!!
    Eldon

    Andrew is essentially correct. You can get around the trigger,
    but not the sequence, if (and this may be a very big if) you can
    guarantee that every time an insert is done into the table, from
    whatever source, the statement looks something like
    INSERT INTO tbl VALUES (sequence.nextval,other_columns_values)

  • HT2534 I followed the instructions on how to set up an Apple ID without using a creditcard or iTunes card many times on several devices, but I still do not get the NONE option on the billing page. Please help??

    I followed the instructions on how to set up an Apple ID without using a creditcard or iTunes card many times on several devices, but I still do not get the NONE option on the billing page. Please help??

    Follow the steps on this page when creating a new account http://support.apple.com/kb/HT2534
    e.g. if using a computer's iTunes : https://discussions.apple.com/message/24321860
    If you've already created an account and are being prompted to review it when trying to see it then you could see if this post by mountaingoatgirl lets you do so without needing to enter credit card details : https://discussions.apple.com/message/24303054

  • How to schedule jar command on linux in /etc/crontab

    hello ,
    i am facing a problem in scheduling java -jar myjarfilename.jar in crontab in linux .i have tried by giving the command directly in the /etc/crontab entry and running it as a script from the crontab but in vain.please give me some ideas how to schedule this jar command on linux in /etc/crontab.
    thanx

    Stuff the above accept for the STARs read about them;
    This a REAL BASIC senerio. ASSUMING you are paulb the user
    To add a cron job it is BEST to use "crontab"
    1) MAKE SURE YOU CAN USE CRONTAB
    check "/etc/cron.d/cron.deny " does not exist and it does not have your username in it
    If it does, you will have to remove your name somehow or just delete the file.
    2) MAKE YOUR SCRIPT
    using your fav editor like "joe" or "pico" or err "vi" make a textfile called "home/paulb/hiscript.sh"
    This script is just saying hi in sh and then printing a date when it said hi in the dumbhi.log
    --------start of hiscript.sh----------------
    #!/bin/sh
    echo "hi at";date > /home/paulb/dumhi.log;
    --------end of hiscript.sh----------------3) MAKE SCRIPT EXECUTABLE
    run the command
    "chmod +x /home/paulb/hiscript.sh"4) MAKE A CRONTAB FILE FOR YOURSELF
    using your fav editor like "joe" or "pico" or err "vi" make a textfile called "home/paulb/paulb.ct"
    This is EVERY 1 min run that script. See u need to know the commands
    -----start of paulb.ct-------------------------
    1  *  *  *  *   home/paulb/hiscript.sh
    -----end of paulb.ct-------------------------5) ADD THE CRON JOB
    run the command
    "crontab /home/paulb/paulb.ct"All done

  • How to set user command in module pool program

    hello expert,
    like in report: PARAMETERS: RB_SING RADIOBUTTON GROUP RAD3 DEFAULT 'X' USER-COMMAND C1.
    in module pool program, hw to set user-command in screen.
    srinivas

    PBO.
    Call subscreen <SUBSCREEN NAME> Including sy-repid(PROGRAM NAME) G_DYNNR(SCREEN NUMBER'.
    PAI
    module user_command.
    Call subscreen <subscreen name>
    Module user_command.
    case sy-ucomm.
    when 'BUT1'.
    g_dynnr = 200.
    when 'BUT2'.
    g_dynnr = 300.
    Endcase.
    end module
    REPORT demo_dynpro_tabstrip_server.
    CONTROLS mytabstrip TYPE TABSTRIP.
    DATA: ok_code TYPE sy-ucomm,
    save_ok TYPE sy-ucomm.
    DATA number TYPE sy-dynnr.
    mytabstrip-activetab = 'PUSH2'.
    number = '0120'.
    CALL SCREEN 100.
    MODULE status_0100 OUTPUT.
    SET PF-STATUS 'SCREEN_100'.
    ENDMODULE.
    MODULE cancel INPUT.
    LEAVE PROGRAM.
    ENDMODULE.
    MODULE user_command INPUT.
    save_ok = ok_code.
    CLEAR ok_code.
    IF save_ok = 'OK'.
    MESSAGE i888(sabapdocu) WITH 'MYTABSTRIP-ACTIVETAB ='
    mytabstrip-activetab.
    ELSE.
    mytabstrip-activetab = save_ok.
    CASE save_ok.
    WHEN 'PUSH1'.
    number = '0110'.
    WHEN 'PUSH2'.
    number = '0120'.
    WHEN 'PUSH3'.
    number = '0130'.
    ENDCASE.
    ENDIF.
    ENDMODULE.
    flow logic of the screen 100
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    CALL SUBSCREEN SUB INCLUDING SY-REPID NUMBER.
    PROCESS AFTER INPUT.
    MODULE CANCEL AT EXIT-COMMAND.
    CALL SUBSCREEN SUB.
    MODULE USER_COMMAND.
    flow logic of the screen 110
    PROCESS BEFORE OUTPUT.
    PROCESS AFTER INPUT.
    flow logic of the screen 120
    PROCESS BEFORE OUTPUT.
    PROCESS AFTER INPUT.
    flow logic of the screen 130
    PROCESS BEFORE OUTPUT.
    PROCESS AFTER INPUT.
    REGARDS
    VASU

  • How to set up roaming profile on Macs using AD like in windows

    I can bind the workstations to the domain fine.. But can someone direct me to instructions of how to set up the roaming profiles ?
    What steps do I need on the server ? This is what I've done so far.
    I already have OU's for the departments and the users have a shared folder inside their department folder.... \\server\shared_folder\user
    I have done the usual things with AD as far as the profile settings on the windows server.
    Am currently running Mac OS 10.5 and above
    My windows AD runs on windows server 2008
    All my windows workstation are able to use roaming profile without a problem.
    So far i have tried the so many avenues including..
    Make sure the Mac systems are joined to the domain controller and an ADS user can log on successfully. Use "Directory Utility" under "Utilities" menu to join the system to the domain.
    Backup all the contents from /Users to the storage or somewhere locally.
    Configure automount - Go to "Utilities" -> "Directory Utility" - Select the domain and click "Show advanced options" - Click "Mounts" tab and add automount as mentioned below. Remote NFS URL: nfs://server_name/share_name/path/to/profile/directory Mount location: /Users Additional mount parameters: -P,-T Apply the settings and this will mount the remote shared folder or we can name it as Roaming Profile Space - under /Users directory
    Enable roaming profile - Go to "Utilities" -> "Directory Utility" - Select the domain and click "Show advanced options" - Click "Services" -> Select "Active Directory" and click "Show advanced option" - Click "User experience" tab and select the option "Create mobile account at login".
    Reboot the system and log in as any ADS user. The Roaming shared folder will be mounted and the user profile will be created on the shared folder
    Can anyone kindly assist me

    Hi Guys, anyone with the Soln...or Tips..Am waiting

  • How to set CORS properties for BLOB Storage using node?

    Hi - I just got started with Azure using a Node-based web site and mobile services.
    I am following various documentation in order to provide an API for users to upload images via a time-restricted SAS for the BLOB Storage.
    In order to upload my image, I need to set the CORS configuration for the BLOB Storage. Unfortunately this cannot be done via the management portal.
    I'm unclear as to how to accomplish this. I'm considering using the startup.js file in my mobile service to make a post request to the BLOB Storage REST API:
    http://msdn.microsoft.com/en-us/library/windowsazure/hh452235.aspx
    Are there appropriate methods in the Node SDK to make this easier, especially the signing part?
    What is the recommended way for setting CORS properties for the BLOB Storage via Node?
    Thanks for your help
    Stefan

    Unfortunately Node SDK does not support CORS functionality yet. Your option would be to write code which consumes the REST API for setting CORS. Not sure if it helps but there's a free tool out there written by my company which you can use to set CORS
    on your storage account. More information about this tool can be found here:
    http://blog.cynapta.com/2013/12/cynapta-azure-cors-helper-free-tool-to-manage-cors-rules-for-windows-azure-blob-storage/
    Hope this helps.

  • How to set up NAT for two servers using same port with ASDM ASA 5505

    Hi there,
    We have a new installation of a ASA 5505 and are trying to get some NAT issues straightened out. Here is the scenario: On our internal network, we have two servers running Filemaker Server, a relational database server that clients connect with using port 5003. Our goal is to be able to allow users from the outside to access either of these servers as needed. I know how to set up a simple static NAT rule and matching Access rule in ASDM which would be fine for a case in which only one server using a given port is running on a network, but for simple static rules I seem to be blocked from entering a different translated port number from the orginal port number, which becomes a problem when two servers we need to access from the outside are running software using the same port number.
    What is the simplest way to address this need? I am guessing that I need to set up a scenario like this, where port 5004 (or any arbitrarily choosen unused port, can be used to access the second server:
    Outside user enters   FQDN:5004  and this translates to Database server # 1 as   192.168.1.40:5003
    and
    Outside user enters   FQDN:5003  and this translates to Database server # 1 as   192.168.1.38:5003
    If so, what is the easist way to get this done? Or is there a better what to handle this scenario?
    Thanks in advance,
    James

    I would create two objects and use object NAT
    object network Obj_5004
    host 192.168.1.40
    object network Obj_5004
    nat (inside,outside) static service tcp 5003 5004
    object network Obj_5003
    host 192.168.1.38
    object network Obj_5003
    nat (inside,outside) static service tcp 5003 5003
    Of course you will need to open your outside interface for tcp ports 5003 and 5004 to make this happen

  • How to set up a FILLABLE timesheet/timecard using Acrobat x?

    I want a FILLABLE timesheet to offer our employees (maybe even online where it will email the info electronically to me?).
    Can Acrobat do time calculations?  If so, how do I set that up (start time-end time=time worked). Do i have to use/enter military time in order to do the calculations?
    Employees work all hours of the day.  And, we only pay by quarter hours, so I only want 4 'minute' options for them to choose from as a drop down (00, 15, 30, 45...which would calculate to the x hour, x.25, x.50, x.75).
    Then, I want to total all seven days of the week and give a grand total for the week.
    Help!

    The service Phillip is referring to is a part of the Livecycle family and it's called Livecycle Extensions for Reader and yes, it is very expensive. It depends on your individual use as to how much it costs but when we had used the service before it was in the $10K per form range and yes, it requires a windows based server.
    So, it depends on how many employees you have on whether you could use the enabling for Reader features offered for free in Acrobat. If you have 20-30 employees, even with new hires you should be ok (unless you have some sort of ugly turnover). If you have 400-500 employees, you would probably be over the limit in no time so in that case I would investigate other options (like possibly a web form that submits XML.)

  • How to create another instance on linux without using dbca?

    I have an oracle database (or instance) named viton1 on my linux.
    Now I want to create another instance (or database) named viton2 on my linux without using dbca.
    I know I can create a database by runing a sql script : create database ......
    But my problem is:
    before I can run the script for create database, I must startup nomount database.
    Before I can startup nomount the instance, I have to connect the instance.
    So I do it:
    $sqlplus /nolog
    sql > conn sys/password as sysdba;
    sql >
    then I connected to viton1, that's not what I expected.
    In order not to connect to viton1, I set ORACLE_SID=viton2. Then it show error: insufficient privilege.
    Who can tell me the right way to create another database without using dbca?
    Thanks in advance.

    In $ORACLE_BASE/admin you should have a directory structure for the viton1 instance : create a similar directory structure for the viton2 instance.
    In the pfile subdirectory create the initviton2.ora file : you can copy it from initviton1.ora file and change all occurrences of viton1 to viton2.
    At OS prompt : export ORACLE_SID=viton2, then
    sqlplus /nolog
    conn / as sysdba
    startup nomount pfile=$ORACLE_BASE/admin/viton2/pfile/initviton2.ora
    then CREATE DATABASE.....

Maybe you are looking for

  • ACS 5.4 How to change CLI password?

    Anyone know how to change the ACS 5.4 CLI password? I found the command "acs reset-password".  But it seems to reset the GUI password instead of CLI password. Thank you very much!

  • Is it normal streaming video lagged through AirPlay?

    I just got new iPad and new AppleTV, I played streaming video on my iPad, (which is an app using wi-fi bandwith), I also turn on AirPlay on iPad and mirror to TV through AppleTV2. The router is AirPort, I believe the mirroring also use wi fi bandwith

  • Access the New Record in Triggers as a row Type variable

    We are trying to access a record of the being inserted table as a row type variable in the After Insert database Trigger. is it possible, if yes could you please let me know of the syntax? For eg: Table Name being inserted VEHICLE //Declare section o

  • Random display switching and weird behaviour. [Solved]

    Hey guys and girls Have had Arch running smoothly for a few months now and have avoided posting for minor issues, because your forums are so ace and have been able to find everything I need. Have to say out of all the distros that I've tried Arch sim

  • Cannot logon with Fingerprint in Win10 TP

    I have Lenovo ThinkPad T410 with a fingerprint device that I use all the time I had a user with my fingerprint configured I added my computer to our company's domain and then deleted the other user account as it is not in use anymore now, when I try