Demo_proc.mk file for 9iAS

Hello:
Could someone send me the demo_proc.mk for 9iAS version? I don't have the demo directory under $ORACLE_HOME/precomp/.
Thanks in advance,
TD

Well, you can try compiling the program without the need for that makefile. if you do the steps below, does your program compile and run correctly:
$ proc sample.pc
Pro*C/C++: Release 10.1.0.3.0 - Production on Fri May 6 17:53:58 2005
Copyright (c) 1982, 2004, Oracle.  All rights reserved.
System default option values taken from: /home/oracle/Ora10G/precomp/admin/pcscfg.cfg
$ cc sample.c ${ORACLE_HOME}/lib/libclntsh.so
$ a.out
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does no
$The above source program is:
$ cat sample.pc
EXEC SQL INCLUDE SQLCA ;
EXEC SQL BEGIN DECLARE SECTION ;
        char *uid = "scott" ;
        char *pwd = "tiger" ;
EXEC SQL END DECLARE SECTION ;
int main(void)
        EXEC SQL WHENEVER SQLERROR GOTO err ;
        EXEC SQL CONNECT :uid IDENTIFIED BY :pwd ;
        printf("Connected.\n") ;
        EXEC SQL ROLLBACK WORK RELEASE ;
        return(0) ;
err:
        sqlca.sqlerrm.sqlerrmc[sqlca.sqlerrm.sqlerrml] = '\0' ;
        printf("\n%s\n", sqlca.sqlerrm.sqlerrmc) ;
        return(1) ;
$

Similar Messages

  • Can't install the split files for 9iAS (v1.02.2)

    I have downloaded Oracle9iAS Release 1 version for my developement machine which runs on NT.
    I have the 3 batch files (Disk1.bat, disk2.bat,disk3.bat) and the corresponding zip files. The instruction said i have to first run the batch files and then do the unzip.
    When I run the batch files, the window flash very fast and did nothing at all. The zip files won't unzip. But i have downloaded them for hours. The error message says 'cant open file, it is an invalid archive, try download again.' I re-download them already and same result.
    Please help and give me some hints.
    Also, i want to ask if i only wanted to develop the Portal module, do i need a Oracle database?
    So that we may better diagnose DOWNLOAD problems, please provide the following information.
    - Server name
    - Filename
    - Date/Time
    - Browser + Version
    - O/S + Version
    - Error Msg

    So, after trying a couple more times, I decided to clean up all files installed by PSE8 installer: to find out these files, I launched Setup from Instruments (part of the Xcode suite). To my surprise, this time the installer went through without a glitch and PSE works perfectly... I don't think it has anything to do with Instruments, probably after the previous repeated failures some corrupted files were replaced. Or maybe it liked the song I'm playing now in iTunes better than the previous one...

  • Error while running a report JSP in a war file from 9iAS server

    Hi,
    I've a web application archive file (war) which i m deploying to the web using OEM. The war file consists of many JSPs. Among those JSPs i have one Report JSP, which i m calling from another JSP which is like a parameter form for the report JSP. When i call the report JSP, it gave me the following error,
    javax.servlet.jsp.JspException: com.sun.corba.se.internal.iiop.ORB
    javax.servlet.jsp.JspException: com.sun.corba.se.internal.iiop.ORB
    at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:334)
    at FMCardExp.jspService(_FMCardExp.java:58)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    The report tag in the report JSP is as follows,
    <rw:report id="report" parameters="server=repsvr&userid=scott/tiger@db">
    The report server is up and running and so is the database. This report JSP was generated from the reports builder and the opened in JDeveloper environment,in the war file project. It was then compiled and a war file was created. Surprisingly this report JSP works fine when i run my webapplication from the embedded OC4J instance for JDeveloper, but when i try to run it from the 9iAS server i get the above mentioned error. The deployment of the war file to the server is successful and the other JSPs work fine, only the reports JSP is not working. Do i need to have some settings for running the reports JSP, please advise.
    Thanks in advance
    Unmesh

    Can you please help me in deploying jdeveloper (9.0.3.1)war file to 9iAS release 1, when I try to run, none of the jsp's execute, I get java OutOf Memory error, I also think that there may be some version compatibility between jdev jdk and 9iAS jdk.
    Thanks,
    Kavitha

  • Installation guide for 9ias on RedHat Advanced Server 3

    Hi
    Does anyone has the installation guide for 9ias on RedHat Advanced Server 3 please? Thank you!

    there is an installation guide for oracle applic server 9 and above on red hat advanced server 3 in pdf format on the linux technology center page on oracle. here is the file link.
    "Install Guide: Oracle Application Server on Red Hat Enterprise Linux AS (PDF) May 2003"
    you may wanna check the following link for that page.
    http://otn.oracle.com/tech/linux/index.html
    is this what you are looking for?
    asif
         

  • How safe to go for 9iAS in Windows.

    Hi Guys
    Good Day Guys? We are planning for Migration from 6i to 9i with 9iAS. How safe is it to go for 9iAS? What are the major problem faced during migration?
    Thanks for your help
    Diogo

    I would like to add couple of things - based on my recent experince.
    We have a client/server 6i forms/reports application running on Linux and Solaris, which I have recently ported to iAS 10g (9.0.4). My biggest issue was the fonts and icons, but the entire application (more forms , less reports than you have) took only a week. Still have problem with the graphics - still depends on the 6i graphics :( -- most of the charts are now in reports. There are some "form properties" that are obsolete now, and on linux non of the vbx, etc is supported. I am not sure that applies to the windows version of iAS.
    You should also consider licensing. If you are licensed for full stack of iAS EE (includes forms/reports services), then you better utilize single sign on (for added security) and portal, etc. I really liked the portal capabilities. If you only licensed for the Forms/Reports services, then you have no other option (and no headache for sso, infra metadata repository, etc) by default.
    For training, I took some courses from Oracle. One of them was the iAS administrator I course. In that particular course, they do not teach deploying forms at all. And if you only deploy Forms/Reports services, I don't thing the iAS administrator II (second part of the course) will not worth the money - they have a CD based offering for that and I think for ~400$ that is a better deal. I was able to deploy our forms/reports on iAS with not too much of a problem (after reading the manuals and white papers from OTN/Metalink). If you are licensed for full stack, then Portal class is really nice - I highly recommended (I can even suggest a particular instructor if you are interested). Oracle also has a class teaching how to develop java by using JDeveloper. That might be very useful for your java programmer/s - given that JDeveloper is now free and includes Oracle Application Development Framework. Even if you are not going to use the full stack of iAS, knowing JDeveloper is nice to complement Forms applications.
    Another thing is that certain version of Windows OS (2003 server) might be required to run Forms/Reports Services. There is a FAQ pdf file on OTN, also it a certification matrix is available on Metalink (if you have a valid CSI# you can open an account on Metalink).
    hope this proves useful.

  • Hardware load balancing for 9iAS Release 1 (1.0.2.2.2)?

    Hello - we are hoping to deploy a Forms 6i application (SungardSCT Internet Native Banner) with on a group of Solaris V490s behind a pair of F5 BigIP 1500s using SSL. Have done several searches and can only find info for 9iAS Rel 2 and 10g. Can anyone point me to information for 1.0.2.2.2 - in particular if we should be using layer 4 or layer 7 load balancing and what the preferred method of maintaining session is?
    thanks
    Shelly Feran, McGill University

    I solved (partially) my problem manually copying from another application server (W2k) the
    directory <oracle_home>\806 and all the subdirectory; manually creating the register and manually export and import the HKEY_LOCAL_MACHINE\oracle.
    Now Form Server is working but it not coesist with Form Builder that is in a different Oracle Home.
    I have to swich from one situation to the other double-clicking on the exported .reg file (one for Form Builder and one for Application Server).
    So the problem was only the installer.
    Now I have to search to put right value on the registry in order to avoid this manual switch.
    Many thanks to the community.!
    Fausto

  • Generate xml source file for Oracle Order Capture Print Quote

    Hi,
    I am new to xml and need to work on creating templates for Print Quote.
    I am trying to generate the xml source file for which I enabled the report in system administrator and set the output to XML and assigned to Quoting Reports responsiblity. I then assigned XML Report Publisher to the same responsiblity.
    I ran the report (Print Quote) and then I am trying to run the XML Report Publisher but I cannot get the request id in the list of values.
    I am able to generate xml source file for other reports like Printed Purchase Order etc.,
    The view output for the (Print Quote) report is as follows:
    <?xml version="1.0" ?>
    - <!-- Generated by Oracle Reports version 6.0.8.26.0
    -->
    <ASOPQTER />
    How do I get the xml source file? Or are there seeded templates that I can use to create more templates? Any help would be appreciated. Thanks Ravi

    Hi, I am in the same position - did this issue ever ger resolved by anyone. I have done a few XMLP reports successfully now using the Word add-in, but customising the Quote output differs from other standard reports.
    If you look at the data definition for Quote it is a 'dummy' definition and has no XML file attached. Does anyone know how I can get the XML format for the report output?
    Also the template uses XSL-FO ?!?!?! rather than RTF - not sure how to work with this, the Oracle docs are not very helpful in this regard either.
    Has anyone successfully managed to customise the Quote print report? Many thanks,
    Roger

  • Vi error on nfs mount; E212: Can't open file for writing

    Hi all,
    I've setup a umask of 0 for testing on both NFS client (Centos 5.2) and NFS server (OSX 10.5.5 server).
    I can create files as one user and edit/save out as another user w/o issue when directly logged into the server via ARD.
    However, when I attempt the same from an NFS mount on a client machine, even as root I get the following error using vi;
    "file" E212: Can't open file for writing
    Looking at the system.log file on the server, I see;
    kernel[0]: add_fsevent: no name hard-link! dropping the event. (event 2 vp == 0xa5db510 (-UNKNOWN-FILE)).
    This baffles me. My umask is 0 meaning files I create and attempt to edit as other users are 777, but I cannot save out edits unless I do a wq! in vi. At that point, the owner of the file changes to whomever did the vi.
    This isn't just a vi issue as it happens using any editor, but I like to use vi.
    Any help is greatly appreciated. Hey, beer is on me!

    Hi all,
    Thanks for the replies
    I've narrowed it down to a Centos client issue.
    Everything works fine using other Linux based OS's as clients.
    Since we have such a huge investment in Centos, I must figure out a workaround. Apple support wasn't much help as usual however they were very nice.
    There usual response is "its unsupported".
    If Apple really wants to play in the enterprise of business space, they really need to change there philosophy. I mean telling me that I shouldn't mount home directories via NFS is completely rediculus.
    What am I supposed to use then, Samba of AFP? No, I don't think so. No offense to Microsoft but why would I use a Windows based file sharing protocol to mount network shares in a Nix env???

  • How can multiple files for the same genre be consolidated

    I organize my iTunes files in genre folders for easy access. ITunes creates multiple folders for some genres and allows a single (preferred) genre file for other much larger files. How can I consolidate multiple files with the same genre?

    Thanks. I've done what you selected. The problem is that despite all files being identified with the same genre, iTunes groups some genres in two separate folders. Thus, I have two "Country" folders, for example. More perplexing is that iTunes groups my largest genre folder, "Jazz", in a single folder.

  • Help in creation of XML file for IDOC postings

    Hi All,
    Need help if anyone has knowledge/experience in creating XML files for IDOC processing.
    We need to design an input file (in XML format) for creation of IDOCu2019s for purchase Invoices through Interface.
    We have an existing input file, which is working correctly.  We are trying to modify this existing input file for a new Tax Code (Non-deductible inverse tax liability).   This tax code is working fine for manual postings.   But, through IDOC, tax postings are not correctly triggering.
    Could you please confirm if any one has experience on this, so that I can share more details for resolving.
    Thanks & Regards,
    Srini

    Hello,
    you can use CALL TRANSFORMATION id, which will create a exact "print" of the ABAP data into the XML.
    If you need to change the structure of XML, you can alter your ABAP structure to match the requirements.
    Of course you can create your own XSLT but that is not that easy to describe and nobody will do that for you around here. If you would like to start with XSLT, you´d better start the search.
    Regards Otto

  • How do I save an install file for Photoshop CS6

    I need to get an install file for Photoshop CS6 (not CR) that I can use on a Windows PC that, due to security reasons, does
    not have access to the internet.  In the past I have been able to save the install file for Photoshop and/or Lightroom on my internet connected PC and then move it to the the target PC on a thumb drive or CD.  But now with the CC and the new "Adobe Installer" I can't seem to see how to capture the install file. 
    Please let me know how to do this.
    dan

    Refer to this:
    Direct Download Links for Adobe Software
    Mylenium

  • How to Install Plug-in for PS cs5 to open RAW (.NEF) file for Nikon D810 Camera

    I need someone to walk me through how to install a Plug-in for PS cs5 to open RAW (.NEF) file for Nikon D810 Camera.
    I haven't used photoshop in ages and I got a new camera. I have been on the phone with Adobe (no help) and spent a couple of hours online trying to figure this out. I'm confused, frustrated and about to throw my computer out the window.
    Also, I placed this in the "Photoshop for Beginners" since Photoshop CS5 doesn't appear anymore. I know CS5 is outdated but I spent hundreds of dollars on this program and you would think adobe would still honor its product.
    Any guidance is much appreciated.
    AJ

    Odds are cs5 is too old. If you do a search on my the main Adobe website there is a list of compatible cameras for the last known update to camera raw for cs5.
    Each version of Photoshop only gets so many updates for camera raw then it is necessary to upgrade Photoshop to get the next update for camera raw.
    So you currently have 4 choices.
    1 upgrade Photoshop
    2 get Lightroom - latest version
    3 get Photoshop elements -latest version
    4 get dng converter - this will download the latest version an is the only option that is free.
    The dng converter can be found by searching Adobe website.

  • Error:Unable to reserve .lok file for Integrated WLS server (DefaultServer)

    Hi,
    I am having jdev 11.1.1.1.0.
    Many times I get following error while running my application pages:
    Unable to reserve the .lok file for Integrated WLS server (DefaultServer). Typically this is because another instance of this server is already running in the WLS domain.
    The only way out is to close jdev, delete system11.1.1.1.33.54.07 folder and open jdev again.
    Why is this error dialog shown? Is there any permanent solution?
    TIA

    Thanks for quick reply!
    As suggested in the given thread, I logged into the weblogic console http://127.0.0.1:7101/console/ as 'weblogic' user.
    On the left hand side in the 'View changes and restarts' section, no pending changes are shown. It shows following text:
    Configuration editing is enabled. Future changes will automatically be activated as you modify, add or delete items in this domain.
    Please advise. I can share the application.zip if needed.
    Thanks

  • Oracle error  "No message file for" after Upgrade to 10.2.0.5

    After upgrade from 9.2.0.8 to 10.2.0.5 i get the following error "No message file for"
    (with both Users sidadm and orasid)
    Platform AIX 64 bit
    The installation und Upgrade with dbua works fine.
    DB and SAP runs after the Upgrade.
    then I tried
    SQL> select xx from v$log;
    select xx from v$log
    ERROR at line 1:
    ORA-00904: Message 904 not found; No message file for produstyle='font-
    family:courier' ct=RDBMS,
    facility=ORA; arguments: ["XX"]
    The Environment is correct,
    ORACLE_HOME,ORACLE_SID,PATH,LIBPATH have right Values.
    I cant find any failure in Configuration or Install Logs.
    So i tried the following:
    Copy the complete Directorie /oracle/SID/102_64/rdbms/msg from a
    10.2.0.4 Oracle Installation to the 10.2.0.5 home.
    the result ist that the Messagefile could be read by Oracle an i get
    the ORA-00904
    Here the same Query:
    SQL> select xx from v$log;
    select xx from v$log
    ERROR at line 1:
    ORA-00904: "XX": invalid identifier
    So I do the same procedure with an other System.
    I detect:
    the Patch 9952230 (SAP_102051_201011/9952230) delivers
    both Message Files oraus.msg and oraus.msb which caused the problem.
    Has anyone the same Problem?
    Are there any other Impacts with wrong Message Files .
    I raised a OSS Call, but no answer till today.
    best regards
    Uwe

    I could not find anything is sap notes, but oracle recommends to update binary file oraus.msb in $ORACLE_HOME/rdbms/mesg
    Download link:
    https://updates.oracle.com/ARULink/PatchDetails/process_form?patch_num=10235783
    You can find more details also in:
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=10235783.8
    https://support.oracle.com/CSP/main/article?cmd=show&type=BUG&id=10235783
    The problem with this solution. It is not officially released by SAP.

  • What is the difference between: "Place..." or "Add files for Upload..."?

    Where can I get information about the detailed differences between the commands "Place..." and "Add Files for Upload..." of the Files menu?
    Understand that in both cases the files are linked and not embedded. But what further differences are there?
    I came across this issue because widget 039 (Animated Image Rollovers) from MuseThemes works only if you use the "Add Files for Upload..." option.
    Thanks,
    Daniel

    Hi Daniel,
    There are a few differences in both the options-
    Place is used to add content to page (rendered) while Add Files for Upload... is used to upload files to your site but not on page (not rendered).
    Placed images are published to /images folder on the server while images added using Add Files for Upload... option are published to the /assets folder on the server.
    Placed images have a chance of getting renamed (if resized/interpolated in Muse) upon publish while images added using Add Files for Upload... retain their names.
    Place can be used to add limited file formats like jpg/png/psd/swf/oam etc while you can upload almost any type of file using Add Files for Upload...
    You don't see Placed content in the Hyperlinks dropdown for linking while files added using Add Files for Upload... show up in the Hyperlinks dropdown so that you may link to them and allow download.
    Both serve different purposes and Add Files for Upload... is preferred by Widget Developers because it gives more control over uploaded content and assurance that file location and name will be as expected.
    Hope the above give you clarity on the basic difference.
    Cheers,
    Vikas

Maybe you are looking for

  • How do I make URLs appear when FF opens @ a site?

    In the address/URL bar, when I open any desktop link/shortcut or open a website link in to a new window, or tab, there is no address showing. I have to be at the website, then click any internal link, and the URL appears. Process: FF is default brows

  • Quicktime works itunes will not load

    i get this message (this action only works for products that are currently installed.)

  • Microsoft baseline security analyzer End user license agreement

    Hi Microsoft, Can you provide Microsoft baseline security analyzer(MBSA) End user license agreement for reference?

  • Show/ Hide Tables in SSRS based on Multiple Parameters

    Hi Is it possible to show/ hide multiple different tables based on a multivalued parameter?  I have 6 tables and I want 1 or 6 displayed dependent on what is selected from the multivalued parameter. When I add the IN operator and select multivalues,

  • Contacts Pictures Randomly Deleted

    I'm using iCloud to sync my contacts. I try to add a picture to a contact in the Contacts app in Mountain Lion and then click "Done." But when I come back to that contact card after clicking on another contact one of two problems happens: 1. The pict