Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
public class Person { private string Name; private string FirstName; public Person(string name, string firstname) => (Name, FirstName) = (name, firstname);List<Person> listofPersons = new List<Person>(); listofPersons.AddRange(new List<Person> { new Person("John1", "Doe" ), new Person("John2", "Doe" ), new Person("John3", "Doe" ), });
Dear Admin,Currently I meet this error in my local cobol env, any suggestion on it? Very appreciated with your help,thanks!honey:/var/cics_regions/TEST/bin # cob -u GSYSTIME.cbl -C DATA-CONTEXT -C CALL-RECOVERYcob32: Compilation and code generation of COBOL not supported in this product. #I am using Micro Focus Visual Cobol 3.0 on 64bit x86 Linux SUSE12sp3 #It says that: "cob32: Compilation and code generation of COBOL not supported in this product",while the cob32 is already under directory /opt/microfocus/VisualCOBOL/bin honey:/opt/microfocus/VisualCOBOL/bin # ls -lrt|grep cob32-r-xr-xr-x 1 root root 80228 Jun 8 2017 cob32#I have already done these COBOL env variable settings.honey:~ # echo $PATH/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/opt/ibm/cics/bin:/root/bin:/opt/microfocus/VisualCOBOL/bin:/root/bin:/opt/ibm/cicstg/jvm180/binhoney:~ # echo $COBDIR/opt/microfocus/VisualCOBOLhoney:~ # echo $LD_LIBRARY_PA
Created On: 03 December 2012 Problem: Trying to call the dll’s from within a cobol program does not work even when setting the DLL_CONVENTION configuration variable. The DLL itself appears to be loaded but when trying to access the method fails. Resolution: The only way to load these DLL's now is to pre-load them as calling them from a program does not work. To preload for example: - wrun32 -y xmlif.dll -y rmnet.dll Old KB# 36651#RMNet#xml-extension#COBOL
Hi there,I am trialling Visual Cobol and because I don't have the manuals would like to know if somebody can help convert the following bits of legacy code which are throwing up "unknown type *OLE" errors.Many thanks,Greg. 000350 ENVIRONMENT DIVISION.000360 CONFIGURATION SECTION.000410 SPECIAL-NAMES.000420 ENVIRONMENT-NAME IS NT-ENV-NAME000430 ENVIRONMENT-VALUE IS NT-ENV-VALUE000440 CONSOLE IS CONS-1.000450 REPOSITORY.000460 CLASS OLE AS '*OLE'.... 001220 MOVE '0' &nbs
I have read mixed reviews about using the report writer. Does anyone have any pros and cons they would like to share? To me, it seems very easy to use when you wish to generate reports instead of having a lot of working-storage section items for filler, headers, footers, etc. Should the report writer be used for all generated reports?
Is there any way to display a Dialog screen and have it return to the Visual COBOL program without the user having to click anything on the screen? What I am trying to do is display information regarding what my program is doing on the screen for the user to see but I do not want to stop my program from running ( I do not want to interrupt program's run time). Usually, when a Dialog screen displays, it stops the program and waits for user input (it waits for an event triggered by a button on the screen). I am trying to display a screen and have it return to the program without the user having to click on an object on the screen. I have tried the following: ******************************** SCREENSET-INITIALIZED MOVE-OBJECT-HANDLE CLNTPROS DSMOVSZ-HANDLE-COUNT(1) MOVE "mova" DSMOVSZ-FUNCTION(1) CALLOUT "dsmovsz" 0 DSMOVSZ-PARAMETER-BLOCK IF= RETC-FLAG 1 DISPLAY-AND-RETURN DISPLAY-AND-RETURN RETC ********************************* This code exe
Good day everyone,I was wondering if there were any tweaks that I could enter into the AcuServer config file to improve performance? We're running AcuServer for a customer who's having error problems with the standard 32-Bit runtime and we decided to go down the path of AcuServer to see if it eliminates the errors without worrying about SMB and opportunistic Locking. The problem with AcuServer is that it runs much slower than the runtime. AcuServer is running on Windows 2012 Server where the data files reside. The shortcuts are running on Citrix clients. Any tips would be appreciated. Cheers, Rafael..#AcuServer
Problem: After Windows 10 major update the Net Express 5.1 license is corrupted. Starting Net Express loads the Micro Focus License management System, which shows the License Status as: “Your Net Express license has been corrupted”. Resolution: Some Windows 10 major feature updates delete a number of registry keys that are used by the Net Express license management system. These registry keys are used when checking for a license and if they are not found the License Manager process will fail to function correctly. This will happen when starting Net Express and when starting the License Management System. Registry keys that may be deleted are:HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\{D50D8764-ECB7-4b58-8568-8AF1403B76F1}HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\{D50D8764-ECB7-4b58-8568-8AF1403B76F2}Resolution option
We are migrating from Server Express 5.1 to Visual COBOL 3.0. I am trying to get a very basic COBJVM example to debug. The environment is Visual COBOL for express 3.0 on windows 10 Visual COBOL devhub 3.0 on SLES 12. I have created a new remote COBOL project with Java Byte Code target. I have created and compiled a very simple COBOL program  (See end of this post) The program compiles fine, and I can run it by going over to Linux and running cobjrun, but when I try to debug it in eclipse I get the following error Could not launch remote project. Check that the remote server settings are not empty. the remote server setting is definitely not empty, it shows the correct server. ----- program ---- program-id. ap02 as "ap02". data division. working-storage section
PROBLEM When running a newer version of AcuConnect on the server, the automatic update is triggered and installed on the client machine as expected. After this, when the .atc file is launched, the previous version of AcuThin is still used instead of the new installed version. This means that the automatic update is triggered again. RESOLUTION An additional registry key, created for the .atc extension and set to a previous version of AcuThin, was causing the .atc file to always be launched with that version even after an automatic update. This registry key atc_auto_file, in fact any <ext>_auto_file key is created when trying to open a file and are prompted with "Open With" or "How do you want to open this file" dialog. Responding with a specific version of AcuThin means that this will always be used regardless of newer versions of AcuThin that are installed. Removing the atc_auto_file registry keys resolves this issue. N.B. The following solution require
Can anyone elaborate on using typedefs as opposed to copy replacing. I don't understand the concept and the little bit of reading that I found does not help much. Is this a better way of coding working-storage items? Please provide example code if possible.#VisualCOBOL
Are there any good code examples available for using the printer routine libraries in a managed cobol program?
I was reading somewhere where the Merge statement is not often used with sequential files. Is there an alternative or a best practice when using sort and merge statements?
Hi To summarize: In VC 2.3 for VS, we need to digitally sign portions of an XML document in SOAP envelope. We are using classes in System.Security.Cryptography.Xml, in particular the class SignedXml We are having trouble signing xml when we add a Reference based on an Id attribute. We are getting "Malformed Reference Element" exception when ComputeSignature is invoked. After much searhing on the internet I made have found the answer in stackoverflow, but I need to convert C# code below: public class SignedXmlWithId : SignedXml{ public SignedXmlWithId(XmlDocument xml) : base(xml) { } public SignedXmlWithId(XmlElement xmlElement) : base(xmlElement) { } public override XmlElement GetIdElement(XmlDocument doc, string id) { // check to see if it's a standard ID reference XmlElement idElem = base.GetIdElement(doc, id); if (idElem == null) { XmlNamespaceManager nsManager = new XmlNamespaceManager(doc.NameTable); nsManager.AddNamespace("wsu",
I have my printer_redirection value = true in my app.config file under Tunables. Is there an option that I can set in this same place that will open up the windows printer dialog. Right now, my file is going straight to the printer without allowing me to change options such as printing landscape or whatever is available for my printer dialog.
Hello, We are using RM/COBOL with the WOW Extension Designer version 10.01, InstantSQL and SQL Server 2016 database. We have a situation where we are receiving this error even though we have an end statement following the query that is causing the error. We also have an end statement prior to the query that is receiving the error. Does anyone have any ideas? Thank you.
Hi, I am new to microfocus cobol,need to know how files,DB are handled in MF Cobol ? How batch & online programs are processed ? Thanks Keerthana
Until the 2007 office when executing the insert pictures instruction the images were recorded in the Excel document that was being created without problem.When transferring this Excel to other computers or sending it by e-mail, the images were embedded in the Excel and therefore displayed correctly.As of office 2007, Microsoft, when executing the pictures insert instruction, only links them. And when copying this Excel to other devices, it gives a message of "the linked image can not be displayed ...".Consulting different forums I have found that the solution is to change the instruction of pictures insert, by the one of shapes addpicture.In VB the instruction would be:Dim s = xlSheet.Shapes.AddPicture (_ Filename: = PhotoName, _
I've recently been looking at implementing message queues to be shared between a number of acu run units. I'm developing for Windows 10 (Acu 8.1.1), and it looks like MSMQ would be the best messaging option for me (since it's already licensed). I know that some people have already used MSMQ with acucobol as there's an old thread from 2005 giving code examples and making reference to an msmq.def generated by Axdefgen from the MSMQ libraries, but I've been unable to point Axdefgen at said libraries as they aren't appearing in the libraries listbox. Anyone else using MSMQ? I'd be grateful for any advice.
Hi, Does anyone know if OpenESQL works against Hadoop using Microsofts HIVE ODBC driver or any other Hadoop ODBC driver. Native or Managed Cobol? thanks K
I am run on redhat 7.3 using screen sections with foreground and background color and would like to know if there is a way to determine if a user screen is showing up properly in color, because if it is not then I want to try for white on gray instead of the stark white and black that happens now. Maybe the lack of expected results is due to terminal type or some other setting but I think I should be able to write a character in say white on blue and then read that character to see if that is the result I expected. Was thinking about the library routine of cbl_read_scr_chattrs but not sure how to compare the information received in the attribute buffer. Any suggestions? Snip from current code below where I have had to use the routine for cbl_scr_set_pc_attribute to have screen rewrites work properly. Thank you. 01 SCREEN-1 BLANK SCREEN &
I think this question may have been answered before, but I couldn't find anything whilst searching the site, so I thought I'd try the direct method. We are beginning the process if upgrading from Visual Cobol 2.2 to 4.0. I already have 2.2 for Visual Studio 2012 installed on my workstation. If I install Visual Studio 2015 and Visual Cobol 4.0, will I be able to run both, or will the 4.0 install overlay 2.2. I will still be maintaining 2.2 code while working through the upgrade process, so I was hoping I could use both on the same machine. Thanks for the help! Mike#VisualCOBOL
I am a COBOL programmer trying to create a Web Application in Visual Cobol from a very old system with multiple programs and screens. I am struggling to find tutorials or videos which would help. My knowledge of ASP.net is very limited. I have been through the Tutorial: Developing Web Applications which is wonderful but doesn't really explain how I can use it for my application. Please can someone point me in the right direction. Shirley
Does anyone have a 64bit relativity data client installer that works with Relativity data server v11 on AIX?
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.