At what path .tns exists in Application Server in UNIX machine for 10G ds

Hi
I am working on 10g developer suit.
Could you please tell me where the .tns file exists in the AS (application server)
I am having AS installed in UNIX machine .
thanks

Tried here?
$<YOUR_AS_HOME>/network/admin
There you can find tnsnames.ora
-Arun

Similar Messages

  • Validate whether a file path or directory exists on application server

    hi,
    I need to validate if a directory or file path exist on application server. How do we do that?
    thanks.

    DATA:
        ltp_bom                  TYPE sychar01,
        ltp_encoding             TYPE sychar01,
        ltp_codepage             TYPE cpcodepage.
    Processing --------------------------------------------------------- *
      TRY.
          CALL METHOD cl_abap_file_utilities=>check_utf8
            EXPORTING
              file_name         = itp_filename
              max_kb            = -1
              all_if_7bit_ascii = abap_true
            IMPORTING
              bom               = ltp_bom
              encoding          = ltp_encoding.
        CATCH cx_sy_file_open .
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
                  RAISING file_open_error.
        CATCH cx_sy_file_authority .
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
                  RAISING file_authority_error.
        CATCH cx_sy_file_io .
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
                  RAISING file_io_error.
      ENDTRY.

  • What is procedure to make application server for existing server

    Hello Friends,
    What is procedure to make application server for existing server due to server load and no. of user..
    Thanks in advance.
    Regards,
    Sachin

    hi
    good
    go through these links,this will gives you complee idea about the creating instances in application serverl.
    http://www.erpgenie.com/sap/basis/
    http://www.sapdevelopment.co.uk/file/file_disall.htm
    thanks
    mrutyun^

  • What is an Instance in application server and how to create an Instance?

    Hi All,
    What is an Instance in application server and how to create an Instance? What is the procedure to get file path from an Instance?
    What is the significance of Instance in ABAP?

    hi
    good
    go through these links,this will gives you complee idea about the creating instances in application serverl.
    http://www.erpgenie.com/sap/basis/
    http://www.sapdevelopment.co.uk/file/file_disall.htm
    thanks
    mrutyun^

  • In what tables does Data in Application Server save ?

    Dear Gurus,
    In what tables does Data in Application Server save ?
    Does the code we write is saved in some tables (or) saved in
    repository ??
    what is a repository ???
    what are the tables where repository data is saved ????

    >
    Srikar M wrote:
    > Dear Gurus,
    >
    > In what tables does Data in Application Server save ?
    All of them
    >
    Srikar M wrote:
    > Does the code we write is saved in some tables (or) saved in
    > repository ??
    Both
    >
    Srikar M wrote:
    > what is a repository ???
    >
    The place where workbench objects are saved
    >
    Srikar M wrote:
    > what are the tables where repository data is saved ????
    Many and various.  Some not accessible via ABAP.

  • How can I know the version of Application Server Java Virtual Machine

    How can I know the version of Application Server Java Virtual Machine?
    Thanks a lot.

    Thats easy. Your jdk/jre are located in the App Server home directory. Just run the java command under the jdk directory with the "-version" switch and it will provide you with detailed information about your VM.
    For example if you're doing it at command prompt it will be something like
    java -versionI hope this will be useful to you.
    Regards,
    Wasif

  • Distributing the Application Server over multiple machines

    Hi,
    I want to deploy Application Server over multiple machines .I am using multiverse server it has nine sub servers and i want to deploy those servers in different system to achieve good performance and load balancing .Please help me
    Thanks in advance
    hemavathi.J

    what do you mean by 9 sub servers??...do you mean you have 9 different profiles for the same instance of the server or there are 9 different clusters with one profile each??

  • File not exist in application server

    Dear experts,
                        Can anybody told me that if file not exist into the application server then what will happen to open dataset statement?
    it will show error or what?
    regards,
    sameek.

    Dear Sameek,
    Please check in code if file is exist then proceed next statement otherwise should not proceed with next statement.
    Best Regards
    Arun Jaiswal

  • How to check if file already exist in application server?

    Hi there,
    Does anyone know a quick way to check if a file has already exists in an application server?
    Thanks in advance.
    Cheers.

    Call the function PFL_CHECK_OS_FILE_EXISTENCE.
    Best regards Jack
    FUNCTION PFL_CHECK_OS_FILE_EXISTENCE.
    ""Lokale Schnittstelle:
    *"       IMPORTING
    *"              FULLY_QUALIFIED_FILENAME LIKE  TPFHT-PFFILE
    *"       EXPORTING
    *"              FILE_EXISTS LIKE  BTCH0000-CHAR1
      OPEN DATASET FULLY_QUALIFIED_FILENAME FOR INPUT.
      IF SY-SUBRC EQ 0.
         FILE_EXISTS = 'X'.
         CLOSE DATASET FULLY_QUALIFIED_FILENAME.
      ELSE.
         CLEAR FILE_EXISTS.
      ENDIF.
    ENDFUNCTION.

  • File exist in application server directory

    Hi there,
    On my SAP server, i have a directory created specifically to store input files generated from other external systems.
    From my ABAP program, i need to check if any file exist on that application server directory. If yes, then i will proceed to read the input file and process it.
    If it's empty, then output message that file is not available.
    Are there any FM to do this?

    you can use this code to do this...
    Upload data from file
      DATA: lv_filename  TYPE string, "File name
            lv_line      TYPE string. "One line entry in a file
      lv_filename = iv_file_name.
      IF iv_location = gc_application.
        IF iv_record_count IS SUPPLIED.
      Open file
          IF gv_file IS INITIAL.
            OPEN DATASET lv_filename FOR INPUT IN TEXT MODE
                                     ENCODING DEFAULT
                                     IGNORING CONVERSION ERRORS.
            IF sy-subrc <> 0.
              RAISE file_open_error.
            ENDIF.
            gv_file = gc_check.
          ENDIF.
      Read data
          DO iv_record_count TIMES.
            READ DATASET lv_filename INTO lv_line.
            IF sy-subrc <> 0.
      Close file
              CLOSE DATASET lv_filename.
              IF sy-subrc NE 0.
                RAISE file_close_error.
              ENDIF.
              CLEAR gv_file.
    Exit from the loop
              EXIT.
            ENDIF.
            IF iv_separator IS NOT INITIAL.
              CALL FUNCTION 'Z_WM_SPLIT_DATA'
                EXPORTING
                  iv_data      = lv_line
                  iv_separator = iv_separator
                CHANGING
                  ct_tab_data  = ct_tab_data.
            ELSE.
              CHECK NOT lv_line IS INITIAL.
              APPEND lv_line TO ct_tab_data .
            ENDIF.
          ENDDO.
        ELSE.
      Open file
          OPEN DATASET lv_filename FOR INPUT IN TEXT MODE
                                   ENCODING DEFAULT
                                   IGNORING CONVERSION ERRORS.
          IF sy-subrc <> 0.
            RAISE file_open_error.
          ENDIF.
      Read data
          DO.
            READ DATASET lv_filename INTO lv_line.
            IF sy-subrc <> 0.
              EXIT.
            ENDIF.
            IF iv_separator IS NOT INITIAL.
              CALL FUNCTION 'Z_WM_SPLIT_DATA'
                EXPORTING
                  iv_data      = lv_line
                  iv_separator = iv_separator
                CHANGING
                  ct_tab_data  = ct_tab_data.
            ELSE.
              CHECK NOT lv_line IS INITIAL.
              APPEND lv_line TO ct_tab_data .
            ENDIF.
          ENDDO.
      Close file
          CLOSE DATASET lv_filename.
          IF sy-subrc NE 0.
            RAISE file_close_error.
          ENDIF.
        ENDIF.

  • What is diff between oracle application server and weblogic server?

    what is the exact difference between oracle application server and weblogic application server?

    The difference between Oracle Application Server AND WebLogic Server has been discussed in a lot of forums dated 2008 and earlier comparing OAS10g with WebLogic10.0/WebLogic9.2
    But, now since Oracle has taken over WebLogic, this is not really important.
    Now, OAS has no further releases post 10g. WebLogic Server will be the Oracle's strategic application server going forward.
    So, if your query is for choosing one of them for a new environment, you are better of with WebLogic Server 10.3.6 OR WebLogic Server 12g
    As we will not have further releases of OAS and also OAS10g will be end of life soon, we recommend Oracle WebLogic Server.
    If you still want to know the differences, here is one such old oracle documentation link that talks about it
    http://docs.oracle.com/cd/B10467_16/migrate.904/b10425/asmwl02.htm
    Arun

  • What are the differences between application server and webserver

    pls give the differences between application server and web server with examples

    Google.
    Example
    http://www.google.ca/search?hl=en&q=Do+your+own+damn+searching&meta=

  • What is difference between Oracle Application Server and OC4J

    Thanks in advance
    Regards
    Sunil

    OC4J is only the Oracle Container for Java, using a inner HTTP Server.
    Oracle Application Server, the components depend of the installation type.
    Components
    1. OC4J : Oracle container for Java ... without inner HTTP Server, this component use Apache to presentation tier.
    2. OC4J_SECURITY (SSO) : Single SingOn
    3. Forms and Report Server, Wireless ....
    4. Apache : Presentation Tier (use .so or .dll) for OC4J
    All the components of this suite are controlled by the OPMN (This component is installed in the OC4J).
    OPMN : Oracle Process Manager to control all the components.

  • What are components of Oracle Application server ?

    Hello Experts,
    I am little confused about Oracle Application Server 10g.
    I have done some research to collect the information about the Oracle Application Server 10g.
    As for my study, The below are the key components of Oracle Application server.
    1. Oracle HTTP Server. (Middle tier component)
    2. OC4J (Middle tier component)
    3. Oracle AS Webcache (Middle tier component)
    4. Oracle AS Portal (Middle tier component)
    5. Oracle BI (Middle tier component)
    6. OID (Infra tier component)
    7. Oracle AS Metadata Repository (Infra tier component)
    Does that mean, if I install Oracle Application Server(both the middle tier and infra tier), I can get all the above components ?
    If that is right, Are all these components be installed in separate individual oracle home's or in a single oracle home ?
    I appreciate any responses.
    Regards,
    Ravi k

    Please see the following note on Metalink for most updated Certification Matrix for the OS, your machine and Oracle AS products.
    Note Id: 742649.1
    If you are using an AMD 64bit machine, then paritcularly check line 88. If you have an intel, see particularly 125 and 126 to see the relevant patches to be applied before installation of your type of AS software.
    hope that helps!
    AMN

  • How to download files from Application Server of Unix o.s to local director

    Hi All,
    I am trying to download files from Apllication server of Unix operating Systems to local file in excel sheet format using a z-program.but whenever I am trying to use OPEN dataset ........
    it is showing sy-subrc = 8.
    Can I have any clew please.
    Thanks in advance,
    Regards,
    AMEER.

    Hi Sreekanth,
    Thanks a lot for quick reply.I have to download that files from z-program only. I am giving you my code below.
    *& Report  ZTRAK_DOWNLOAD                                         *
    REPORT  ZTRAK_DOWNLOAD  MESSAGE-ID ZCT                   .
    SELECTION-SCREEN BEGIN OF BLOCK DOWNLOAD WITH FRAME TITLE TEXT1.
      PARAMETERS :
           SERDIR LIKE RLGRAP-FILENAME DEFAULT '/usr/trak',
           LOCDIR LIKE RLGRAP-FILENAME DEFAULT 'C:\Trak'.
    SELECTION-SCREEN END OF BLOCK DOWNLOAD .
    SELECTION-SCREEN BEGIN OF BLOCK INFO2 WITH FRAME.
           SELECTION-SCREEN COMMENT 1(79) TEXT2.
           SELECTION-SCREEN SKIP.
           SELECTION-SCREEN COMMENT 1(79) TEXT3.
    SELECTION-SCREEN END OF BLOCK INFO2 .
    SELECTION-SCREEN BEGIN OF BLOCK INFO3 WITH FRAME.
           SELECTION-SCREEN COMMENT 1(79) TEXT4.
           SELECTION-SCREEN SKIP.
           SELECTION-SCREEN COMMENT 1(79) TEXT5.
            SELECTION-SCREEN SKIP.
           SELECTION-SCREEN COMMENT 1(79) TEXT6.
           SELECTION-SCREEN SKIP 1.
           SELECTION-SCREEN COMMENT 1(79) TEXT7.
           SELECTION-SCREEN SKIP 2.
           SELECTION-SCREEN COMMENT 1(79) TEXT8.
    SELECTION-SCREEN SKIP 1.
           SELECTION-SCREEN COMMENT 1(79) TEXT9.
    SELECTION-SCREEN END OF BLOCK INFO3.
    *- Internal Table to output data in Excel
    DATA: BEGIN OF tab_excel OCCURS 0,
            col1(50),
            col2(132),
            col3(255),
            col4(100),
            col5(100),
            col6(50),
            COL7(60),
            col8(30),
            col9(30),
            col10(30),
            col11(20),
            col12(15),
            col13(15),
          END OF tab_excel.
    DATA: FILE LIKE RLGRAP-FILENAME .
    DATA: W_DATASET(80).
    INITIALIZATION.
      TEXT1  = 'Download Reports'.
      TEXT2 = 'The Program downloads the reports generated by Trak'.
      TEXT3 = 'Utility from Server to Local PC.'.
      TEXT4 = 'Check the following before executing the Program.'.
      TEXT5 = '     1. A valid Server path is provided.'.
      TEXT6 = '     2. A valid Local PC path is provided.'.
      TEXT7 = '     3. Local PC has 10 MB free space.'.
      TEXT8 = 'The report can be executed in the forground.'.
    TEXT9 =
    'The report should be executed after execution of Transaction TRAK'.
    AT SELECTION-SCREEN.
    IF SERDIR EQ ''.
    MESSAGE E001(ZCT).
    ENDIF.
    IF LOCDIR EQ ''.
    MESSAGE E002(ZCT).
    ENDIF.
    START-OF-SELECTION.
    Download ABAP Development Summary Report
    FILE =  '\ABAP_Report_Developments.XLS'.
    CONCATENATE LOCDIR FILE INTO FILE.
    W_DATASET = '/ABAP_Report_Developments.dat'.
    CONCATENATE SERDIR W_DATASET INTO W_DATASET.
    PERFORM INIT.
    Download BDC Development Report
    FILE =  '\BDC_Developments_Report.XLS'.
    CONCATENATE LOCDIR FILE INTO FILE.
    W_DATASET = '/BDC_Developments_Report.dat'.
    CONCATENATE SERDIR W_DATASET INTO W_DATASET.
    PERFORM INIT.
    Download Development Summary Report
    FILE = '\Developments_Summary_Report.XLS' .
    CONCATENATE LOCDIR FILE INTO FILE.
    W_DATASET = '/Developments_Summary_Report.dat'.
    CONCATENATE SERDIR W_DATASET INTO W_DATASET.
    PERFORM INIT.
    Download Enhancement Development Report
    FILE =  '\Enhancement_Developments_Report.XLS'.
    CONCATENATE LOCDIR FILE INTO FILE.
    W_DATASET = '/Enhancement_Developments_Report.dat'.
    CONCATENATE SERDIR W_DATASET INTO W_DATASET.
    PERFORM INIT.
    Download field exit Development Report
    FILE =  '\Field_Exit_Developments_Report.XLS'.
    CONCATENATE LOCDIR FILE INTO FILE.
    W_DATASET = '/Field_Exit_Developments_Report.dat'.
    CONCATENATE SERDIR W_DATASET INTO W_DATASET.
    PERFORM INIT.
    Download Frequency & Purpose Report
    FILE =  '\Frequency_And_Purpose_Report.XLS'.
    CONCATENATE LOCDIR FILE INTO FILE.
    W_DATASET = '/Frequency_And_Purpose_Report.dat'.
    CONCATENATE SERDIR W_DATASET INTO W_DATASET.
    PERFORM INIT.
    Download Function Group Developments Report
    FILE =  '\FunctionGroup_Developments_Report.XLS'.
    CONCATENATE LOCDIR FILE INTO FILE.
    W_DATASET = '/FunctionGroup_Developments_Report.dat'.
    CONCATENATE SERDIR W_DATASET INTO W_DATASET.
    PERFORM INIT.
    Download Function Module Developments Report
    FILE = '\FunctionModule_Developments_Report.XLS' .
    CONCATENATE LOCDIR FILE INTO FILE.
    W_DATASET = '/FunctionModule_Developments_Report.dat'.
    CONCATENATE SERDIR W_DATASET INTO W_DATASET.
    PERFORM INIT.
    Download Include Developments Report
    FILE =  '\Include_Developments_Report.XLS'.
    CONCATENATE LOCDIR FILE INTO FILE.
    W_DATASET = '/Include_Developments_Report.dat'.
    CONCATENATE SERDIR W_DATASET INTO W_DATASET.
    PERFORM INIT.
    Download UserGroup Developments Report
    FILE =  '\UserGroup_Developments_Report.XLS'.
    CONCATENATE LOCDIR FILE INTO FILE.
    W_DATASET = '/UserGroup_Developments_Report.dat'.
    CONCATENATE SERDIR W_DATASET INTO W_DATASET.
    PERFORM INIT.
    Download Modified_Standard_SAP_Objects_Report
    FILE = '\Modified_Standard_SAP_Objects_Report.XLS' .
    CONCATENATE LOCDIR FILE INTO FILE.
    W_DATASET = '/Modified_Standard_SAP_Objects_Report.dat'.
    CONCATENATE SERDIR W_DATASET INTO W_DATASET.
    PERFORM INIT.
    Download Include Developments Report
    *FILE =  '\Include_Developments_Report.XLS'.
    *CONCATENATE LOCDIR FILE INTO FILE.
    *W_DATASET = '/Include_Developments_Report.dat'.
    *CONCATENATE SERDIR W_DATASET INTO W_DATASET.
    *PERFORM INIT.
    Download SAP Script Developments Report
    FILE =  '\SAP_Scipt_Developments_Report.XLS'.
    CONCATENATE LOCDIR FILE INTO FILE.
    W_DATASET = '/SAP_Scipt_Developments_Report.dat'.
    CONCATENATE SERDIR W_DATASET INTO W_DATASET.
    PERFORM INIT.
    Download Transaction Developments Report
    FILE =  '\Transaction_Developments_Report.XLS'.
    CONCATENATE LOCDIR FILE INTO FILE.
    W_DATASET = '/Transaction_Developments_Report.dat'.
    CONCATENATE SERDIR W_DATASET INTO W_DATASET.
    PERFORM INIT.
    Download User Exits Developments Report
    FILE =  '\UserExits_Reports.XLS'.
    CONCATENATE LOCDIR FILE INTO FILE.
    W_DATASET = '/UserExits_Reports.dat'.
    CONCATENATE SERDIR W_DATASET INTO W_DATASET.
    PERFORM INIT.
    Download ABAP Query Developments Report
    FILE =  '\ABAPQuery_Developments_Reports.XLS'.
    CONCATENATE LOCDIR FILE INTO FILE.
    W_DATASET = '/ABAPQuery_Developments_Reports.dat'.
    CONCATENATE SERDIR W_DATASET INTO W_DATASET.
    PERFORM INIT.
    Download Functional Area Developments Report
    FILE =  '\FunctionalArea_Developments_Report.XLS'.
    CONCATENATE LOCDIR FILE INTO FILE.
    W_DATASET = '/FunctionalArea_Developments_Report.dat'.
    CONCATENATE SERDIR W_DATASET INTO W_DATASET.
    PERFORM INIT.
    MESSAGE S003(ZCT) WITH LOCDIR.
    END-OF-SELECTION.
    This routine checks whether file exists if yes downloads it to
    the Local PC
    FORM INIT.
    OPEN DATASET W_DATASET FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    DO.
       IF SY-SUBRC <> 0.
          EXIT.
       ENDIF.
       READ DATASET W_DATASET INTO  tab_excel.
       APPEND tab_excel.
       CLEAR tab_excel.
    ENDDO.
         PERFORM DOWNLOAD_FILE.
    ENDFORM.
    This routine downloads the data in an XL format on local PC
    FORM Download_File .
      CALL FUNCTION 'WS_DOWNLOAD'
                EXPORTING
                     FILENAME                = FILE
                     FILETYPE                = 'DAT'
                TABLES
                     DATA_TAB                = tab_excel
                EXCEPTIONS
                     FILE_OPEN_ERROR         = 1
                     FILE_WRITE_ERROR        = 2
                     INVALID_FILESIZE        = 3
                     INVALID_TYPE            = 4
                     NO_BATCH                = 5
                     UNKNOWN_ERROR           = 6
                     INVALID_TABLE_WIDTH     = 7
                     GUI_REFUSE_FILETRANSFER = 8
                     CUSTOMER_ERROR          = 9
                     OTHERS                  = 10.
        IF sy-subrc <> 0.
         message ''.       " Error in file transfer
        ELSE.
          CLEAR TAB_EXCEL.
          REFRESH TAB_EXCEL.
          FILE = ''.
          W_DATASET = ''.
        ENDIF.
    ENDFORM.
    I have created those files in Application Server running in another z-program in background mode.Then I am trying to download those files using above the program.I am creating those trak/Trak files manually and I can able to see those files in A.S level.But when downloading the same files I am facing the problem.
    regards,
    Ameer

Maybe you are looking for

  • TAX condtion is manual and with Cal type is 'B'  fixed amt

    Hello Team, I am new to SCN, Need Help on below issue, Requirement : In my Client Process, Only Tax value (manually condition maintained)  need to settle to the customer It is like a Credit memo and Debit memo Process. (NO delivery and PGI). Reason :

  • How can i message out the unexisted material group name.

    Selection screen: material group s_maktl is a range, "AA_1" to "ZZ_9". I check the existence of material group in table T023. select * into table i_t023 where maktl in s_maktl. Example, 'UU_3" is not in table. But how can i tell "UU_3" is not existed

  • Translation of Rooms

    We want to translate the objects of an existing room. Is it possible? I also find no way to translate an existing template. Any ideas? EP6 SP2 Patch 29 Bye Sybille

  • HELP global temporary table ----URGENT

    HI ALL, create global temporary table FLIGHT_SCHEDULE ( STARTDATE DATE, ENDDATE DATE, COST NUMBER ) on commit preserve rows; I a not able to get return value in cursor but if this table is normal i.e. not temprary then it is returnng cursor ORA-24338

  • How do you rotate pdf's

    is it possible to rotate PDF 's? if so how