Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
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
With the CALL 'CBL_DIR_SCAN_READ' using dir-handle entry-data etc. I receive the date-stamp when the file was modified. But I don’t need the date it was modified, but the date a file (JPG) was created. Is there a possibility with NETEXPRESS 5.1 to receive the date and time a picture (file) was created? Windows Photo Gallery. gives the possibility to read and change all these tags, but can I do it from within NETEXPRESS? thanks Rolf
Hello, Just wondering if anyone else has run across this. We are running Server Express on Linux. I can enter numerics from the keypad of my keyboard when in the shell but when I bring up a my COBOL program, numbers are not sent when typing them from the keypad. The numbers at the top of the keyboard work fine. I'm running with the Putty emulator and my TERM type is xterm. The xterm setting in terminfo is: infocmp# Reconstructed via infocmp from file: /usr/share/terminfo/x/xtermxterm|vs100|xterm terminal emulator, am, km, msgr, xenl, cols#80, it#8, lines#25, vt@, acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, blink@, bold=\\E[1m, civis=\\E[?25l, clear=\\E[H\\E[2J, cnorm=\\E[?25h, cr=^M, csr=\\E[%i%p1%d;%p2%dr, cub=\\E[%p1�, cub1=^H,
Hi, In NetExpress 5.1, is there any way to specify ordering for a Group Box (without having to go through the array and rewrite it)? For instance, if I wanted to order the contents of the Group Box by customer number... Thanks, Fran De #groupboxordering#sorting
Hi, I am working on visual cobol with below three components: 1. cobol managed code. 2. wrapper class program 3. .net application. currently i am trying to invoke a method available in cobol from .NET with the help of wrapper class, but i am facing a error of parameter mismatch as the cobol dll contains method parameters of 'microfocus.cobol.program.reference' whereas .NET variables are of native .NET types . Please let me know how can i resolve this.
I am looking for an example shows how to store employees pohoto into sql server data base and how to retrieve them and display on the form (.gs) using COBOL thanks#NetExpress5.1#COBOL
Hello. I replaced my test printer software. HP LaserJet P2035 to NPI6ED50E (HP LaserJet Pro MFP M225dw). This printer does not recognize the user orientation and page size. Printed from right to left leaving plenty of space left when the report is smaller horizontally than the size of the paper. Can you give me some suggestions to solve this problem .
Hi In our current project we are using 7 modules of Micro focus COBOL. There are 4 modules which are COM modules and having Compiler directive set as OOCTRL. Rest 3 modules are using Entry Points with DynamicWinAPI. And they all are clubbed in to an DLL. Which is used by C to call COBOL Modules. Now we are removing C and Upgrading from C to .NET. Because of this change the above DLL will be consumed by .NET. When we try to Register that DLL with REGSVR32 , We are getting error "DLL was loaded , But the DLLregisteryServer entry point was not found". Do we have to change the existing code? and what needs to be changed? Please suggest what we should do to rectify this problem. Thanks Charan #COMerror#DLLError
Hi When i try to build a solution in VC 2012. I am getting an error COBOL.DIR directive not found. Can any body help me to resolve that.
Problem Liant products store their license information in a license vault. It is sometimes necessary to obtain a report on the licenses installed into this vault. Resolution You can determine what licenses are installed on a machine by executing the following command from the "SupportTools" subdirectory of your Liant product installation: suptool1 productview **The output of this command will contain the license serial numbers that are installed, and the use counts for those licenses that are located, in the vault.
I have a SQL stored procedure that requires one input value and returns 2 output values. How do I code this in Visual Cobol?
We have been facing an issue with Characterset in Combo. Since ours is a global application, each of the country stores the information in their local language. The data is shown properly on all GUI objects except for Combo, where we loose the characters of Country. The irony is that they are retrieved from same Oracle table. Can someone please share their thoughts on to address this issue ?
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.