Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
How do I include data access in a website developed with Visual COBOL? I created a new COBOL ASP.NET web site, which works, but as soon as I add SELECT and FD statements for a file access I get compile errors. Maybe the syntax is wrong, or I have to link in some module for data access? Error 1: Undeclared identifier _MF_LINK_TEST-FILE C:\\Users\\Test\\AppData\\Local\\Temp\\_cd5836_2\\About.aspx.il Error 2: COBCH1268 : A static file cannot reference instance items …\\Default.aspx.cbl 11 55 Temp1-ASP-NET-WEB = results from the " FILE STATUS IS FS" statement. The full program is shown below: class-id Temp1_ASP_NET_WEB._Default is partial inherits type System.Web.UI.Page public. INPUT-OUTPUT SECTION.
Using instant SQL with rmcobol ruintime 32-bit oracle connection works well, when migrate to linux 64-bit runtime rmcobol the same library doesn´t work shows the error : libiodbc.so.2 wrong ELF class ELF CLASS32 What can be the problem? #linuxcobol#RMCOBOL
I've got 30 programs in a project, and I want to quickly locate every place in every program where the variable EDITFILE-PEER-TOPIC is referenced. Do I have to search through each program separately, or is there a way to do it with a single command?
I feel a bit uncomfortable asking so many questions, but I do appreciate the answers a lot. Especially so since I am growing very fond indeed of Visual Cobol. It seems to wrap the best of MF Cobol, AcuCOBOL, and even R/M Cobol all into one neat package. Color me impressed... I could even learn to like the Eclipse editor, except it insist on putting a strikethrough line on every data item I type in a COBOL program. Doesn't affect the program compiling, just drives me nuts trying to read my own code. There seems to be a lot of advantages to using Eclipse, so I am trying to stick in there and stay away from ISPF or XEDIT... but - it ain't easy. ;) I see this both on Linux and Windows, so it is probably just something stupid I am doing. Example: FD CN00. 01 CN00-RECORD. 05 CN00-ID PIC X(18). 05 CN00-NAME PIC X(33). -Paul
Dear Sir, I am using Micro Focus Visual Cobol with Eclipse and when I Compile my program and try to RUN with Debbugins I get an error " Linkage Section Ítem Not Initializad". Please could you say WHERE I can SET Linkage Section to TRUE without use a COBCONFIG file ? Many Thanks in advanced for Your Help. PJM
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.
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.