Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Are there any example of determining the difference between a click and a double click on a listbox? Have searched and can not find much.
Hello Experts, I recently have compiled PeopleSoft 9.2 COBOL programs using Net Express. But when I tried to run one of its COBOL program GPPDRUN it gave below error: Execution error : file 'c:\\pt8.54\\CBLBINA\\PTPSQLRT.gnt'error code: 114, pc=0, call=1, seg=0114 Attempt to access item beyond bounds of memory (Signal 11) Kindly help me here, I have been trying to resolve this for about 1 week but still no luck.
Hi All, I'm programming with the default green screen, which is 80 columns wide. How do you set the screen size to 120 columns? Can you also expand the row length as well? Thanks for your help. Best, Peter#screensize120columns
I want to start this URL "tksuite:Phone Number?call" . How are the Parameters of the "call ShellExecute" Does anyone know this?#ShellExecute
HI, Can you please provide a sample print exit program suitable for Visual cobol. The current exit module developed in visual basic code works only with net express projects. Thank you.
Hi I have a DataGridView with 8 columns, all Text Box columns, all Read Only, populated from an indexed file. The first tow columns are frozen. I want the right hand border on the second column to appear thicker than the others. Here is the code I tried to achieve this: class-id DataGridViewColFrzCls inherits type System.Windows.Forms.DataGridViewColumn. method-id NEW. procedure division. set self::CellTemplate to new DataGridViewCellFrzCls. goback. end method. end class. class-id DataGridViewCellFrzCls inherits type System.Windows.Forms.DataGridViewTextBoxCell. *> Automatically inserted Methods from Syst
Please help me! I have a comunication with web server, but the return this web server is xml, i need to know how i get xml and insert this xml in a form in Visual Cobol#FormVisualCobol
Release: Net Express 5.1 .NET & Visual Studio 2012 While compiling the source from NE5.1 in Visual COBOL 2.2.1, we are receiving a warning for comp-5 redefinition. The vaiables are defined as follows: 01 WS-MENU-ID PIC S9(4) COMP-5. 01 WS-FIELD-KEY REDEFINES WS-MENU-ID PIC S9(4) COMP-5. 01 WS-BUTTON-ID REDEFINES WS-MENU-ID &nb
We are converting over to a new server and want to duplicate what we have with the existing one. We use RM/COBOL with the I-shell, cmix, and Easyspooler Spooler software from Roc Software Inc. All the software has been installed and were trying to access the Cobol programs thru the I-shell system but it will not connect or gives us no errors. Also tried to bypass the menu systems and manually try to access the files and ex the binary cobol program, I get an error "94" on the firsts indexed data file. if I try to sort an indexed sequential file, I get a 0402-050 syntax error. What am I missing????
Hi, We are experiencing a problem due to a missing shared object in MF COBOL Server 2.2 for UNIX update 2. Some background: We are compiling our programs on Linux using MF Visual COBOL for UNIX. The programs are compiled with the TESTCOVER directive. The programs are then deployed to another machine that has MF COBOL Server 2.2 for UNIX update 2 installed. Our problem is this: the programs run correctly on the machine where they are compiled, where MF Visual COBOL for UNIX is installed. However the programs do not run on the deployment machine, where MF COBOL Server 2.2 for UNIX update 2 is installed. The programs fail saying that cobtcov64.so cannot be found. We think that this is the library that implements the test coverage functionality. Why is cobtcov64.so not installed? Is this an install time option for MF COBOL Server 2.2 for UNIX update 2? Our current work around is to compile without TESTCOVER, but we would like to go back to using TESTCOVER in due course. Thanks, Leigh.
Hi , i am working over a project to migrate an existing mf cobol dll to visual cobol dll. The existing dll consist of 7 cobol programs(Native Managed). In Micro Focus the native DLL is created using CBLINK utility in a Batch file. The Existing CBLLINK batch file Compiles all the 7 programs and then to Link it is using an LINK file. In this file there is a list of object codes names need to be linked , So apart from these 7 program's Object file it also add's the Object code of 8 system object files (ADIS, ADISINIT, ADISKEY, ADISDYNA, MFFH, BSIO, EXTFHSUB, MFINI) provided by Microfocus. (They are present in Bin folder of Net Express 5.1) Now we have migrated those 7 programs is VIsual COBOL and we are trying to create the NAtive DLL using CBLINK utility, we are not providing those 8 System object files moreover we dont have those files present in the VIsual COBOL Bin folder. So DO we need those files in Visual COBOL ? Let us know what we can do to create NAtive DLL
Hi Chris, We are migrating the components from Micro Focus COBOL to Visual COBOL. In some of the Micro Focus modules there is a Call statement "CALL Utils.LBR". This Utils.LBR file is present in the MicroFocus Net Express 5.1' s Bin Folder. We think it is a Microfocus provided Library. We are not sure of the Utils.LBR file, What is the purpose of it. Now when we migrate those modules to Visual COBOL and try to execute them , At the Call Statement we are getting an Run-TIme Error, As it is not available in Visual COBOL's Bin folder, Instead there an an Utils.DLL present in the Visual COBOL's Bin folder. When we comment the Utils.LBR call statement in the code , The Code is working fine and fetching the Data from Files and Passing it to C#.NET. So the confusion is do we need the Utils.dll or Utils.Lbr file in Visual COBOL? And if we need it then how to consume the utils.dll in Visual COBOL. (Through setting a PP pointer to Utils.Dll in the code and use it or anythin
Hi, Just a simple query. What is the error 2361 coming from CBL_COPY_FILE routine?#CBL_COPY_FILEerror#CBL_routine
Hi We have an ABC.EXE component build in Net Express 5.1. It contains 10 programs. Out of them 9 programs are Native Procedural program. They are reading files and updating the files. One program(NETCall) build with OOCTRL( p) compiler directive and it is calling an .NET 4.5 DLL, To make database entry. We are trying to migrate the whole component in to VIsual COBOL by creating an Native - Console Project. While building the solution ,we are getting errors in NETCAL program at various places like creating an object of .NET class and calling the .NET method. We are not able to resolve this error. Please let us know how we can solve this problem. Thanks Charan
Hi We have a set of 2 programs , Both the programs have Multiple Entry Points. We are trying to Migrate them to Visual COBOL and club them in to DLL. So that they can be consumed by .NET. While doing so we are following an approach of creating a wrapper class as mentioned below:- 1. We have created an Native Link Library project and added all 7 programs and compiled them. Compilation was successful and it created an Native Dll. 2. Now we have created a Managed Class library project and added a Wrapper Class program. Where we are making calls to Entry Point of both the programs. 3. Also created an Client Managed Program in one more project of the solution. To Create an instance of class and invoke the methods of the class. The Startup project is Client Managed Program project. While Executing it we are getting error 173 - Program not found at the Line where we are making call to Entry Point of Native Program. Following option we have tried to resolve this: 1. Setting an
I have a personal version, here is detail of it; Micro Focus Visual COBOL 2.2 Version 2.2.00151. I have Windows 8.1 and I had to refresh the OS and it removed all installed programs. Is there anyway I can get it back?
Dear Chris, My installation of VS 2012 had a problema and now I installed VS 2013 Community but Visual Cobol don´t appear there. There are a versión of Visual Cobol specific for VS 2013 ??? How I can do for Visual Cobol that I have in the Versión VS 2012 can be used by VS 2013. Many Thanks in advanced. PJM
Hi, I need to access shared memory from COBOL. The COBOL will be native. As the code will be developed on Windows and deployed to Linux I need the API to be the same on both platforms. I think that I will have to do this: working-storage section. 01 w-data-pointer usage pointer. linkage section. 01 l-data pic x(...). procedure division. call "MAP_MEMORY" using w-pointer. set address of l-data to w-pointer. The MAP_MEMORY routine is something I have to develop. My question is this. Does anyone have something like MAP_MEMORY that they would be prepared to share? Does Micro Focus have any samples or demos of this sort of thing? Thanks, Leigh.#COBOL
I would like to send a message to everyone logged on on the system and let them know the system will be going down in 5 minutes. If they do not log off I would like to force the log off systematically. I believe I can use MSG.EXE to send a message to all on the network. Is there a process that would log off a user and close the vision files appropriately? Thanks, David
Hi, I have a need to use some object oriented facilities. For various reasons I cannot use .NET or JVM. I was looking into ISO2002 Object COBOL. First, is ISO2002 Object COBOL recommended? Is it deprecated? There is only limited documumentation delivered with VC. Second, are there any samples available? Third, I have a have a simple (very simple) set of code that compiles but fails when run. The code is: repository. class CharacterArray. ... 01 w-string object. ... invoke CharacterArray "new" returning w-string. The error is "Called program file not found in drive/directory: CHARACTERARRAY" on the invoke. Any insights on this? Many thanks, Leigh.
I am coding in Eclipse for the first time and running into NEWBIE problems. I have several DISPLAY lines throughout my code and probably should mention that I have "CONSOLE IS CRT" coded in the "SPECIAL-NAMES." portion of the "CONFIGURATION SECTION." The DISPLAY lines result in a "DOS like" window opening with only the results of the last DISPLAY command and a "Press Enter to Continue..." message. Pressing Enter results in the "DOS like" window closing. Commenting out the last DISPLAY results in only the previous DISPLAY results in the "DOS like" window with the same "Press Enter to Continue..." and the same behavior. I would like to see the results of all the DISPLAY commands somewhere (perhaps in the "Console" tab?) I suspect I have an Eclipse issue rather than a COBOL issue, but, of course, am open to all coaching...
We are running Acucobol-GT runtime 8.1.3.1. When attempting to run it on Windows Server 2012 R2 we get an error. Do you know if this version of Acucobol is supported on this operating system
We are developing our migration from NET EXPRESS to VISUAL COBOL under Visual Studio 2013 using VMs developed with Hyper-V. We are having difficulties communicating with the network printers that are defined to our Win 7 machines. Do you have any suggestions how we can communicate across the VM into the actual network attachments or do we need to redefine the printers within the VMs? Thus far our transition of the Dialog System screens into this environment are working well. Our intention is to go to Web Forms instead of the Dialog screens in the course of this migration. Thank you! Carol
i Installed Visual COBOL personal edition for Visual Studio 2010 on a WINDOWS-7 PC and got this error 26--Clock tamper detection this error occurs when i tried to use the COBOL forms application. I couldn't get Visual COBOL to work, so i did a Windows restore back to revert back to before installing the product. Since that time I installed Visual Studio 2012 and tried again installing vcvs2012_22.exe the VISUAL COBOL version for STUDIO 2012.i got the same Clock tamper detection (error 26). I am told by a kind support person that a license is needed and that I have one (he verified this), but that I need the MF License Manager application to apply the license. He was stumped as to what to do next other than to have me post this message.I do NOT have this application on my PC. can some knowledgeable support person one tell me what to install; uninstall, repair, or otherwise do, to get Visual COBOL up and running on my machine?#PersonalEdition#not
Hi, I'm new to cobol. I'm writing a small cobol program using screen section. I want the user to be able to push F-5 to get a pop up list for each entry field. I've found only one example on-line and my compiler does not recognize the language ( I'm using Visual Cobol for Eclipse 2.2). It goes as follows: SCREEN SECTION. 01 ORDER-SCREEN. { . . . } 03 "Cust #: ". 03 USING CUSTOMER-NO BEFORE PROCEDURE IS SHOW-CUST-LEGEND AFTER PROCEDURE IS TEST-CUSTOMER EXCEPTION PROCEDURE IS CHECK-FOR-LOOKUP. Is this the standard way of capturing function keys, or is there a
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.