Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Whether Net express 5.1 and Mainframe express 3.1 is compatible with windows 7?
Using RM/Cobol 12.08 on Linux (RHEL 2.6...). Getting started here using XML Extensions. Just started working through examples in Users Guide. Getting the following error when running sample program trying to export the data record, CUSTOMER-ADDRESS, to XML. Though it might be an issue with differences in case between record name, program name and parameters passed to the EXPORT command but have tried the various permutations with no success. What is wrong here? Code: 559 * 561 000078>0< CALL "XMLExportFile" GIVING XML-Status USING 562 CUSTOMER-ADDRESS 563 &n
Problem: A COBOL program is writing data to a Microsoft Access file using Acu4GL for ODBC, version 9.2.1. At the first attempt, the runtime receives a 9D status and the following error may be found in the trace file: OdbcOpenConnection SQLConnect, pdsn = 'yourDSName', puid = '' Leaving, SQLAllocHandle OdbcOneInfo: State: HY010, Native Error: 0 '[Microsoft][ODBC Driver Manager] Function sequence error' Setting f_errno = 19 Leaving, error Leaving, OdbcOpenConnection A1 A2Leaving, error>>>file status = 9DFile error 9D on yourVisionFile yourDSName is the name of the ODBC Data Source. This error has been reported using one of the following 32-bit ODBC drivers:- Pervasive ODBC Engine Interface 10.31.40.00- MS Access 2010 (Microsoft Access Driver 14.00.7010.1000) Resolution: This issue has been fixed in release 9.2.2. Contact your local account manager and ask for the upgrade. ---------------------------------------------------Incident referen
Can someone please post an example project that has a report with a full page watermark? I am using Bench to create reports but am having no luck in getting watermarks to appear in the reports. Thanks
Hi I'm a newbie to COBOL and netexpress I have installed netexpress 5 and oracle 11g XE on windows XP OS. I need to write small programs like getting data from database and use it in the COBOL program. I'd like to know what are the things I need to configure,install to make connection b/w netexpress and oracle 11g got some information like below. environment variables SET COBCPY=SET COBDIR=SET COBIDY=SET DB_USRID=SET DB_PASSWD= in program EXEC SQL CONNECT :WSH-USER-INFO IDENTIFIED BY :WSH-PASSWD END-EXEC. many thanks #oracle11gXE#NetExpress5.0
Hi folks, I should to build a connection between AcuCobol and Tcl via named pipes on the Windows platform. I have succesfully written a server part and the client part in the Tcl to be sure that the named pipe processing is running okay. Now one part (from case to case as server or client) should run in AcuCobol. In the AcuCobol documentation like "A guide for interoperating with Auccobol", Chapter 6.6.3 there are some sentences like: " Named pipes can also be used on Windows systems. You create Windows pipes with the CreateNamedPipe( ) API. You can then use the CreateFile( ) API to access the other end of the newly created named pipe." But I had no success with it. So I ask for an example what shows what DLL must be loaded, how to create, connect, write or read the pipe. The best way with the displaying the actions like my example down. Thank you very much. Vaci #----------------------------------------------------------------------- # pips
Hello friends, I have a Server 2003 machine with Server 5.0 installed on it. Since my current development machine has Express 5.1, i was receiving the following error when trying to run my executables: community.microfocus.com/.../20278.an-executable-fails-to-locate-codeset-in-cblrtss-dll.aspx So i installed Server 5.1 on my Server 2003. However the problem persists? Is it possible to utilize both Server 5.0 and 5.1 on the same server? I did not uninstall 5.0 yet.
Problem: A javascript error may occur opening a html web page in a Web-Browser control. On the contrary, no error is shown navigating the same web page using a browser outside the ACUCOBOL-GT runtime. Is there a way to bypass these errors, either programmatically or setting some value in the Registry of the client machine? Resolution: The WEB-BROWSER control used by ACUCOBOL-GT runtime is based on Microsoft Internet Explorer.It provides the same functionalities as the browser itself, but executed with restricted permissions and backward Compatibility View. This may cause situations where scripts present in the web page may be blocked or return script errors. It is possible to avoid these errors by removing the backward Compatibility View for the WEB-BROWSER control. This can be done setting the following key in the Registry of the Operating System.If the browser is a 64-bit Software, search for this key: HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer\\MAIN\\Featur
Problem Beginning with ACUCOBOL-GT Runtime 7.x, Entry Fields are drawn on the screen with slight differences in height each time a newer runtime is used. This may cause display issues, mainly when a screen contains a lot of graphical controls which have 3-D style and Windows Native Look and Feel. Resolution A bug was introduced in release 8.0 in the calculation of Entry-Field sizes when 3-D and Native Controls are used.This has been fixed in 9.0.1 by ECN-4071. Later, a new fix has been developed in release 9.1.1 (ECN-4135) to help keeping the Entry Field size coherent after any runtime upgrade. This fix introduced a new configuration variable, V80-3D-ENTRY-SIZE. When set to TRUE, size calculations for Entry Fields are done as they were in 8.0.When set to the default value of FALSE, it will cause Entry Fields to be sized as they were in 7.0. --------------------------------------------------------------------Reference incident numbers: 2543148, 2681996.
Problem: Trying to relink Oracle's Instant Client into ACUCOBOL-GT 9.x.x gives the following error: make: *** No rule to make target "oraoci.o", needed by "libruncbl64.so". Stop. What is the cause of it?Is Instant Client supported in release 9.x.x of extend suite? Resolution: This item happens to be a configuration issue. To resolve, please follow the following steps. Configuring Instant Client. ------------------------------------- Download the basic versions from the Oracle web site.i.e.: basic-10.2.0.5.0-linux-ppc64.zip for Instant Clientsqlplus-10.2.0.5.0-linux-ppc64.zip for the sqlplus tool Create a directory to contain these files and unzip them. Set an environment variable $ORACLE_HOME to point to this directory. i.e.: export ORACLE_HOME=/home/usr/oracle In that directory create a "bin" subdirectory and move all the files into it. To simplify making connections with ACUCOBOL runtime, use TNS_ADMIN. Create a directory $ORACLE_HOME/network/
We're running 32-bit AcuCOBOL 9.2.1 for Linux. The RMNET library doesn't seem to have been included. Am I looking in the wrong place? I would expect to find it in the AcuCOBOL 9.2.1 lib directory, as librmnet.so. But there is no file whose name contains rmnet in that directory. Thanks. #ACUCOBOL9.2.1#RMNet#Linux
Hi, we're two people working on the same system. We both have all files (project .app, cobol .cbl, copyfiles .cpy, etc) on our separate pc/drive. Now, the problem is, that the project file's timestamp is updated even when just opening the project. Thus it is impossible to see which project file is the most recent (since the timestamp of one can be newer (because it was opened), even though no changes to the project itself have been made). We're also using SmartGit to help us track the softwares versions, but this tool can only compare text files (like .cbl and .cpy), but naturally not .app-files. Is there a way to keep the .app-file's timestamp from being updated while only opening the project? Has anybody else had this problem? If yes, how have you solved it? Thanks in advance for all your help!Cheers,Raffi
Hi. I have a problem with a file with the index destroyed. I tried to recover it with the rebuild option but my message is "broken chain of records". If the file generated replacement lose a lot of records. Is there another option that i can use to retrieve the index of this file? Thank you.
Hi, Most of the time I am using COMponent, thus compiling all my application class in NetExpress Cobol. Currently I am experimenting NetExpress creating/compiling Java class (in Cobol wizard). I installed "Java SE Development Kit 7u51/compilers 32-bit" and so far I could compile the java sample code (cj2Bean.cbl) using NetExpress V3.10 command prompt. Now I started creating Java class in NetExpress on my own using wizard... but when compiling, it says;javac: invalid flag: Files\\Java\\jdk1.7.0_51\\bin\\JAVAC.EXE I already included the PATH of java compiler in my Environment Variables. Any adjustments that I have to make??#Javaclasswizard
When running batch COBOL programs our mainframe provides counts of how many times each file is written, read, etc. This logging is helpful when debugging. Can Visual COBOL Runtime provide any similar logging?
Hi, Can I call a managed VB dll from Cobol Net Express? If so, how? Here is a sample of how playet, a VB 6 dll, would be called by NE Cobol: $SET OOCTRL( P) identification division. &
I have a program that is included in one Project which is compiled as DLL. This same DLL is called from a lot of other programs. Every thing Works perfectly, but how can I find out in a simple way in which Project is included the source file? Of course one way is to open all my APP files and look at the Project window, where this source file appears. But is there not an easier way, because I have many APP thanks
Busy with ACUCOBOL conversion to Visual COBOL. Using the ACU2VCOB tool First, I'm not a ACU expert. So please bear with me. In the original ACUCOBOL source I got these statements CALL "LIB$GET_SYMBOL" USING BY DESCRIPTOR "USER_ID" W5-USERNAME. I do not find information on the DESCRIPTOR keyword. Neither in the helpfiles given with these tools and not in the Supportline. Plus. what should this be changed to to be able to run under Visual COBOL? Lastly, is there a specific ACUCOBOL to Visual COBOL conversion discussion group in this forum?
We have a Visual COBOL 2.2 program with more than 100 warnings. Visual Studio is reporting 100 warnings then giving the "Too many errors" error (COBH0090). This is related to the MAXERROR compiler directive. The documentation says that the default setting for this compiler directive is NOMAX-ERROR, which would make me think we should never receive this error and should be able to see 101 errors. This is not the case unless we explicitly set the NO-MAXERROR compiler directive. Is there somewhere we are accidentally setting the MAXERROR directive? Or is it possible the Visual COBOL 2.2 default is not what the documentation says? In case it's important, the only compiler directive we are using is CHECKNUM and it is being set in the program using $SET.
Going to implement some sort of progress bar for the users to know something is happening in the backgroud. Looking for a working example if anybody has one handy. Feel free to send it over (zipped). Thanks, Marc mhinrichsen@lmc.net
My program is giving the following error followed by a hard crash when I attempt to write to the system log. ---------------------------Error---------------------------Invalid or missing parameter to "C$SYSLOG"COBOL error at 000046 in csyslog.acu("csyslog.cbl", line 50)---------------------------OK --------------------------- Here is my source code. Do you see what the problem might be on line 50? IDENTIFICATION DIVISION. PROGRAM-ID. CSYSLOG. DATA DIVISION. WORKING-STORAGE SECTION. * Opcodes for C$SYSLOG * These codes were copied from acucobol.def. 78 CSYSLOG-OPEN VALUE 0. 78 CSYSLOG-WRITE VALUE 1. 78 CSYSLOG-CLOSE VALUE 2. * Priority codes for C$SYSLOG * These codes were copied from acucobol.def. 78 CSYSLOG-PRIORITY-SUCCESS VALUE 0. 78 CSYSLOG-PRIORITY-INFORMATION VALUE 1. 78 CSYSL
Dear Friends, Can I Import an XML file, for VSAM files using NetExpress 3.1 is possible?
Dear Friends, How do I set the print density to 10 lines per inch, for example, a dot matrix printer (Epson DFX8000)? I'm using CBL_PRINTER_DEFAULT_PROPERTIES and CBL_PRINT_FILE to print my report. graciously Rogerio Barbosa
Introduction In the Visual COBOL 2.2 - JSP Web Services Tutorial [2] we created a JSP Web Service Application using JVM COBOL and Java in Visual COBOL for Eclipse. If you want to build the application outside of Eclipse as part of a larger automated build infrastructure, then this article shows how to use ant to build the complete application ready to be deployed. One of the advantages of using ant is the XML file used to control the build process can be the same for Windows and UNIX. The COBOL projects created by Eclipse use ant under the covers and by re-using this, you get the build of your COBOL code for free with no need to maintain a separate set of batch, shell or make files. Ant also contains tasks which make building the rest of the application straight forward, compiling the Java source code and creating the Web application ARchive file or WAR for short. This article provides a template build.xml which can be adapted for similar shaped Web Service Ap
Problem Why does rebuild pad with HEX0 as default using this command rebuild ./datei.vari,./datei.fix_blank -o:lseq,rel -r:v1-100,f16p –i Resolution See - Using the manual. The –o:lseq,rel the output is relative, so the default pad character is hex 0. See - Using rebuild. Here is an example of using the rebuild option which controls the pad character. See - Using COBOL. Here is an example of using COBOL, which can handle exceptions like long records Using the manual. The –o:lseq,rel the output is relative, so the default pad character is hex 0. See this reference document for rebuild Using rebuild. Here is an example of using the rebuild option which controls the pad character. This handles large records by creating new records with the extra data. However, if the infile has records greater than your output file, this might not be what you require. This type of record processing should be done using a COBOL program see using COBOL. Using a file called infile.dat which has 1
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.