Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
[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!
[Migrated content. Thread originally posted on 04 March 2012]Hi,i download and install Visual Cobol R4 to test and learn.how i convert cobol to java (jvm) in Visual Cobol ?
[Migrated content. Thread originally posted on 06 March 2012]While trying to upgrade Net Express 5.0: - download wrap pack 5 - tried to install wrap pack 5 - install goes on for hours, never completes (Aborted) - download wrap pack 3 - install wrap pack 3 with sucess but on the Control Panel - Add Remove Programs and on Help - About, shows wrap pack 5 installed - removed wrap pack 3 - Net Express does not start anymore - repair Net Express on "Add Remove Programs" - program opens and runs with sucess, but folder msalmf does not exist anymore, apptrack does not run because of folder absence - recreated folder, run apptrack shows no license installed - selected option 3 to install licensehowever apptrack asks me for two items:1 - Enter serial number part of license keythis one have for Net Express 5.02 - Enter license number part of license keythis one i have for Server 5.0Also have revoke and response keys but no license number for Net Express 5.0.What i'm missing here?
[Migrated content. Thread originally posted on 05 March 2012]Hello, i'd like to comprehend the m$free behaviour in runtime >= 9 and in previous runtime versions. In our company we use it intensively and i noticed that when a significant amount of memory is allocated, say 60Mb, (not necessary contiguous, i.e. not to the same pointer), then the m$free doesn't free it when called.Quoting the doc:This memory is returned to the pool of memory available for use by the runtime. On most operating systems, this memory is still associated with the runtime's process, so it cannot be used by any other processesOk, following the doc i would expect the following behaviour (i observed the memory usage with the Windows 7 task manager):1. Allocate a series of data structures --> wrun32 is 60Mb2. deallocate all structures with m$free --> wrun32 is still 60Mb as the memory is usable only from the current process3. Reallocate the same series of data structures --> wrun32 is still 6
[Migrated content. Thread originally posted on 02 March 2012]We would like to link a 'copy book' to all our linkage sections in our projects that can be dynamic in the fact that we can update the 'copy book' and it would update in all projects. We have tried to use the LINK option on the Linkage screen (right click and link)...it does add the 'copy book' to the project but it is a static copy. If the 'copy book' is updated an the project is pulled back up the changes are not shown. To make the changes appear we have to use the Reload option on the right click menu on the linked file. I did notice in the .lks files the 'copy book' is shown as COPY 'copy book' but the project in bench does not update???Is there anything in AcuBench that will do this function automatically so we do not have to go into each project and reload the file?Any other ideas would be appreciated also.
[Migrated content. Thread originally posted on 01 March 2012]Hi all :-)I would like a user to have the possibility to "break out" of a program execution by pressing the Escape key. I have the following code to determine if the user pressed the Escape key during the run:ACCEPT KBD-INPUT-STATUS FROM INPUT STATUS.IF KBD-INPUT-STATUS = ZERO EXIT PARAGRAPH.ACCEPT OMITTED BEFORE TIME 0 WITH NO ADVANCING ON EXCEPTION ACCEPT KBD-HIT-KEY FROM ESCAPE.Unfortunately the code halts if the user presses the space key.Anyone have a better idea hos to dertermine if the user pressed the Escape key without having to hold the execution until a key is pressed ?Thanks in advance.Steen
[Migrated content. Thread originally posted on 15 February 2012]Hello friends,I'm trying to setup a webservice to use a sample COBOL program.I've followed the steps in this pagesupportline.microfocus.com/.../dzdepl.htmCreated the web sharesbin-share /CGI-BIN/form-share /COBOL/image-share /COBOL/Copied the following files to bin-shareProg.exeCopied the following files to form-sharecadastro.htmTried running the programmyipadress/.../Prog.exeThis returns: HTTP Error 404 - File or directory not found.Internet Information Services (IIS)I'm able to open the cadastro.htm however it does nothing when i click in its "Save" button.I've successfully debugged this program on Solo also via the Prog.exeI'm doing this correctly? This is totally new territory for me, any help would be appreciated.
[Migrated content. Thread originally posted on 01 March 2012]Hello!We need to use a webservice. There is written a wrapper for us, that holds all the PROXY information for us. But the Webservice needs a config file. In a C# project, this is called "app.config". We have the same file, with a different name.The problem is how do I refer to it in the create-verb?Or can it be referred in another way?I have written a small C# test program that tries to to the same as my COBOL code should do. If I does not use app.config, it blows up. If I incorporate the app.config to my C# project and build, it works.In COBOL code, the runtime crashes when we try to create the class that holds the webservice. At the exact same point where my C# code blew up when I did not use the app.config.So my question is (as above...); how can I refer to the config-file during, or somehow before, the create-verb?Regards Dagl
[Migrated content. Thread originally posted on 29 February 2012]Hi :-)Does anyone have an idea to how I can "read" on which line the cursor is placed in a multiline entry field ?Thanks in advance :-)Steen
[Migrated content. Thread originally posted on 27 February 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:couldn't create child process: 720005: TESTE1.EXESe você acredita ter encontrado um problema no servidor, por favor entre em contato com o webmaster.Error 500localhost02/27/12 17:28:48Apache/2.2.21 (Win32) PHP/5.3.9 The same program compiled with openCobol does not generate the error.Can anyone help me?
[Migrated content. Thread originally posted on 27 February 2012]Hello, we use acu cobol environment and are interested in switch to visual cobol in next future. Does visual cobol supports the use of entry points?
[Migrated content. Thread originally posted on 22 February 2012]I have several Net Express programs that read Excel spreadsheets and they do it quite well. The only issue that I have is when it reads an invalid cell. The program crashes.I receive the following error:Execution of the program EXPTNMGR has been interupted. This program is not animatable, but you can view the call/perform stack. The cause of the interupt was: 114 Attempt to access item beyond bounds of memory.Are there any error handling routines for this?The actual statements are as follows:invoke ExcelObject "getCells" using by value I-Row *> This statement works fine by value I-Col returning Cell.invoke Cell "getValue" returning Cell-Value. *> This is where I get the above messageinvoke Cell "finalize" returning Cell. *> Does not get to this statementThe actual value in the cell is "-
[Migrated content. Thread originally posted on 29 June 2011]Hello guys,I am new here, and I come here loaded with a "problem" that needs solved somehow.This is the brief:I am myself a consultant/programmer/sysadmin, and I have been trying to help a friend of mine with an application he has running in an old Xenix 3.2.4 system, in an old 386, since 1990 !!!!!!!!!! (original disk!!!!)We have managed to put the hard disk into another old system, and with knoppix we did a "dd" of the disk through NFS into my linux laptop, and also burned a few copies to CDrom. I then managed to extract the files (the Xenix file system spec is actually wrong in one spot and it took us a while to figure that out), and I have the tarball and also the full file system (complete) with all the files available, and properly untarred, without corruption. Took me and some other genius buddy of mine 3 months to figure that out !Now, I have the following problem. The application runs using the &q
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.