Quantcast
Channel: Visual COBOL
Browsing all 5819 articles
Browse latest View live

Forum Post: RE: mf cobol data file path

I have a main c# project that is the entry point for the application. my managed cobol programs are being compiled in to class libraries. this if from the config file in the cobol project add...

View Article


Forum Post: RE: mf cobol data file path

Like I said you cannot use an app.config in a Class Library project as it will not be loaded. You would have to add the COBDATA environment variable to the app.config of the C# main program, or set...

View Article


Forum Post: RE: mf cobol data file path

should the select statement have quotes in it for the file name?

View Article

Forum Post: RE: mf cobol data file path

The quotes are fine. This does a static assignment to a file named Z-SOMPR-FL that resides on disk. The problem is in how you are setting COBDATA. Try setting this in the computers environment to see...

View Article

Forum Post: RE: mf cobol data file path

set COBDATA in windows but still nothing, I this seems to be a setting issue more than anything else.

View Article


Forum Post: RE: mf cobol data file path

Which product version are you using? I am testing with 2.3 update 2. It could be that RM data files did not use COBDATA in earlier releases but I would have to do some checking. If I know the version...

View Article

Forum Post: RE: mf cobol data file path

Micro Focus Visual COBOL 2.3 Version 2.3.02187. I can hard code the file path into the program and it finds the file.

View Article

Forum Post: RE: mf cobol data file path

I have an rm project with COBDATA set and this program can find the data files. Would the project structure make a difference?

View Article


Forum Post: RE: mf cobol data file path

I am not sure what you mean by "rm project". Do you mean a managed console application that generates an .exe file? This should work with the app.config. I can get this to work in a Class Library...

View Article


Forum Post: RE: mf cobol data file path

I set COBDATA like you did and the cobol program found the file.

View Article

Wiki Page: Network deployment of Visual COBOL 2.2.1 & 2.2.2 native applications

Problem: How to deploy native applications built with Visual COBOL 2.2 Update 1 and Update 2 on the network? Solution: The following instructions are based on a 64-bit Windows environment where: the...

View Article

Wiki Page: Network deployment of Visual COBOL 2.2 native applications

Problem: How to deploy native applications built with Visual COBOL 2.2 on the network? Solution: The following instructions are based on a 64-bit Windows environment where: the 32-bit software is...

View Article

Wiki Page: Network deployment of Visual COBOL 2.3 native applications

Problem: How to deploy native applications built with Visual COBOL 2.3, Visual COBOL 2.3 Update 1, and Visual COBOL 2.3 Update 2 on the network? Solution: he following instructions are based on a...

View Article


Forum Post: Connection Name Not Found - 19702

Hi, I am migrating from Server Express 5.1 to Visual Cobol 2.3. I am getting error as connection name not found. I am using ESQL and Sub Program is calling Main Program. Connection is getting...

View Article

Forum Post: Question About Zero Suppression

I have been testing Visual Cobol against an older Cobol main frame system and just have a question about Z Zero Suppression Here's a sample program IDENTIFICATION DIVISION. PROGRAM-ID. EXAMPLE....

View Article


Forum Post: RE: Question About Zero Suppression

With this code you have to enter 3.28, which will give you as display result : blank3.28, with other words you must use the decimal point on the keyboard. However: if you add another line to your...

View Article

Forum Post: RE: Question About Zero Suppression

Got it working thanks

View Article


Forum Post: CellEndEdit event.

I have a Windows Form view a datagridview in my cobol program. During program execution I am editing the contents of a cell without leaving the cell, i.e. I am not hitting the Enter or Tab key....

View Article

Forum Post: Connecting to MySQL

Hi there, I'm connecting to a MySQL db from Visual COBOL on Windows 10 and have a few questions I'm hoping someone can help with. I have watched Chris Glazier's useful MF video, 'Database Access Using...

View Article

Forum Post: RE: Windows API calls from managed code

After coding the following, the WinAPI call works although I get the exception below in my event log when I execute "SET MYPOINTER":      $set noilnative      $set ilpinvoke"kernel32"      $set...

View Article
Browsing all 5819 articles
Browse latest View live


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