Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
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
Problem How to configure Visual COBOL for Eclipse for debugging when the source is located on a different machine to the code which is being executed. Resolution First create a remote project for Machine A. For this demonstration this project contains the source for tictac.cbl with some of the code replaced by procedural copybooks. Next, build the project to GNT. FTP the generated GNT and IDY files to the second system (Machine B) and delete the GNT and IDY files from Machine A. Now create a second remote project for Machine B, pointing to the location of the GNT and IDY files. In Project Properties, Project References selecte the remote Machine A project. Now build this second project. You now have two projects on two different machines. Source is on Machine A with the executable GNT and debug information IDY files on Machine B. To debug you must create a debug launch perspective for a COBOL Application, de-select “program is part of a project bu
We are attempting to create a html on the server side and use C$COPY to place that html file in the users MY DOCUMENTS folder. Below is the code that we are attempting to use...it fails on the C$COPY each time we attempt it. If we hard code in the entire path to a folder the logic works fine, but when we use the Acu-Defined logic below for <MYDOCUMENTS> it starts failing. We have many remote users and many shared folders and we would like to just default this file to the users documents folder instead of having to pick a share to use. Does anyone have any clues how this can be done or what the issue might be? PERFORM Acu-Report1-Print-ToFile. MOVE ZEROS TO WS-ERROR. MOVE SPACES TO WS-STRING. STRING "@[DISPLAY]:<MYDOC
As we migrate from a mainframe to Visual COBOL, we are concerned that programs currently aborting with unhandled exceptions will complete without any indication of an error. Here are a couple examples of errors that don’t stop the program with an error message like they do on the mainframe: Divide by zero program-id. Program1 as "Project1.Program1". data division. working-storage section. 01 NUMERATOR PIC 9. 01 DENOMINATOR PIC 9. 01 QUOTIENT PIC 9. procedure division. MOVE 1 TO NUMERATOR.  
Would like to build Listview(listbox) containing a checkbox with the ability to select as many checkbox's desired, and then update DB (codebehind) with data from the screen. I'll just read thru Listview and update. Example. On the screen user would enter a valid Sku# in a textbox, the user would see a Listview containing a listview of valid products, user would select (checkbox) as many rows desired and then click an update button. Behind code would read thru the listview and anything checked I would update DB. I am unsure how to setup Listview currectly with checkbox and multi select Wondering if anynody has a working example of a WPF solution that has either Listview/Listbox with checkbox option with multi select. I know this is a very specific requerst, feel free to send me an email. Thanks Thanks Marc Hinrichen mhinrichsen@lmc.net#VisualCOBOL#COBOL#listview#ListView#Checkbox#wpf#multi
Hi, is there a way to get the code used in the mentioned video series or making it available here in the community?
I've been trying to run the COBOL standard's sample OO application (Section C.18.10 in the 2009 draft) but I've been unable to. I can compile it as is successfully but when I run it, it instantly fails with error 114: 'Attempt to access item beyond bounds of memory (Signal 11)'. If I compile with the directive REPOSITORY "CHECKING ON", the compilation then fails with the errors 'COBCH1404 : OO: Repository information for externalised class name 'ACCOUNT' not found.' and 'COBCH1404 : OO: Repository information for externalised class name 'ACCOUNT' not found.'Is there anything I can do to make it compile and run?#StandardOO
Hi all,1) Is it possible to change the Listing directory created by Visual COBOL on the Remote environnement?2) Because we are able to regenerate all the application programs on the remote target server, we use a directives configuration file. I've tried to set it in the Project Settings -> COBOL -> Additional directives USE"visual_cobol_directives.cfg"But in this case, an red error mark appears in the COBOL Text editor (with message COBCH0189S Directives file visual_cobol_directives.cfg not found). This error is not fatal for the compilation step. Thanks in advance.
Hi! What is the right/best Version for Eclipse and Visual Cobol 2.2 ? Link?Best RegardsBernd#WichEclipseVersionforVisualCobol
don't have any message in my in box even I’m already register in this page www.microfocus.com/.../index.aspx#COBOLFILE#COBOLOrion#COBOL
Hopefully somone can give me some direction here. I am required to call a dll passing a 'float' type as part of a structure. I'm not sure what this will translate to in acucobol. They use "QuadWord alignment (8 bytes)", I'm not sure if this is important or not. Here is what I have regarding the function to call: float - 8 bytes floating point (this will be dollar amount with 2 decimal places)string - length 30 (null terminated)string - length 30 (null terminated) Here is how I defined the structure in acucobol: 01 WS-Structure. 03 WS-Float-Val ?????????. 03 WS-String1-Val PIC X(30). 03 WS-String2-Val PIC X(30). How should I define the float value? Should I make it PIC 9(10)V99 COMP-5? How do I make sure it takes up 8 bytes? I have a sample of the function call in delphi if that would help... Thanks for any insight :-)
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.