Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
[Migrated content. Thread originally posted on 26 March 2012]Hello!We have an integration going on with another system, a C#-written program. This calls a COBOL program using acugt.exe and the AcuGt class for this.When this was written, we used AcuCobol 8.1.0. When I look at the reference list in C# project, the references name is "AcuGT.Interop" and it uses a file AcuGT.Interop.dll. This is also copied to the lib folder in the C# project.After this, I have installed AcuCobol 9.1.0.If I now tries to add an reference, the reference name is "AcuGTObjects", using a file Interop.AcuGTObjects.dll. It seems that this two files is slightly different, and has slightly different classes. When i look at them, they are both of version 8.1.0.I have registered the COM interface for acugt.exe both in version 8.1.0, and in 9.1.0. The latest version uses the latest dll, that the C# code is not written for.So I just wonder, what is the difference between this two dll`s ?And, leading
[Migrated content. Thread originally posted on 21 March 2012]From the documentation I didn't find a hint to preload cobol objects in a procedural cobol program and calling the entry. Similar like java cobload. I could call the program itself, which is then loaded and immediate returned by goback and call the entry afterwards.program-id. subprog.procedure division. goback.entry "entry1" using input. --- program-id. mainprog.call "subprog"call "entry1" usingAs a background. Using Java CobolBean with a static block with cobload to load a Cobol program. The business methods call entry points. The entries themselves call Cobol subprograms, preferable entries.An option is to cobload the subprograms in Cobol but i like to have a dependency separation.What are my options, how can I preload a subprogram from Cobol ?SimonBookshelf > COBOL Language &> Procedure Division &> Statements > ENTRY StatementNote that program files con
[Migrated content. Thread originally posted on 22 March 2012]Hi All,We are planning to upgrade our system from server express 4.0 to 5.1 for that we would like to know how we can find out all the currently available licenses with respect to development, run-time etc. for the below mentioned software versions, in 64 bit environemnt in detail.1) Server Express 4.02) Net Express 4.03) Tuxedo 8.1The above details are to determine how we can decide the number of licenses to be purchased for the new system based on the current utlisation.
[Migrated content. Thread originally posted on 29 November 2010]Good day,I'm trying to install an xdbc in a windows 2007 server 64 bits and when it's done, i see that in my system i have two ODBC administrator panels, one in "c:\\system32\\odbcad32.exe" (default panel accesible from windows control panel with default odbc drivers) and another in "c:\\windows\\sysWOW64\\odbcad32.exe" (where is installed XDBC driver and this panel can only be accesible from acucorp xdbc group of links).The real problem is some applications dont recognize the dns registered in this second ODBC panel created after install the XDBC driver.?Someone with the same problem? Thanks afterwards
[Migrated content. Thread originally posted on 07 March 2012]In the event page og a screen ( in screen designer, AcuBench), there is two linjes;Before RoutineAfter RoutineHow is this used, and when are they triggered?I have tried to add a reference to a paragraph here, but it is never hit.Regards Dagl
[Migrated content. Thread originally posted on 14 March 2012]Hello!We have for a time used AcuGTClass to call one of our Cobol program from C#. This is working, and is in use at customers place. I have also had it up and running earlier.Since last time, I have reformatted my machine, from Windows Vista 32-bit to Windows 7 64-bit.We have also changed AcuCobol, now we run on version 9.1.0. Earlier I ran on 8.1.3.Creating the class (m_acuCobol = new AcuGTClass();) runs correct. No error, and it reflects the path to the runtime / AcuGt.exe from GENESIS_HOME (I guess).But when executing the initialization (int result = m_acuCobol.Initialize(ref initParamsObject); ) it returns the error code -2147023170.initParamsObject holds the parameters to the start, and is:"-c C:\\temp\\POS\\acuconfPOS.txt -y PosToVc"I have checked that AcuGt.exe is in fact in the folder that is reflected in the class. I have checked that the config file really is in the folder specified in "initParamsObj
[Migrated content. Thread originally posted on 14 March 2012]Hi all,i would to create a web-site application with cobol (runtime acucobol) is it possible?if yes, what do application I use?thkEnrico
[Migrated content. Thread originally posted on 15 March 2012]Hi, i want to select just the date element of a timestamp columm. Does anyone knowwhat the common syntax / odbc escape sequence is (if there is any) that would enable me to use a single statementthat would work for both Sqlserver & Oracle without having to resort to the type of statement shown below ? Does anyone know if there is a webpage/document anywhere that lists techniques for making embedded sql more database agnostic ?:- IF SQLSERVER EXEC SQL SELECT CONVERT(CHAR(8),NAMEDATE,112) INTO :H-DATETIME FROM NCHARDATA WHERE NAMEVAL = :H0286-NAME END-EXECELSE EXEC SQL SELECT TO_CHAR(NAMEDATE,'YYYYMMDD') INTO :H-DATETIME FROM NCHARDATA WHERE NAMEVAL = :H0286-NAME END-EXECEND-IFAny advice would be much appreciated, thanks (i'm using Netexpress 5.104.0083)
[Migrated content. Thread originally posted on 15 March 2012]Hi,I'm having trouble with a simple sql select statement and the where clause is anNCHAR(20) column.EXEC SQL SELECT 'x' FROM TABLE WHERE NCHAR20_COL = :WS-VARIABLE END-EXECIf WS-VARIABLE is > or for Oracle.We are using Netexpress 5.104.0083, I have directive NSYMBOL "NATIONAL" set and we're using Oracle 11gAny advice would be much appreciated, Thanks
[Migrated content. Thread originally posted on 16 March 2012]Has anyone got any pointers as to how OO cobol can read/write to a ISAM file? The documentation for OO just skips over this, and the only 'example' file that I found in the knowledge base no longer exists for download! There is one passing reference to creating a factory object, but nothing more than that. I don't really want to write procedural call just to facilitate reading/updating a file.I'm using Server Express 5.1, but any help is much appreciated.Thanks very much. Mike.
[Migrated content. Thread originally posted on 05 March 2012] Program:000010 IDENTIFICATION DIVISION.000020 PROGRAM-ID. TESTE1.000030000040 ENVIRONMENT DIVISION.000050000060 DATA DIVISION.000070000080 PROCEDURE DIVISION.000090 PARA-1.000100 DISPLAY "Content-Type: text/html ".000110 DISPLAY "".000120 DISPLAY "".000130 DISPLAY "<html><body><h3>Teste Cobol-CGI</h3></body></html>".000140 STOP RUN.This program when called via CGI generates the following error:Erro interno do Servidor!O servidor encontrou um erro interno e não pode completar sua requisição.Mensagem de Erro:Premature end of script headers: TESTE1.EXESe você acredita ter encontrado um problema no servidor, por favor entre em contato com o webmaster.Error 500localhost03/05/12 15:52:51Apache/2.2.21 (Win32) PHP/5.3.9 As I compiled the program:The same program compiled with openCobol does not generate the error.Can anyone help me
[Migrated content. Thread originally posted on 16 March 2012]I have 2 packages that were developed under MicroFocus (SCO Unix) that now need to be brought over to either windows or Linux. How do I compile these using the Visual Studio 2010 and also run these programs. All screens were developed under the old character type screens and this is fine to continue to use. Also, would anyone know if I can simply copy over the data files. Thanks,
[Migrated content. Thread originally posted on 13 March 2012]Hi,i will try work with Visual Cobol for Eclipse.In "Tutorial - Creating COBOL Applications in Eclipse"and "Run your Application".Do not have option "Double click on the COBOL Local Application tree item or", why ?In my project do not have "COBOL Local Application" tree item.Site:127.0.0.1:49177/.../GUID-0F8F450A-B688-4566-B3E7-E3ACE3590D88.html
[Migrated content. Thread originally posted on 15 March 2012]I have 2 packages that were developed under MicroFocus (SCO Unix) that now need to be brought over to either windows or Linux. How do I compile these using the Visual Studio 2010 and also run these programs. All screens were developed under the old character type screens and this is fine to continue to use. Also, would anyone know if I can simply copy over the data files. Thanks,
[Migrated content. Thread originally posted on 15 March 2012]Hi All,When running my visual cobol project in a live environment noticed the memory allocation just goes up and up and up.So came across :-msdn.microsoft.com/.../xe0c2357.aspxWhich I have turned into the following cobol code:- 01 ls-count1 binary-double. 01 ls-count2 binary-double. 01 ls-boo condition-value value true. set ls-boo to false invoke type "System.GC"::"GetTotalMemory"(ls-boo) returning ls-count1 invoke type "System.GC"::"Collect"() set ls-boo to true invoke type "System.GC"::"GetTotalMemory"(ls-boo) returning ls-count2So my question is "Am I ok to put this into the Closing event of every form in my project"?If any one could pls advise.Many thanksNeil.
Attachment: MFShopCartVC.zipAttachment: MFShopCartVCReadme.pdf Overview: The original application that was used as the model for this demonstration was the ASP.NET Commerce Starter Kit (CSVS) demo from Microsoft. The original version was written in C# and has been rewritten here using the Visual COBOL language. Some of the original Web Forms, images and SQL Server Stored Procedures have been retained or modified for use within this version of the application. This demo provides an inside look at how a relatively simple Internet shopping cart web site can be developed using the features available within the Visual COBOL product. The demo consists of an ASP.NET web application named MFShopCartVC which is a functioning real-world web site. With Visual COBOL and Visual Studio 2010 you can develop and test your Web Applications under an internal File System Web Server which allows your web application to reside in any directory on your hard disk, without any IIS intervention. This d
[Migrated content. Thread originally posted on 14 March 2012]We are using Microfocus Cobol Server Express 5.1 on aix platform. Aix was patched and now getting error when we compile 'make' online programs.make: 1254-004 The error code from the last command is 12.
[Migrated content. Thread originally posted on 22 February 2011]Hi,I have a problem with the utility axdefgen. When I use it to generate .def of activex (calendar of Codejock Xtreme software) loop. File. def grows infinitely full of blank lines ...Thanks
[Migrated content. Thread originally posted on 14 February 2012]Hi I have been asked if any one has had an issue with acuthin disconnecting for no apparent reason on windows XP SP3.Senario isUser logged in via Acuthin client/Acuconnect (8.1.0) to a IBM system running AIX 6.1. Users works fine for any number of hours, leaves Acuthin logged in and goes to lunch, comes back and clicks the mouse to start work again on the Acuthin screen and the process just disappears.Have got TC_CHECK_ALIVE_INTERVAL set to 32767 and TC_SERVER_TIMEOUT at 300.Have to kill of the process on the IBM system.I have this problem with about 3 customers sites but have hundreds more who don't have this issue and not all the users at these sites have the problem.I have exhausted all other avenues that i can think of on the PC's themselves.Any suggestions would be gatefully appreciated.Mark ChambersTechnical Consultant.
[Migrated content. Thread originally posted on 05 March 2012] HiI am already using DataType to synchronize between Java and Cobol using a CobolBean (procedural Cobol) on UNIX Server Express. Now I need a mechanism to use arrays (occurs). I can imagine that jarray will work.How can I use DataTypeArray (or the similar CustomRecordArray). Does somebody have an example.Maybe moving to use OOCobol in some parts.Thanks in advanceSimon
[Migrated content. Thread originally posted on 10 March 2012]I am a user of an old version of Microfocus's Visual COBOL. I wish to upgrade to the new Visual COBOL since I program extensively in Microsoft's Visual Studio using C#. I heard the price for Visual COBOL is around $3900 which I find quite expensive compared to Microsoft's Visual Studio for $600. Does anyone know the latest price for Visual COBOL and if they have single user versions that are less expensive? Also, is Visual COBOL have the same framework as Visual Studio? I wish I could get a trial version but can't seem to find one.
[Migrated content. Thread originally posted on 05 March 2012]Hi All,I am new to Crytal Reports so I could be missing something elementary. I am trying to write a Crystal REport Application that reads my vision data using AcuXDBC. I have created the data source. I have created the crystal report in Visual Studio 2008 and I am able to connect to the data source. I can add the tables and I am able to view the data when I preview in Visual Studio. The problem arises when I try to run or publish the application. The screen comes up for me to logon to the data source, but once I enter the logon information (user name and password) I get an error stating that the Logon failed. Can anybody help - please ?Thank you.Medasha
[Migrated content. Thread originally posted on 08 March 2012]Hello,We have noticed that the following definition: SELECT OPTIONAL TRABSEQ ASSIGN TO DISC LOC-TRABSEQ ORGANIZATION IS LINE SEQUENTIAL FILE STATUS IS STAT-TRABSEQ.shows an unpredictable behavior, whereas the same instruction -without DISC- works as expected.We are using the following directives:SHOW-DIRCALLFH(ACUFH)RM "GIVING"RM "ANSI"REMOVE"TIMEOUT"PERFORM-TYPE"RM"OLDNEXTSENTENCE
[Migrated content. Thread originally posted on 06 April 2011] Hi, I am a little new to all this and was hoping someone could point me the right directionI have a MF Cobol program (on AIX) that calls a DB2 (v9.5) SQL Stored Procedure. I am trying to use a result-set-locator to store the results from the call to a Stored Procedure.My problem is that I cannot compile the Cobol program.I get the error:* Micro Focus SQL External Compiler Module for IBM DB2 UDB* Version 4.0.05 (C) copyright 1997-2008 Micro Focus (IP) Ltd. END-EXEC.* 801-S***** ( 0)**** External Compiler Module message** DB0100 SQL4911N The host variable data type is not valid.cob64: error(s) in compilation: tresloc.covThe line it fails on is:EXEC SQL ASSOCIATE RESULT SET LOCATOR (:LOC) WITH PROCEDURE TRESLOCEND-EXEC.:LOC is defined in the working-storage as follows:EXEC SQL BEGIN DECLARE SECTION END-EXEC.01 LOC USAGE IS SQL TYPE IS RESULT-SET-LOCATOR VARYING.EXEC SQL END DECLARE SECTION END-EXEC.Is this just something where
[Migrated content. Thread originally posted on 09 March 2012]I was told by our marketing rep that R4 would have a tool for converting Dialog screens to either Winform or WPF equivalents in Visual COBOL. Can you tell me how to access this tool? Thanks!
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.