Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
I have a c# code lite this: MyWindow.Closed = new EventHandler(MyWindowClosed) What Code is this in Visual Cobol? #TranslatefomCtovisualcobol
Is there a way to force the cursor to the right or left edge of a MaskedTextBox?.If the tab key is used there is no problem. Only when the mouse clicks in the box. I want the insertion point to always be on the right for numeric data and on the left for text.
Then there is a difference in behaviour between Server Express and Mainframe Express, I put to RUN the program in those environment and ALL is OK. I make a new program Calling NUPO245 and I Get the same error. Do you have an Example that you can send to me ?? Many Thanks in advanced PJM
Hi! I have 3 wpf Windows in my Visual Cobol Project Now I will call from WPFWindows WPFWindow2, in c# is there no problem... here is my Project view: I found only samples where in one exe are a lot of Windows inside but this is not what i Need... #WPFcallsecondwindow
What am I doing wrong? I had to clean my solution. I built the solution, and when I start to debug the solution, it recompiles the whole solution.
LINKAGE SECTION. 13194 01 LK-PARM-LIST. 13195 05 LK-PROCNG-DATE PIC S9(07) COMP-3. 13196 05 LK-RUN-NBR PIC S9(04) COMP-3. 13197 05 LK-COMPL-STS PIC X(01). 13198 05 LK-PATH-INST PIC S9(04) COMP-3. 13199 05 LK-PATH-APPL PIC S9(04) COMP-3. 13200 05 LK-JOB-NAME
I see in the ACUCOBOL-GT docs that it is possible to call C/C functions from COBOL using the CALL statement. In Windows, I've managed to do this using pure C code that was compiled with gcc. This was done using the version of gcc that ships with MinGW in release 5.1.1 of the Qt framework. If I try to call functions in a DLL that was compiled with g or cl.exe (the Visual C compiler), I keep hitting the ON EXCEPTION part of my CALL statement. Obviously I'm missing something. I'm aware of the name-mangling issue with C compilers, and have tried to work around it by using __declspec(dllimport) and __cdecl in the C function declarations. However, this does not resolve the problem. Can anyone provide a simple example of both C code and compile/link commands, which would allow C library code to be used from ACUCOBOL? And can this only be done using COM DLLs? (That's the one thing I haven't tried, because I don't have a development environment that supports creating COM DLLs
Does the "HttpPost" routine Work in Micro Focus Visual COBOL? I have used it in Micro Focus version 2.1 for Unix. Since we are porting our application to Micro Focus Visual COBOL, I would like know if the "HttpPost" routine work here? If not so, What would be the alternative to implement this?#COBOL
Using 32-bit ACUCOBOL 9.2.1 in Windows 7, I get the following error when executing a MODIFY statement: --------------------------- Error --------------------------- Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING)) COBOL error at 00002C in MyCOBOL.acu ("MyCOBOL.cbl", line 22) --------------------------- OK --------------------------- The MODIFY statement is: MODIFY WS-NONGUI-HANDLE "getInt"() GIVING WS-INT The complete COBOL code is: IDENTIFICATION DIVISION. PROGRAM-ID. TESTPROG. ENVIRONMENT DIVISION. CONFIGURATION SECTION. SPECIAL-NAMES. COPY "MyDLL.def". . DATA DIVISION. WORKING-STORAGE SECTION. 77 WS-NONGUI-HANDLE HANDLE OF "@MyDll.MyNamespace.MyClass". 77 WS-INT PIC 9(5). PROCEDURE DIVISION. CREATE "@MyDLL" NAMESPACE IS "MyNamespace" CLASS-NAME IS "MyClass" HANDLE IS WS-NONGUI-HAN
Hi all, I’m Dominique SACRE, Product Director for extend - ACUCOBOL-GT and RM/COBOL product lines. It is my greatest pleasure to welcome all of you joining us for this extend - ACUCOBOL-GT Forum, a part of the Micro Focus COBOL forum. Please feel free to ask questions about any topic which is related to extend line of products and ACUCOBOL-GT. We will do our very best to provide you with answers to your questions. Best regards, Dominique
While trying to install or uninstall a Server Express license, you receive the following error message: This is a Development System license and cannot be installed for deployment Server Express uses two different licensing systems. One is for Development licenses, and the other is for Runtime licenses. The error message above is generated because you are trying to install a Server Express Development license using AppTrack, which is the Runtime (deployment) licensing utility. Development licenses must be installed or uninstalled using one of the development licensing utilities. To install or uninstall a Server Express development license, perform the following steps as root: Determine the operative directory that the Micro Focus Development License Manager is using. To do this, follow the instructions in the following Knowledge Base article: http://community.microfocus.com/microfocus/cobol/net_express__server_express/w/knowledge_base/17435.determine-where-the-license-ma
Problem When animating a web application, the SOLO web server that is provided with Net Express fails with the following error: SOLO - Fatal Error initializingAttempt to bind address failed This problem actually occurs when a web server, such as Microsoft IIS, is actually running and using port 80 on the same machine, and this causes a conflict with SOLO that is also using port 80 by default. Resolution Here are the steps to change the port number to be used by SOLO: Open the Net Express IDE Click on Options > Project Change the number 80 in the "Port address for WebServer" field to a different one, e.g. 8080
Problem Each operating system comes with its own version of Internet Information Services (IIS). Windows Vista and Windows Server 2008 come with IIS 7.0 while Windows 7 and Windows Server 2008 R2 come with IIS 7.5, which is essentially an improved version of IIS 7.0 with more features. IIS 7.x is in fact a complete redesign and rewrite of IIS, so the following instructions on how to deploy a CGI or web application are different from the ones for IIS 6.0 running on Windows Server 2003. Resolution 1) Install MF Server for COBOL 5.1 and apply the WrapPack level that matches to the one used on Net Express 5.1. Note: Net Express 5.1 and Server for COBOL 5.1 are certified on Windows 7 and Windows Server 2008 R2 starting with WrapPack 4. 2) Make sure IIS 7.x is installed with the following Role Services, which are found under Application Development: CGI ISAPI Extensions Note: If these role services are not instal
Problem The following error occurs when attempting to start ESQLCONFIGW.EXE in Visual COBOL 2.1 or Visual COBOL 2.1 Update 1: Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately. Object reference not set to an instance of an object. Resolution This is a known issue, and it has been addressed in Visual COBOL 2.2. To work around the problem in Visual COBOL 2.1, the equivalent command line esqlconfig.exe can be used from Start > Programs > Micro Focus Visual COBOL for Visual Studio 20xx > Tools > Visual COBOL 20xx Command Prompt where xx is either 10 or 12. When running esqlconfig with no parameters or an invalid parameter, it displays the current default setting and appropriate syntax.
Problem The program is compiled with the ANIM and INITCALL(CBL_DEBUGBREAK) directives: COBOL ProgramName.CBL ANIM INITCALL(CBL_DEBUGBREAK) [other-directives]; and linked with the full static runtime library: CBLLINK -BSF ProgramName.OBJ Running the program should pause with the following prompt: "The Micro Focus COBOL RTS has detected a call to CBL_DEBUGBREAK. Would you like to invoke the debugger?" Instead, it ignores the call to CBL_DEBUGBREAK and just runs through. What is missing? Resolution By default, the support for debugging is not automatically included when linking the static runtime library from the command line. See the description below for linking with static runtime library, i.e. -B -B[ c ][ D ] Link with static runtime library - m = S for single-threaded, m = M for multi-threaded - c = L for Lite, c = B for Base, c = F for Full - D to include support for debugging Acco
In a program that does a sort with input- and output-procedures, I get this error message: I/O error: file 'SORTFILE' error code: 9/220 (ANS74), pc=0, call=1, seg=0 220 Attempt to execute more than one SORT or MERGE simultaneously Attached GDC02.txt is the COBOL source code. What am I doing wrong?
The problem is: When the wrun32 application is crashed or closed by the task manager a part of wrun32.exe is still running. (64-bit W2008-R2) Normally causes a crashed runtimer no problem, because the user starts a new one, but a crashed runtimer in a lock situation will result in a read-lock error (status 99) for all users !!!!!! In a terminal server environment it is hard to determine which wrun32 causes a lock-situation when the user did not report a crash. In this case the customer has 25 users and at least the same amount of wrun32 processes. The Help-desk could not help me with this MICROSOFT problem, Who can help me with a solution for this problem ?
In an acuthin environment I'm experiencing at least 10 times slower performance iterating over an ADO(ActiveX Data Objects) record-set compared to fat client(wrun32). ADO is a non-graphical ActiveX object, so I was wondering if there was a way to create and interact with it server-side in Acurcl, rather than on the client side? Is this option available with .NET objects as well?
Hi! I will call my own Methode in WPF... Have anyone a short sample fro me? #WPFCallMyownMethode
I have a form that contains a testBox that I use to enter data. When I press "tab" or click the mouse on another control, the data is processed. When I press "enter" nothing happens. How can I have the enter key do what the tab key does? I use an event handler "Leave_Focus" to process the data.
Hi! I will ask the state of a Checkbox... This will not be working: if (checkBox1::IsChecked = true) continue end-if. What is wrong? Best Regards Bernd #WPFCheckboxIsChecked
Hi I am using Managed Visual Cobol for Microsoft Visual Studio. I access files using the COBOL Open, Read, Write, Rewrite and Close. I have two Forms. form1 produces FORM2. Form2 has one textbox, several labels, some of witch receive data from the program, and three buttons. My Problem is this: Everything was going great. Reading data. Displaying data etc. I had a problem and stopped the Debugger and corrected the problem. Ever since then, the index read has returned an empty record. The only data in the record is the key witch was moved in by the program. I also tried a process that read the same file sequentially. Same results, an empty record. I have tried recycling the computer and full power down. same Results. I even deleted the physical files and tried to recreate it with another program. The File is NOT recreated. This Program has not changed. It opens for output, reads the data from a text file and then writes to the index file. I have checked all input and outp
Hello all, In the past I was using the fhredir.obj. Now ,with EXPRESS NET 5.1, how do I use it ? Because it seems there is more to fhredir.obj. Changed name? Thanks Joaquim#checkboxDialogSystemNetExpress#COBOL#fhredir
We are running RM COBOL on RHEL v 6.4. We currently have Esker's vsifax integrated into our programs for sending faxes & emails. Its very nice that the program knows by what we put in whether it is an email or fax number - so same routine for both. The faxes go out thru a modem & the emails get routed thru our Exchange server. When we updated from Exchange 2007 to Exchange 2010 our invoice emails that go out as a larger group are getting caught in Tarpit on 2010. Esker knows this is a problem and even though 2013 is out, have not idea when (or I think how) they are going to fix it. They have a supposed work around but we could not get it to work. So my question though is really this - does any one have any knowledge or experience with a similar product that we could use to replace VsiFax?#linuxcobol#RMCOBOL#COBOL
I would like to be able to use our 32-bit installation of ACUCOBOL 9.2.1 to call a method from a non-GUI class in a .NET 4.0 DLL. There are no sample programs in the sample directory that show an example of using the CREATE statement, so I tried to write my own. However, I can't get the COBOL in my minimal test to compile. Can anyone here help? The C# code for the .NET DLL is in the file MyDLL.cs: namespace MyNamespace { public class MyClass { public int getInt() { return 42; } } } I compiled this in 64-bit Windows 7 using what I think is the "any CPU" version of the C# compiler and framework: C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\csc /t:library MyDLL.cs The resulting DLL is named MyDLL.dll. I then used the 32-bit version of netdefgen to create a copybook called MyDLL.def: * ACUCOBOL-GT Version 9.2.1 .NET Copy Book - Generated On 10/10/2013 2:52:07 PM * Managed assembly, generated by 32-bit NetDefGen.exe
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.