Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem: Acubench 10.0 generates code that may go beyond column 72, thus making the program not compilable. i.e.: the LAYOUT-MANAGER handle now has "VALUE NULL" at the end of the line. Resolution: This is now corrected in 10.0.1 by ECN-WB946. #ACUCOBOL-GT#10.0#acubench
hi, I have a jcl that allocate vsam, but the data file have only dat and don't create the IDX file. in Server Administration I have in Configuration Information [ES-Environment]ESP=D:\\ED\\progetti\\eclipse\\IF00\\SYSTEMMF_CHARSET=Aextfh=$ESP\\cfg\\extfh.cfg and in extfh.cfg file I have IDXFORMAT=8 (default!): [XFH-DEFAULT]FILEMAXSIZE=8IDXFORMAT=8BASENAME=ONRELDATBUF=65000SEQDATBUF=512000INDEXCOUNT=65000IDXDATBUF=65000STRIPSPACE=OFF when I run jcl that allocate vsam it store data only on phisical file with extension "DAT" instead on MFE its allocate data in DAT and IDX file. why?
I am involved in a project where I must parse dates from an XML document. The application uses RMCobol and XML Extensions to create/parse XML. The issue is the dates are in different formats within the received XML. I have no control over the incoming XML, nor can I ask the formatting to remain consistent. The integration partner sends the data as they send the data and it's up to us how to handle it. Here are 2 examples of the dates within the XML: <InvoiceDate>2014-08-01Z</InvoiceDate> <PayTermsString>20140818</PayT
In traditional COBOL, if a Menu program (or say "PROGA") CALLs a sub-program (or say "PROGB") and doesn't CANCEL it upon return, the next time it CALLs it, PROGB may have its variables in the state that they were in - left over from the earlier CALL, instead of being in their initial state (let's ignore the INITIAL key word for this discussion). My understanding is that most all the time this type of situation can result in hard-to-debug-and-maintain programs and that the general recommendation is to always follow a CALL with a CANCEL and design the subprograms accordingly (i.e., don't ever use this as a "feature"). OK, but what about Managed non-procedural programs (classes) using WinForms or WPF and such? These are not being CALLed; they are being INVOKEd, right? Is there an equivalent of a CANCEL that we should be doing after it returns to the INVOKEing program? Thanks
How can i create text file and are saved in utf-8 format?
Hi Chris, thanks for your previous replies re windows 10 and pc_print_file. We now have up to 100 users with the run-times installed on lots of machines so wondering how simple upgrading is? Do we just run a new run-time install exe for 2.3 on each machine on top of existing 2.2? Are their implications re. other things, licensing for example? Thanks, Linden
Is there some way we could get a copy of the VC 2.3 Release Notes (including Resolved Issues, New Features, etc.) PRIOR to downloading the entire VC 2.3 ??? ... for planning purposes and as an appetizer... :-)
Hi all, Many thanks for all the useful posts over the last while which let me pick up some great hints and tips. We ported our application from Net Express to Visual Cobol and made various changes to some programs that interface with Excel. I have been unable to figure out how to release Excel from memory in the Visual Cobol code though and would be very grateful if anyone can help. The earlier Net Express code let me release Excel by cycling through the used objects with invoke Worksheet "finalize" returning Worksheet and so on, but I am not sure what the equivalent is in Visual Cobol. Many thanks, John
I'm curious about the exact changes with Extend 10 required for compatibility with Windows 10. Installed Extend 9.1.2.1 on WIndows 10, and while Extend seems to work fine, several Windows 10 apps do not work, or do not work reliably (notable Calendar, Mail, and Edge). On a test box, we formatted and installed Win10 from scratch, and all apps seemed to work fine. After installing our application, including Extend 9.1.2.1 runtime, problems with apps recurred. Unfortunately, our installshield also installs Java and FOP, so it's not clear exactly what part of the install is causing issues with Windows 10 apps. Are there specific issues/problems with Extend 9.x which lead to the release of Extend 10, and if so, what are they? (Almost hoping that the app conflict is a known issue!). Thanks Tony
I am using Server Express 5.1.11 on Red Hat Linux. I have successfully configured and executed COBSQL with Pro*COBOL and the CP preprocessor. All of the copy files within the program are copied to the main program before passing it to Pro*COBOL as expected. However, copy files within the scope of an EXEC SQL - END-EXEC construct seem to be ignored. For example: EXEC SQL SELECT COPY "my_fields". INTO COPY "my_host_variables". FROM MT_TABLE END-EXEC. My expectation is that the contents of my_fields and my_host_variables would have been copied into the SQL statement by CP, but this did not happen. Any ideas? Is my expectation incorrect?#Pro*COBOLCOBSQLCP
We are migrating a native Windows application from Net Express 5.1. In it we use several of the file handling call-by-name library routines and we've hit a snag with the first program that uses one, specifically CBL_CHECK_FILE_EXIST. The scenario: User environment variable dd_CNV defined with a value of C:\\NEAS\\Files\\CNV. The COBOL source code is "CALL "CBL_CHECK_FILE_EXIST" USING JOIN-BUFFER, FILE-DETAILS." At the time of execution in both the Net Express 5.1 and Visual COBOL 2.2 IDEs the value JOIN-BUFFER is "CNV\\WYP46D01.228 ", and a file WYP46D01.228 exists in C:\\NEAS\\Files\\CNV. Net Express 5.1 works, returning zero in RETURN-CODE. Visual COBOL 2.2 gets a non-zero value in RETURN-CODE that translates to 9/13, RTS error/file not found. Do the file handling call-by-name library routines NOT do file mapping in Visual COBOL like they do in Net Express?
Below are instructions to enable remote debugging using a specific port: 1) Start the ViewNow X application 2) In Eclipse, choose the dropdown menu named ‘Run’ 3) Next, choose ‘Debug Configuration’ 4) Fill in the COBOL Project and the Remote Host 5) Check the box for ‘Specify the port on which the cobdebugremote process will listen…’ 6) For ‘cobdebugremote port’ enter the port number that you wish to use on the remote Unix system 7) In the box ‘Start Options’ enter (in caps): REMOTERDO 8) Click ‘Apply’ then ‘Run’ buttons
Hi, I am trying to get a C# app to call a Netexpress Cobol DLL. I have changed the dir in the C# to point at where the DLL is, but still when I run the C#, I and get the point that it calls the cobol, I get: Unable to load DLL 'C:\\MPIUADEV\\MPIUA\\DEV\\COBOL\\mbaprate.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) which I take to mean that the DLL can't be found. I also added C:\\MPIUADEV\\MPIUA\\DEV\\COBOL to the path. I am wondering if I created the DLL incorrectly.#load#DLL#C#c
Hi guys, I tried installing Visual COBOL (Visual COBOL for Visual Studio Personal Edition v2.2 0), but I get the following errors on install. Any idea what is going wrong? [179C:1C08][2015-10-29T10:47:44]i000: Registry value not found. Key = 'SOFTWARE\\JavaSoft\\Java Runtime Environment', Value = 'Java7FamilyVersion'[179C:1C08][2015-10-29T10:47:44]i000: Setting string variable 'Netfx35FullVersion' to value '1'[179C:1C08][2015-10-29T10:47:44]i000: Setting string variable 'Netfx4FullVersion' to value '4.5.50938'[179C:1C08][2015-10-29T10:47:44]i000: Registry key not found. Key = 'SOFTWARE\\Micro Focus\\Visual COBOL\\2.2'[179C:1C08][2015-10-29T10:47:44]i000: Registry key not found. Key = 'SOFTWARE\\Micro Focus\\Visual COBOL\\2.1'[179C:1C08][2015-10-29T10:47:44]i000: Registry key not found. Key = 'SOFTWARE\\Micro Focus\\Visual COBOL\\2.2'[179C:1C08][2015-10-29T10:47:44]i000: Registry key not found. Key = 'SOF
Hello! I have 2 problems with an event handler. 1: I am implementing the interface ICommand and Visual Stuido tells me that the interface member CanExecuteChanged or one of its overloads is not implemented. 2: I know how to write custom set and get methods for properties in cobol, in c# I can do the same for properties but also can I write custom add and remove methods for event handlers, but how can i achieve this in cobol? My C# code i want to translate to cobol code: class RelayCommand : ICommand { private readonly Action<object> _execute; private readonly Predicate<object> _canExecute; public RelayCommand(Action<object> execute) : this(execute, null) { } public RelayCommand(Action<object> execute, Predicate<object> canExecute) &n
Am I reading the VC 2.3 Release Notes correctly? In order to upgrade from VC 2.2.2 to VC 2.3 I must first uninstall 2.2.2 and then install 2.3? Is this how its going to be for any and all updates (x.y.z) also, or does this apply to only major and minor version upgrades (x and x.y)?
Hi, I'm migrating from Net Express to Visual Cobol for Eclipse, for now I'm only testing things to understand how this Visual COBOL for Eclipse works.I created a JVM COBOL Project and I copy and paste one of our Net Express COBOL programs, when I set the compiler directive CALLFH(FHREDIR) but I get the error message "COBCH0865S Failed to find system program 'FHREDIR'", after a few searches on this forum, I found that File Handler is not supported yet for Manage Cobol programs, only for Native, and I need to ask to you, to and to , if this is still not supported. I have a lot of questions, this is one of many. Thanks in advance, #fileshare#callfh#VisualCOBOL#netexpress#fhredir
One of our customers is having an issue installing the 12.06 runtime on a computer. The computer is brand new, running Windows 7. This is the error they are receiving during installation: Anyone know what this means?
I'm needing to show a message wait, searched the web but only found in C # using Threads, does anyone have an example of how to do?
Good Afternoon, We have a character-based menu system that is launching a graphical program via CALL. This creates a new window with the graphical screen in it. When I exit this program though, the menu appears in the new window rather than that window closing and returning to the original window (which is still up in the background). I don't know what I'm doing wrong or what I need to do differently in this case so that my menu continues to operate normally. Currently, I am just calling DESTROY ALL CONTROLS and making sure to close all my files. Thanks for any advice, Jim#extend#AcuCobol
hi, why "Oracle pro*COBOL(COBSQL)" In Enterprise Developer for eclipse in missing while In Enterprise Developer for Visual Studio in present.? in the project properties is missing but it's work when i compile from command line with this sql directive settings: "P(cobsql) MAKESYN KEEPCBL CSQLT=ORACLE end-c COMP5=NO SQLCHECK=SEMANTIC USERID=cs3/cs3@CRIOS MODE=ORACLE DBMS=V8 VARCHAR=YES UNSAFE_NULL=YES CLOSE_ON_COMMIT=YES END_OF_FETCH=100 DYNAMIC=ANSI TYPE_CODE=ANSI p(cp) endp" thanks bye
Problem: A call to C$XML using CXML-GET-CHILD-BY-NAME returns "0" which means it did not find the child. The child exists and can be clearly seen when viewing the raw xml. Resolution: The problem is that the xml-name argument in this call is a regular expression: call "C$XML" using CXML-GET-CHILD-BY-NAME, xml-handle, xml-name. For the specific xml file used in this case the xml-name regular expression matched an element which had no children, thus the status "0". The way to make it work as a text search is to add a previously undocumented flag for this operation - AREGEXP-COMPILE-NO-REGEXP. Here is the call that will produce the expected results: call "C$XML" using CXML-GET-CHILD-BY-NAME, cur-handle, xml-name, AREGEXP-COMPILE-NO-REGEXP.
Problem: There are sometimes lock errors reported by the Acu4GL interface when no other users are in the application. Those errors include file status 99 and 9D,512. Resolution: Spurious lock errors are likely if there have been ungraceful program exits which can strand entries in the lock tables. To address this Acu4GL provides a way to execute stored procedures immediately upon connecting to the SQL Server. That is by creating a stored procedure named “sp_AcuInit” within the "master" database (or the database where the stored procedures were installed). Whatever is in that stored procedure is executed automatically upon connection. Acu4GL can be set to clean up the lock tables on each connection by executing the following SQL within the Microsoft SQL Query Analyzer: (Note that you can use either master or the database the application runs against.) use master go create procedure sp_AcuInit as execute lockdb..sp_AcuRemoveUnusedLocks
Problem: When executing a query in SQL Server against an AcuXDBC Linked server there is an error: OLE DB provider "MSDASQL" for linked server "<linked server name>" returned message "[TOD][ODBC][GENESIS]Resource error: MERGESIZE overflow Resolution: The "MERGESIZE overflow" error can usually be resolved by setting the Merge Buffer Size, on the Advanced tab of the DSN, to the maximum of 65535. That is the number of record identifiers the merge buffer will hold. Should the error still occur then the Merge Buffer Size may be set to 0 which turns off boolean optimization and the merge buffer is not used. The other option is to rework the query so there are fewer duplicates to merge. Following is the complete information on the function of the Merge Buffer. Predicate clauses are connected with either AND or OR operators. AND operators are easier to optimize because the values can be pushed to an index. OR operators are much more complicated. For exam
Problem: Although no application is failing, the following error is reported in Event Viewer: Event Type: ErrorLog Name: Micro Focus ServerSource: cas0perfDate: 8/7/2013 1:50:22 PMEvent ID: 1Task Category: (1)Level: ErrorKeywords: ClassicUser: N/AComputer: machine-nameDescription:The description for Event ID 1 from source cas0perf cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The information below was also included with the event: Unable to retrieve registry info for - Active Servers The message resource is present but the message is not found in the string/message table Event Xml:<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="cas0perf" />&nb
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.