Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
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 :-)
Problem The reason this error occurs is that the object was compiled with a flag that designates it to be executed by a specific processor type Intel, sparc, etc. Resolution When an object is compiled the instructions that are placed in the object are generic, intended to be run by any processor. This gives AcuCobol-GT its portability. When a program is compiled with one of our processor specific flags then the instruction set will be specific for a specific processor type. For example if you compile a program for "Intel" and then move it over to a machine with a "SPARC" processor then you would get this error. The runtime does check for native code objects immediately when they are loaded into memory. Please review the V9.2 online documentation: - http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.extendACUSuite/BKUSUSCOMPUS2.2.2.html
Can i see the SQLCode status of commands ? I work SQLite with VC 2012.#SQLiteSQLCode
InfoExpress using version 7 over sco unix sco working properly we do update to version 12 to get more users and have problems. rmservertcp when start the cpu usage reaches 100% leaves resources not available. which may be the problem?#COBOL
Hi Please can you tell me where to find a programmer or where I can post a freelance job offering ? Many thanks All
I have coding to automate Microsoft Word documents. We set up Word documents and bookmark specific fields and then my program opens the document and fills in the appropriate bookmarked information. This works in older versions of Word, Word 2007, and Word 2010. In Word 2013, it pulls up the document, but does not fill in the fields. Debugging shows that the C$EXCEPINFO is giving 06124 in the ERROR-INFO-CODE and I have no idea what this means. Coding: MODIFY wrdBookmarks @Exists (BY NAME @Name "CompanyName") RETURNING bkExist. IF bkExist = 1 MODIFY wrdDoc @GoTo(BY NAME @What wdGoToBookmark BY NAME @Name "CompanyName") RETURNING wrdRange IF wrdRange NOT = 0 MODIFY wrdRange @InsertAfter(BY NAME @Text my-text-field) DESTROY wrdRange END-IF. It generates the error on the MODIFY wrdRange @InsertAfter... line. It successfully comp
We have a NAT'ed firewall between two networks on our campus - the license manager sits on a server that is in the untrusted side along with most the clients that use the software. We have a few clients that need to use the software on the trust side though - this is normally achieved via port mapping. The problem we have is that the clients are trying to contact the server on high ports, usually 50,000 , so the connections get blocked at the firewall. Example of what we see: Source: 164.58.xxx.xxx Port: 53891 UDP Destination: 192.168.xxx.xxx Port: 5093 UDP Is there a way to remedy this? Opening up all high level ports is not an option. Most license managers we use listen on the same port that the clients are trying to contact them on, so this has never been a problem.
Problem The customer’s application runtime produced the following error 9D,54. When trying to verify this by selecting all the available messages from 'sysmessages' and checking SQLCodes and SQLstate this message code and description was not found. Resolution When using Acu4GL for MSSQL V9.2.1 on SQL Server 2012 it is imperative that you create a new version of the batch file 'MS_INST.sql' and run this on SQL Server 2012 to create a new 'Locks' database as it contains the latest version of the required stored procedures. Please review the V9.2 online documentation: - http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.extendACUSuite/BKGLGLSQLIGLA21.html
Hi, I'm connecting to our SQL Server database from multiple programs. I would like to check at the beginning of each program, if a connection to the SQL Server is already established (by a previously executed program in the same chain). If it is not, I would then like to connect to the database. Now, I could basically execute some basic SELECT statement and if the return code isn't zero, then it means the connection isn't established. But is there a specific statement in SQL or COBOL, with which I could check the status of the connection? Cheers, Raffi
Problem How to change the default ICON provided by AcuCobol in your application program Resolution Use the configuration variable ICON. This variable has meaning only on graphical systems such as Windows. Set ICON to the name of the file that contains the icon. This file should be an ".ICO" file that contains a 16-color icon. (Although the file may contain icons in other formats, the runtime accesses only the 16-color icon.) The icon should be created using an icon editor like the one in the Windows Software Development Kit. For example, if your custom icon were contained in the file "PAYROLL.ICO" in the directory \\ACCT\\ICONS, you would add the following line to your COBOL configuration file: ICON \\ACCT\\ICONS\\PAYROLL.ICO The maximum icon size that can be used with the ICON variable is 32 x 32 bits. The runtime uses the first icon it finds in the icon file that fits its maximum. If that icon is larger than the maximum, a memory access violation may occur.
Problem We are trying to rebuild a newly created Vision 5 file into version 2 and getting the following error: - "Unsupported operation" Resolution In this case the reason you can't rebuild the Vision 5 file is because the second key has more than one key segment. Vision 2 only allows a single segment per key. If the runtime still actually supports Vision 2 files you can set V-VERSION to 2, and write a COBOL program to read the Vision 5 file and write to a newly created vision file. Because V-VERSION is 2, the newly created file will be vision 2, while the runtime will just open the vision 5 file as a vision 5 file. Vision 2 is the original version of our file system, distributed with ACU versions 1.x. Vision 2 is not compatible between machines, so if for example you FTP a vision 2 file from a Solaris machine to a Windows machine, the Windows runtime would consider it corrupt. In fact, vision 2 is not compatible between 32-bit and 64-bit versions of the same operating sy
Problem calling stored procedures. When executing a stored procedure I get a SQL error “A server cursor cannot be opened on the given statement or statements.” SQLCODE = -16937. I have a couple of stored procedures that are getting the same error. Below is my Cobol code and the create statement of the stored procedure I am using. What am I doing wrong? MOVE "UN" TO HV-DBIO EXEC SQL DECLARE spcursor CURSOR for CALL sp_SysGenIO (:HV-DBIO) END-EXEC. &nbs
Hi, again. I do "set btn to sender as type Button" and i can get button properts. Now i need to get which mouse button has brought me here. I suspect that the answer is in "e as type System.EventArgs", but, how? I asked to google... hugs.
where can I find user guide for User Interfaces supported within Visual Cobol?#userguides
Running Visual Studio 12 with VC 2.2. If I make a change to a designer, save it and then run debug and the changes are not there. I must have something setup incorrectly, although this was ok in visual studio 10. Suggestions? Note: I did not make any solution changes between visual studio 10 & 12. Just starting working in the solution.
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.