Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hi We are trying to used web services but i do not now from where to start what i sould used to implement could you help me? His there a tutorial somewhere! Thank !
I have a user request to reassign the Windows CTRL-Del (Erase to end of line = kL) keystroke to an Fkey (editing only - no termination no exception or exception value.). Using AcuGT runtime for Windows I have had some limited success with text mode (not ENTRY-FIELD) with KEYSTROKE Edit=Erase-Field k9 With it, F9 erases the entire text field but has no effect in ENTRY-FIELDS. Ideally I would like KEYSTROKE Edit=Erase-to-End k9 to mimic CTRL-Del for both text fields and ENTRY-FIELDs, but I can't make it work for either. (No effect for ENTRY-FIELD and works like Erase-Field for text.) The user would be happy with Erase-Field. Thanks for any suggestions. Sal UBCC Development#AcuCobol
does anyone have any suggestions on: 1. how to re-organize rmcobol index files? 2. how often should this be done? 3. someone told me that rmcobol index files self-reorg or have some kind of self maintenance? please advise. and thanks for all your help. bill
Can I get an example of embeded ESQL CONNECT command that specifies a password for an password/encrypted XLS? This would be in native COBOL. Thanks, Ellen S.
I've been using the message box (Windows) for long time, and once in a while a message box will hold up a process from finishing. Is there any way to code a timeout on a message box and force the default response after say X number of seconds? The message box variables I'm familiar with are TEXT, TITLE, TYPE, ICON, DEFAULT (response), VALUE Thanks,
Hi all, we created a project form scratch, in a new workspace, on acubench 10.1.1 (Windows 10) and we are facing the following problem: Project has a single program with one form. When we add a new empty report "Report1", option "Generate Source" completes with no errors. When we add a single report entry field, even with no value, option "Generate Source" hangs at 39% and after few seconds acubench crashes. Same project opened from acubench 10.0.1 works fine. We noticed that at the /Report folder, Report1.rpt file exists but is empty. Are we missing something in acubench configuration? Thanks in advance
Our existing NET EXPRESS system has a MAIN program in in called REPORTS.CBL. Within the program there are calls made to upward of 100 potential bespoke report 'sub-programs'. In Visual COBOL I've found that these 'sub-programs' must be mentioned in the REFERENCES of the main program otherwise the sub program will fail to load when called. The problem is is that it takes an increasing amount of time to complie the VC COBOL version of the MAIN program as all the sub-program references are added. Thirty references takes 3 minutes. Sixty takes 6 minutes and 100 references takes almost 10 minutes just to compile the program then another several minutes while it 'thinks' about doing a debug (if requested to do so!!) Is there a way of calling out to other programs (.dll built) WITHOUT referencing them within the MAIN program as this would be a big help if there is!
Hello, I am calling a cobol program, from a Java servlet. I can successfully run the cobol program, but if I display a JSP, and then try to invoke the program again, I get the following exception: com.microfocus.cobol.program.COBOLRuntimeException: 119 Name is not unique This is how I am invoking the program… private Boolean STAGE_1 (StateLinkage sl, IRunUnit runUnit, HttpServletRequest req, HttpServletResponse res) { boolean successFlag = false; AMSC535A pgm = new AMSC535A(); Amsc535aParms AMSC535Aparms = new Amsc535aParms(); runUnit.Add(pgm); int GCSrc = pgm.AMSC535A(AMSC535Aparms); if ( GCSrc < GCS_WARNING ) { successFlag = true; } return successFlag; } Could someone advise me on how to fix this please. #JVMCOBOL
we are looking for options to call a non cobol api's from native cobol programs :: using visual cobol with eclipse#VisualCOBOL#Eclipse#visualcobolruntimeswitchlinking#APICALLNONCOBOLAPIS
I have a project that I have converted from Net Express into Visual Cobol with DS screens. Everything works great in the development environment, but when I deploy at a clients site with cobol server, I get a error load error on DSGRUN. Noticed it is not in the Cobol Server BIN folder. Am I missing an install step for COBOL server?
I recently installed Visual Studio 2017 and Microfocus Enterprise Developer 3.0. When debugging our application, which is a managed application (mixture of C# and Cobol compiled for .NET), I can't see the values of Cobol data items. The error message I get is: error CS0103: The name 'AFD2' does not exist in the current context. To be clear, the results of the run are 100% correct, so it's seems to be a debugging issue exclusively. I suspect that I have a wrong setting somewhere. Kind regards, Mark de Vos
Problem: After installation, when opening any workspace you receive the following error. "TSUIN0126 At least one exception occurred during the initialization of the AWM meta model. See error log for more information." Resolution: This error can be caused by a bug in the version of Eclipse that is delivered with Visual COBOL 3.0, which may not recognize Windows Server 2016 as a valid operating system. This can be resolved by manually specifying an Operating System version that Eclipse will recognize, following these steps: 1) Open "C:\\Users\\Public\\Micro Focus\\Visual COBOL\\eclipse\\eclipse.ini" 2) Add the following to the bottom of the file -Dos.name=Windows Server 2015 R2 3) Save the file and then reload Eclipse Note: This problem does not occur in Visual COBOL for Eclipse 4.0.#VisualCOBOL
HI All We are using Acu4gl v9.3.2 A large client has a great number of Users logging in and we had instance of the Aculocks table becoming locked It was so bad we had to revert back to v9.2.1 We have a stored procedure that I have a suspicion may have had a hand in. sp_AcuRemoveUnusedLocks_1 Not sure what info is relevant
When I use AGS-CREATE-CLIENT, it takes an eternity to time out if it cannot make a connection (by which time users have broken-out). Is there any way to control this? (The manual states that "The length of time is dependent on the underlying socket layer".)
I have a user that is receiving the above error when attempting to send a letter using mail-merge. Error: lcsltr Run-time error '4605'; The OpenHeaderSource2000 method or property is not available because this command is not available for reading. I have attempted to recreate the error but have been unsuccessful. Can anyone help me determine the problem/solution? I appreciate your assistance.
Problem: How to include a comment in cobol.dir file ? You can include a comment in the file by placing an ampersand '&' in column 1 followed by a space. If you omit the space the comment is treated as a directive, and the syntax check on that file fails. It is a same way for the file that is defined with the Compiler directives DIRECTIVES or USE . Resolution: You include a comment in the file by placing an ampersand '&' in column 1 followed by a space. If you omit the space the comment is treated as a directive, and the syntax check on that file fails. It is a same way for the file that is defined with the Compiler directives DIRECTIVES or USE . Old KB# 4523
We are trying to implement a complex web application that has access to our legacy ISAM GEN.4 and 5 data files via AcuXDBC. One of the common uses of the app is searching and paging through results. We thought AcuXDBC would be perfect for this, however it seems that support for paging is somewhat broken. There are two issues we have with this: (1) SKIP and TOP are undocumented, yet exist and work. (2) SKIP doesn't appear to be at all performant, appearing to internally do a full table scan and simply omit the skipped results. Am I missing something here? Should this be working better, or is it undocumented because it doesn't work correctly?#AcuXDBC#SQL
I am new to Windows forms. Using the WinFormBook sample code provided by MicroFocus everything works fine. I am attempting to determine how to pass back a code to the legacy program to indicate a write the data. I have added a second button to add. I have copied the button1 read section and changed to add: set my-book to type BookWrapper.Book::Add(input-string) When I build the file, I get the error in the subject line. How do I resolve this issue?
We have a Cobol 5.1 Menu system that calls one of 1,000’s of application gnt programs depending on option chosen. We want to create a graphical menu system in Visual Cobol that can call the existing Gnt applications. I have created a simple test program that accepts a folder name and a program name then calls the requested program. The test program works fine until I call the test gnt program. The test program was compiled using visual Cobol command line compile to produce the GNT application. The call results in the error: FAILMicroFocus.COBOL.COBOLRuntimeException: 174 Imported file not found (Could not load file or assembly 'file:///C:\\Silverlink\\v3.9\\wintne\\lib\\restest.gnt' or one of its dependencies. The module was expected to contain an assembly manifest.) ---> System.BadImageFormatException: Could not load file or assembly 'file:///C:\\Silverlink\\v3.9\\wintne\\lib\\restest.gnt' or one of its dependencies. The module was expected to
in acucobol Primary Key prhead-key 9(10) move 0 to prhead-key start file not < prhead-key works when accessing vision file translates 0 to 0000000000 (I believe) and finds all records Oracle Table move 0 to prhead-key returns a status = 23 because it interprets key as 0sssssssss where s = a space Also empty 'temporary' files return a '92' error when read Is there a configuration variable to handle these little quirks? Thank you
Does anyone know what the "Loc 513" error means?Medeo
I am using ZetPDF SDK number of time. It is too easy to develop PDF functionality using this SDK. You can download the SDK from here. (ZetPDF.com - PDF library for .NET, Windows Forms, ASP.NET, Mono, WPF, Silverlight)#generate#PDFCreator#pdf
The demo program delivered together with Netexpress 5.1 “Micro Focus\\Net Express 5.1\\Examples\\Dialog System\\CLASSLIBRARY\\Pictures\\Images.App” works pretty well and shows immediately after SCREENSET-INITIALIZED the previously defined .JPG .GIF or .BMP image. After adding to the program MOVE “next-image.jpg” TO IO-Text-Buffer MOVE "SET-PICTURE" TO Call-Function SET OBJECT-REFERENCE-x TO IMAGE-REF CALL "IMAGECTL" USING DS-Control-Block. Data-Block PERFORM Call-Dialog-System I can show one image after another. But due to the fact that at the beginning of the program I don&rsqu
Hi, I installed new virtual PC for Visual Cobol testing - Windows 10 Professional, Visual Studio 2017 Professional, Visual Cobol 4.0 trial 30 day. I am not able to load any solutions from Sample Micro Focus directory (e.g. WinHello.sln). Visual Studio loading solution, but does not finish the operation and freezes. I have to use Task Manager for kill it. I am not even able to create a new project based on a cobol. (creating solutions ..... and nothing happens). What is wrong? Can you help me? Regards Petr MFSupportInfo_5F00_Log_5F00_DESKTOP_2D00_U1M9VSR_5F00_2018_2D00_06_2D00_25_5F00_02_2D00_23_2D00_15.xml
Hi! I just installed Visual COBOL for Personal Use, and I cannot create a new project or open an existing one. It just says "preparing project" and doesn't do anything else. I have to ctrl alt delete and run task manager to get the program to stop. I am currently using Visual Studio 2017 Community Edition version 15.7.4 & Visual COBOL 4.0 version Version 4.0.00243 I had a real bugger of a time trying to get this to install. Once the Visual COBOL was installed, the only way I could get it to show up in visual studio is by following the directions on this web page: https://www.microfocus.com/documentation/visual-cobol/VC30/VS2017/GUID-391926CC-0991-4E0F-B0F3-9249B0FDB691.html Anyone know what can be causing the Visual COBOL not to work? I've already tried uninstalling and re-installing both the Visual Studio and the Visual COBOL, and I am still getting the same issue.#Installation#VisualCOBOL
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.