Example needed

Hi,
what should be edited in tnsnames.ora and listener.ora file to access the database from client to server

From one my 10g servers, I have below, hope it helps
listener.ora
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = /u01/oracle/product/10.2.0)
      (PROGRAM = extproc)
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = uk-db1.cna)(PORT = 1521))
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
  )tnsnames.ora:
MYDB1 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = uk-db1.cna)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = MYDB1.uk-db1.cna)
  )

Similar Messages

  • Webutil_host.blocking( ) example needed  * SOLVED *

    Hello, I need to get the name of the UNIX application server from my forms 10g program. I'm calling pid := webutil_host.blocking('uname -n') but it fails with a return code of 2 no matter how I format the command ('ksh -c "uname -n"', etc). subsequent calls to outp := webutil_host.get_standard_output(pid) or outp := webutil_host.get_standard_error(pid) don't seem to work either as trying to display outp(0), etc display nothing.
    webutil functionality is not being called in pre-form or when-new-form-instance (before webutil is instantiated).
    Can anyone point me to a working example of getting output from a UNIX command?
    Thanks,
    Gary

    Ok, here's how I did it, turned out to be pretty simple:
    FUNCTION get_oas_name RETURN varchar2 IS
      fp text_io.file_type;
      output varchar2(30);
    BEGIN
      host('/bin/uname -n > /tmp/oasname');
      fp := text_io.fopen('/tmp/oasname','r');
      text_io.get_line(fp, output);
      text_io.fclose(fp);
      return output;
    END;Gary

  • Script for moving multiple subtitle clips in the works - EXAMPLES NEEDED!

    Hi everyone!
    One severe deficiency of DVD Studio Pro is the inability to move multiple subtitle clips back or forward in a track by an arbitrary offset.
    I ran into this problem while I was creating a DVD from an EyeTV recording of a DVB broadcast, the subtitles from which have to be extracted to a SON file and a bunch of .bmp images with a separate piece of software, ProjectX. For some reason, ProjectX messed up the subtitle timecodes, so I had to move the entire track forward by a fixed amount. Unable to do this inside DSP, and unable to find tools that would do this for SON files, I set out to code my own tool with Python.
    Currently, I have a very simplistic working version of the script, which I successfully used to shift the timecodes of the aforementioned SON file.
    This got me thinking: I can't be the only one who has faced this problem. So, in the spirit of giving something back to the community, I thought I'd try my hand at turning this little script into a versatile tool for timescaling several different subtitle formats.
    If possible, I would like to receive real-life examples of several different plaintext (no binary formats, thanks) subtitle formats from you guys, both those that DSP supports and those that it doesn't.
    For now the tool only shifts entire tracks and works on the command line, but who knows, maybe I'll create a GUI at some point and add the ability to shift specific subtitle clips instead of whole tracks - time permitting, of course.
    If you think you might have some juicy subtitles laying around, please reply or contact me directly by e-mail: elamaton (at) nic.fi. Don't worry, I won't redistribute anything you send me, it will only be used as test data.
    iMac Core Duo 20"   Mac OS X (10.4.7)  

    Sounds like a very good idea... but have you seen Subtitler:
    http://www.versiontracker.com/dyn/moreinfo/macosx/26322
    Not to say you won't make a better version, and I'd be delighted if you did! Manipulating subs in DVDSP is not something I do any more - I use an external text editor for any job where more than a few subs are needed.
    The problem in DVDSP is that you cannot extract the subs directly, you have to export an track item description which has the subs and time code buried within the XML. You might find that PHP will give you a web based tool to extract the subs and time codes and write a text file, which you can then manipulate.
    In fact, wouldn't a web based tool be a good idea? People could upload the track description, it would export the subs and you could get it to adjust the timecodes and write a text file back in the correct format to import back in to DVDSP. Once the subs are in a text file it is a simple matter to manipulate them further...

  • Step by step example needed.

    To generate documentation for all classes of project laing in the specified dir.

    More detail is needed. -- which version of Javadoc are you using? Where are the package names (do they all start at the same top-level package)? Generic examples are given at:
    http://java.sun.com/j2se/1.4/docs/tooldocs/solaris/javadoc.html#examples
    -Doug

  • Examples needed for Idoc to file and IDOC to web services

    Hi ,
    Could any one of you give some examples which take me through step-by-step in building IDOC-TO-FILE and IDOC-TO-WEB SERVICES?
    Regards,
    XI Developer.

    Hi,
    For IDOC scenario you need to first do the required configuration:
    ALE configuration for pushing idocs from SAP to XI
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    Testing purpose u can use the below method:
    IDOC testing using WE19
    /people/sameer.shadab/blog/2005/07/25/reposting-idocs-instead-of-recreating--for-testing-purpose-xi
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters --> For Idoc sender: IDOC -file
    IDOC configuration:
    Please follow the below process for configuration:
    Pre-requisites for Inbound IDoc to R/3 from PI:
    Configuration required at Xi side:
    Go to IDX1: configure the port.
    Go to IDX2: load the DOC metadata.
    Go to SM59: Create RFC destination which points to R3 system this is require in the case where your IDOC is sent to R 3 system,
    Configiration required at R3 side:
    Maintain Logical System for PI (SALE transaction):
    Maintain Partner Profile for XI system(WE20):
    Pre-requisites for Outbound IDoc from R/3 to PI:
    Configurations required in R/3:
    Maintain Logical System (SALE)
    Define RFC Destination (SM59) which points to PI system
    Maintain Port (WE21)
    Maintain partner profile. (WE20):
    Maintain Distribution Model (BD64):
    File To IDOC - Part1 (SLD and Design):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&
    File To IDOC - Part2 (Configuration):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part2+(Configuration)&
    File To IDOC - Part3 (Steps required in XI and R3):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&
    SOAP scenario:
    YOu have to first create the WSDL through ID and import that WSDL in to IR external definition.
    Refer the below thread and pdf:
    How to use SOAP adapter:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f9cd4
    SAP AII - How to consume and expose webservices  ?
    Thnx
    Chirag
    reward points if it helps.

  • Help on User Exits with example needed

    Hello Experts,
    Need help/material on:
    1)Understanding Advanced Customization (VOFM, User Exits)
    2)Calculating Freight Charges
    3)Integrating Credit and Payment Cards
    4)Interfacing with Other Modules (MRP, AR)
    5)Using Batch Delivery Processing
    Regards
    Innova

    Hi,
    There are a number of techniques SAP have used over the years to implement user-exits.
    The most recent exits will be found in CMOD. Using CMOD (or SMOD), you can list all the enhancements available, that use this technique. As  usual in the SAP world, the later the version of SAP you are using, the more exits are available.
    Other exits do not use the enhancement technique. For example, in Sales Order Processing (SAPMV45A), SAP have provided empty forms, such as USEREXIT_SAVE_DOCUMENT_PREPARE that can be used to provide customer functionality. With one client, this was used to set the blocking indicator on a sales order, if a manual change had been made to pricing. The requiredscript is written in between form and end form.
    Another technique is the use of validation and substitution rules in the financial modules.
    The best way to find the user exits available is through the IMG. The relevant nodes will take you to where the customisation can be performed. Usually, the associated IMG note details the use of each exit, though there are gaps.
    Award points if helpful.
    Message edited by
    Mohan

  • External/Exec event example needed

    I'm using Acrobat 7. I have a form with interactive fields and scripts that loads from a web server. Using the FDF URL extension it also loads some data into the form. For example:
    http://192.168.30.106:8080/qforms/pdfs/30799_Appraisal_Form_Template.pdf#FDF=http://192.16 8.30.106:8080/qforms/QFormsServlet?FormID=UJ9538R2WGKXWA3GQMEH&Action=load
    I need to run a JavaScript after the FDF is loaded.
    The documentation mentions event External/Exec and says:
    "This event is the result of an external access, for example, through OLE, AppleScript, or loading an FDF."
    Sounds like what I need.
    Where should my JavaScript be put so that it can be triggered by that event?
    Has anyone got this to work? One example is worth 1000 pages of documentation with no examples.
    I have searched the interned for clues but everyone seems to be as clueless as me.
    Any help greatly appreciated.
    Terry

    If the FDF has the associated PDF form file as an internal reference, then you only need to use a URL to open the FDF file and the FDF internal refernce will use that form.
    Web Hosting PDFs
    How to populate a PDF file's form with data from a web server

  • LiveCycle Form Timer Example Needed

    Does anyone have a LiveCycle form count up timer example they can share? The timer needs to have a start and stop buton and a reset/clear button.
    I have seen an example in an Acrobat form but do not know how to create one in LiveCycle.
    Thank you

    I'm not sure why that happens in the preview. Does it stop completely? I've had experience where the preview doesn't work and the stand alone app does and in most cases I'm just happy it works in the standalone and leave it at that.
    For the time format put the following code in the calculate event (or whatever event you want) of the TextField you want to see it formatted, where TextField1 is the field showing the total amount of seconds:
    var
    a = TextField1.rawValue;
    seconds = a % 60;a /= 60;
    minutes = Math.floor(a % 60);
    a /= 60;
    hours = Math.floor(a % 24);
    this.rawValue=hours+":"+(String(minutes).length==1 ? "0":"")+minutes+":"+(String(seconds).length==1 ? "0":"")+seconds;
    I'm sure there's probably a FormCalc trick or display pattern out there that mitigates the need for all that code but this works too.
    Kyle

  • Simple XML DOM Example Needed.

    I need a simple XML DOM Example that reads in the XML and makes objects out of the elements. The tutorial from sun is very sketchy and seems to good far too quickly.
    Thanks,
    Dave.

    You can find some examples:
    http://java.sun.com/xml/jaxp/dist/1.0.1/examples/#building
    http://newinstance.com/writing/javaxml2/javaxml2_examples.html
    http://www.docuverse.com/domsdk/index.html#tutorial
    http://www.devx.com/sourcebank/search.asp

  • How does FDS Data syncronization and change tracking works? example needed

    Hi All,
    I found the FDS feature of detecting the change in data and
    only updating that particular change to the server-side data.
    Could you point out some good implemented examples or
    tutorial. I am not able to find one...........
    Also point out some references/examples on how data
    syncronization works with an example..........
    Thanks in Advance,
    Vijay Karthik

    Hi HustLiliAn,
    Thank you very much for you quick reply. I have to say sorry that my code is only partially belonging to me so I cannot distribute all of them, beg your understanding
    To overcome the delay, I open both Tx and Rx session at the beginning of the code so I don't need to initial and abort session before and after using respectively. It could save a lot of time (I measure the same delay as you shown). I read from WBX application notes (http://files.ettus.com/uhd_docs/manual/html/dboards.html) that if the system is working in the duplex mode, then antenna TX/RX is using for transmission and RX2 is using for reception. I simply tested it and it seems true.
    Since two antennas are working concurrently, the receiving antenna (RX2) can receive packet even it is sent by TX/RX. My problem is, in software level I have used the if structure to make transmission and reception work successively, RX2 can still receive signal sent by TX/RX. That is the real problem. Probably we can write some compensation VI which we can remove it by using the transmitted signal, but I still want to know is there any official solution for it.
    BTW, I use the modulation toolkit. Its demodulation VI is also quite slow.
    Thank you for your reading. I am not a native English speaker, so if my post make you confuse, please let me know and I would like to elaborate it again.

  • Suitable example needed to understand concepts around WSDL and usage in XI

    Hi All,
    How to create an WSDL from Interface Definition?What are all the pre-requisities for this step?
    I know,how to create an interface when a WSDL is provided at the receiver side.However,not getting why we need a WSDL created for the sender side.
    Explanation with example will aid me lot.
    Regards,
    M.Raj

    Hi raj,
    "In case of Sender SOAP adapter,we first create data type,message type,message interface,message mapping and interfce mapping in Integration repository .
    Then,we go to Integration Directory,and create business service and then create a communication channel for same.then we have to choose tools->define webservice "
    until this it is correct....no need to import the developed wsdl into the IR.
    you have to use this generated wsdl in your external application(SOAP sonar ,WebDynproApp. or XML spy ) to invoke the webservice. (SOAP<->XI<->RFC)
    and .....
    when your SOAP will be the receiver you have to import the wsdl of the webservice and import it into the external def.(if ithe wsdl is provided otherwise we need to create it ...not so easy.) and in this case there is no need to create data types and message types...
    cheers
    Sunil.

  • Example needed for function module

    kindly provide me an example for function module & let me how to use this function in a report program..Thnaks in advance..

    Hi,
    GO to Tcode SE80.Create fucntion group.Name should start with z or y.
    GO to Tcode SE37.Create function module.Assign it to function group created above.Name should start with z or y.
    In change mode,you can top include.This is the place you should put the declarations.
    In F01,you need to write the form and U01 you should write the main program.Best way is to take any function module(z*) and follow it.
    There are 3 types of fm.
    1.Normal fm
    2.RFC enabled
    3.Update task.
    Check this link for RFC.
    http://help.sap.com/saphelp_47x200/helpdata/en/22/0425f2488911d189490000e829fbbd/frameset.htm

  • IView personalization example needed!

    Hi guys,
    I need an example of iview personalization. I know about the personalization of the pages and i can add iviews to it at the runtime.
    I tried using iview personalization for a SAP Webdynpro Iview and SAP Transaction iview as well, however the only option coming at the time of personalization is to change the logon language, how can i add more options to it.
    Or if someone can provide an example of iview personalization that would be really great. I do not want to edit portalapp.xml file right now. There must be some other options available.
    regards
    Justin

    Hi Justin,
    first: every WebDynpro iView has excactly one property that can be read by the WebDynpro application. All the parameters you want to send to your WD must be stored in this property. It's the property "Application Parameters". Your WD may need some values in here to change it's behaviour. The possible values depend on your specific WD application and may vary. Check the documentation of your WebDynpro application.
    Second: What exactly is your business case? What do you want the user to personalize?
    Third: As a complex work-around you may use PCD API from within your WD to change the properties of the WebDynpro iView. But I think you shouldn't do so.
    Fourth: It is NOT possible to make the standard properties of a WebDynpro iView personalizable by configuration. You'll need to change the portalapp.xml of the wrapped around portal application.
    HTH,
    Carsten
    P.S.: If you could post what your specific requirements are, maybe the community may have some more ideas.

  • Python script integration in SCOM - Example needed?

    Hello,
    I've been googling around a lot looking for an example of Python script integrated with SCOM. I understood that is possible, but I only find example for PowerShell or VisualBasic (for instance here >> http://opsit.blogspot.hk/2013/11/scom-scripting-basics.html
    ). This link looks great for what I need, but it's not coded in Python.. :-(
    I'm not a native programmer so I'm struggling in reading VisualBasic/PowerShell code and trying to understand how to do the same in Python. Even a simple example of Python+SCOM integration would be of great help in understanding how it works in terms
    of libraries to include and input/output between the systems.
    Can you point me towards any example of Python+SCOM integration?
    Thanks in advance.
    W.

    Hi,
    I would prefer to rewrite your library in Powershell as it is fully supported by SCOM and you also get Powershell Know-How which is always fine :).
    A good starting point is always the Python Developers Guide to Powershell ;)
    http://mohd-akram.github.io/2013/05/16/a-python-developers-guide-to-powershell
    Please find below some Articles about Invoke-Restmethod in Powershell:
    http://technet.microsoft.com/en-us/library/hh849971.aspx
    http://blogs.technet.com/b/heyscriptingguy/archive/2013/10/21/invokerestmethod-for-the-rest-of-us.aspx
    Update: If you want to keep you Python Script you still could write a Wrapper Function for it in Powershell:
    https://craigwwright.wordpress.com/2009/05/31/running-python-scripts-inside-windows-power-shell/
    Cheers,
    Christoph
    Blog:
    http://blog.cmaresch.at/ 
    Twitter:
      LinkedIn:
      XING:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • MDM - Examples needed with Tables and Data

    Hi,
    I am new to MDM. I just loaded the Console and Data Manager and connected to an MDM server. I am able to create a repository and browse in the Data Manager. However, I want to get some Table examples and data that go along with it. I am looking for a step by step guide to create some good tables and load actual data into it using a flat file or XML.
    Any help is greatly appreciated!

    Hi,
    MDM Repository Structure:-
    Table Types in MDM Repository
    1.Only one main Table.(Default name is Products)
    2.Sub Tables
    Lookup Sub tables are just one of the powerful ways that MDM enforces Data integrity in an MDM repository.
    (Parent - Child Relationships)
    3.Object Tables
    It is special type of Lookup Subtables.It includes the images ,Sounds,Videos,Binary objects,Text Blocks,Copy Blocks,Text HTMLs and PDFs.You cannot store any object dirctly to the Repository.Instead ,each object is defined or imported into the repository once then linked to a main or subtable field as a lookup into the object table of that type.
    [Object Tables eliminate redunt information ,since each object appears only once in the MDM repository even if it is linked in multiple records.]
    4.Special Tables
    Special Tables include Image variants,Masks,Families,Relationships,Work Flows,Named Searchs,Data Groups and Validation Group Tables.
    [Data Groups and Validation Group Tables are does not exist in the MDM Repository.]
    5.System Tables
    System Table appear under the Admin Node in the console Hierarchy include roles,Users,Connections,Change Tracking,Remote Systems,Portas,Links..etc.
    Creating Look up table.
    1.Create Lookup Table(Type as Hierarchy,Taxonomy,Qualifier)
    2.Add a Field in Main table
    3.Set the type(Hierarchy,taxonomy,Qualifier lookup)
    4.You need to enter or map the lookup table name and field.
    5.When ever u add new record in the Lookuptable,You can able to use that lookup data in the Main Table Record creation.
    I donot have software with me ,otherwise i would have given screenshot to u.
    For further info, U can refer Console reference Guide.
    Best Regards
    Devaraj PK

  • Updated SecurityFilter Example Needed

    Hi,
    Can the Creator team confirm if the SecurityFilter section in the JAAS authentication example (http://developers.sun.com/prodtech/javatools/jscreator/reference/tips/2/jaas_authentication.html) still valid for the current version of creator. I feel there's a need to address the security aspect of JSC created apps more clearly, than has been done so far.
    I have had to make several changes, to make it work for me, and below is the code I'm using. (Notice how I have to instantiate SessionBean1, since it is not available to the Security Filter class otherwise) Also, the filter mapping needs to be changed to the following:
    <filter-mapping>
        <filter-name>SecurityFilter</filter-name>
        <servlet-name>Faces Servlet</servlet-name>
      </filter-mapping>
    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
    throws java.io.IOException, ServletException
            HttpServletRequest req = (HttpServletRequest)request;
            HttpServletResponse res = (HttpServletResponse)response;
            HttpSession session = req.getSession();
            String requestedPage = req.getPathTranslated();
            String user=null;
            String page = req.getRequestURI();
            StringBuffer page1 = req.getRequestURL();
            String context = req.getContextPath();
            //We dont want to filter certain pages which include the Login.jsp/Register.jsp/Help.jsp
            if(request.getAttribute(FILTER_APPLIED) == null)
                //check if the page requested is the login page or register page
                //Requested page is not login.jsp or register.jsp therefore check for user logged in..
                //set the FILTER_APPLIED attribute to true
                request.setAttribute(FILTER_APPLIED, Boolean.TRUE);
                //Check that the session bean is not null and get the session bean property username.
                //SessionBean1 mysession = (SessionBean1)session.getAttribute("SessionBean1");
                if((SessionBean1)session.getAttribute("SessionBean1") == null)
                    SessionBean1 mybean = new SessionBean1();
                    session.setAttribute("SessionBean1", mybean);
                SessionBean1 mysession = (SessionBean1)session.getAttribute("SessionBean1");
                GRROPermission permission_entity = mysession.getPermission_entity();
                permission_entity.setHttpRequest(req);
                try
                    if(!(permission_entity.getPermission("SMTM_REG", false) || permission_entity.getPermission("SMTM_ADM", false)))
                        res.sendRedirect(context + "/nopermission.html");
                        return;
                catch(Exception e)
                    res.sendRedirect(context + "/nopermission.html");
                    return;
                chain.doFilter(request, response);}
        }

    Hi,
    GO to Tcode SE80.Create fucntion group.Name should start with z or y.
    GO to Tcode SE37.Create function module.Assign it to function group created above.Name should start with z or y.
    In change mode,you can top include.This is the place you should put the declarations.
    In F01,you need to write the form and U01 you should write the main program.Best way is to take any function module(z*) and follow it.
    There are 3 types of fm.
    1.Normal fm
    2.RFC enabled
    3.Update task.
    Check this link for RFC.
    http://help.sap.com/saphelp_47x200/helpdata/en/22/0425f2488911d189490000e829fbbd/frameset.htm

Maybe you are looking for