Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
[Migrated content. Thread originally posted on 18 March 2003]Hi, I am new to Acucorp's products - I am accessing MS SQL using AcuSQL, and I have not been able to successfully pre-compile my Cobol pgm with a call to a stored procedure. I obviously do not have either the syntax right, or do not have the precompiler options set correctly.I am precompiling as follows:\\\\dir01\\acusql521\\ACUSQL.EXE -Pk MSSQL mysrcesq.cob -Pr mysrcegt.cob and the call to my stored procedure looks like: EXEC SQL CALL pGETNEXT :PTBL-SQL, :TBL-SQL, :NUM-SQL, :optbl OUTPUT, :otbl OUTPUT, :onbr OUTPUT, :oname OUTPUT, :oprompt OUTPUT, :ofile OUTPUT, :oactive OUTPUT, :oStatus OUTPUT END-EXEC.When I precompile the source file, I get 'parse error at :PTBL-SQL'Does anyone have any idea what I am doing wrong??Thanks!Patti
[Migrated content. Thread originally posted on 03 July 2003]In a Grid, when we are in Entry Mode, leaving the cell, we want to move the cursor to the next cell. We used (version 5.2) in Msg-Finish-Entry event : MODIFY Form1-Gd-1, CURSOR-X ..., CURSOR-Y ...We upgrade to version 6.0 and it?s not working properly. e.g. Cell X 1, Y 2 Value ="AA"Cell X 2, Y 2 Value = spaces Form1-Gd-1-Ev-Msg-Finish-Entry. MOVE SPACES TO PRT DFT MODIFY Form1-Gd-1, X 1, Y 2 INQUIRE Form1-Gd-1, CELL-DATA IN PRT (PRT = "AA") MODIFY Form1-Gd-1, CURSOR-X 2, CURSOR-Y 2 MODIFY Form1-Gd-1, X 2, Y 2 INQUIRE Form1-Gd-1, CELL-DATA IN DFT (DFT = "AA" instead of spaces) IF DFT = SPACES MODIFY Form1-Gd-1, X 2, Y 2, CELL-DATA "BB" END-IF.As a result: Cell X 1, Y 2 V
[Migrated content. Thread originally posted on 19 March 2003]For our laboratory application we often calculate the standard deviation.The intrinsic function "standard-deviation" within AcuCobol calculates using the "biased" or "n" method. Instead we would like to have an intrinsic function that calculates the standard deviation using the "nonbiased" or "n-1" method.Is it possible that AcuCobol makes an intrinsic function for standard deviation using the "nonbiased" or "n-1" method?greetings Ties van Valen
[Migrated content. Thread originally posted on 25 June 2003]As most of us develop software for administrative purposes, it might be convenient to control the "lock" keys of the keyboard.Here is some source illustrating how to inquire the current status of, and how to toggle the Numlock, Scroll-lock and Capslock keys: IDENTIFICATION DIVISION. PROGRAM-ID. SetNumLck. WORKING-STORAGE SECTION. 77 key-val pic 9(2) comp-5. 77 HStat USAGE HANDLE OF STATUS-BAR. 77 NUM-STYLE PIC 9 VALUE 1. 77 SCR-STYLE PIC 9 VALUE 2. 77 CAP-STYLE PIC 9 VALUE 2. 77 CHOICE PIC X. 77 WS-ESC PIC 9(3) VALUE 0. 88 F1-ESC VALUE 1. | Toggle NUM LOCK 88 F2-ESC VALUE 2. | Toggle SCR LOCK 88 F3-ESC VALUE 3. | Toggle CAP LOCK 88 F4-ESC
[Migrated content. Thread originally posted on 26 February 2003]Does anybody have suggestions on how they have caught spurious code 98's We are working with Tech support and they are being very helpful. Thought there may be some stories out here. This is a tough on and the noraml things have lead us nowhere.We have several hundred installs and one (our largest - of course) is experiencing these problems. We don't know if we are chasing an OS/Hardware glitch, or a problem with some of our "C" code, or a previously undiscovered Vision problem. We are on AIX 4.3 withe local files.Any stories or hints would be appreciated.Looking for Sherlock Holmes.Thanks,
[Migrated content. Thread originally posted on 09 August 2011]In my vision file I have numeric data like 12,25. I live in Germany, therefore we store our numeric data with a comma.If I read the vision file via ODBC in ACCESS, I only see 12What is wrong?I had an old XFD-File of that vision file. With this XFD-File I can see the complete field. 00243,00005,09,00008,-02,000,000,TANUM02This line was generated by ACUCOBOL-GT v5.2.00000000243,0000000005,09,0000000008,-02,000,000,06,TANUM02This line was generated by ACUCOBOL-GT v8.1.0 I need to generate XFDs with v8.1.0 to work with my vision files via ODBC. Can anybody help me?
[Migrated content. Thread originally posted on 20 December 2002]Increase attachment size to 153600 bytes or better yet 204800 bytes
[Migrated content. Thread originally posted on 30 January 2003]I am using this program with thread he is sleeping and wakeing once and a while. PROCEDURE DIVISION USING LINK-REC. MAIN-LOGIC SECTION. DEBUT. PERFORM 0000-INITIALISATION. PERFORM 100-PRINCIPALE. FIN. EXIT-PROGRAM. EXIT PROGRAM. 0000-INITIALISATION. SET ENVIRONMENT "DLL_CONVENTION" TO "1". CALL "User32.dll". 100-PRINCIPALE. PERFORM UNTIL 1=2 CALL "GetKeyboardState" USING BY REFERENCE KEY-TABLE GIVING RET-VALUE MOVE LC-FONT-SMALL TO DEFAULT-FONT MOVE LC-MAIN-HANDLE TO MAIN-HANDLE RECEIVE FIELD FROM THREAD MAIN-HANDLE BEFORE TIME 50 STATUS IN WS-STATUS ON EXCEPTION CONTINUE END-RECEIVE move spaces to field-1 field-2 fi
[Migrated content. Thread originally posted on 17 August 2011]I am converting all reports in my product to use the RPV report viewer http://rpvsoftware.com/ My users love the new reports and the ability to convert a report to pdf or excel. I heard about this product at one of the Las Vegas conferences from some other users so I know it is being used in the Extend community. My question is I notice that my users report more system freezes when using the rpv viewer. Has anyone out there using RPV had a similar problem? Does anyone have suggestions as how I can debug the cause for the system freezes?
[Migrated content. Thread originally posted on 03 February 2003]My accept not terminates with set ACCEPT-CONTROL to 0.
[Migrated content. Thread originally posted on 25 November 2002]I am handling a task that need to use Java to call Cobol. But I think I should use C to be the middleware between them. Actually, I have no idea that how to call Cobol from C .According to the manual of AcuCobol 4.2, have a little bit note about this topic only. Is there have any others detailed example for calling Cobol from C ?:confused:
[Migrated content. Thread originally posted on 12 August 2011]HiDoes any have example/Docementation on how to implement Unicode Support Visual Cobol R4?And also Does XDBC have UNICODE support ?
[Migrated content. Thread originally posted on 18 November 2002]I am presently evaluating AcuCobol 5.2.0.1 in a Redhat 8.0 environment utilizing the GNOME desktop. I am using Launcher to run a script in TERMINAL. I am trying to ascertain what functions are available to the AcuCobol runtime from within this environment. The following is a list of items with which I have had some success:1) Menubars work2) Function Keys work3) Color worksI have also had some results in this arena that are less than perfect and I am trying to see if anyone has already come up with a work around or found a solution. First, I want to say that I am not stuck on the GNOME desktop. I am simply looking for an OS and a graphical desktop in order to minimize program changes. The programs we are looking to convert to a new environment use character based screens, use color, utilize menubars, and use the mouse. Through changes to the A_termcap file I have been able to get single mouse clicks within the menub
[Migrated content. Thread originally posted on 21 November 2002]We are in the middle of converting out character based applications to GUI. Has anyone done the old style accept and display screens and have radio buttons working correctly in the tab order?The sample program from Acocorp showed examples of the rest of the controls and said that putting radio buttons into this type of screen would be hard.I need to know what the rules are and would love to see sample code.Thanks
[Migrated content. Thread originally posted on 27 December 2002]I finally figured out how to get a file attachment to work with the msmail example that acucorp has posted on this site. If anyone is interested in adding this functionallity let me know.I have it setup just like the msmail program with passing data as the subject, email address, message and I added the path of the attachment.It will now allow you to add 1 attachment to the email.be happy to send you the object if needed.ryanneves@execu-tech.com
[Migrated content. Thread originally posted on 01 July 2011]Hi All,Is there any way to embed a document in a Vision file as can be done in a database ?ThanksMedasha
[Migrated content. Thread originally posted on 13 May 2011]Micro Focus COBOL 6.0, developed in Visual Studio 2008 and run in Micro Focus Enterprise Server.I have a program that issues a START command on a VSAM file by populating part of the key (10 bytes alphanumeric) with two to seven bytes of alphabetic characters followed by spaces, then setting the KEY IS condition to "NOT MOVE 'AG ' TO VSAM-ALT-KEY2.START VSAM-FILE KEY IS NOT In a system using the EBCDIC character set, numeric values, even if only in one of the first two bytes, will satisfy this condition, as their hex values are greater than the hex values of alphabetic characters. But in ASCII, numerics have lower hex values than alphabetics. For the purpose of this program, numeric key values need to be able to start this file.I have not seen any doc indicating that using a compound condition will work in the START command, but I am hoping this is possible. I have tri
[Migrated content. Thread originally posted on 01 June 2011]Hello, I am still working with acubench 4.3 i want to open an sequential file bij "open output testfile"no problem... my question is : the file is opened in ANSI codei can write as much as i want...I want my file opened in UTF-8 CODE.How can i do that... The problem is when i use ä ö ü, to give my data to an other programto print.. it is not ok... when i open manually my created fileand save it in code utf-8 everything is ok...Thx for your support...Rik
[Migrated content. Thread originally posted on 05 May 2011]I haven't worked with acucobol for some months and now if I want to compile a program I get the message: "Failed to load type library". The program is nevertheless compiled, but I don't like error messages.
[Migrated content. Thread originally posted on 18 May 2011]I created a program that will create an Excel spreadsheet from within my AcuCobol program. It works ok on my local pc, but when I try to run the program in the Citrix environment(where the users live) the results are not consistent. Sometimes the GetSaveAsFilename method will display the dialog box, but it is buried beneath the application and Atl-Tab is the only way to find it. Other times the dialog box never displays and the application just ends. Any ideas on how to make the save box perform consistenly?
[Migrated content. Thread originally posted on 19 May 2011]Hello,In the Interoperability documentation, it says the following in section 5.4.2:Note that you can call COBOL from .NET locally or remotely. You can evenhave the runtime execute remotely without a COBOL object executing on theclient. All you need on the client is a .NET program and a runtime. For thisto work, you set CODE_PREFIX in the configuration file that you providewith the runtime initialization to point to a remote server hosting yourCOBOL application. The remote server must also be running AcuConnect.AcuConnect is able to execute a COBOL object remotely and share data withthe local runtime. For more information on executing remote COBOLprograms with AcuConnect, please refer to the AcuConnect User’s Guide.When AcuConnect is setup to require a password, the first time I try to call a program using AcuConnect, a dialog pops up prompting for the AcuConnect password. The AcuConnect documentation section 2.7.1 says the fo
[Migrated content. Thread originally posted on 26 March 2011]Hi!I am currently evaluating MFNE 5.1 and am particularly interested in compiling COM components written in OO COBOL. There is no problem with building these using the IDE but I can't make it work properly using cbllink -d from a command line.I spent some time looking at how the process works and was hoping it might be possible to use a Make file that could include the TypeLib. It looks to me that the process doesn't do that, compiling the Typelib into a resource file and linking it that way instead.I don't want to have to manually set up a project for every COM component I want to build. I don't really understand why it forces the extension to be .CBL (my existing legacy is all .COB), and I can't see what this "trigger file" is all about. It doesn't appear to do much. All of my COM stuff is In Process server .DLLs. I wouldn't expect to have to trigger them; just instantiate the Class as
[Migrated content. Thread originally posted on 18 April 2011]Dear Community Members,I am working on a Legacy upgrade project. I have a cobol code which has to be called from Java Using JNI.I have worked on JNI where we have java calling C program by creating shared object(Dynamic) or Shared Library(Static Linking). These can be done using xlc (AIX) C compiler and JVM. I want to do the same JNI implementation for calling COBOL program from Java.I want to know the steps to 1) complie a C program using cob compiler.2) Link the complied object to a Shared Object3) Load the shared Object into Java and Call Cobol program from Java.It would be great if i get a code example.Thanks in Advance.RegardsHithesh
[Migrated content. Thread originally posted on 20 April 2011]Hy,I use acuconnect - W$PRINT to print report on client, but on extranet/internet is too slow.I think to increase velocity with a temp file of report spool on server, after that I convert it to a pdf and send it to the client...I can at now: - send a file I can use C$COPY or open with link http - server have a PDF printer that create a file in a directory any ideas???Thank's
[Migrated content. Thread originally posted on 25 March 2011]Has anyone using AcuCobol had experience with electronic signature pads, especially how the software would interact with AcuGt?
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.