Forum Post: How to do a prepared SQL select
Hello, I'm trying to do a prepared select but i got a compiler error message ** External Compiler Module message ** ES0100 Incorrect SQL statement syntax near: into what i've done is: move "select pays...
View ArticleForum Post: RE: How to do a prepared SQL select
Hi there, I think you would usually use prepare followed by, "exec sql open cursor..." and then "exec sql fetch into...". As you are expecting one row, simpler to use a single "exec sql select..." EXEC...
View ArticleForum Post: RE: How to do a prepared SQL select
Good. No problem. I am doing a lot of work with exec sql at the moment but not so much with 'dynamic' SQL. I have just been experimenting with it. MicroFocus staff may correct me here but... I don't...
View ArticleForum Post: RE: How to do a prepared SQL select
Only Oracle Pro*COBOL supports the use of host variables directly in a prepared statement. If you are using the OpenESQL precompiler then you need to use question marks as parameter markers instead of...
View ArticleForum Post: RE: Method return value
Out of curiosity, why would you want one? Various conventions have been used by different programming-language families for specifying a function's return value. (The concept of "return value" is...
View ArticleForum Post: RE: How to do a prepared SQL select
Thanks Chris. Am I interpreting the docs right i.e. that you can't do a dynamic select statement without a cursor? I tried this but i couldn't get it to work so I'm assuming select only works when...
View ArticleForum Post: RE: How to do a prepared SQL select
Yes if you are returning a result then you must use a cursor when using dynamic SQL. The USING on the open is to provide parameters for any parameter markers you have specified with '?'. The result is...
View ArticleForum Post: RE: How to do a prepared SQL select
Thanks Chris, that's what I figured. This was someone else's post but I was interested in furthering my understanding. Cheers, Linden.
View ArticleForum Post: Default Boolean
Just wondering why the default condition value does not change even when I assign it to true in the working storage section. class-id Validator. working-storage section. 01 #Title string value "Entry...
View ArticleForum Post: RE: Default Boolean
Never mind, I figured it out. I have static methods and so needed to set the validData to static also.
View ArticleForum Post: RE: Cobol consuming webservice
Thank you for the info. I was able to follow the steps to Generate Client from WSDL but an getting compile errors: "Cannot open file :...
View ArticleForum Post: RE: How to do a prepared SQL select
Thanks Chris, for the precision. Regards, Alain
View ArticleForum Post: Using a ACTIVEX with Visual Cobol - WPF
Hi, I need to use an ActiveX from a vendor to control ioboards. How do I incorporate ActiveX into my program? Thanks Alberto Ferraz
View ArticleForum Post: RE: Using a ACTIVEX with Visual Cobol - WPF
Your post has WPF at the end of it so I am assuming that this is a WPF managed COBOL project, correct? Most vendors these days provide a .NET equivalent control to any ActiveX or COM control that they...
View ArticleForum Post: RE: Using a ACTIVEX with Visual Cobol - WPF
Hi Cris, Yes I am using a project in wpf. The activex that I need to use is from a TCP / IP controller vendor and does not have the .NET version. It is already an old version of ActiveX and has not...
View ArticleForum Post: Visual Cobol PE 2.3 download error
Hi Everybody, I' ve tried to download the Visual Cobol 2.3 for Eclipse PE version and have filled in the forms and received the email with the download link but when I click the link it takes me to an...
View ArticleForum Post: RE: Visual Cobol PE 2.3 download error
Hi, i have the same problem with Visual Cobol 2.3 for Visual Studio. I have tried with Opera, Firefox and Chrome and from difrent locations and always see the same message. Enrique.
View ArticleForum Post: file name mappings
I have a simple program that writes to two files. my file assignments look like this: select optional reg assign to "REGFILE". select optional peg assign to "UserFolder\PEGFILE". I have an environment...
View ArticleForum Post: RE: Using a ACTIVEX with Visual Cobol - WPF
Hi, I have already installed ActiveX and no longer gives the REFERENCES error. I send a print of the functions it allows to use. Although I only need a few I think that when I can use one I can use all...
View Article