Forum Post: RE: Calling Managed COBOL from C#
Why are you compiling the programs as Managed Mainframe Subsystem Applications? That project type is for applications running under Enterprise Server for .NET, using CICS or JCL emulation. Are these...
View ArticleForum Post: RE: open an rm file for writing from mf
I thought of that and ran through the code a few times. The close is being called. Oddly enough it is working now....
View ArticleForum Post: Move String to 01 Structur?
Hi, i have a Little Problem with a String under Visual Cobol 2.3 Update 2 / VS 2012 If will move this: 01 MyDataBlock string . to this 01 Structur: 01 Mein-Link01 . 05 Benutzer-Name PIC X(30)....
View ArticleForum Post: RE: Move String to 01 Structur?
Can you please be more specific? What is the error that you receive? This move works fine for me if I initialize the string to a value first.
View ArticleForum Post: RE: Move String to 01 Structur?
How initialize you the string? INITIALIZE MyDataBlock ? More Details: (WPF Mask...) set DLL-DBOX1 to new WinwvisHP.WWHP_DBOX1. move HinHer to...
View ArticleForum Post: RE: Move String to 01 Structur?
sorry: move MyDataBlock to Mein-Link01 this move is not running...
View ArticleForum Post: RE: Move String to 01 Structur?
I don't think you can use initialize on the string unless you first give it a size. Can you please post the entire program source program so I can see it all in one place? If it is small just attach...
View ArticleForum Post: jtable in visual cobol
Please, have example how to insert rows in JTable, or how implement DefaultTableModel, in a Managed Cobol
View ArticleForum Post: RE: VC 2.1 to 2.3
Hi Chris Thank you for the reply. So, on the Windows 10 pc I set the Target Framework for every project in the App to .NET Framework 4.5.2. I now have a problem I need help with: One project in the...
View ArticleForum Post: RE: VC 2.1 to 2.3
Hi Brendan, Managed (v4.0.30319) is referring to the version of the CLR that will be used and not the .NET Framework version. You say that you get this error even after changing the Framework back to...
View ArticleForum Post: RE: VC 2.1 to 2.3
Hi Chris Using VC 2.1 and Framework .NET 4 on Windows XP the project works fine. We do not have 2.3 Update 2 yet, I am using the 30 day trial of 2.3 and only version 2.3.0 was available as a trial....
View ArticleForum Post: mf cobol data file path
I'm trying to set the data file path for an mf cobol project. I've tried setting COBDATA in App.config but that get a fil status 35 on the file. If I move the file to the object code directory the...
View ArticleForum Post: RE: Windows API calls from managed code
Hi Phil, You shouldn't get a 173 error on the set statement but you might get a 173 on the call of the WinAPI function if the .dll wasn't loaded correctly. I just tested this here and although the set...
View ArticleForum Post: RE: mf cobol data file path
COBDATA should work to cause the file handler to search the specified directory name for the file you are trying to open provided that the file name does not already have a path specified. Is this a...
View ArticleForum Post: RE: mf cobol data file path
This is a managed cobol application using rm files select filesomaticpremium assign to "Z-SOMPR-FL" organization is indexed access mode is dynamic record key is...
View ArticleForum Post: RE: mf cobol data file path
This works fine for me even with RM data files. Is this program part of an .exe or is it in a .dll that is being called? If it is in a .dll and is being called then the app.config file containing...
View ArticleForum Post: RE: Windows API calls from managed code
The set proc-pointer approach should work but you should add the $set noilnative directive to your program. When I add this to my example it will load kernel32 ok. Please note that when you load a...
View Article