Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hello, I downloaded and installed Visual COBOL for Visual Studio Personal Edition v2.2 0. I have Visual Studio 2012 Pro Version 1.0.61030.00 Update 4. I wanted to test the WCF program installed here: C:\\Users\\Public\\Documents\\Micro Focus\\Visual COBOL\\Samples\\WCF\\WEB WCF Service. When I follow the instructions given in the Readme.xml and key in a number and hit enter, I get the following error: The debugger highlights this line: Console.WriteLine(client.GetData(enter)); in the Program.cs file. Does anybody know how to fix this error? I'm an old COBOL programmer with 40 years of experience on WANG VS and HP3000 systems trying to learn something about the newer COBOL programming. Any help would be gratefully appreciated. Thanks,Tony
Till now I did nothing with CGI and web server. I found in the documentation of Extend 9.2.3 by 4. Launching Web Applications Through CGI how to configuring for windows 2000 but I want to do it on a local PC with Windows 8.1. So someone can make me happy with a guide for To Configure IIS on a Windows8.1 instead of To Configure IIS on a Windows 2000 Server.#IISWINDOWS8.1CGI
Is LINQ supported in Visual Cobol yet?#VisualCOBOL#Linq#VisualCobolManaged
We've recently switched to Visual Cobol from Net Express (Ms Windows on PCs). We use old MF Dialogue GUI and built in MF Cobol file formats. I'd like to create a simple client installation procedure, ideally automated though could be semi manual if simpler. Target machines could be standalone or acting as a server for a small group of client/users. What's the best way to do this? Some questions... is it better to install the run time licenses separately or can it be packaged together. Should I create a single exe or supply separate GNT files? Thank you, Linden
Hello everyone, I have a problem understanding how acubench and acusql are trying to connect to mysql!! I include this to my work storage EXEC SQL INCLUDE SQLCA END-EXEC. EXEC SQL BEGIN DECLARE SECTION END-EXEC. 01 servername pic x(30). 01 userid pic x(30). 01 passwd. 49 passwd-length PIC s9(4) comp-5 value 0. 49 passwd-name PIC x(18). EXEC SQL END DECLARE SECTION END-EXEC. I also do this to get the length for the passwd INSPECT passwd-name TALLYING passwd-length FOR CHARACTERS BEFORE INITIAL " ". and this is my esql command where servername is "something.com:3306" userid is "admin" and passwd-name is "password" EXEC SQL CONNECT TO :servername USER :userid USING :passwd END-EXEC. my compiler options are -Ps -Pr -Pe -o When i debug this code i get that SQLCODE=-1
I don't know if anyone has come across this before but, when using JDBC, if I specify setMaxRows on the PreparedStatement, no rows are returned. As soon as I remove this statement, I get all the results. This only seems to occur on tables which contain a column of type LONGVARCHAR and only when the LONGVARCHAR column is returned in the ResultSet. On tables without LONGVARCHAR columns I can use setMaxSize without any issues. Another problem that I am encountering with the same tables is that, if I remove the setMaxRows statement and begin processing the ResultSet, when I get to the LONGVARCHAR column, I am unable to read the value. Instead, I get the following error: Exception in thread "main" java.sql.SQLException: [Relativity JDBC Driver][SimbaLNA][Liant][Relativity RM Server]Invalid column number. at relativity.jdbc.PackBuffer.getSQLException(Unknown Source) at relativity.jdbc.RPCInterface.handleError(Unknown Source) at relativity.jdbc.RPCInterface.S
I've uploaded a simple c# project which uses a persistent object class and DevExpress XPO (xpress persistent objects) to bind a SQLite database table (called trans_item) to a DevExpress GridControl. I have also uploaded a Visual COBOL project which tries to do the same thing. I am trying to translate the c# persistent object class (trans_item) into Visual COBOL. The problem I am having is in defining the attributes. There are three DevExpress attributes I need to set. I have looked at the Visual COBOL documentation on attributes and also at the the CustomAttributes solution under Micro focus Visual COBOL Samples. The c# project works. There is something wrong with how I am defining the attributes in Visual COBOL. The editor gives an error of "incorrect program structure" for the first instance of "attribute" in the code. The c# class looks like this: using DevExpress.Xpo;namespace CsSQLite{ public
New to this XML stuff help would be greatly appreciated. I'm trying to retrieve an XML form that is embedded on an HTML web page. I'm trying to use "IXMLHTTPRequest" to accomplish this I found the below example of how to this in VB. Can you help me translate this to COBOL. Specifically I'm not sure how to create the "FormData" object. VB EXAMPLE: Retrieving a FormData object from an HTML form To construct a FormData object that contains the data from an existing element represents a document section that contains interactive controls to submit information to a web server." href="/en-US/docs/Web/HTML/Element/form"<form>, specify that form element when creating the FormData object: var formData = new FormData(someFormElement); For example: var formElement = document.getElementById("myFormElement"); var request = new XMLHttpRequest(); request.open("POST", "submitform.php"); request.send(new FormData(formE
ALGUÉM PODERIA ME INFORMA ONDE EU POSSO ENCONTRAR MANUAIS DO COBOL VISUAL PARA O ECLIPSE WINDOWS 32.... COMO DIGITAR UM PROGRAMA COBOL NO ECLIPSE (PASSO A PASSO), E COMO EU CHAMO UM PROGRAMA COBOL NO ECLIPSE PARA RUN...
I have the following problem: We had the following code in an html file <input type=text size=14 maxsize=12 value=%%Sum%%> If we set the value 15 to the Sum-variable in the cbl-program, the html-source code in the browser would look like this: <input type=text size=14 maxsize=12 value= 15,00> but in effect the browser would deprecate the leading spaces, showing 15,00 (aligned to the left) in the textbox. Now, W3C html-standards dictate, that attributes values need to be enclosed by hyphen(?), as in: <input type="text" size="14" maxsize="12" value="%%Sum%%"> But now, using this format, the browser DOESN'T deprecate the leading spaces. Instead it treats the value as a string, thus showing the leading spaces followed by 15,00 in the textbox. The leading spaces are also aligned to the left, which makes the desired value of 15,00 show up in the middle of the textbox. The Sum variable is of the pic ---.---.---,99 type. And the value is submitt
I am getting the following error when adding ACCEPT varname FROM TERMINAL: Unhandled Exception: IOExceptionNot enough storage is available to process this command. at Void System.IO.__Error.WinIOError(Int32 errorCode,System.String maybeFullPath) at Int32 System.IO.__ConsoleStream.Read(Byte[] buffer,Int32 offset,Int32 count) at Int32 System.IO.StreamReader.ReadBuffer() at System.String System.IO.StreamReader.ReadLine() at System.String System.IO.SyncTextReader.ReadLine() at Void CBL357-12._MF_PERFORM_4_20(Int32 start_end) at Int32 CBL357-12.CBL357_12() at Int32 CBL357-12._MF_ENTRY() #ACCEPTFROMTERMINALcommand
I am searching for a setup document for IIS 7.0 and Net Express 5.1 for web applications. I am having the following issues 1) I cannot get the "CBL_DEBUGBREAK" to pop the debugger from IIS. In older versions of IIS, I could just click the "interact with desktop" on the service and it would allow this to work. Are there updated instructions for IIS debugging with the newer versions of IIS and the more locked down security of IIS in its current state 2) IIS will not automatically identify the system variables we use to set COBSW and other settings. In older versions of IIS, it inherited all of the environment variables, but it no longer does that. Are there instructions on how to do this with Net Express 5.1 and IIS 7 3) Is there a best practice document when using IIS that details how to use configuration files to setup parameters in lieu of calling the .exe directly? In Apache on UNIX we use shell scripts to setup t
Created On: 25 October 2012 Problem: Using AcuConnect Thin Client 9.1.2, whenever the load of the traffic increases, acuthin crashes with the following message: "Communication socket closed unexpectedly". The issue occurs even running acurcl and acuthin on the same machine. It is not present with previous 9.1.x versions. Resolution: When large amounts of data were transferred from the thin client to the application host, or vice versa, the socket could fill, causing an error in the function used to send data. This could cause the socket to close unexpectedly, forcing a disconnect. This is now been fixed in version 9.1.2.1, soon available for download. Check the Product Updates page of SupportLine Web Site.
What microfocus net express version is applicable in windows 7 enterprise 64 bit?
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
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.