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 ArticleForum 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 ArticleForum Post: RE: mf cobol data file path
should the select statement have quotes in it for the file name?
View ArticleForum 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 ArticleForum 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 ArticleForum 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 ArticleForum 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 ArticleForum 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 ArticleForum 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 ArticleForum Post: RE: mf cobol data file path
I set COBDATA like you did and the cobol program found the file.
View ArticleWiki 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 ArticleWiki 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 ArticleWiki 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 ArticleForum 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 ArticleForum 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 ArticleForum 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 ArticleForum 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 ArticleForum 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 ArticleForum 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