Pro*c referenced variable "sqlstm", which was not initialized in its declar

This i get in every compilation of the Pro*C Code .Can anyone be able to help out how to switch off this Compilation Warning and is it worthwhile to switch off this (I)
referenced Warning.

It's a couple of years since I worked in Pro*C but I have worked with Pro*C fairly recently and even once worked in the Unix, pre-Ansi Pro*c environment. Pro*C is just a pre-compiler, so you can take a look at the generated C code and see what it is doing. That can be very helpful. It generates a bunch of function calls to replace each SQL statement.
The declare section just tells Oracle to recognise those variables and their types, it doesn't change the actual declaration, so I'd say the 2nd foo is indeed local to gag.
I would worry about any references to foo below gag in that source file - they may use the type etc. of the local variable, but since they are the same data type, it may well work (more by luck than good management).
As I recall a varchar is a struct, so they can change the value inside gag, but it won't take effect outside the function. You can pass *foo if you want to - you're passing a pointer to the struct.
I hope this helps (and is right)
David

Similar Messages

  • I'm using Iphone 5 .After updating it with the latest software i.e iOS 7.0.6 I'm not able to see the wats app and imsg on my notification until and unless i activate the "Show on Lock Screen" which was not same as in the earlier software version.Help plz

    I'm using Iphone 5 .After updating it with the latest software i.e iOS 7.0.6 I'm not able to see the wats app and imsg on my notification center when my phone is locked until and unless i activate the "Show on Lock Screen" under each application. which was not same as in the earlier software version.I dnt want my messages or watsapp msges to be displayed on home screen when locked but should be displayed on the notification center on lock condition.
    Please suggest a solution or @Apple please get a software release which can remove this bug .

    We aren't Apple, just users like you. Have you tried a reset? Hold down the home button along with the sleep/wake button until the screen goes black and you see the Apple, then let go. (No data loss)

  • I lost all my unpinned 30 tabs and could not restore it, when Adobe update opened a link by firefox, which was not running in the background.

    I lost all my unpinned 30 tabs and could not restore it, when Adobe update opened a link by firefox, which was not running in the background.
    I guess what I have experienced might be a special case of 'Restore previous sessions'. The actual situation was that after I rebooted my laptop, Adobe update jumped out indicating an update being finished successfully. After I clicked on the 'close' button of the Adobe window, it automatically started firefox and linked to its website. But I did not find the 'Restore previous sessions' page this time. Then I restarted firefox, this time there was a start page with 'Restore previous sessions'. However, sadly enough, it is only restored my pinned pages plus the Adobe website. Actually, I am using 'bookmark all tabs' from time to time to secure opened tabs, but this time I did not expect such an incident. I would suggest to improve the 'Restore previous sessions' with multiple time tags and appear in all cases including my reported case here, after updating firefox, crashes etc. I like firefox in most occasions, therefore believe and hope it becomes better and more robust. Thank you very much!

    Hi,
    Please see the following support request: http://forums.mozillazine.org/viewtopic.php?f=38&t=2628065
    I think the best option would be to leave feedback here to let the relevant development team know about the problem you have had: https://input.mozilla.org/en-GB/feedback
    Also you could try the [https://addons.mozilla.org/en-US/firefox/addon/session-manager/ Session Manager] add-on which gives more control over how sessions are restored.
    I hope that helps

  • TS2972 I cannot seem to get all of my music shared across the network from my MacBook Pro to my iPad. This was not an issue a few days ago. Can anyone help?

    I cannot seem to get all of my music shared across the network from my MacBook Pro to my iPad. This was not an issue a few days ago. I can see all my songs if sorted that way, but if i sort by artist, only a few of them are present. Can anyone help or have any insight?

    Well I didn't think of it before, but I logged out of my apple ID othe iPad's home sharing. The I logged back in and it worked. It's a little weird, but I will take it. Thanks!

  • Hello . I hope to get a solution to my problem: ( I bought a laptop Mac Pro, a user But the seller was not the Secretary Laptop after arriving I've worked for almost an hour When connected to electricity Nour appears very faint, I do not see it quickly ht

    Hello
    . I hope to get a solution to my problem: (
    I bought a laptop Mac Pro, a user
    But the seller was not the Secretary :" (  !!
    Laptop after arriving I've worked for almost an hour
    * When connected to electricity
    Nour appears very faint, I do not see it quickly
    http://www.3rabart.com/up/download.php?img=38472
    When separated from the energy, light shows intermittently and then disappears fast
    http://www.3rabart.com/up/download.php?img=38473
    I need urgent help please.
    Thank you

    Please ، How Email  for a company ? I want to communicate with them about my problem "(

  • TS1702 Hi, how can I install Face Time on iPhone 4. Which was not installed since I bought it. Thanks.

    Hi, how can I install Face Time on iPhone 4. Which was not installed since I bought it. Thanks.

    If the phone was purchased in a Middle Eastern country that has banned FaceTime, there is no way to enable. Otherwise, FaceTime is already installed.

  • When I leave my iphone in my room and went out. After I came back, I find several apps which was not opened before had been opened. It here are also 8-10 photos of my ceiling being taken, includes video. Also my home page picture has been changed.

    When I leave my iphone in my room and went out. After I came back, I find several apps which was not opened before had been opened. It here are also 8-10 photos of my ceiling being taken, includes video. Also my home page picture has been changed.

    also my sister said she heard music being played fr my phone suddently. Is my iphone being hacked?

  • Procedure 'abc' expects parameter '@def', which was not supplied

    Hi ,
    I am doing a ABAP Proxy to PI to JDBC Stored Procedure synchronous scenario but getting an error as :
    Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'db.abc' (structure 'Statement'): java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Procedure 'abc' expects parameter '@def', which was not supplied.
    I have a element by name def in the data type.
    Any ideas why this error is coming up?
    Thanks,
    Anu

    use logsqlstatement in receiver JDBC, it will give you exact sql PI is firing on DB.
    using that you can adjust your DT structure to form the right sql.

  • Procedure or function 'sp_MSupd_dboItems' expects parameter '@bitmap', which was not supplied.

    Hello,
    when i view replication monitor  i get the following error:
    Procedure or function 'sp_MSupd_dboItems' expects parameter '@bitmap', which was not supplied. (Source: MSSQLServer, Error number: 201)
    also, in what database the stored procedure 'sp_MSupd_dboItems' found
    Can someone help with this error please

    I know I am very late to the party.. However, I would like to provide a solution to this problem.  I have seen this problem lately and I have fixed it.
    This problem occurs when you are replicating the data over to the same target database from multiple sources.
    Let me explain briefly with an example.
    I have a table namely 'vijay.dbo.test_vj' on ServerA and replicating it over to ServerC with the same schema as 'vijay.dbo.test_vj' at the target database.
    I have a table namely 'vijay.dbo.test_vj' on ServerB and replicating it over to ServerC with a different schema as 'vijay.srvrB.test_vj' at the target database.
    So, here in this case… the target database is same but the target tables are different (i.e., schema is different).  The problem here is that the replication stored procedures (sp_MSins*, sp_MSupd* & sp_MSdel*) that were created by default at the target
    database are being used for both the replications of 'srvrB' and 'dbo' schema tables.
    When you configure this type of replication, you should give custom names to the replication stored procedures (in the article properties) to allow the Replication to create the stored procedures separately for each table at the target database.
    You need to reconfigure one of those replications (either the one for ServerA to ServerC or the one for ServerB to ServerC)  by giving a separate names to the replication procedures.  
    This change will fix your problem.
    Regards, Vijay Pidikiti

  • When I updated to OS 5.0 my old apple id which was not an e-mail address won't work anymore, how can I fix this?

    When I updated to OS 5.0 my old apple id which was not an e-mail address won't work anymore, how can I fix this?

    There is no way to consolidate iTunes accounts.
    Setting up an iPhone has never required creation of a new Apple ID.
    You've apparently purchased content with both Apple ID's.  Sign into the device with the correct Apple ID and sync the content.

  • How to install acrobat pro on my new laptop which does not have a cd drive

    How to install acrobat pro on my new laptop which does not have a cd drive

    Hi Tapan ,
    You can install the same from the web .
    Here is the link for the same.
    https://helpx.adobe.com/acrobat/kb/acrobat-downloads.html
    Hope this will help.
    Regards
    Sukrit Dhingra

  • (rsInternalError) Procedure or function 'CreateSession' expects parameter '@SiteZone', which was not supplied.

    Hi,
    Does the (Procedure or function CreateSession expects parameter @SiteZone, which was not supplied.)
    error require a complete reconfiguration of reporting services ?
    Regards

    Hi KeeperHill,
    The error message” Procedure or function 'CreateSession' expects parameter '@SiteZone', which was not supplied.” means that there is a procedure or function named CreateSession, it expects a parameter(@SiteZone) but not given.
    Based on my research, the problem can be caused by the two reasons:
    The use of null value for parameter @SiteZone, we should actually use DBNull.Value.
    Forgotten to put the following command in your code:
    cmd.CommandType = CommandType.StoredProcedure;
    For more details, please refer to the similar thread below:
    http://stackoverflow.com/questions/368642/procedure-expects-parameter-which-was-not-supplied
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • I have recently updated m iPhone 4 which was not used since months. It has to be updated from5.1.4 to iOS 7.0.4 and it has taken more than 15 hours to get started. Plz help me. It took about 5 to 6 hrs to prepare for updating.

    I have recently updated m iPhone 4 which was not used since months. It has to be updated from5.1.4 to iOS 7.0.4 and it has taken more than 15 hours to get started. Plz help me. It took about 5 to 6 hrs to prepare for updating.

    I am having this problem.  At first with the new iPhone 5, and then with the iPad 2.  I am not sure why this is happening. 
    My gut feeling is this is an iO6 issue and here's why -
    The problem mainly occurs with apps.  I have about 150 apps, and when I plugged in the phone, iTunes went to sync all of them.  The process would hang up after about 20 - 30 apps were loaded onto the phone. I could tell where about the process hung up because the apps on the phone showed up as "waiting".
    Then on the iPad 2 I plugged in to sync and saw there was a huge "Other" component in my storage.  It required me to restore the iPad 2 from backup.  With this restore the same issues occurred - putting the apps back on the iPad would hang up.  The videos on the iPad also got stuck - maybe after about 10 hours of videos transfered iTunes crashed.
    My solution has been to soft reset the device, restart Windows, and continue the process until it's complete.  This is remarkably inefficient and time-intensive but everything works with patience.
    I have been wondering if others have had these same problems. 

  • I bought an unlocked Iphone 3GS, I needed to update Ios5 and restored the settings for that which was not authorised for unlocke, but after that iphone is not getting activate and no sim card insatlled error is there. i m using local sim card in Pakistan

    I bought an unlocked Iphone 3GS, I needed to update Ios5 and restored the settings for that which was not authorised for unlocke, but after that iphone is not getting activate and no sim card insatlled error is there. i m using local sim card in Pakistan

    You didn't buy an 'unlocked' iPhone 3GS - you bought a 'hacked' one.
    Updating to iOS 5 removed the hack and the unofficial unlock.
    All you can do is try to find out which network the phone is locked to and ask them if they can unlock it properly.
    Otherwise, sell it or throw it away and buy an officially unlocked phone from an official source.

  • I needed google earth app which was not in my store. tried swictching stores but it didn't permit. How can i get?

    i needed google earth app which was not in my store. tried swictching stores but it didn't permit. How can i get?

    to be able to use an App store from another country you require an address in that country and credit card in that country.  You can set up an account without a credit card though

Maybe you are looking for