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

JDBC Connection sharing between java and cobol

Hello,I have the following java code :Connection connection = null;try {    /* DB2 */    Class.forName("com.ibm.db2.jcc.DB2Driver");    connection = DriverManager.getConnection...

View Article


RE: JDBC Connection sharing between java and cobol

I threw together this little example that has a java main that connects to sqlserver using jdbc, executes a query and then passes the connection object to COBOL as a parameter in linkage.COBOL then...

View Article


RE: CBL_DIR_SCAN_READ

Hi Jerry,try the following to Keep things in line - to Keep unneeded Points out of the code.     * set ScanEntry start values           initialize ScanEntry          set NameLn to 256     *...

View Article

RE: call x'91' function 35

Sorry forgot to provide this.  Here is the code      01 command-lin-string  pic x(80) value spaces.      01 result              pic x comp-x.      01 func                pic x comp-x value 35.      01...

View Article

RE: call x'91' function 35

Hello BHunt:If the end user's PCs don't have Visual COBOL installed, then what *do* they have?In order to run programs compiled with Visual COBOL, an end-user PC should have the Micro Focus runtime...

View Article


CBL_DIR_SCAN_READ

Hi   I have a method that scans a directory and copies each file found to a sub-directory ("backup"). The problem is that the directory scan routine ("CBL_DIR_SCAN_READ") does not return with a file...

View Article

RE: CBL_DIR_SCAN_READ

I would Like to thank both of you for your suggestions. I thought that the File Name and Name Length were return values. There is a lot of info that is either missing of confusing in the docs. It would...

View Article

RE: call x'91' function 35

Does the actual print command that you are trying to execute run OK from a command prompt outside of the program?Look at the value of the printer-name2 variable when executing the program and replace...

View Article


call x'91' function 35

We just recently went to visual cobol and we are having trouble with the call x'91' function 35.  It seems to work fine on each of the developers pc's - which have visual cobol installed on them, but...

View Article


How to use Linq ??

Hi :)I'm codding some test here, and, I see it's possible to use linq functions with VCobol, but, I don't know how to use that.http://i.imgur.com/4v79axn.pnghow I can use the select linq function, or,...

View Article

RE: How to use Linq ??

The linq style not work :(

View Article

RE: IS keyword conversion

I found one more question... how I can make the returns, in Try/Catch...??

View Article

RE: Printer Browser

Hi Jerry,Sorry, the example is misleading.The browser handle is actually referring to the window handle that you would like to be the parent of the print selection dialog.You can set this to 0 is you...

View Article


RE: One more C# WPF to Cobol

For more Background:I will fill the List  like this: (c#)                   GridList.Add(new WPFGridZeilen()                   {                       GrSpalte01 ="001",...

View Article

RE: One more C# WPF to Cobol

Hi Bernd, I think I answered this one in my post on your other thread "Public Class for a WPF Data Grid":The 2.2 version of Visual COBOL does have support for property initialization as part of a...

View Article


RE: One more C# WPF to Cobol

But there is a Bug....Can I send you the source?So you can see what i mean...

View Article

RE: One more C# WPF to Cobol

Is the bug that you are describing that the debugger is skipping over the declare source line in the method?What product version are you using?Yes, please send the zipped up source to me at...

View Article


RE: One more C# WPF to Cobol

The Mail is on the way...

View Article

RE: One more C# WPF to Cobol

The debugging is stopping because an exception is being thrown on the statement and you are not trapping the exception.You can trap the exception by doing something like the following:          try...

View Article

RE: One more C# WPF to Cobol

Something is wrong!?I Change the Source:          declare GridList as list[type WPFGridZeilen]          set self::TryFindResource("cvsOptions") as type CollectionViewSource::Source to GridList...

View Article
Browsing all 4356 articles
Browse latest View live


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