Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Browsing all 4356 articles
Browse latest View live

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 record...

View Article


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...

View Article


RE: ADO Bind Connection

I have already did that. Doesn't seem to work.

View Article

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 Article

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 Article


RE: Nothing displayed in console when running program

Try:  DISPLAY 'HELLO WORLD' UPON CONSOLE

View Article

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 Article

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 Article


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 Article


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 Article

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 Article

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 Article

RE: 9/220 Attempt to execute more than one SORT or MERGE simultaneously

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 Article


RE: 9/220 Attempt to execute more than one SORT or MERGE simultaneously

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 it...

View Article

RE: 9/220 Attempt to execute more than one SORT or MERGE simultaneously

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 to...

View Article


RE: 9/220 Attempt to execute more than one SORT or MERGE simultaneously

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

RE: 9/220 Attempt to execute more than one SORT or MERGE simultaneously

Is there any explicit statement to close/kill sort deliberately, like end-if ? which will be easier fix without much change in the code.

View Article


RE: 9/220 Attempt to execute more than one SORT or MERGE simultaneously

Slightly quirky syntax, but I believe that if you do:          move 16 to sort-return...before exiting the input/output procedure, it will cause the sort to terminate immediately.The SORT-RETURN...

View Article

9/220 Attempt to execute more than one SORT or MERGE simultaneously

  Hi,  i did follow the instructions mentioned in below article...

View Article

Issue with Installation VisualCobol for Eclipse

Hello!I try to install VisualCOBOL for Eclipse PE and every time get error related to missing Java.At first I try to install in Windows 10 (x64) and receive error, that I must install Oracle Java 32bit...

View Article
Browsing all 4356 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>