Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
I´m using the VC 2.2.00151 Trial at home to develop small projects that will be inserted in the book I'm writing "Introduction to Visual COBOL .NET" and when I insert parameters directly in the method signature, instead of the procedure division gives error. In version 2.2 Upgrade licensed works perfectly. The trial version does not support this feature?
I'm converting this VB.NET code to Visual Cobol but I'm with difficulty in the declaration: declare a() as binary-char unsigned occurs any = type Encoding::UTF8::GetBytes(SourceText) VB.NET code running Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim SourceText As String = "1234567890" Dim a() As Byte a = Encoding.UTF8.GetBytes(SourceText) Dim b As Byte() Dim c As New SHA512Managed b = c.ComputeHash(a) Dim d As String = Convert.ToBase64String(b)End Sub Visual Cobol code with error. method-id button1_Click final private. procedure division using by value sender as object e as type System.EventArgs. declare sourceText as string = "1234567890" declare a() as binary-char unsigned occurs any = type Encoding::UTF8::Get
Following Problem with compile XFD-compileable COBOL program. I have got following code sequence in a FD. 216 $XFD COMMENT Adressenstamm 217 $XFD FILE=SADF 218 219 FD SADF 220 LABEL RECORD OMITTED 221 DATA RECORD IS SADR. 222 223 224 78 SAD-KN-RECLEN VALUE 10000. 225 226 01 SADR.  
I am a former COBOL programmer and Systems Analyst looking to get back into coding. I want to sharpen my skills so I have signed up for the Personal Edition. I need to know what version I should load...I am operating on Windows Vista, Service Pack 2, 64 bit and IE9.The choices are 2010 and 2012. I also need to know what web training is availabe for the Personal Edition. I don't need COBOL training but rather training on how to navigate Visual Cobol.
Hi I would like to try profiling my programs but simply cannot figure out how to do it, so I wonder if one of you clever guys can tell me how? I am using Visual Cobol 2.2 PE. Regards Henrik Wivel
Hi, Can any one advise how to convert the following code to Visual Cobol, thanks. (Please see attached file for the full code) Private FmdToVerify As List(Of Fmd) = New List(Of Fmd) vResult = Comparison.Identify(result3.Data, 0, getFmdToVerify, 21474, 5) Public ReadOnly Property getFmdToVerify() As List(Of Fmd) Get Return FmdToVerify End Get End Property
Anyone have some Crystal Reports use of example with Visual Cobol, thank you
Hi, I'm developing a windows application that prints from a txt file. I used a Menu Strip item to invoke the Print Preview Dialog, but the print button inside the dialog automatically uses the user's default printer. How can I change the print button, inside the print preview dialog, to invoke the Print Dialog instead? Thanks, -Phil#FormVisualCobol#COBOL#class
Trying to install Cobol Server 2012 on a brand new Windows box. Trying to run a web program (originally developed in NetExpress but recompiled in VC 2012), but the only thing that happens is the browser asks if I want to download the file. Comparing to my NetExpress server, I see that the /bin folder for the MicroFocus server is in the path. Does that folder need to be added to the path on the new server, too (not sure since I don't see anything in the docs indicating that I need to do so)? If so, since it is a 64-bit machine, do I need to add /bin, /bin64, or both?#COBOLserver
This demo is designed for Visual COBOL for Eclipse and shows a Java Web application with a JVM COBOL back-end that runs in Apache Tomcat. Instructions: Download a free copy of Visual COBOL for Eclipse Watch the video to see how it's done Follow the step-by-step guide to build your own Airport Project To import these demo files into Eclipse: In the IDE, click File > Import. In the Import dialog, expand General and click Existing Projects into Workspace. Click Next. On the Import Projects page of the Import dialog, click Browse next to Select root directory. Navigate to and select the sample folder and click OK. This loads the available project or projects into the Projects pane. Ensure the required projects are selected. Check Copy projects into workspace and click Finish. This imports the demonstration projects in Eclipse and displays them in the COBOL Explorer view. To run the demonstration Install Apache Tomcat and configure Apache Tomcat: Navigate to http://tomcat.apache.org/do
I have got following Situation. If you want to create System catalog entries you should write xfilename#tablename#filename AcuXDBC user's guide says at page 5-15. It means xfilename Name of XFD filetablename Name of database table use via AcuXDBCfilename Name of physical VISION file Now, I have got any VISION files with equal XFD-structure and I want to join them to one table. Following example: #xyz.xfd#xyz_table#xyz_file_1#xyz.xfd#xyz_table#xyz_file_2#xyz.xfd#xyz_table#xyz_file_3 More than one physical VISION files should be join to one AcuXDBC table. All data are supported by one table. Is it a way to do this? #filename#AcuCobol#AcuXDBC#Vision
i download visual cobol 2012 personal edition with serial number 600000620098 but i cant find the free licence key to activate it and i noticed the download link has expire. how can i get the license key back?
Hello, We are attempting to move from a Windows 2003 server to a Windows 2008 R2 server. We are using a software program called Quantum that runs on RM/Cobol, I am getting this error. RM/COBOL Runtime - Version 12.02 for 32 bit Windows. Error invoking unauthorized copy of runtime Windows Firewall error (Loc 314). Stopping the Windows firewall service allows the program to run but obviously I don't want the firewall disabled, I tried adding an exception for the runc.exe exe but that does not work. Does anyone know what needs to be open for the program to communicate, (i.e. ports, executibles, etc.) Thank you, Jay
Hi: installing relativity dserver on Linux SLES V 12 i am obtaining this error: Unable to install on a system without inittab or services installation abandoned. can help me.
Relativity Dserver for linux version 12.08
When upgrading to Windows 10, is it necessary to get a revoke key? Will there be a Visual Cobol Version for Visual Studio 2015 available?
We've recently run into a problem with combo boxes and mixed case data that I am looking for some clarification on. Regardless of how we have the "Unsorted" property set (TRUE or FALSE), modifying the combo box for a given value always goes to the first matching value independent of the items case. We have a scenario in a live system where the following 2 items are in a combo box. "aa" and "AA". When modifying the combo box with either "aa" or "AA", the end result is the item that is shown as being selected, is whichever one is sorted in the combo box first. I've written a small Acubench program for the following example and attached to this post. Example: I have 2 combo boxes with the following values loaded in this exact order. "A1 3", "B1 2", "C1 1", "a1 4", "b1 1", "c1 2". The first has the property of Unsorted (false), the second Unsorted (true). Here is the output based on the unsorted flag Unsorted (false) - (So in effect sorted) Unsorted (true) - (So
We understand that support for Windows 10 will not be available until the next RM/COBOL release. In the meantime, we have customers that may not heed our advice to wait before upgrading to Windows 10, and inevitably new machines with Windows 10 will be purchased. So, in our testing of the Windows 10 upgrade, we were happy to notice that BIS continued to work after the upgrade. Then as an additional test, we uninstalled BIS and attempted to reinstall. The attached screenshot shows the result. Is there a possibility of a workaround so that we can deal with Windows 10 before the next RM/COBOL release? Tom MorrisonHill Country Software and Support#XBISWindows10#BIS
I have been trying for 7 months to connect to an Access DB with no luck. No matter what I do I always get the same message. When I set it up in ODBC Data source admin. and test the connection everything is good. (Test completed successfully.) Then when I try in OpenESQL to connect I get this. What the Hell am I doing WRONG?????#SQL#databases
How do I call an exe for example notepad.exe or even exe done in NetExpress am with Visual COBOL 2.2, thank you.
It appears that in the following managed console program, if there is no run-time exception, "swallows" up the tail end of the program if the End-Try is missing. There appear to be no warnings, etc., when the program is compiled. $set checkdiv"ENTCOBOL". program-id. Program1 as "cblTestTryCatch1.Program1". * You can use the CHECKDIV"ENTCOBOL" directive so that you get an division by zero error returned. * Adding an ON SIZE ERROR would also allow you to handle the error in your code. * The $set directive shown above accomplishes this. data division. working-storage section. 01 Junk Pic X. 01 A Pic 9 value 1. 01 B Pic 9 value 1. 01 C Pic 9 value 2. procedure division. Declare Exception1 as type
In the past I have integrated C & C routines with the AcuGT runtime by simply creating a DLL and calling the routines. Now I need to integrate some C# .NET code. Clearly it's a whole new world. I have read the relevant parts of the manual and have had some help from MF tech support, but some questions remain. 1. If my method returns an Int32, how is that accessible in the Cobol program? Does RETURN-CODE reflect it? 2. The example program implies Cobol can pass a .NET System.String to a method (BTW it would be really helpful to see the .NET code that corresponds to this example). Is this true - can I pass a Cobol string to a .NET method as a System.String object? How exactly is that done? 3. Closely related question: How can the .NET method return a string? If I pass a System.String per #2, could the .NET method modify and return it? (seems unlikely because a .NET System.String is immutable). 4. The main thing my methods need to do is par
Problem: I would like to use a vt220 emulation with some full screens with 132 columns and others full screens with 80 columns. Resolution: It is necessary to use the Micro Focus function cobtermmmode. And also the compiled terminfo files must be right. If the parameter of cobtermmode is validated to 1 the size of the screen is 25*132 If the parameter of cobtermmode is validated to 0 the size of the screen is 25*80 An example is attached . Attachments: 25441.tar Old KB# 2333
The following C# console program, when translated to the following Visual COBOL equivalent, produces different results - apparently the tab (the \\t escape sequence) is not recognized in the COBOL version of the program (???). C# : using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace csConTest1 { class Program { static void Main(string[] args) { Console.WriteLine("\\t{0}\\t{1}\\t{2}", "1", "2", "three");  
Hi All, Trying to display a screen section with a Master table and then hide it, and then display a screen section with a Detail table. I understand you use call "CBL_SCR_SAVE" to save the screen. Do you then Destroy in order to hide it? Would the order be: SAVE MASTER SCREEN DESTROY MASTER SCREEN DISPLAY DETAIL SCREEN DESTROY DETAIL SCREEN RESTORE MASTER SCREEN Best, Peter Best #savescreensection#CBL_SCR_SAVE
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.