Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
This is a sample which shows how to use ACUCOBOL-GT C$REGEXP routine.TESTREGEXP.zip#HowTo-BestPractice#AcuCobol
Hello, I know it possible to define functions in a repository : mytest.cbl $set preservecase case identification division. program-id. mytest. environment division. repository. function MYFUNCTION. data division. ... procedure division. move function myfunction(myparameter) to myresult ......... end program mytest. And then myfunction.cbl : $set repository(update ON) preservecase case function-id. myfunction, .... &nbs
I have a system on Net Express 3.1.11 that I am migrating to VC 2.1. I understand that the licenses are different between the two products. Can both licenses co-exist on the same server so that I can continue to run the old system while testing the new VC system?
[Migrated content. Thread originally posted on 25 November 2011]Hi there,Using the Micro Focus eXtend product range, has anyone done anything around generating PDF documents? Ultimately we are looking for a solution that does NOT require distribution licensing ie. we can run distribute the solution to our clients without an additional license cost.Is there any inbuilt mechanism within the extend range ?Is anyone using any third-party controls ?Any feedback would be great. Thanks in advance.
I just installed visual cobol for eclipse on windows and everything is running smooth. Im just trying to make a simple Hello world app that just displays Hello World in a console window. Every time i run the code, the console flashes open and exits immediately. Am I doing something wrong or is there to stop this? Thanks in advance, Kyle
I've been searching and getting confused about getting my COBOL expanded before I call the procob precompiler. I've looked through the scripts that I could find from Micro Focus for our Server Express on Solaris, but found no references in them. I'm looking for the equivalent of p(CP) precompiler directive. I'm totally lost.#ServerExpress#Compiling#unix#COBOL#Oracle#64bitcompilationissue
I need to write a program to read an ONIX(XML) file and create an Excel spreadsheet from the data. It seems there are a few ways to read xml files. What would be the best way/tool? Thanks, Steve#ONIXXML
Problem Customer is compiling CICS programs using Net Express 5.1 to run under IBM TX Series under Windows. The programs are compiled as .dlls and are given the extension .cbmfnt before they can be run as a TX Series transaction. As part of the customer's build scenario, they essentially build the cbmfnt, move it into the bin directory of the region and run the transaction. They then might make a change, rebuild the cbmfnt and move the new cbmfnt into the bin directory. When they tried to do this with Netexpress, they got an error when trying to copy the new version of the cbmfnt in because another process had the first version of the dll open. The TX Series documentation states that to deactivate the Micro Focus cache, that you should set the environment variable COBSW to -l0. But this doesn't seem to have any impact. The documentation also states that you could do a CEMT PROGRAM(blah) NEWCOPY (or PHASEIN) which would 'uncache' any Micro Focus programs. Trying all
Problem A customer asks if there is a way or if a cbl routine exists to search for filenames that contains a certain character (space in this case). In Visual Basic it could be a simple three line program such as: Dim result = My.Computer.FileSystem.FindInFiles("c:\\", " ", False, FileIO.SearchOption.SearchAllSubDirectories) For Each name As String In result ListBox1.Items.Add(name) Next What would be the equivalent code in Visual COBOL for both managed code and native code projects? Resolution For managed code COBOL the VB program above could be written as the following: (The assembly Microsoft.VisualBasic must also be added as a reference to the COBOL project) $set ilusing"Microsoft.VisualBasic.FileIO" $set ilusing"System.Collections.ObjectModel" program-id. P
Problem: Customer is developing a Windows Forms application in Visual COBOL for Visual Studio and they are looking for a way to start a non-COBOL executable like a text editor directly from within their application. How can this be done? Resolution You can use the .NET framework Process class to execute all types of programs including .EXEs or to launch an application such as an editor by specifying just a filename to associate with it. Look at the following link which provides some good examples: http://www.dotnetperls.com/process-start The following example will execute the text editor such as notepad that is associated with the .txt extension on your system and open up the file example.txt. $set ilusing"System.Diagnostics" class-id execprogram.Form1 is partial inherits type System.Windows.Forms.Form.  
I am having trouble installing Visual COBOL Personal Edition (Serial #: 600000515418) on a PC running Vista. I used the automated web install for Visual Studio 2010, and it says it installs correctly. When I try to create a new project I get the screen which asks if I have the full version or the trial version, when I say I want to activate the trial version and enter the email address and close the dialog window, the I get an error. Error 18 says it can't find a license at an IP address 127. something. Any assistance would be greatly appreciated, thank you.
I thought HttpPost is supposed to be a part of 9.2 but I was experimenting with it and get "HttpPost: Program missing or inaccessible". What am I missing?
Here's the scenario: Using NetExpress 5.0, I have a program that I'll call A. It is compiled as a .DLL. It is basically a driver program that runs a number of other COBOL programs that have been compiled as GNTs. We want to kick off this process from a .Net service. This all works fine until one of the GNTs runs the function X"AF". (For those of you living in the present, X"AF" enables enhanced Accept and Display, which is fine if you are using a native COBOL user interface.) Then the whole process crashes. Now, the obvious solution is to get rid of the X"AF" calls because the program isn't really using the user interface, they're just "batch" processing programs. However, the process that program A runs could potentially call any of over 1000 different programs and we'd like to implement this process next week. Also, my service shares these GNTs with a process that does run with the Native COBOL interface. Is there a way to tell CO
Hello friends, I would like to know what would be the procedures to install Net Express on another machine, when one possesses a single license? Do i need to revoke the license key on the currently installed machine? Or do i need to email the request key generated by the installation on the new machine? #install#windows7#netexpress
Hi, Can you please tell me if it is possible to create my own database using SQL Server Express database. I use the free version of visual cobol personal edition. If its possible please tell me step for step how to do this. Thanks / Hans
When debugging a program, how can I look at the value in a data item that is in a copybook. If you go to the definition in debug mode, it opens the copybook and if you try to do a quick watch it says unable to evaluate the express. The item is an record layout for a file I just read. Thanks
Or would I have to export data from Excel as ascii? Please advise.
I need some help in figuring out why the use of “Before Advancing” is working differently in Visual Cobol vs Net Express 3.1. I looked in the documentation and the online community, but did not find anything. I found the project “BeforePositioning” under Net Express 3.1 and used that to test under Visual Cobol 2.1. I got the same results with the sample program OSVSBA.CBL program that I was having with our programs. Starting with Page 2 the before advancing stays on the same line instead of being on the next line. I have attached the code and sample report. Is there something I need to add for VC? If you view the .dat files with Notepad you can get a better picture of what is happening. If you use Word then you get the actual Page Breaks.
Hello All I have SP 10.5 Version Am to simulate the traffic of a WCF based web service.Do any one can provide an insight or sample script Thank You Jyothis jyothismj@gmail.com
I was wondering if anyone could help. I am trying to add a Global.asax file to a visual cobol web application but I'm not seeing an option to Add Global classes. Has anyone managed to do this? If I create a Web Application, the global file is present but I can't see a way of adding one to an empty web application? (Visual Studio 2010) Thanks Paul.#VisualStudio#VisualCOBOL
Hi, Is there a database packaged in the free version of visual cobol personal edition or must I buy db2, oracle or something else. /Hans
I develop a program with VC 2.1 and have an unsolvable problem: everytime I come to a build/rebuild, I get this error message: ' COBCH0912: internal error - dictionary invalid r/w'. - Can anyone tell me how I get rid of this error? Stefan from Germany
Dear Sirs, Do you have a simples example of a Cobol Program using a Web Interfase in Visual Cobol with Eclipse...??? Regards,
I have trouble configuring XODBC to view vision files via-AcuServer, Someone can tell me how to configure FILE-PREFIX variabile in AcuXdbc.cfg correctly? Thanks in advance...
Hi, I am working on PeopleSoft upgrade and need to install MF Cobol SE 5.1 WP6 on HP UX Itenium 11.31 64 bit. Is there any steps guide on this site. Also need link to check compatibility too. Appreciate your help . #HPUXItenium11.3164bit#installMFCobolSE5.1WP6
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.