Forum Post: Relative Record Number file Read problem in Visual COBOl
Hi I am trying to read an RRN (Relative Record Number File) in Visual COBOL, The file was created in Micro Focus and Now we will be using this in Visual COBOL as part of Migration/Up-gradation to...
View ArticleForum Post: RE: Relative Record Number file Read problem in Visual COBOl
If this is a relative file as in organization is relative then the handling shouldn't have changed between previous products such as Net Express/Server Express and Visual COBOL. Is it a specific...
View ArticleForum Post: ADO Bind Connection
I open a connection in my VB.Net Client and then i use exec ado bind connection statement in order to share the open connection with my Visual Cobol class and perform some exec sql statements. I close...
View ArticleForum Post: RE: ADO Bind Connection
Sounds like you are not doing a UNBIND of the connection in COBOL. When finished you should:- exec ado unbind connection end-exec. that would free it up for reuse....
View ArticleForum Post: RE: ADO Bind Connection
Which Visual COBOL product version are you using? What type of application is this? i.e. WinForm, WPF, WCF, ASP.NET, etc. You should not be closing the connection in both languages. COBOL should do an...
View ArticleForum Post: RE: Nothing displayed in console when running program
Try: DISPLAY 'HELLO WORLD' UPON CONSOLE
View ArticleComment on Airport Demo - Visual Studio
Coband - Thanks for the information. I'm looking into this and will update these files as soon as I can.
View ArticleForum Post: RE: ADO Bind Connection
This is VB part of the code. Now unbind statement is working but the next exec sql statement (execute stored procedure) raise an error with sqlcode=-1 and description "A severe error occurred on the...
View ArticleForum Post: RE: ADO Bind Connection
I forgot to send that im working with Micro Focus Visual COBOL 2.2 Version 2.2.02100. This is a sample code from a windows application but the real use of that is from WCF Service in C# calling...
View ArticleForum Post: RE: ADO Bind Connection
In the BIND CONNECTION Statement you are using the host varialbe :DBTran. I can't see where you set the transaction object.
View ArticleComment on Airport Demo - Visual Studio
This file has now been updated. Thanks for your patience.
View ArticleForum Post: RE: ADO Bind Connection
I think that the connection code is fine now. The error you are receiving appears to be due to the stored procedure you are calling. I found an article here that seems to address this error and it has...
View ArticleForum Post: Display ... On Exception?
I'm getting an "invalid operand" as well as a couple of other errors on the following statement: display ctr in-emp-record upon console on exception display "Wow!" not on exception...
View ArticleForum Post: RE: Display ... On Exception?
Rule 7 says: "The ON EXCEPTION and NOT ON EXCEPTION phrases can only be specified when mnemonic-name is associated with ENVIRONMENT-NAME or ENVIRONMENT-VALUE." CONSOLE is an (implied) mnemonic-name...
View ArticleForum Post: 9/220 Attempt to execute more than one SORT or MERGE simultaneously
Hi, i did follow the instructions mentioned in below article "...
View ArticleForum Post: RE: 9/220 Attempt to execute more than one SORT or MERGE...
I suspect that the next step will be that you will be asked to upload the actual source program listing, pared down to the minimal amount to exhibit the error, if possible.
View ArticleForum Post: RE: 9/220 Attempt to execute more than one SORT or MERGE...
Are you doing any go to statements that would cause execution to go to a section outside of the output procedure? Are you doing an exit program or goback within the output section instead of letting...
View ArticleForum Post: RE: 9/220 Attempt to execute more than one SORT or MERGE...
I am developing a new winform application. Yes the program does goback from input procedure. In first iteration, when certain business validations are met the program does goback from input procedure...
View ArticleForum Post: RE: 9/220 Attempt to execute more than one SORT or MERGE...
You cannot do the goback from within the input procedure as this leaves the sort before it has actually completed and leave it in an open state. What you should do in the input procedure is set a flag...
View Article