Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
[Migrated content. Thread originally posted on 16 June 2011]Can someone on the staff please reply and let me know if your Net Express 5.1 product suppports Oracle 11G? Thanks in advance.
[Migrated content. Thread originally posted on 04 August 2011]Question asked in SI 2530581.Scenario:I have a Visual Cobol Solution, this contains 2 projects each with a Windows form. One Win form has a button and the other a textbox.How can a value (string) be sent across projects, e.g. if I click on Button on Form1 I want it to populate the textbox1 on form2 with some text.Would the line of code look something like for the btnSend_Click method:set form2::textbox1::text to "this is a test". How can I reference components on other forms that are in other projects but in the sane solution?Thanks,Kim
[Migrated content. Thread originally posted on 04 August 2011]Hello, I'm having problems with acuxdbc in network mode. I have installed the acuxdbc driver correctly in the client/server, i start the service acuxdbcs and anything go smooth. I do a acuxdbcs -info servername in the client and got response.The problem is when i try to access the data from excel in the client comp. I get "Connection failed: SQLState: 28000. VISION: No entry for product 'AcuXDBCS' in file "serveradress/installpath/xvision.alc".And my question is, if i have a license for acuxdbc, i need another one for acuxdbcs? or simply i fail installing it? there are different license for each products?Thanks afterwards
[Migrated content. Thread originally posted on 04 August 2011]SI 2529598Client writes:I want to define a COBOL class under .NET that allocates memory (via CBL_ALLOC_MEM) and passes the pointer to the allocated memory back to a c# calling routine.I spoke to develoeprs and they were not sure if what was being done was the best approach, it was suggested that a Structure should be used to pass the data, below I am providing a sample (the developer provided this) for you to use/review:You could use C# structs for example:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Runtime.InteropServices;using MicroFocus.COBOL.RuntimeServices;namespace ConsoleApplication1{class Program{[Serializable][StructLayout(LayoutKind.Sequential)]struct BCM{[MarshalAs(UnmanagedType.ByValArray, SizeConst = 8)]public byte[] ESeguib;[MarshalAs(UnmanagedType.ByValArray, SizeConst = 8)]public byte[] Nome;public BCM(byte[] a, byte[] b){this.ESeguib = a;this.Nome = b;}publi
[Migrated content. Thread originally posted on 02 August 2011]I am trying to copy a file from one location to another. While on my system this works fine it has an issue on another system. I am using the following: 01 file-status pic xx comp-x. 01 redefines file-status. 03 fs-byte-1 pic x comp-x. 03 fs-byte-2 pic x comp-x. 01 byte-1 pic 9(03). 01 byte-2 pic 9(03). call "CBL_COPY_FILE" using SOURCE-FILE ARCHIVE-FILE &
[Migrated content. Thread originally posted on 01 August 2011]I did put CALLFH(ACUFH) on Aditional Directives and gave me this error:Error COBCH0865 : Failed to find system program 'ACUFH'. Could some bodie tell me what this mean.Thanks: Manuel Guevarajose61@pryma.ws
[Migrated content. Thread originally posted on 02 August 2011]When I log into a WinXP box with Net Express 4.0 I get this error: "The license database for Net Express Application Server has been moved from its original location or removed and recreated. Delete the database, which is mfasdb, and reinstall the license keys."I remove and reinstall the program and still get the error. Any ideas? Also, how do I "reinstall the license keys."? Is that stored in a file? Thanks.
[Migrated content. Thread originally posted on 27 July 2011]In Visual COBOL, I'm new to this environment, I'm getting an 173 Called program file not found in drive/directory: DATE from my program doing a call to a common date routing. I have a folder with all my common routines. How/where do I point to this folder? Can I do this on a global basis so I don't have to do it for all my programs individually?
[Migrated content. Thread originally posted on 15 July 2011]Hello,I want to use a java public class from a COBOL JVM project. The program I use in order to do this is named "Program1.cbl". Here you can see how simple it is: program-id. Program1 as "Program1". data division. working-storage section. 77 cPantalla type pantalla. 77 text1 pic x(10). procedure division. display "Hello, I am Program1!". set cPantalla to new type pantalla. invoke cPantalla:open(). goback. end program Program1.In Properties->Java build path->Libraries I have included the runnable jar generated from the Java project. The jar file is stored at c:\\.The IDE does not recognize the type "pantalla" presumably populated by the java package. And the following error occurs:java.lang.NoClassDefFoundError: Program1Caused by: java.lang.ClassNotFoundExceptio
[Migrated content. Thread originally posted on 07 June 2011]Hi - We're currently testing Visual COBL R4 in our project. We are compiling a COBOL program that uses the AS keyword in a .NET C# method. These programs are working in a later version before (R3). Example: IF FORMAT-NAME = "FORMATNAME" INVOKE CSHARP_CLASS::"CSharp_Method" (BY REFERENCE OBJ-COBOL AS CobolClass, BY REFERENCE RECORD) END-IF We get an error COBCH0919: An AS expression cannot be used as a receiving itemAny thoughts on this? Thanks in advance! :)
[Migrated content. Thread originally posted on 19 July 2011]I am trying to launch some 3rd-party COBOL programs using Thin-Client running on a Linux server. I have been able to get these puppies to run under telnet with no problem. However, when Thin-Client - there is only a momentary flicker and nothing executes. In order for the programs to run, the run mechanism launches the program where its expected resources are located. My approach has been to use execute a shell script to spawn -- runcbl … progname as described below: RUN.WIDGETFILE_PREFIX=.;export FILE_PREFIXCODE_PREFIX=/usr/client/obj_locJ; export CODE_PREFIXCODE_SUFFIX=OBJ;export CODE_SUFFIXFILE_SUFFIX=FIL;export FILE_SUFFIXruncbl -c /etc/cblconfig.widget $1CBLCONFIG.WIDGETCODE-PREFIX /usr/client/obj_locCODE-SUFFIX OBJFILE-SUFFIX FIL#For compatibility with 3rd-party COBOL programs.ERRORS-OK 1V_VERSION 3
[Migrated content. Thread originally posted on 14 June 2011]I have installed the vcobol and I am doing tests.When you import a source of rmcobol'm trying to put "addicional directives" as stated in the manual. But i don't know that put on this site.To set properties and directives on a single fileIn the Navigator view, right-click the file to change. Click Properties. Click COBOL Settings. Check Enable file specific settings. Click in the Additional directives field and type the directives to be used when compiling this file. Separate each directive with a space. Click OK. To specify whether or not to compile the file, right-click the file and click Build Action > Compile or Build Action > Ignore as required. By default, files with a .cbl extension are compiled. Parent topic: How to...What do I put here (additional directives)?Thanks.
[Migrated content. Thread originally posted on 12 July 2011]I had been download Visual Cobol R4, UnInstalled Visual Cobol R3 and Installed Visual Cobol R4; but when I open Visual Cobol R4, this sed: "The licence has been expired". Is this posible to gen one trial version for R4?. Thanks for any Help.
[Migrated content. Thread originally posted on 14 July 2011]Hi, i use the C$REDIRECT function in HANDLER-FUNCTION-REPLACE modality. In the handler i want to use the I$IO functions set. In the handler, the OPEN-FUNC goes well and i move the handler of the open file to the HANDLER-FILE-HANDLE linkage item (i also tried without moving it in the linkage).When i perform a READ on the file, my custom handler needs to perform the I$IO READ-FUNC but the HANDLER-FILE-HANDLEpoints to an invalid location, not to the location of the just open file.It follows a sample code:THE I/O OPERATIONS:open input myfilemove "OP" to myfile-keyread myfile key is myfile-keyTHE HANDLER:procedure division using HANDLER-INFO HANDLER-FILE-INFO HANDLER-STATE-INFO &
[Migrated content. Thread originally posted on 13 July 2011]We have a program that uses the C$OPENSAVEBOX libary routine. The file name it returns strips out, or replaces, international characters, like the accented C(ć), and replaces it with an english C, no accent. Unfortunately, this breaks my acucobol program because when I then try to manipulate the file(copy it, delete it, etc.) it can't find it.Has anyone worked around this? Sample file name: Jovanić.docC$OPENSAVEBOX returns: Jovanic.doc
[Migrated content. Thread originally posted on 21 March 2011]Hi fellow extend-ers,Does anyone know how to highlight certain text in an entry field programmatically e.g. search for a specific word in a multiline text box and then highlight the text found and go to the line it is on ? Any sample programs out there.Thanks in advance.Julie
[Migrated content. Thread originally posted on 16 June 2011]I am an ISV for AcuCorp. I would like to add a "dashboard" to my application which means I want to use graphs, charts, etc. I have attemped to use mschrt20.ocx and although I can get it to basically work, the documentation is very poor, I can not get 3d to work, etc. When googleing the web, I see many people who have the same and more problems with this control. Is there anyone out there who uses charts extensively in their app and if so, are you using mschart or is there a better alternative which is inexpensive and can be distributed in the code to end users? Thanks for any help, please email replies to brics@bricssoftware.com
[Migrated content. Thread originally posted on 12 July 2011]I can't seem to write line sequential file with 94 character with WITHOUT stripping the trailing spaces.I have set the STRIP_TRAILING_SPACES to 0;I've tried using BLOCK CONTAINS 94 CHARACTERS in FD sectionI've tried RECORD IS VARYING IN SIZE FROM 1 TO 94 CHARACTERS DEPENDING ON 94-CHAR-VARIABLE in FD section.Using AcuCobol 8.01.FYI, Wring a NACHA file for Direct Deposit transfer, and bank wants every record to be exactly 94 character without losing the trailing spaces.Thanks for help in advance.
[Migrated content. Thread originally posted on 31 March 2011]Hi there,Does anyone have any detailed doco on how you translate visual basic objects/classes usage into cobol speak.I have read through the interoperability section and it is good for basic controls but looking for a more detailed description/examples of activeXcontrol manipulatione.g what is the cobol equivalent for these Visual Basic statements:Dim Series As ChartSeriesSet Series = ChartControl.Content.Series.Add("1")Thanks in advance.
[Migrated content. Thread originally posted on 07 July 2011]Hi,i'm trying to read data from RM/Cobol data files in Visual Cobol R4 for Eclipse (Cobol JVM).I have followed the configuration from RM/Cobol File Handlerbut I get the following error when executing :## An unexpected error has been detected by Java Runtime Environment:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x5d80f890, pid=8196, tid=10580## Java VM: Java HotSpot(TM) Client VM (10.0-b23 mixed mode windows-x86)# Problematic frame:# C [cblrtsm.dll 0x7f890]## If you would like to submit a bug report, please visit:# java.sun.com/.../crash.jsp# The crash happened outside the Java Virtual Machine in native code.# See problematic frame for where to report the bug.#--------------- T H R E A D ---------------Current thread (0x001f8800): JavaThread "main" [_thread_in_native, id=10580, stack(0x00190000,0x001e0000)]siginfo: ExceptionCode=0xc0000005, reading address 0x0000000cRegisters:EAX=0x0c3a94a0, EBX=0x0c
[Migrated content. Thread originally posted on 15 April 2011]Hi,I have a site which is running on Novell. The server is running on Novell 6.3. The workstation is running on windows 7. We are running Novell client 2 service pack 1 on the workstations. We have also downloaded patch 2IR6 for Novell. The problem is that the Windows 7 machines freeze when we run Acu. We then have to restart the computers. We are using Acu 8.1.3. All the xp machines on the network are fine - i.e. no freezes.Can anybody shed some light on this.Thanks in advance.Medasha
[Migrated content. Thread originally posted on 28 February 2011]I am creating an Excel application from a called .Acu program using:-CREATE Application OF Excel HANDLE IN hExcelAppI then do various inquires, modifies etc, before saving the output .xls file and exiting.All this works with no problems, but after closing the application, Task Manager still shows Excel as being present as a process. If I run the program multiple times, I end up with Task manager showing multiple occurrences of Excel present as processes. How do I properly close Excel, once I have finished with the application?Coding in the program at present is as follows:- MODIFY hExcelApp @Quit() destroy hExcelApp Exit Program.
[Migrated content. Thread originally posted on 23 June 2011]Acucobol support says it should be possible to control a serial port on the local PC from the Acuthin client running there, but didn't have a direct answer. They suggested we check out this forum. Does anyone on this forum know how to do address the local COM1: port when running Acuthin client on the local PC?
[Migrated content. Thread originally posted on 08 July 2011]Hi,i'm trying to make a native windows program with XML Extensions in Eclipse.Do i need a xmlif.dll file ? Where do i configure this in my project ?Regards,Renzo
[Migrated content. Thread originally posted on 07 July 2011]We are currently using microfocus cobol to read the data from C-ISAM files in Unix environment.Now we are migrating to Linux environmentand D-ISAM. We compiled all cobol program in Linux environment. But cobol is not reading correct data from D-ISAM files. Could you please help me in resolving the issue.
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.