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

Similar Messages

  • I have a macbook pro and I want to use my canon digital video camera on yahoo chat.  When I sign on to chat and attempt to use a camera, the system automatically defaults to the built in camera on the notebook.  Can I override that default?

    I have a macbook pro and I want to use my canon firewire digital video camera on yahoo chat.  When I sign on to chat and attempt to use a camera, the system automatically defaults to the built in camera on the notebook.  Can I override that default?

    You have 10.6 on that machine, I suggest you stick with it for performance, third party hardware and software reasons as long as possible.
    Consider 10.8 (not 10.7) when it's released, because 10.7 and 10.8 will require a new investment in software and newer third party hardware as it requires newer drivers the old machines won't have. (forced upgrade because of software, really nice of them)
    http://roaringapps.com/apps:table
    Far as your Safari problem do these things until it's resolved:
    1: Software Update fully under the Apple menu.
    2: Check the status of your plug-ins and update (works for all browsers) also install Firefox and see if your problems continue. You should always have at least two browsers on the machine just in case one fails.
    https://www.mozilla.org/en-US/plugincheck/
    Flash install instructions/problem resolution here if you need it.
    How to install Flash, fix problems
    3: Install Safari again from Apple's web site
    https://www.apple.com/safari/
    4: Run through this list of fixes, stopping with #16 and report back before doing #17
    Step by Step to fix your Mac

  • How much RAM can my Macbook Pro hold MAX?

    Can my Macbook Pro hold a MAX of 8GB or is it just 4GB? I'm getting different answers online and I'm a little annoyed at this point. My computer specs currently are:
    15 inch Laptop
    MacBook Pro 2.6 GHz Intel Core 2 Duo
    2 GB 667 MHz DDR2 SDRAM.
    Got my computer in 2009.
    At Crucial.com it says it can hold up to 8GB when I select my computer processor speed from their list, but I noticed it saying DDR3 (and I don't know what that means to be honest). Here's the link:
    http://www.crucial.com/store/mpartspecs.aspx?mtbpoid=7F3A5584A5CA7304
    To the best of my knowledge I selected the correct computer, which I own, from their list.
    Under "About This Mac", on my computer, it says DDR2 for the memory, on Crucial.com it says DDR3. As a result I'm confused and will that cause problems?
    I'll be getting my RAM kit from Crucial.com, so do I buy the 4BG kit, because that's all my laptop can handle, or is it OK to get the 8GB kit, which says DDR3?
    I do a lot of video and audio, so I would like to get my RAM up to 8 GB if it will.
    Thanks

    One more question friend....You've been so helpful
    Will these two sticks work together on my machine?
    2GB, 200-pin SODIMM, DDR2 PC2-5300 memory module
    http://www.crucial.com/store/mpartspecs.aspx?mtbpoid=B54C51B4A5CA7304
    along with a...
    4GB 200-pin SODIMM DDR2 PC2-6400 Memory Module
    http://www.amazon.com/Crucial-CT51264AC800-200-pin-SODIMM-PC2-6400/dp/B001RB21JE
    So these two would add up to 6GB total. Now the ONLY DIFFERENCE that I see is the 2GB stick is PC2-5300(667Mhz)speed and the 4GB stick is PC2-6400(800Mhz)speed. I understand that my machine won't run at the 800Mhz speed that the PC2-6400 stick is designed for, cause my machine says 667 under the memory info. From what I read online, it's ok to put a higher Mhz stick in there, it will just cap at 667Mhz speed? But.......both sticks are DDR2, which is right for my computer, but will the 667 MHz with a 800 Mhz be a huge no-no to run together? At this point I think that is my main concern! If I can't do this, than I think I'll have to go with the 2x2GB kit for 4GB total, but I REALLY would like to run 6GB.
    Shew.... :P
    Thanks again!

  • Can a Mac Pro (2.66 ghz duel core) be upgradable to support Thunderbolt displays and other devices.

    Can a Mac Pro (2.66 ghz duel core (4cores)) be upgradable to support Thunderbolt displays and other devices. Does this need to be done through the Graphics card expansion or a additional card to be inserted?

    No. There is no way to upgrade any Mac Pro older then the cylindrical 2013 Mac Pro to ThunderBolt.
    The requirements of Thunderbolt require a totally redesigned motherboard and chip set rather any plugin cards. These motherboard were never developed for older Mac Pros.

  • I just upgraded from Express to Pro.  When I open a project in Finder and neither Express nor Pro are running, it always opens in Express.  "Open With ..." says Express is the default.  How can I make Pro the default instead?

    I just upgraded from Logic Express to Pro.  When I open a project in Finder and neither Express nor Pro are running, it always opens in Express. I now want projects to open in Pro.  "Open With ..." says Express is the default.  How can I make Pro the default instead?

    Well, when I've done things like that it always sems like a good idea to keep an application that you know the file will definitely open in...

  • HT4722 Can Final Cut Pro be purchased and downloaded more than once?

    Can final cut pro be purchased and downloaded on more than one computer?

    This is an excerpt from the FCPX license, available here.
    http://images.apple.com/legal/sla/docs/FinalCutPro.pdf
    2. Permitted License Uses and Restrictions.
    A. Mac App Store License. Subject to the terms and conditions of this License and as permitted by the Mac App Store Product Usage Rules set forth in the App Store Terms and Conditions (http:// www.apple.com/legal/itunes/ww/) (“Usage Rules”), you are granted a limited, non-transferable, non- exclusive license:
    to download, install, use and run for personal, non-commercial use, one (1) copy of the Apple Software directly on each Apple-branded computer running OS X (“Mac Computer”) that you own or control; and
    (ii) if you are a commercial enterprise or educational institution, to download, install, use and run one (1) copy of the Apple Software for use either: (a) by a single individual on each of the Mac Computer(s) that you own or control, or (b) by multiple individuals on a single shared Mac
    Computer that you own or control. For example, a single employee may use the Apple Software on both the employee’s desktop Mac Computer and laptop Mac Computer, or multiple students may serially use the Apple Software on a single Mac Computer located at a resource center or library.

  • Can the LaserJet Pro 100 Color MFP M175nw print envelops in c5??

    Can the LaserJet Pro 100 Color MFP M175nw  print envelops in c5??
    Thank you

    Hi,
    Which application are you using ? Under Word, you can check it yourself using Print Envelopes as shown:
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • I have a MacBook Pro, 15-inch, Mid 2009.  I would love to upgrade to a Solid State Drive.  What is the best possible upgrade I can buy.  I need the specs and even brand name.  Thank you to anyone who can help.

    I have a MacBook Pro, 15-inch, Mid 2009.  I would love to upgrade to a Solid State Drive.  What is the best possible upgrade I can buy.  I need the specs and even brand name.  Thank you to anyone who can help.

    A 15" mid-2009 MBP RAM specifications are: 204-pin PC3-8500 (1066 MHz) DDR3 SO-DIMM.
    As has been pointed out, OWC is an excellent source for Mac compatible RAM.  Crucial is another first rate source for Mac RAM.  RAM from either vendor will work just as well as any purchased from Apple with the bonus of being less expensive and having a lifetime guarantee.
    Ciao.

  • HT4863 How can I increase the file size limit for outgoing mail. I need to send a file that is 50MB?

    How can I increase the file size limit for outgoing mail. I need to send a file that is 50MB?

    You can't change it, and I suspect few email providers would allow a file that big.  Consider uploading it to a service like Dropbox, then email the link allowing the recipient to download it.

  • Can the Macbook Pro non Retina and Macbook Pro Retina have their battery replaced?

    Can the Macbook Pro non Retina and Macbook Pro Retina have their battery replaced?

    Yes. You have to take the computer to the Apple store to have it replaced.
    Battery
    http://www.apple.com/support/macbookair/service/battery/

  • Can Logic 7 pro install on my new I Mac 10.5.4?

    Can Logic 7 pro install on my new I Mac 10.5.4?

    If you have Pro 7 then you can buy the upgrade to 8 - which is about a third of the cost of buying 8 itself... you will need the XS key when you first install 8 - you may even have to have 7 installed on your system, though I'm not sure.

  • How i can mirroring macbook pro 2010 to apple tv?

    how i can mirroring macbook pro 2010 to apple tv?

    About AirPlay and Airplay Mirroring
    AirPlay Mirroring requires a second-generation Apple TV or later, and is supported on the following Mac models: iMac (Mid 2011 or newer), Mac mini (Mid 2011 or newer), MacBook Air (Mid 2011 or newer), and MacBook Pro (Early 2011 or newer). For non-qualifying Macs you can try using Air Parrot.
    Several Apple Articles Regarding AirPlay
    Apple TV (2nd and 3rd gen)- How to use AirPlay Mirroring
    How to set up and configure AirPort Express for AirPlay and iTunes
    About AirPlay Mirroring in OS X Mountain Lion
    iTunes 10- About playing music with AirPlay
    Troubleshooting AirPlay and AirPlay Mirroring
    Using AirPlay
    Thanks to the $15 Beamer, AirPlay streaming is still possible on Macs  that do not support Airplay and mirroring.
    Another solution is the Air Parrot.

  • Can a macbook pro play dvds

    can a macbook pro play dvds?
    all it says online is that you can burn dvds, not about anything else.

    Every Mac that has an optical drive can play DVD movies and read DVD data discs. I watch DVDs on my MacBook Pro too

  • Can my macbook pro play blu-rays?

    Can my macbook pro play blu-rays without any extra equiptment purchased?

    Welcome to the Apple Support Communities
    The built-in SuperDrive can read CDs and DVDs, but not Blu-Rays. You need an external Blu-Ray drive and a specific application to use Blu-Ray discs

  • Can a MacBook Pro stolen from me be reformatted just like Windows?

    Sorry for asking this Question - I know that there have been threads in the past with similar Question but still I'm kinda confused.
    -MacBook Pro OS X has been stolen from me
    -I have enabled my Apple ID in it
    -I called Apple Support and requested to 'Erase' the data
    Can a MacBook Pro stolen from me be reformatted just like Windows?
    -Can the thief easily reformat its hard drive just like on Windows and install a cracked Operating System?
    Thank you Guys.

    The answer is, Yes. If you enabled Find My Mac, then you could track it or erase it using your iCloud.com webpage and clicking on Find My Phone after signing in.
    What To Do If Your Mac Is Lost Or Stolen
    If you activated Find My Mac before it was lost or stolen, you can track it only if it is connected to the Internet by Wi-Fi. What you cannot do is track your computer using a serial number or other identifying number. You cannot expect Apple or anyone else to find your computer for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty. Be sure to report the loss or theft to the local police. Have the serial number handy. If your Mac is found it cannot be returned to you if you don’t have the serial number and proof of purchase.
    Find My Mac can be used from Find My Phone at iCloud.com and via Find My Phone on your iDevice.
          The following is third-party anti-theft software:
               1.  STEM 2.1
               2.  MacPhoneHome 3.5
               3.  MacTrack 7.5.0
               4.  VUWER 1.7
               5.  Sneaky Bastar* 0.2.0
               6.  Undercover 5.1.1
               7.  LoJack for Laptops
               8. Hidden 2.0
               9. Prey 0.6.2

Maybe you are looking for