INGRES 6.4 ESQL/Fortran to Pro*Fortran

Is there any tool kit to convert Embedded SQL fortran programs
of Ingres to Oracls Pro Frotran.
Thank
Raja
null

Hi Raja,
There are white papers and also some migration toolkits available
for download from OTN. You can go to the Technology/Migration
section and then to Migration Toolkits, and click under Ingres.
But I am not sure if you will find anything for conversion for
ESQL Fortran.
Thanks,
Srini.
Rajamani Alwar (guest) wrote:
: Is there any tool kit to convert Embedded SQL fortran programs
: of Ingres to Oracls Pro Frotran.
: Thank
: Raja
Oracle Technology Network
http://technet.oracle.com
null

Similar Messages

  • Migration from PRO IV

    Sir,
    Does Oracle have any tool for migrating databases from PRO IV to Oracle. Are there any documents regarding the same. Are there any third party utilities available for PRO IV to Oracle conversion.
    Thank you
    Ranjith.

    Sir,
    We don't have any experience and knowledge in PRO IV..By searching the PRO IV sites, they say, something about BTRIEVE/PERVASIVE, INGRES database that is used with PRO IV application. Something about migration being done from PRO IV to Oracle8 was also found in some forums, but it didn't exactly explain how it was done..In Oracle's migration workbench utilities, it has a utility for migrating from BTRIEVE database..We have got a sample PRO IV file with .PRO extension..Please give us some guidance, about migrating in some way from PRO IV to Oracle8.x..
    Thank you
    Ranjith.

  • Can I override Pro*Fortran's limit on Fortran variable name lengths?

    The Fortran standards put a 31-character limit on the variable names in Fortran code. Some compilers allow you to exceed this as a compiler extension, and, unfortunately, our code has places where we actually do... The present software compiles and runs under with the Ingres 9.2 RDBMS, but we're starting the process of porting the code over to Oracle 11g.
    The Pro*Fortran (we have release 1.8.79.0.0) precompiler only accepts the first 31 characters of a long var name (yes I found that limitation stated in the Pro*Fortran Precompilers guide). What I am wondering is if there is any way to override that and allow a longer name to be used. The Sun studio compiler accepts it, just not the precompiler. Searched the docs and found nothing about overriding things like this.
    If necessary, yes I can shorten the variable names. I'm just trying to minimize the amount of code changes required.
    Jim

    You are correct.
    5 lines below the QUERY DATA SOURCE NAME block property line
    is the ‘where clause’ line
    It already had FAC_ID = :FACILITIES.ID
    I found that if I added my :Blk_name.Pass_cd_num
    I could see it my new bind variable in a system.last_query display.
    I found the QUERY DATA SOURCE NAME below the ‘from query clause’ truely
    is the from clause and it will not except any :Blk_name.item_name
    (Because is is just for tables)
    But the ‘where clause’ property line will except bind_variables
    :Blk_name.item_name is successful in the where clause.
    (where Capturing_devices table being the block’s base table)
    -- **FROM**
    SET_BLOCK_PROPERTY('EMISSION_POINTS',QUERY_DATA_SOURCE_NAME,
    'EMISSION_POINTS A,
    EP_MODES B,
    CAPTURING_DEVICES,
    CONTROL_DEVICES CD');
    -- **WHERE**
    SET_BLOCK_PROPERTY('EMISSION_POINTS', DEFAULT_WHERE,
    'A.ID = B.EP_ID AND
    B.ID = CAPTURING_DEVICES.PARENT_MODE_ID AND F
    CAPTURING_DEVICES.CD_ID = CD.ID AND
    CAPTURING_DEVICES.CD_ID IS NOT NULL AND
    CAPTURING_DEVICES.PARENT_MODE_ID IS NOT NULL AND
    CAPTURING_DEVICES.STACK_ID IS NULL and
    B.FAC_ID = :FACILITIES.ID and CD.NUM = :emission_points.cd_id_num');
    --**ORDER BY**
    SET_BLOCK_PROPERTY('EMISSION_POINTS',ORDER_BY,
    '(A.NUM, C.PARENT_MODE_ID, C.CD_ID)');
    EXECUTE_QUERY;
    I still get a FRM-40505: Oracle error: ‘unable to perform query’
    (I know its because of the way it is coded),
    But I did learn bind variables can work in the where clause.
    Also I tried using the hidden field like you suggested.
    If you put char character field in a where clause it will come out in quotes
    So I assigned it to a block.hidden_item (number) like you suggested
    that did strip off the quotes.
    That left me with passing the value of 31, I need to pass 0031
    I tried to do a LPAD to the value left pad it with zeroes
    But that did not work.
    I went back to my effort in using a cursor loop to populate the block
    Thanks

  • Oracle 10g or less Pro Fortran for linux  ?

    Hello,
    I'm looking for the oracle pro-fortran for linux.
    Where can i find it ?
    Thanks

    Doesn't appear to be part of the Linux bundle. It may not have been ported. I checked 10gR1 and 9.2.x.

  • Pro*Fortran support on Oracle 11g

    Hi,
    I have received conflicting information whether Oracle 11g supports a Fortran precompiler or not. Does anyone know if Fortran precompiler is supported on Oracle 11g (I could find precompiler manuals easily) and on what platforms Fortran precompiler is/is not supported and what versions of 11g you would find this support ?
    Could you also provide a link to the documentation where I could find this information and supported plantforms?

    Studio Fortran has no special support for databases, nor does Studio provide Pro*Fortran.
    Questions about database programming should be directed to a database programming forum.
    Start here:
    https://forums.oracle.com/forums/category.jspa?categoryID=18

  • Pro*Fortran for Linux

    We are porting a system over to Linux machines from an SGI. It uses sql calls
    in the fortran code which on the sgi were
    handled with the ProFortran compiler. Apparently, Oracle does not support the ProFortran compiler on Linux. Is there a
    way to get one, or will it be supported in
    the future?
    Thanks,
    Bob Clouser
    MIT Lincoln Laboratory

    Doesn't appear to be part of the Linux bundle. It may not have been ported. I checked 10gR1 and 9.2.x.

  • Ora-12154 when trying to connect to database from fortran application

    I am trying to connect to database and run an simple select query to a table(without any where clause) using pro*fortran code.
    the connect strng is like
    exec sql connect :uidpwd
    where uidpwd = username/password@SID
    SID and tnsnames connect string are the same.
    The fortran (profortran) code is placed in the database server and there are no errors when make is run.
    Tnsping is working fine, also i am able to conect using sql*plus and run the same query.
    Please help
    Thanks and Regards
    Nitin

    Hi Nitin
    Thanks for the helpful! With your point I'm now Pro! Great thanks.
    By the way have your seen that?
    Files such as LISTENER.ORA, TNSNAMES.ORA, SQLNET.ORA, if configured manually, or copied and edited from earlier releases of Oracle Database may have record attributes that are incompatible with Oracle Database 10g release 2. The software cannot read such files. The required record format is stream_lf and the record attributes are carriage_control and carriage_return.
    This may result in:
    Inability to start the listener
    Services not registered with the listener
    Inability to connect to other databases
    ORA-12154: TNS:could not resolve service name
    Run the following command on each file affected:
    $ DIR/FULL filename
    An output similar to the following may be displayed:
    Record format: Variable length, maximum 255 bytes
    Record attributes: Carriage return carriage control
    If the output includes the preceding entries, then run the following command:
    $ CONVERT/FDL=SYS$INPUT filename filename
    RECORD
    CARRIAGE_CONTROL CARRIAGE_RETURN
    FORMAT STREAM_LF
    ^Z
    Otherwise herewith an interesting metalink note. Doc ID:      Note:437597.1
    Subject:      Ora-12154 When Executing Pro*Fortran Code Compiled With Oracle 10g.
    Hope this will also help you...
    Cheers
    Hubert

  • Intel Fortran compiler broken under Mavericks

    After upgrading to OS 9 on a Mac Pro and a MacBook Pro, and installing Xcode 5.0.1 on both, my Intel Fortran compiler (vs 12.0.5) no longer works.  I have updated the command line tools.  When I try compiling a source file it fails with the message:
    ifort: error #10001: could not find directory in which g++ resides
    There is a compiler option to specify the location of g++ "-gxx-name=" but this doesn't help - same error message.  I'm not sure if I need to set a system variable or if I need to go back to an earlier version of Xcode.  Has anyone managed to get their Intel Fortran compiler working under Mavericks?

    I haven't found this topic in the other Categories, so I'll reply here:
    I'm having the same problem!!! Leopard has crashed ifort 32 bits! So I can't run my programs on my macbook core duo (32 bits), although it's ok with the ifort 64 bits version. But I really REALLY need the 32 version working on Leopard. Anyone has any clue about how to solve it? I've tried some 9.1 ifort's versions and the new 10.1 version. You can find evaluation versions on the intel's site.
    Please someone help us.
    Thanks,
    Filipe

  • Fortran on archlinux

    fortran? what is this?:
    fortune -m FORTRAN wrote:
    FORTRAN is a good example of a language which is easier to parse
    using ad hoc techniques.
                    -- D. Gries
    FORTRAN is for pipe stress freaks and crystallography weenies.
    FORTRAN is not a flower but a weed -- it is hardy, occasionally blooms,
    and grows in every computer.
                    -- A.J. Perlis           [What's good about it?  Ed.]
    FORTRAN is the language of Powerful Computers.
                    -- Steven Feiner
    It's multiple choice time...
            What is FORTRAN?
            a: Between thre and fiv tran.
            b: What two computers engage in before they interface.
            c: Ridiculous.
    You can measure a programmer's perspective by noting his attitude on
    the continuing viability of FORTRAN.
                    -- Alan Perlis
    FORTRAN?  The syntactically incorrect statement "DO 10 I = 1.10" will parse and
    generate code creating a variable, DO10I, as follows: "DO10I = 1.10"  If that
    doesn't terrify you, it should.
    ok, and now serious:
    we need a fortran compiler in archlinux ... at least to be able to compile some scientific apps ... that are often used by students (the people that invented linux )
    ok: to be a little bit precise:
    what is not in archlinux, and should be is:
    f2c (a fortran to C translator)
    http://www.netlib.org/f2c/
    g77 (GNU F77 compiler ...  part of gcc ... no idea how or where to download)
    http://gcc.gnu.org/onlinedocs/g77/News.html is the only link i found with gg
    and maybe the intel fortran compiler:
    http://developer.intel.com/software/pro … noncom.htm
    it's free for noncomertial use
    and for the future, what about the f compiler?
    ftp://ftp.swcp.com/pub/walt/F
    i dont have time right now to get into how to install any of them on a linux, to built a package, but it would be great having at least f2c and g77

    I just dug through the gcc site and found the following :
    http://gcc.gnu.org/install/download.html
    and if one compares to
    ftp://ftp.gnu.org/pub/gnu/gcc/gcc-3.3.1/
    one does see the big all-in-one package and the individual parts.
    It appears that AL requires the full package, so enabling fortran with
    --enable-languages=c,c++,objc,f77
    (which I found on http://gcc.gnu.org/install/configure.html )
    should just get you g77  !
    And finally, the latest and greatest details are on
    http://gcc.gnu.org/install/
    all right, back to work :-) ... and eventually, I will actually DO something about Fortran packages instead of just posting info :-) But while I am at it, I throw more URL's at you ...
    http://g95.sourceforge.net/
    http://gcc.gnu.org/frontends.html

  • Mistery around Intel Fortran/C compilers and my Macbook

    Hi all,
    First post here. I do not want to write a long post here but I really need some enlightenment about a strange problem.
    My Macbook came with Tiger and Xcode 2.4. Being a Fortran programmer, I installed Intel compilers without much hassle. Then Leopard arrived but I decided to not upgrade until receiving the green light from Intel (for months their compilers were broken for first-time Leopard users). A few months back most of issues seemed to be gone (I successfully installed the new compilers on 3 Mac Pros and 1 Intel iMac) and I was able to upgrade my Macbook to Leopard and the new compilers.
    Here starts the drama : last week I had to upgrade my hard drive so I backup everything and did a clean Leopard install on a new and bigger HD (Hitachi 200Gb 7200rpm). Everything went fine except the fortran/C compilers. The error message I get is unique (try Google) :
    ifort: error fatalerrorterminated: Fatal error in /opt/intel/fc/10.1.014/bin/ifortia32, terminated by segmentation violation
    (I got similar message if I setup 64 bit compiler)
    I can not compile anything. Even a simple hello.f. I even update to 10.5.4 but nothing changed. In fact, it was so frustrating that I decided to do another clean install of Tiger. Yes, I downgraded Mac OSX to 10.4, downloaded the old Fortran compiler (the one I had) and guess what ? I got the SAME message.
    I triple checked my shell environment, looked over all libraries but nothing seems wrong. The ONLY thing that caught my attention was during the installation, when I selected to format the new disk using HFS+ journaled (non case sensitive). I do not believe that my old original drive had a case sensitive system but I did not checked it.
    If you can help, it would be very much appreciated !

    Here is the crash log file I am getting :
    Process: ifortia32 [441]
    Path: /opt/intel/fc/10.1.007/bin/ifortia32
    Identifier: ifortia32
    Version: ??? (???)
    Code Type: X86 (Native)
    Parent Process: ifortbin [440]
    Date/Time: 2008-07-14 10:04:53.262 -0500
    OS Version: Mac OS X 10.5 (9A581)
    Report Version: 6
    Exception Type: EXCBADACCESS (SIGSEGV)
    Exception Codes: KERNINVALIDADDRESS at 0x000000002820659e
    Crashed Thread: 0
    Thread 0 Crashed:
    0 ifortia32 0x0006ccf4 lmaster_listlfp + 297
    Thread 0 crashed with X86 Thread State (32-bit):
    eax: 0x28206572 ebx: 0x00068cfe ecx: 0x282065a2 edx: 0x00000002
    edi: 0x0080eed3 esi: 0x00000000 ebp: 0xbfffbfd8 esp: 0xbfffaf80
    ss: 0x0000001f efl: 0x00010202 eip: 0x0006ccf4 cs: 0x00000017
    ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
    cr2: 0x2820659e
    Binary Images:
    0x1000 - 0x1ddfe2 +ifortia32 ??? (???) /opt/intel/fc/10.1.007/bin/ifortia32
    0x266000 - 0x266ffd libmx.A.dylib ??? (???) /usr/lib/libmx.A.dylib
    0x8fe00000 - 0x8fe2d883 dyld 95.3 (???) <81592e798780564b5d46b988f7ee1a6a> /usr/lib/dyld
    0x90003000 - 0x90011ffd libz.1.dylib ??? (???) <5ddd8539ae2ebfd8e7cc1c57525385c7> /usr/lib/libz.1.dylib
    0x90655000 - 0x9067ffef libauto.dylib ??? (???) <d468bc4a8a69343f1748c293db1b57fb> /usr/lib/libauto.dylib
    0x906da000 - 0x906e1fe9 libgcc_s.1.dylib ??? (???) <f53c808e87d1184c0f9df63aef53ce0b> /usr/lib/libgcc_s.1.dylib
    0x92edd000 - 0x92edefef libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
    0x94211000 - 0x94349ff7 libicucore.A.dylib ??? (???) <afcea652ff2ec36885b2c81c57d06d4c> /usr/lib/libicucore.A.dylib
    0x948f6000 - 0x9497ffff com.apple.framework.IOKit 1.5.0 (???) <5d9b85c55183f9732eb9efc38d18ba53> /System/Library/Frameworks/IOKit.framework/Versi
    ons/A/IOKit
    0x94e11000 - 0x94ef0fff libobjc.A.dylib ??? (???) <5eda47fec2d0e7853b3506aa1fd2dafa> /usr/lib/libobjc.A.dylib
    0x95559000 - 0x956b3fe3 libSystem.B.dylib ??? (???) <8ecc83dc0399be3946f7a46e88cf4bbb> /usr/lib/libSystem.B.dylib
    0x95f4b000 - 0x95fa8ffb libstdc++.6.dylib ??? (???) <04b812dcec670daa8b7d2852ab14be60> /usr/lib/libstdc++.6.dylib
    0x966c2000 - 0x967f4fe7 com.apple.CoreFoundation 6.5 (476) <8bfebc0dbad6fc33bea0fa00a1b9ec37> /System/Library/Frameworks/CoreFoundation.framework
    /Versions/A/CoreFoundation
    0xfffe8000 - 0xfffebfff libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
    0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib

  • Linker error when compiling Fortran program

    I have some problems when linking a Fortran program. The compiling (with gfortran) works without problems and produces (amongst others) several ".mod" files. As soon as the products are to be linked, these .mod-files provoke a "bad magic number (not a Mach-O file)" error from the linker.
    I use gcc 4.3 with gfortran. Any ideas?
    Powerbook G4 12", 1.33 GHz/MacBook Pro 2GHz   Mac OS X (10.4.8)  

    Possibly, but the error doesn't come from gfortran itself, but from the linker (ld), so I don't see right now, why this should make a difference.
    You think it is because these .mod-files are compiled incorrectly?

  • G95 - Fortran Compiler (Based of g77)

    Hey everyone,
    I'm working on a Macbook Pro Retina of mid 2014 running OS X 10.10 Yosemite.
    Recently I tried installing the g95 fortran compiler, derived from the older g77.  I simply moved the binary file to the right folder and performed a make install. Command line instructions seemed to work fine, but when I tried to run my compiled code it gave me the following error:
    dyld: no valid entry point
    Trace/BPT trap: 5
    I figured I was missing certain gcc-libs, so I dug into my usr/local/lib folder and copied all the gcc-lib files I didn't already have (that came with the tarball for installing g95) there. However, it still doesn't work.
    When I use otool on my binary file I get this:
    g95:
      /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.0.1)
    I know there should be another path specified there, but I have no idea as to what I could do to solve my problem. (I'm new to unix systems and the file system is challenging to say the least ;-))
    PS: When I googled the error, it seemed to be a common problem with g77 that could only be solved by downgrading to an earlier version of OS X because of something named "Rosetta" that was no longer included. However, since g95 is "new" unlike g77, I think this rather an error caused by my inaptitude than an actual problem with my system.

    Eventually, we will, Xiangyun.
    It�s not simple to just switch it overnight. As a global enterprise, it�s a long and weary process in our shop to switch compilers, since we have to build, evaluate, compare outputs between old and new compilers, benchmark them, before we can put them into production, globally.
    Not to mention that I always have problems with code-related, system-libraries related, undefined symbols, linking errors, etc. and etc. when switching compilers.
    Therefore, if we can keep the reliable and proven compilers in the work, then we would keep it. So, if you could provide a patch to our current version; we�d keep it a year or so longer, then that would be a great great help, while we'll be working on pushing the new compilers out.
    Thanks,
    lhn

  • Syntax highlighting not working with label on if statement in fortran in Visual studio 2010

    I am having a difficult time in figuring out the syntax highlighting in Visual studio. I am using fortran code and there are labels in if statements as follows: 
                if_2003: IF (FRAC_PBED(NNSED,L).LT.0.0.AND.
         +                   FRAC_PBED(NNSED,L).GT.SMALL_NEG_NO) THEN
                  FRAC_PBED(NNSED,L) = 0.0
           TSED_PBED(1,NNSED,L) = 0.0
         END IF if_2003
    So the problem I am having is when I click on the `if` next to label `if_2003`, then I cannot use `CTRL + ]` to move to the ending `if`. If there is no label before `if`, then the shortcut is working fine. I don't know what I could do so that it would start
    behaving as it is supposed to. 
    In the contrary, when I have do loop as follows: 
        do_410: DO NNSED=1,NSTD
             D50AVG(L) = D50AVG(L) + 
             +                 FRAC_ALAY_SURF(NNSED,L)*D50(NNSED)/10000.  ! BASED ON BED COMPOSITION
        C
             TSED_ALAY_SURF(2,NNSED,L)=TSED_ALAY_SURF(1,NNSED,L)
             TSED_ALAY_BUFF(2,NNSED,L)=TSED_ALAY_BUFF(1,NNSED,L)
             TSED_PBED(2,NNSED,L)=TSED_PBED(1,NNSED,L)
                  END DO do_410
    I can move to the end/start of `do` loop using the keyboard shortcut `CTRL + ]`. Any suggestions is appreciated.  
    Regards, Jdbaba

    Hello Jdbaba,
    Based on my research, your post is related to use fortran in Visual Studio:https://software.intel.com/en-us/articles/intel-math-kernel-library-intel-mkl-for-windows-build-intel-mkl-program-with-intel-fortran-in-microsoft-visual-studio This
    technology is provided by Intel. So the question should be consulted on Intel fortran related forum. Not Visual Studio Setup forum, setup forum is about install/uninstall Visual Studio.
    Best regards,  
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Visual fortran calling a c function in visual studio

    Hi,
    I am running Windows 8.1 with Visual Studio Prof. 2012. I have installed Visual Fortran also. Now I wanted to make a solution with two projects one for Visual Fortran and one for C, and be able to call a C function from within the Fortran. 
    Can someone, please, show how to do this step by step? Guide with pictures would be awesome.
    Thanks in advance.

    Hi Engineer101,
    One way to integrate your code into TestStand would be to save it as a .dll file.  Cick this link for information on how to do this in visual c++ 2008. Once you have the dll, you can call it in teststand using a c/c++ dll action step.  I hope this helps, and let me know if you have any further questions!
    Al B.
    Staff Software Engineer - TestStand
    CTA/CLD

  • Fortran features I would like to see

    I have a few suggestions for Fortran features. With the upcoming F2008 public comment period, maybe there is still a chance to suggest some features and still get them incorporated before waiting another 5 years.
    The new allocate-on-assignment feature could be applied to some built-in procedures. Now that allocatable and pointer attributes are allowed to distinguish specific procedures, it seems that this should be fairly easy to implement. With allocatable string lengths, this would make the use of return strings much easier. For example, the IOMSG= result could be passed an unallocated string, which gets allocated to the exact message size, but only if needed. Another very useful automatic allocation would be for internal WRITE statements. In all cases, automatic allocation should probably only occur if not already allocated, to avoid changing the behavior of existing valid code. This would only extend the unallocated case, which is otherwise an error.
    It makes a lot of sense to me to lift the restriction on mixing functions and subroutines with the same generic name. Subroutine calls always have the CALL token, so there is no chance of confusion. Fortran is even capable of distinguishing variable names from identical language tokens, so this restriction seems especially odd to me. Is there any real value to having this restriction?
    Another useful feature would be to have host entity access control and renaming with an enhanced IMPORT statement, similar to what is available with USE statements. This is a much bigger feature, but there are some Fortran committee members that already think it is a good idea.

    Please file an RFE (Type) through bugs.sun.com.
    http://bugs.sun.com/
    Rose

Maybe you are looking for

  • Creating a new shape...

    Sigh. Consarn it. This should be *basic*. Here in Flash CS4 Explorer, I have shapes. It's intuitive that I be able to right-click on Scene1, and be able to Insert Shape. Can't. I go to the frame. Can't. I right-click everywhere. I see 'Create Shape',

  • Message failure notices about emails I haven't sent

    Starting yesterday, I began receiving message failure emails in by inbox and junkfolder about emails that I didn't send. When I got the first message, it seemed apparent that I was hacked, so I quickly changed my email password. Since then, the failu

  • Having to Choose a Document TWICE to Open in Acrobat

    Lately every time I try to open a PDF in Acrobat I have had to go through the steps to open TWICE before it actually launches in the program. This happens whether I double click the PDF icon, drag the icon to Acrobat in my Dock or open from the File

  • Problem with dimension building using Sybase

    <p><font size="3" face="Times New Roman"><span style=" font-size: 12pt;">Hi, </span></font></p><p class="msonormal"><font size="3" face="Times New Roman"><spanstyle=" font-size: 12pt;">I had a problem in building a dimensionby extracting the data fro

  • Airport express as wireless extension

    Tying to extend wireless within house.   using Time Capsule for wireless now, but need to reach rooms a long distance from base.  Purchased Airport Express thinking that once installed that would work.  I get all the right amber and green lights, so