Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Does anybody know if there is som bug in the CBL_PRINTER_DEFAULT_PROPERIES NetExpress 3.11. Look at the portion of the code: length of move-Default Properties to pr-len 256 moves to pre-papersize add p-paper-size to Default-Properties-Flags  
Hi, We are seeking an experienced ACU COBOL Analyst/Developer with customer facing experience to work in Melbourne, VIC, Australia. Can anyone help out with this please?
Hello friends, While updating a few programs to use OPEN EXCLUSIVE, i've seen that sometimes (not always) the File Status 32 will pop up and the program will not execute. Now i've elected to ignore 32, and the program runned without a flaw. This is what i've come accross about FS 32: "Too many Indexed files opened. This can also happen when a sequential file is open for input and an attempt is made to open the same file for output.(Run Time System (RTS) message by Micro Focus)." 1 - Should i really ignore FS 32? 2 - Is a simple CLOSE statement enough for a file with OPEN EXCLUSIVE? If not, it would make sense since the same files were opened prior in another program as input, and in this one in output. How should i proceed to close them?#NetExpress5.0#COBOL
I'm calling managed code from native. The managed code displays a "Please wait" dialog using the ShowDialog method and then does some processing. When the processing is complete, I do the Close method on the form and return to my native code. I'm starting a thread to do the processing then showing the "Please wait" form and am using a Timer component to determine when processing is done so I can close it and exit back to my native code which uses Dialog System for the UI. After closing the form, the text on the underlying native Dialog window is obliterated. The text returns if I refresh the window but I can't do this because I'm calling the managed code from some other program. This is leaving a blank rectangle on my Dialog System screen, which is the same size as the Windows form. Is there a way to prevent this from happening ?#VisualCOBOLautoscalemodescreenresolution
I want to convert my program that currently uses EXTFH to FHREDIR and make use of the Fileshare transactions. The doc says that to start a transaction: A transaction starts when your program performs the first update operation (WRITE, REWRITE or DELETE) on a file which has the WITH ROLLBACK clause defined in its SELECT statement after: The file is opened A COMMIT or ROLLBACK statement is executed I am trying to figure out how to set the FCD to have the equivalent of that WITH ROLLBACK in a select. I've looked through the various FCD settings and don't see it so far. Please help if you can.#NetExpress5.0#fhredir
We are an academic institution utilizing Visual COBOL for a class... Description: While testing product for academic use installed license on Windows 7 and now cannot revoke the license from license manager. Ger a "Revoke failed" Also received the following pop-up: "Unable to revoke all your licenses. Revoke failed for SolarManagedChecker.\\nPlease contact Micro Focus SupportLine \\n: Error[124]: Revocation not supported for trial licenses. Please contact Micro Focus Support Line If we could get some help getting this license properly revoked so we can set it up on our production server I would appreciate it? Thanks, -Jeff
I don't know why it has to be so complicated to call a dll from acucobol :-( Anyway I now have to make a call to a dll function that will populate an array of items defined as follows. Function Call:Input (int64)Output (Pointer to structure1) Structure1 Items OutItem(10) ItemsCount Uint8 outItemTotal DoubleString1 Char(36) Null terminated string, with a buffer maximum length of 'n 1'String2 Char(10) Null terminated string, with a buffer maximum length of 'n 1' Here is how I defined it and make the call but of course it does not work, the dll throws a memory access violation writing to address 00000000. I'm assuming the problem is that a cobol OCCURS does not translate well to the dll's ARRAY. Any direction would be helpful... 77 WS-RETVAL PIC S9(9) COMP-5. 77 WS-NUM PIC 9(18) COMP-5. 01&
These Eclipse projects demonstrate how a JVM COBOL Application can be used in a JAVA EJB 3.x class.EJBDemo.zip
Problem: The installation process fails to complete when attempting to install Visual Cobol 2.2 for Visual Studio 2012 on a Windows 2008 R2 machine. Resolution: The installation process fails because the VC 9.0 CRT is missing from the machine, and upgrading to Visual Cobol 2.2 Update 1 will rectify this issue. Alternatively, as a workaround, installing the "Microsoft Visual C 2008 SP1 Redistributable Package" from http://www.microsoft.com/en-us/download/details.aspx?id=5582 will resolve the issue.
I have somehow gotten my NetExpress COBOL programs to stop, as if there were a breakpoint set in them, at the beginning of every program called. I do not want this to happen, but I can't find doc on what caused it and how to change it back so that animation only stops at breakpoints that have been set. Thanks.#animation
I have a confusion between the different operating systems 32 and 64 BIT. We have a small local area network working under Windows XP with the SMALL BUSINESS SERVER 2003, all terminals running with 32 BIT The only exception is my computer with Windows 7 in 64 Bit version. I have the following BAT file in order to look for open files in the server OPEN-FILES.BAT contains: s: openfiles /query /v /s servidor >archivo.txt notepad archivo.txt If I run this file from C:\\ or from s:\\ it works fine, because it changes to the server disk S: I included this same BAT file in a NETEXPRESS program. 000001 ID DIVISION. 000002 PROGRAM-ID. TEST-BAT. 000005 ENVIRONMENT DIVISION. 000006 SPECIAL-NAMES. call-convention 74 is winapi. 000006 DATA DIVISION. 000007 FILE SECTION. 000008 000009 WORKING-STORAGE SECTION. 000273 01 CmdLine  
I'm trying to set the text of a label on a webform equal to the value of a "key" in Web.Config. Here's the html code that returns an error saying "Operand ConfigurationManager is not declared": <body> <form id="form1" runat="server"> <div> <asp:Label ID="Label1" runat="server" Text='<%# ConfigurationManager.AppSettings["KeyName"] %>'></asp:Label> </div> </form> </body> And it's trying to retrieve the value from Web.Config (very similar to the Micro Focus example solution BookDemoWebApplication): <?xml version="1.0"?> <configuration> <configSections> <sectionGroup name="MicroFocus.COBOL.Application"> <section name="Environment" type="System.Configuration.NameValueSectionHandler" /> </sectionGroup> </configSections> <
Good Afternoon, This has never happened before when I compile my program in the IDE and there is an error, I am getting the following message: Cannot highlight syntax errors. The program was compiled with the editor (MF) directive. The Editor (mf2) directive is needed for syntax highlighting. The output window can be used to navigate the errors. I exited out of the IDE and opened up a different project and I get the same error. Any advice? Thanks, Bob
I've been unable to find a way to use the properties in my program without the compiler complaining 'COBCH1304: Method not found in the repository'. Here's the code: Int.cbl: $SET REPOSITORY "UPDATE ON" CLASS-ID. Int INHERITS Base. ENVIRONMENT DIVISION. CONFIGURATION SECTION. REPOSITORY. CLASS Base AS "base". OBJECT. DATA DIVISION. WORKING-STORAGE SECTION. 01 val &n
Good Morning,I am trying to read an ASCII file that is delimited by TAB (hex 09) characters, but when I READ the file through my COBOL program the TAB has been replaced by spaces.I check my EXTFH file and the setting for EXPANDTAB=OFF.Any thoughts?Thanks,Bob
Problem: After installing and licensing Server for Cobol 5.1 correctly you receive a ASLM: Semaphore failure when trying to execute an application. Resolution: To run a Micro Focus application on a machine where the runtime has been installed, the environment variable %ASLMNET% must be set. In the value of this variable, the name of your server can be used or the IP address of the server. On the server, to run a Cobol application, the environment variable %ASLMNET% is not required. If you need to have the same application (with the environment variable %ASLMNET%) on all computers, then the IP address must be used in the value of the environment variable %ASLMNET%.
Problem: At compilation time you get an error indicating: 0019c program checked with non optimal alignment Optimal alignment is 4 Resolution: This error can be fixed by specifying the ALIGN directive with the following format in the project properties: ALIGN(8) The ALIGN directive specifies the memory boundaries on which data items of level-01 or level-77 are aligned. Syntax: >>-.---.--ALIGN--"integer"----------------->< -/- Parameters: integer The distance from the start of one level-01 to the start of the next is a multiple of this. Can take any value from 1 to 255.
Hello all, I've managed to use rebuild.exe from visual cobol to reindex some files, but I'd like to use it on another machine. I tried copying the executable and the dll's to a new machine, but it doesn't work: It says "application failed to initialize properly". Do i have to install the entire visual cobol? Is there a rebuild package that I can use or something like that? Thanks.#rebuild
The picture show all:How I can call that ENUM ?In comments have the C# code.... and, I just want to re-create the code in cobol...
Problem Does ACUCOBOL have native routines which will work with password and encryption standards format - Hash SHA-256? Resolution AcuCobol does not support external routines for encryption. However AcuCobol supports interoperability with other programming languages, therefore via that route external routines for encryption can be accessed.
Problem: When installing Enterprise developer for Visual Studio 2010 a fatal error 0x80070643 is seen. The Enterprise Developer Installation log shows entries such as: C:\\ProgramData\\Package Cache\\{BCDD05C1-4C6E-4E87-BC86-CCDE1EE9EAA3}v2.2.00244\\Enterprise Developer\\enterprisedevelopervisualstudio201022x64.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7"' [1C38:0D00][2013-10-15T14:48:02]e000: Error 0x80070643: Failed to uninstall MSI package. Resolution: This error can occur if there are older cached files in the Windows Temp folder. The recommendation is to navigate to, and clear out the %temp% folder, then restart the installation process. You can read more about this on article: http://social.msdn.microsoft.com/Forums/vstudio/en-US/65270574-aaa1-4e61-841d-6d0e1ccbd686/packages-failed-to-install-visual-studio-2012-premium?forum=vssetup
Problem: When building a Cobol program using Net Express 5.1 - File I-O error: <filename>.idy - seen in build Resolution: Some files needed for building the Net Express project are missing or not found. A repair of the Net Express 5.1 Product via Windows > Control Panel resolves the issue.
Problem: Cannot connect to the Micro Focus License Server after changing ip-address. Massage received states "Cannot connect to the License Server" when starting NetExpress 5.1. Resolution: If the local admin password has been changed, it must also be changed in the security properties for the IIS Web Server which the License Server uses. Changing the password in the security properties will allow a connection the License Server again.
Problem SQLSTATE=42704 error seen when running a query in OpenESQL Assistant against DB2 ODBC DSN in Visual COBOL for Visual Studio Resolution When the DB2 ODBC connection is setup, you must not define a default user and password. If you take those defaults out the connection will be made successfuly. This issue is related to how the preprocessor checks for the objects, and changing the above resolves this.
Please see the attached FAQ. Pre-Authorized License FAQs V1.1 (Customer).pdf#pre-authorisedlicense
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.