Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
The last thing I heard about the Courseware for Eclipse was a tentative date of April 8th. Is there a new date for it's release? Warren Mundy#CobolEclipse
Problem: How to generate and debug core dump with Visual COBOL. Resolution: Restriction: The following information applies to NATIVE code only. When an application crashes, its state can be saved to disk in a core dump file. Once a core dump is generated, it can be loaded into the development environment where it can be examined. The dump file can be used to help debug problems, as it indicates where in the source code the error occurred, along with the values of variables, expressions, and the contents of memory as they were at the moment the error occurred. This is most useful in a production environment where it is unlikely that a debugger can be dynamically attached: the core dump can be obtained and then analyzed on another system. The source files and .IDY file(s) must be available for the program(s) that fail, as this allows the core dump to show as much information as possible regarding the state of the program at failure time. Run-time Tunables Some run-tim
I noticed an issue with the level numbers in DataRep2.cbl referenced in the "04 Data Representation" section of the Academic COBOL Course Book for Visual Studio. The way it is coded, EMPLOYEE-GENDER and the fields following would be grouped in EMPLOYEE-NAME.#AcademicCobolCoursebook
Hello,Can anyone please provide a simple example to use the onItemDataBound event in asp:Repeater using Visual Cobol. Thanks in advance.#VisualCOBOL#extend9.2.5VisualCOBOL#ASP.Net#COBOL
When reporting an error or bad behavior in an ACUCOBOL-GT application the Customer Care engineer may request a test case in order to troubleshoot the issue. Should a small stand-alone program not demonstrate the behavior, the application itself may need to be submitted. However DO NOT send the entire application, instead send only the programs and data files that are actually used in demonstrating the issue. Here's how to do that: 1. Start the application with a Runtime trace as described here: http://community.microfocus.com/microfocus/cobol/extend_and_acucobol/w/knowledge_base/27977.acucobol-gt-trace-files-for-troubleshooting.aspx#Runtime 2. Exercise only the steps necessary to demonstrate the bad behavior, and then exit (if the Runtime hasn't already terminated from the bad behavior). 3. Parse the runtime log file for the programs loaded and for the files opened. Linux has grep and related commands which will do nicely, and are
Profiling a Visual COBOL managed code application. This article aims to provide a "getting started" overview of a possible profiling option for use with a Visual COBOL Managed code Solutions. Note, there are other 3rd party .NET managed code profiler tools available to use, but this article only looks at using the profiler tool that ships with Visual Studio. Visual COBOL offers a profiling tool for native Cobol but currently there is no equivalent profiling tool available for managed Cobol, for .NET Framework based managed code applications. The Visual Studio Profiler can also be used to analyse Native code running within a managed Code Solution, but the profiler report is not as clear or easy to understand as many of the section names used in the Cobol Source are converted to internal .NET type names. Fortunately the Visual Studio Profiler tool can still be used to great effect, as drilling down through the report will show the source code
Problem: How to install Rumba after Enterprise Developer has been installed?The Enterprise Developer Installation Wizard presents the option to install Rumba, by enabling a checkbox to install the version of Rumba that is included in the Enterprise Developer Installation Package. If this is not selected on the initial Enterprise Developer installation, how can it be installed at a later stage? Resolution: The options to consider are: Uninstall Enterprise Developer, then when installing Enterprise Developer to enable the install Rumba checkbox, Or Locate the Rumba installation file from the Micro Focus SupportLine website and install that separately.Note that you may require a separate Rumba license for this option.
Problem: Is it possible to convert a .NET COBOL Application from SQL ODBC to use SQL ADO technology? If planning to migrate or creating a COBOL application using .NET Framework managed code, it is recommended to consider using SQL ADO technology rather than ODBC Technology. ADO is designed to be used with managed code .NET Framework applications, giving potential easier integration and stability. Resolution: In terms of COBOL code changes,if you plan to make use of the additional ADO features change any SQL(DBMAN=ODBC) directives to SQL(DBMAN=ADO) Additionally, configure the ADO Database Connection (similar concept to configuring an ODBC connection). Do this via the ADO.NET Connection Editor tool that ships with Visual COBOL/Enterprise Developer (Accessible via the Windows Start Menu group for the Visual COBOL or Enterprise Developer Program Group > Data Tools > Data Connections). Once the ADO connection is set up and SQL DBMAN dir
Problem: How to setup a dynamic SQL ADO connection. Resolution: The code below demonstrates how to populate a String variable with an ADO Connection String. Use this string variable in the SQL CONNECT statement and the remainder of your SQL statements. - Start of sample code: - Create a variable ws-connection-str: 01 ws-connection-str pic x(5000). - Then in the procedure division: **** Create an ADO Connection String to establish the ADO.Net Connection. string 'Data Source=localhost;' 'Initial Catalog=MFTest;' 'Integrated Security=False;' 'Persist Security Info=False;' 'User ID=Thisismyuserid;' *> Specified User ID 'Password=thisismypassword;' *> Specified Password 'Enlist=True;' 'Pooling=True;' 'Min Pool Size=0;' 'Max Pool Size=100;' 'Asynchronous Processing=False;' 'Connection Reset=True;' 'MultipleActiveResultSets=False;' 'Replication=False;' 'Conne
Hello, How do I place a function key to call a menu option? And how does the show in menu? Thanks Alberto Ferraz
Hello, I wonder if you can do this function in VC and, if so, how.Does anyone have an example to help me? Thanks Alberto Ferraz
Hi, I have cobol program that run two time one with NetExpress and with server Express the compiler directive are the same: & compilazione ambiente sviluppocopyext",cbl,cpy,cbl,cpy"osext"cbl"assign"external"ans85noosvsrecmode"osvs"sign-fixupvsc2"2"list()settingibmcomp& flag"vsc2"omf"gnt"compnotrunccheckdiv"os390"animboundssrangenocmpr2hostnummovehostnumcomparehostarithmeticnosignfixupchecknum the var: 01 a pic 9(3). 01 b pic 9(5). server express: move a to b give "Illegal character in numeric field " on net Express it work Which directive should I use in Nets compiler for get same error of server express? thank
My company received a file called WinTools.ocx from Microfocus a very long time ago, and I am not sure of all the functionality or the call commands. Does anyone have any documentation on how to use this OCX within RM/COBOL?
Hello, We have the following for setting runtime switches in the BAT file that brings up our production runtime environment: SET COBSW= B-F-N We want to understand how to do this in Visual COBOL 2.2 Update 2 (Visual Studio 2013) for when we are animating and testing, both native and managed. For a typical managed program, Under Project Properties, on the COBOL tab, in the Build Settings area we currently have the following: anim cobidy"L:\\URISYS\\COMPPROG" sourceformat"Variable" warnings"2" max- error"100" ilgen"sub" noint iltarget"x86" constant"DEBUG(1)" and for a typical native program, Under Project Properties, on the COBOL tab, in the Build Settings area we currently have the following: anim cobidy"C:\\URISYS\\COMPPROG" warnings"2" max-error"100" Do we somehow add these run-time switches to this? Exactly how? Thanks!
Problem: What is the correct setup in AcuXDBC to access VISION data files which have different file extensions?i.e.: DATA01 (with DATA01.VIX)DATA02.ARC (with DATA02.VIX) DATA03.DAT (with DATA03.VIX) Is this possible and which is the best setting to use? Resolution: AcuXDBC provides a configuration variable called FILE_SUFFIX which can be set to the extension of the file name.i.e.: FILE_SUFFIX DAT Unfortunately, this variable allows only one value. In cases where data file names have more and different extensions, aliases can be used. The variable should be left commented in acuxdbc.cfg:# FILE_SUFFIX Then the following syntax should be used to load files with aliases into the catalog: C:\\>addfile.bat -d C:\\...\\syscat -x C:\\...\\xfd DATA01C:\\>addfile.bat -d C:\\...\\syscat -x C:\\...\\xfd DATA02#DATA02#DATA02.ARCC:\\>addfile.bat -d C:\\...\\syscat -x C:\\...\\xfd DATA03#DATA03#DATA03.DAT Where DATA01 needs no alias, since it has no extension in the file name. The syntax use
Problem: How to call a second windows form from a first Windows form in a .NET framework application. Resolution: Assuming the Visual COBOL for Visual Studio .NET framework windows form application, has a second form called Form2 - call this Form2 Window by using code as follows: declare myform2 as type call2ndform.Form2 = new call2ndform.Form2invoke myForm2::Show() This declares a new object called myform2 which then can use the inherited properties and methods. In this case, the Show() method which opens the Windows Form.
Hello, I noticed the following: Eclipse-Function "Inspect" in JVM-COBOL after move in simple numeric field: not okEclipse-Function "Inspect" in JVM-COBOL after move in simple text field: okEclipse-Function "Inspect COBOL item" in native: ok for bothmouse-over-function: ok for both can anybody confirm? thanks in advanceharald
Problem: On Windows 10, if you right click on the wrun32.exe icon on the Windows taskbar, you are prompted with a triple-choice menu:- extend 32-bit runtime- Pin to taskbar- Close all windows If you erroneously click on the first item, a new wrun32.exe process is started.Not having any COBOL program to launch, an error message is shown: "cbl.out: program missing or inaccessible". Can you avoid this message, which may be interpreted as an application error? Resolution: This behavior was introduced by Windows 7. The workaround is to create a default configuration file, for example: c:\\etc\\cblconfi Then add the following variable to cblconfi: DEFAULT_PROGRAM c:\\etc\\prog-dummy.acu The undesired runtime will automatically run this program.The developer can then manage the situation.For example: sending a friendly message to the end-user instead of the error message, or simply using a "goback" statement to close the program quickly (and free the license used by this extra run).#Windows10
Bom dia, estou precisando criar uma planilha xls em um servidor web. Quando o usuário clicar na opção o sistema gera esta planilha, só que não posso utilizar interoperabilidade do Office. Estava tentando o EPPPlus uma dll que gera a planilha sem a necessidade do Office instalado, mas a rotina esta em c# tem como traduzir. Good morning , I need to create an xls spreadsheet on a web server . When the user clicks the option the system generates this worksheet , I just can not use Office interoperability . Was trying EPPPlus a dll that generates the spreadsheet without the need of Office installed , but the routine is in C # is to translate. /******************************************************************************* * * See http://epplus.codeplex.com/ for details * * Jan Källman Added 23-MAR-2010 *******************************************************************************/using System;using Sys
Hi, I have program compiled in Enterprise developer for Eclipse 2.3 and run on COBOL Server Win 2012, $set ooctrl( p) identification division. &nb
Hello, Until now i always filled the datagrid by reading a file so you always have used the instructions they gave me: create pricelist September ImpRubr to new ImpRubricas September ImpRubr :: IMPDT to WRK-DTTXT September ImpRubr :: IMPRB to BRB-CDRUB September ImpRubr :: IMPDE to BRB-DESIG September ImpRubr :: IMPQT to WRK-QTR01 September ImpRubr :: IMPVL to WRK-PRR01 September ImpRubr :: IMPTT to WRK-VLR01
I installed Visual COBOL Personal Edition 2.3 on RedHat Enterprise 7.2 Workstation successfully. I started License Manager. everything seems to be in place. When I started Eclipse, it shows Micro Focus flash screen. but Eclipse did not load ant COBOL plugins and COBOL Prospective. So there is no way to activate it from Visual COBOL Personal Edition 2.3 itself. That is totally different from Windows version Visual COBOL Personal Edition 2.3. So I need to use cesadmintools.sh. but it asks me 16-digit activation code. I know if I can input a valid 16-digit activation code. My Eclipse will load all COBOL plugins and Prospective But where can I get 16-digit activation code for free Visual COBOL Personal Edition 2.3? Really appreciated for any help.
Hello: In NetExpress i use a command "CALL "SYSTEM" USING command-line" where command-line is a call to a batch file "cmd /C hash.bat 001181107". I copied the routine for Visual Cobol but I think the command is not running as the result of the CALL does not appear.Is there any other way to do this command? Thanks Alberto Ferraz
Interesting article about how Microsoft is integrating Visual Studio with the new version of Eclipse. http://www.zdnet.com/article/microsoft-integrates-visual-studio-with-open-source-eclipse-ide/ I am curious how this will affect future versions of Visual Cobol. Will we be able to develop JVM and .NET apps in the same product instead of having one for .NET and one for Java?#VisualStudio#Eclipse#VisualCOBOL
Trying to copy a copybook and replace the field prefixes when compiling using the following command: COPY "drmfil.cfd" REPLACING ==DRM-== BY ==DR2-==. FD DRM-FIL LABEL RECORDS ARE STANDARD DATA RECORD IS DRM-REC. 01 DRM-REC. 03 DRM-KEY. 05 DRM-CC-NO PIC X(16). 05 DRM-CC REDEFINES DRM-CC-NO. 07 DRM-CC-BIN-NO PIC X(6). 07 DRM-CC-AGENT-NO PIC XX. 07 DRM-CC-SUFFIX. 10 FILLER PIC XX. 10 DRM-CC-LAST6 PIC X(6). 03 DRM-ID-NO PIC 9(9). Can copy replacing field prefixes be done in rm cobol? please advise.#RMCOBOL
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.