Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
I'm testing exception handling between a JVM COBOL class and a calling Java class. An exception is raised in a JVM COBOL class, such as raise new MyException("Blah blah") When the exception is checked for in a try/catch block of a calling Java class, such as RaiseException test = new RaiseException(); try { test.instanceMethod(); } catch (MyException e) { System.out.println(e.getMessage()); } the compiler reports "This exception is never thrown from the try statement body". Exceptions raised in JVM COBOL do not seem to be recognised by calling Java programs. Not what I would expect. Am I missing something?
Problem What tasks need to be performed before upgrading a v12.x version of Relativity Data Manager to v12.09? Resolution As the v12.09 version of Relativity for the windows environment is now available, we recommend that users upgrade to that version to obtain the latest fixes for Relativity. If Relativity system Data Source Names (DSN’s) have been configured with a previous version of Relativity then these are not removed by the uninstall process. These need to be deleted before the 12.09 version is installed, or the following error will be encountered during the install of the 12.09 product. Install Error: To avoid the install error, before the previous version of the Relativity Data Manager is uninstalled then any Relativity system DSN’s that have been configured need to be deleted. Once the 12.09 product has been installed, then the Relativity system DSN’s can be added back through the ODBC Data Source Administrator product. If the previous version of RM Relat
Problem What ODBC connection should be used when the Relativity client is on the same machine as the Relativity server? Resolution The ODBC Data server connection should never be used by client applications even if they are on the same machine as the Data server. The Data Server connection is just a way to enable the data client to be able to connect to the Data server or for the administrator to work with the server. Clients should never connect directly to the Data Server ODBC data source. A client ODBC data source must be configured on the server and the clients then use the Relativity client ODBC data source. To configure the Relativity client ODBC DSN, you perform the following steps: Create the Data Server ODBC data source as normal, but give it a name to indicate that it not to be used eg: Then when creating the Data client data source, the current machine is added to the list of servers. Once you have created a connection to the local server, this can be used. In
HI, I receive this message : [cobol] * CSQL-I-020: Processing output of Oracle Precompiler [cobol] * CSQL-I-027: Detected Working-Storage, now processing it [cobol] * CSQL-I-028: Now processing through Procedure Division [cobol] * CSQL-I-029: Found an EXEC SQL Statement, processing it [cobol] * CSQL-I-001: Cobsql has finished returning to the Checker [cobol] 22*Maximum memory (bytes) used: 115992 [cobol] COBCH0804S Source limit of 2200 procedure lines exceeded : "C:\\Users\\Vandeverre - Motte\\workspace\\dbcon\\Program2.cbl"(22,7,7) [cobol] Compilation complete with 1 errors, 0 warnings, 0 notices and an exit code of 16 i'm working with eclipse Under Windows with oracle 11g with this program : IDENTIFICATION DIVISION. PROGRAM-ID. program2. ENVIRONMENT DIVISION. DATA DIVISION. WORKING-STORAGE SECTION. exec sql include sqlca end-exec EXEC SQL BEGIN DECLARE SECTION END-EXEC. 01 USERNAME PIC X(10). 01 PASSWD PIC X(10). EXEC SQL END DECLARE SECTION END-EXEC. PROCEDURE DIVISIO
I am getting a runtime error performing a Sort. The extended File Sttus is 011. Which according to the documentation (if I am reading it right) states that it is the following. How can I get this to work? COBRT011 Process limit reached (Fatal) One of the following has occurred: The run-time system cannot create a new process as the operating system limit on the total number of processes per user or system-wide would be exceeded. Insufficient memory is available to complete the operation. Resolution: Terminate any processes that you are no longer using, or make more memory available. Your operating system might enable you to increase the maximum number of processes allowed. Refer to your operating system documentation for further information.
Good Afternoon, I am trying to read an ASCII file which has some non readable characters in it. I read about 10 lines of the file and then the file status indicates an end of file (hex 10), but there are a number of lines left. I believe these non readable characters are causing COBOL to think an end of file has been reached, is there anyone around this? Thanks,Bob
hi, I have this error: Execution error : file 'EXTSM' error code: 114, pc=0, call=1, seg=0 114 Attempt to access item beyond bounds of memory (Signal 11) The version of rts is Server Express 5.1.00, and this error is generated from cobol program with internal sort. What can i do? thanks.. #SORTmemoryviolation
Dear All, When we execute a Select * From Table INTO :DCL_Table we get the content of all columns of this Table without problema. Here we are in the Line Command of AIX 7.1 previus Connect to the Data Base. When we PUT this SENTENCE in Visual Cobol Program with SQL Embedded , The columns return with Blanks. The host variables are missing values than those contained in the table. Is there missing to SET in the environment whe we are working with AIX 7.1? Is there Some problema with the Buffers between Windows and UNIX ? Many thanks in Advanced PJM
I notice in the Visual COBOL documentation that the COBOL Server is needed to run programs outside of the Visual COBOL environment. I am planning on downloading the Visual COBOL Personnel Version to do some initial development and testing of a Project Idea I have. Therefore, I have not purchased either the full version of Visual COBOL and the COBOL Server. I understand that if this project was ever deployed to a production system, then the COBOL Server would be needed for the Server side. My question is can multiple instances of different programs be ran at the same time in Visual COBOL in order to simulate a Server running one set of programs and a Workstation running another set of programs? If Visual COBOL can simulate both the Server and Workstation environment on the same machine, can you refer me to documents that would outline how to do this? One more question – Where can I find a list of ‘User Groups’? I live in the San Antonio, TX area. Thank
Hi. Does anyone here have any success running SAP Crystal Server 2011 utilizing the AcuXDBC database driver? When we upgraded our server from Windows Server 2003 to Server 2008 R2, we also have to upgrade our reporting system softwares from the older versions of AcuODBC and Crystal Reports to the new versions which are: SAP Crystal Server 2011 (32-bit) which includes SAP Crystal Server Java BI Launchpad with the database connector AcuXDBC extend9 (32-bit) We cannot make SAP Crystal Reports work under this version on the server. The error that we get when running the reports in SAP Crystal Server 2011 is “Failed to retrieve data from the database. Details: [Database Vendor Code: -1] [] &
Hello! Please help me with the following problem (i don't understand what i have to do...): 0x800b0101 - A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file.#Setup
This past weekend I first downloaded the 'Full' version of Visual COBOL for Visual Studio 2010 and installed it. Then I discovered and downloaded Visual COBOL PE V2.2. I then installed the Personal Edition along with the already installed 'Full' Version but was confused about which one was which and therefore 'Uninstalled' both and then tried to Install the Personal Edition by itself. The Install kept getting the message: 'A required certificate is not within its Validity period when verifying against the current system clock or timestamp in the signed file.' I re-downloaded the PE version a couple of times and tried to Install it and kept getting the same error message. I would then UnInstall anything that was installed such as the Visual Studio and try again. I even tried to install it on a Virtual Machine thinking there was something left in the Register that kept the PE from installing. I tried to clear out the register by running such softw
I am using JDBC to communicate with Relativity and it seems to work well most of the time but intermittently, seemingly at random, I get the following exception: java.lang.NullPointerException at relativity.jdbc.RPCInterface.SQLFreeStmtSP(Unknown Source) at relativity.jdbc.RelativityResultSet.close(Unknown Source) at relativity.jdbc.RelativityResultSet.finalize(Unknown Source) at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method) at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:101) at java.lang.ref.Finalizer.access$100(Finalizer.java:32) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:190) There seems to be no pattern to when this exception will occur and it seems to occur completely independently of any task that is being performed. I have tried to
Hi I want to pass an array of arbitrary size from one form to another. The array would contain employee numbers PIC 9(9) and a flag to say whether the employee had been selected. Basically, from the main form the user can press a List... button which calls up a subform. This subform contains a multiselect ListView which is populated from a flat file of employees. There could be 1 employee in the file, or thousands, so no limit. When the user has selected the employees they want and the subform is closed, then the selected employees are passed back to the main form for processing. Currently, I am using the linkage in public methods to pass data between forms, but the size of the data is known. I know SteveC had a similar problem recently but the complete solution was not provided. I need to know the best way to go about passing the information required back to the main form. Thank you.
Hallo, has anybody an idea how i can implement e.g. winzip in my applikation.
Hi, We used to capture the data from Screen Area using ACCEPT clause. The variable we defined inside Screen Area like 01 GMD3010A-DATA 05 LINE 04 COL 62 PIC X USING GMD-PEP. And using ACCEPT GMD3010A-DATA we used to capture the data for GMD-REP. So whenever we are capturing any data from HELP screen we have to pass this to GMD-PEP. So is there any alternate way to populate the GMD-REP value without MOVE statement. Please advice. #eclipsevisualcobolvariablesviewencoding#VisualCobolwithEclpiseunderSUSE13.1#visualcobolruntimeswitchlinking#eclipseMFcobolcontenttypewithoutextension#COBOLVISUALCOBOLMIGRATION
Hi, I'm trying to write XML files using copybooks generated from XSD files. Generating the copybook repeats the "namespace is" phrase for all elements. 06 group identified by "group". 07 Item1 PIC X(30) identified by "line1" namespace is "http://.......". 07 Item2 PIC X(30) identified by "line2" namespace is "http://.......". 07 Item3 PIC X(30) identified by "line3" namespace is "http://.......". 07 Item4 PIC X(30) identified by "line4" namespace is "http://.......". The resultant XML file includes repetitions of xmlns="http://......."> for all subordinate elements. <group> <Item1 xmlns="http://......."&
I got ": Too many hot keys activeCOBOL error at 000A91 in aprogram.acu" error. I checked the acuCOBOL document:http://supportline.microfocus.com/Documentation/AcucorpProducts/docs/v6_online_doc/runtime/run3202.htm I understand that this message can be customized by "TEXT" configuration variable, but I don't know in what condition this message can be invoked? Does anybody know about this error, and how to deal with them? Thanks in advance!
This is code from a C# program: using DevExpress.Xpo;public class Customer : XPObject { public Customer() {} public Customer(Session session) : base(session) { }XPObject and Session are DevExpress classes used for data binding. In C#, a constructor initializer is the code that comes after a colon in a method definition. My understanding is that ": base(session)" in the overloaded constructor will execute the overloaded constructor in the inherited class XPObject passing it the "session" parameter. How would you code the above in Visual COBOL ? I can't find documentation on it. When DevExpress calls the Customer(Session) constructor, the constructor execution sequence should be: - System.Object.Object - XPObject (Session) - Customer(Session) which in my COBOL program would be NEW(Session).
Using Extend 9.1.1 (or 9.2) on Windows. We want to import a text document which contains non-English characters such as ç, é, ã. We can type those characters in Extend, and they display fine, but when we import from a file (created with Excel or even with a text editor), the characters end up being corrupted. I know Extend doesn't support Unicode, and I'm sure the corruption has something to do with that - does anyone know of a way to import such a text file into Extend and have the characters retained? Thanks Tony
Hi, Is it possible in VISUAL COBOL V2.2 to activate the Cursor postion in Screen Section by a simple clieck over the fields. Still now we are activating the Screen fields using TAB or Arrow Key function. Is there any Mouse Click is permissible to capture 9mainly activate the field) the data from Screen Section of Visual COBOL. #visualcobolreturn-code255#VisualCOBOL#VisualCobolManaged#visualcobolruntimeswitchlinking#VisualCOBOLCOBOLJVMCOBOLandJava#COBOL#VisualCobolwithEclpiseunderSUSE13.1#VisualCOBOLautoscalemodescreenresolution
Dear Chris, We stil have the same problema witk ADISCF in AIX 7.1. When we try toa alter the PFKeys funtion we didn´t have the same that we have in ADISCF for Windows. Por example in Windows we have PF2, PF8, PF2 but in AIX 7.1 We have PF2, then PF8 ,But here the PF8 Option have diferent things like Figure enclosed. Please say to Us How to do the same that we do in Windows in AIX 7.1 for alter the PFKey Functions. Regards, PJM
Can you tell me what the syntax would be for creating an event that can be called later by an event handler? C# example: public event EventHandler CloseButtonPressed;
Is there any function is avialable in VISUAL COBOL to calculate the Field-Length. We are actually facing one problem like where cursor is blinked on SCREEN-SECTION we are not able to capture the total length of the Cursor. I have tried with X"A7" feature but no luck. Any idea will be highly appriciated.#COBOL#VisualCobolManaged#COBOLVISUALCOBOLMIGRATION#VisualCOBOLautoscalemodescreenresolution#Eclipse#COBOLOrion
I would like to place a thread lock around the code below but I'm not sure what the syntax would be in Visual COBOL. Can you help me with the syntax? IF WS-COMM-FROM-PROGRAM > SPACES ??Lock PERFORM VARYING WS-PREV-PROG-ENTRY FROM 1 BY 1 UNTIL WS-PREV-PROG-ENTRY > NAV-MAX-ENTRIES IF NAV-PROGRAM-ID (WS-PREV-PROG-ENTRY) = WS-COMM-FROM-PROGRAM MOVE SPACES TO W
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.