Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem: A very large Vision file must be expanded to accommodate more data than is available in the remaining FILLER item. How can that be accomplished without using a COBOL program that would read the old file and rewrite all of the records to the new format, which would take several hours? Resolution: To increase the record size on an existing file use the Vision File Utility, vutil (vutil32 on Windows). First run "vutil -augment ..." with the new maximum record size. This does not rebuild the file, it is an instant command that only changes the file header to specify variable length records with the new maximum record length. Next is to modify the FD to correspondingly specify variable length records with the new maximum and recompile the program. The result is that new records added to the file will be the new larger size, while the existing smaller records can be accessed too. Example: An existing file, myfile, has a record length of 68 byt
I want to discuss about Acubench. How can be an editor a mass of bugs like this. When there is a new release, we spend more time to find bug than write code. Honestly our work is write code. We cannot spend time to wait for a bug fix for an editor. Said that, we decided to invest a little part of our time to find a different way. We tried Visual Studio Code. Bingo! We found our best editor to easily write Cobol, helped also by intellisense, compile and more. To help our self, we also deployed an extension called CobolSTF for VS Code (now published for all), that help us to our job; we created snippets and so on. VS Code is easy to configure and let us personalize the editor with extraordinary freedom. We still use Acubench to design screen... but this is our next challenge. ;) Antonio Antonio Donato Studiofarma S.r.l. CGM Group#runtime#AcuCobol#acubench
Problem: Using version 9.0.0 or newer, when attempting to add an XFD to the AcuXDBC system catalog an error is reported "Error: Empty condition tablename, condition 1". Previous versions of AcuXDBC added this XFD without error. Resolution: The XFD involved was generated from old code and used the XFD WHEN directive to distinguish multiple record types in the FD. For the first record type it specifies: $XFD WHEN RECORD-TYPE=5 TABLENAME=USERFILE The FD also included this directive: $XFD WHEN RECORD-TYPE=OTHER The requirement is that if the TABLENAME clause is used it must be defined for all of the WHEN conditions. So the 'OTHER' condition is missing the TABLENAME clause. Previous versions were not strict about this and reported no error. To resolve add a table name: $XFD WHEN RECORD-TYPE=OTHER TABLENAME=OTHERTABLE Then generate a new XFD add that to the system catalog.
I see this can be used to 'modernize' dialog screens using unmanaged COBOL under Visual Studio. Can it be used in a development environment? It says to set the MFVSSW environment variable to "/c /f" , but where is this variable? In Visual Studio? Environmental variables under System Properties? Is there something else we need to get this to work? Thanks, Fran D.
Good Afternoon All, Can you please help me here i have been given a task to read a Cobol Program which contains several CALLING statements. these Calling statements include statements that call other programs since its a mainmenu it also calls other MENUs. now i am required to write a program that READS this program and print out all program CALLS for other programs and print them in an INDEXED file starting with MAINMENU (which is the program containing other programs). now i have converted MAINMENU.cbl as text input file, please help me i cant get the program. Best Regards Zux
Hi When attempting an insert to a table running ACu4gl against MS SQL Server we are getting a 9D00 Restricted data type attribute violation File trace 9 shows 03/26/18 16:03:41 CARRNOTE.DAT: write (thread 1203)03/26/18 16:03:41 mssql_write, 241403/26/18 16:03:41 A4603/26/18 16:03:41 A4703/26/18 16:03:41 Stored procedure CARRNOTE_insert was not found in VWFSAUS_USER_JIM_PROD03/26/18 16:03:41 Preparing SQL on statement 60a3f8 on server 'NSSRVSQL009':03/26/18 16:03:41 <SQL03/26/18 16:03:41 insert into VWFSAUS_USER_JIM_PROD.CALMS2CMS_SCHEMA.CARRNOTE (carr_note_key_source,03/26/18 16:03:41 carr_note_key_num,03/26/18 16:03:41 carr_note_tran_no,03/26/18 16:03:41 carr_note_date,03/26/18 16:03:41 carr_note_time,03/26/18 16:03:41 carr_note_text)03/26/18 16:03:41 values03/26/18 16:03:41 (?, ?, ?, ?, ?, ?)03/26/18 16:03:41 EndSQL>03/26/18 16:03:41 bind_parameter_of_field(1, 02
Well, the subject really says it all. Does anyone know of a utility program, written in cobol, that runs in character-mode, and provides similar functionality to C$OPENSAVEBOX? I want to do something like that in unix on a terminal. I would rather not re-invent the wheel.#AcuCobol#extend
About a month ago I got a full upgrade of my Visual Studio and Visual COBOL, with help from Mark Buchanan. Today Visual Studio told me my license was only for a 30-day evaluation period. See screen shot. What do I do now?
GETTING 9/006 error on delete statement for a record. I am reading an indexed file on primary key.The read is successful. But when then after a read I am executing delete statement I am getting 9/006 error. It says the ftrying to write in a file which is open for Input.But The file is already open in I-O mode. Any help ?
Background - using 2017 Visual Studio I have created and tested multiple projects which now need to be consolidated into a single project. It should be simple, click the "Add Project", and select the folder. Nope, all that does is bore down into more folders under the project not allowing anything to be selected. So, how is this accomplished and more importantly is my philosophy correct? And where do you start, from the low projects and work towards the top? And as long as I'm being a pain, at some point I need to migrate from the studio to the executable - a good reference for this activity?
I am attempting to pass an array into a service program and am having little success. The data is not being imported/transformed by the default soap_to_cobol.xsl stylsheet. The SOAP-REQUEST-RESPONSE working storage section looks like this: 01 SOAP-REQUEST-RESPONSE. 03 HTTP-METHOD PIC X(06) VALUE HTTP-METHOD-POST. 88 HTTP-METHOD-IS-POST VALUE HTTP-METHOD-POST. 88 HTTP-METHOD-IS-GET VALUE HTTP-METHOD-GET. 03 METHOD-NAMESPACE-INDICATOR PIC X(01). 88 METHOD-NAMESPACE-MATCH VALUE "1". 88 METHOD-NAMESPACE-MISMATCH VALUE "0". 03 METHOD-NAME PIC X(50) VALUE SPACES. 88 METHOD-IS-PAYINV VALUE L-PAYINV-METHOD-NAME. 03 FAULT-AREA. 05 FAULTCODE PIC X(10) VALUE SPACES. 05 FAULTSTRING PIC X(30) VALUE SPACES. 05 FAULTDETAIL PIC X(80) VALUE SPACES. 03 PAYINV--METHOD-NAME PIC X(20) VALUE L-PAYINV-METHOD-NAME. 03 PAYINV--METHOD-PARAMETERS. 05 INPUT-PARAMETERS. 07 PI-USER-I
The code I used came from the COBOL training class and allows one project to initiate another project. There must be some feature that initiates this capability. The code follows; method-id button5_Click final private. local-storage section. * invoke project for final processing 01 newForm type AlterMenu.Form1. procedure division using by value sender as object e as type System.EventArgs. Invoke type AlterMenu.Form1::New() returning newForm Invoke newForm::Show() end method. The project details are A second part of my problem is, what is the best way to pass information between projects?
The following will detail the situation. The copybook that is the offender is the Control.cpy under Form1 of the Load Score Sheet project and does not appear in this view. The other uses of this copybook are normal. By doing a search for the copybook it appears everywhere it should except for Form1 of the load score sheet project but yet the build uses the phantom. If you look at the code you’ll see a copy for that copybook is noted out. That statement is a couple of lines below the where the phantom copybook exists. If you uncomment the copybook statement then you get duplicates. I’ve tried almost anything I can think of – removing all other copybooks and removing the location of copybooks. The phantom persists, all others are gone.
I have a question about using cursors with ADO and ODBC. Currently I am using ADO to get the result of a query in a datareader object: 01 DATAREADER-9615 TYPE System.Data.SqlClient.SqlDataReader. EXEC ADO GET CURSOR CURSOR_9615 INTO :DATAREADER-9615 END-EXEC. But, what if i wanted to ODBC. So: 01 DATAREADER-9615 TYPE System.Data.Odbc.OdbcDataReader. Which EXEC SQL statement do I have to use to get the result in my datareader object?
Hi, we have a Cobol JVM application on an AIX. The Cobol JVM classes are called by a Java main file. The java main itself is called by cobjrun with a korn shell script. What we want to do now, is the debug the Java and the JVM cobol file in Eclipse. So we need a debug function for JVM Cobol like "COBOL Wait for Application Attachment". Or is it possible to use the debug configuration "COBOL JVM remote Application" for this issue? We were not able to make it work with this function. Thanks and best regards Paul
Hi, After updating Windows 10 Pro to 1709 version an old cobol program no longer works properly. I already tested it and verified that the program works without problems in previous version of Windows (1703). The program runs with an old RmCobol runtime 10.01 version. The problema is in some tasks like disk operations or creating some tasks like disk operations or creating some reports the app slow down. The same tasks delay more than 20 times. Until version 1703 everything worked without problems. I have some customers with this problem. best regards #print#RMCOBOL
Good morning I wanted to know if it was normal for rmcobol to be slower in 64-bit systems Thanks
Hello, ist it possible to make a ping with the c$socket library? Greetings David
Visual Cobol 2.2 Linux .cbl file Getting error when executing XML parse. This program works in Vce 2.2 for Windows. What is the reason for error in Linux?
How can I change the tag nr and naam with organisation xml without all tag names in the FILE SECTION. XD <envelope xmlns:xsi="www.w3.org/.../XMLSchema-instance" xsi:noNamespaceSchemaLocation="envelope.xsd"> <header> <source> <product>sal</product> </source> <transaction> <version>5.0</version> <messagetype>personeelsgegevens</messagetype> <variant>WFE</variant> </transaction> </header> <body> <werkgever> <nr>1</nr> <naam>a</naam> <werknemers> <werknemer> <nr>1</nr> <naam>a</naam> </werknemer> <werknemer> <nr>2</nr> <naam>a</naam> </werknemer> <werknemer> <nr>3</nr> <naam>a</naam> </werknemer> </werknemers> </werkgever> </body></envelope> #VisualCOBOL#XML
I just upgraded from very old Visual Studio and Visual COBOL to Visual Studio 2017 and Visual COBOL 3.0 In my old setup, when I clicked my icon, Visual Studio automatically opened my project. In my new setup, Visual Studio opens but requires me to click to open my project. Any way that my single click on the icon can both bring up Visual Studio AND my Visual COBOL project?#Setup#COBOL#VisualStudio
Hello all, it seems to me that that the activtion of "Run Configurations" or "Debug Configurtions" in Eclipse is not possible and generates a Java "null pointer exception". I am using Windows 10. With Windows 8.1 everything works fine. I did several installations and cleaned everything from previous installations. Other functionality seems to be okay. Any ideas? Kind regards Franz Franz Franz
I have tried to find a download for visual cobol 2013 that would work with my existing visual studio professional 2013, but it seems the only option I can find is visual studio 2017. I tried this and it is looking for an authorization code. I have been getting debug error message popups from VS2017 community version so I would prefer to revert to using the visual studio professional 2013 edition if I can. Is it still possible to get visual cobol personal edition for visual studio 2013? Thanks very much!
Problem: “java.lang.nullpointerexception” error shown when using COBOL Application Run Configuration - Visual COBOL for Eclipse 3.0 Resolution: This is a known Eclipse IDE issue when using a monitor with high DPI settings (e.g. 4k monitor), see Eclipse Bug report: https://bugs.eclipse.org/bugs/show_bug.cgi?id=495849 To resolve this, consider upgrading Eclipse from version 4.6.0 to version 4.6.3 where handling of monitors with high DPI is improved.
Problem: "The ordinal 77 could not be loaded in dynamic link library utils.dll” shown when starting Visual COBOL for Eclipse. Resolution: This can be related to other software being installed on the same machine that also uses the same utils.dll file which the Visual COBOL Product uses for normal operation. As an example the Dell Unified Wireless Suite uses a utils.dll, if you are using this Dell software you can consider to uninstall this and installing just the wireless card driver as per http://en.community.dell.com/support-forums/laptop/f/3518/t/19595964 The issue is caused by a filename clash and the 3rd party product not locating its version of this file correctly.
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.