Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem: When Visual Studio starts the splash screen displays a Licensed to user name and Company which is incorrect.This information is also displayed in the Visual Studio Help-->About Visual Studio dialog. Is there a way that this information can be changed: Resolution: You can follow the workaround below to change the User and Registered Organization information.Make sure that Visual Studio is closed.Start a Windows command prompt and enter the command: regedit to start the Windows Regsitry Editor On a x86 bit (32 bit OS) Windows 32 Bit navigate to and change the information at the following key locations:HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0\\Registration\\UserName HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\RegisteredOrganization On a x64 bit (64 bit OS) Windows 64 navigate to and change the information at the following locations: HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Visua
Problem: When using Net Express 5.1 to do a remote debugging session to a server computer running a COBOL application under IBM TX Series, the debugger does not attach to the animserv process. Setup as follows: On remote computer: 1. COBOL program has been compiled with $SET INITCALL"CBL_DEBUGBREAK" 2. start animserv port(51000) On local computer: 1. Net Express Animate settings set to debug remotely, name of server and port number 51000 specified. 2. Net Express Animate settings set to wait for animatable attachment. 3. Start Net Express Animate at and leave field blank so it attaches to animserv on remote computer. On remote computer: 1. Run the COBOL application under TX Series. When the program compiled with INITCALL"CBL_DEBUGBREAK" directive is encountered the message about "do you wish to debug?" appears on the server and the animserv process is being ignored. Why? Resolution: This is because TX Series is being run as a Windows service which is being
Problem: Is it possible to have multiple remote debugging sessions running simultaneously using Net Express 5.1 on the local computer and Server 5.1 running on the remote computer when applications to be debugged are running under control of IBM TX Series? Resolution: If you wish to have multiple remote debugging sessions running simultaneously then you need to call CBL_DEBUG_START in your application to be debugged and pass it a unique id. Although this call is not documented in Net Express, it is however supported. It is documented under Server Express and Visual COBOL. There is a problem with using this approach for debugging programs that run under the TX Series Windows service in that it will hang when the call to CBL_DEBUG_START is made. This has been fixed in Net Express 5.1 wrappack 8, hotfix 3. Use the following as an example of how to use CBL_DEBUG_START: On remote computer: 1. start animserv port(51000) On local computer: 1. Net Express Animate settings set to debug remotely
Hi, How can i sort programs&copybooks in COBOL Explorer & Navigation list&? I am missing sorting by Date & Source Control date. When using Java there is solution: in Java-preferences->members sort order, but cant find simmilar in Microfocus Enterprise Developer. Regards, Alex #COBOLEnterpriseDeveloperSortNavigationExplorer
Hi, I need to be able to "trap" a mouse click event on a DataGrid and I have found the following VB code:- Private Sub DGV_MouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles dgvMyDatagrid.MouseClick If sender.HitTest(e.X, e.Y).Type = DataGridViewHitTestType.RowHeader Then sender.EditMode = DataGridViewEditMode.EditOnKeystrokeOrF2 sender.EndEdit() Else sender.EditMode = DataGridViewEditMode.EditOnEnter End If End Sub Or if you prefer the following C# Code:- private void dataGridView1_MouseClick( object sender, MouseEventArgs e ) { DataGridView.HitTestInfo hitInfo = this.dataGridView1.HitTest(e.X, e.Y); if( hitInfo.Type == DataGridViewHitTestType.RowHeader ) { this.dataGridView1.EditMode = DataGridViewEditMode.EditOnKeystrokeOrF2; this.dataGridView1.EndEdit(); } else { this.dataGridView1.EditMode = DataGridViewEditMode.EditOnEnter; }} Which I have converted
i have i timestamp (1363161273) and i want to translate it to date. Does anyone know how?
Using both 8.0.0 and 9.1.2.1 of Extend, on Windows 7, 8 and XP - on 3 different computers, calls to C$XML suddenly stopped working this week; a call to C$XML causes the runtime to "hang". What DLL is necessary for C$XML, or what else might cause this behaviour? Thanks Tony
I want to color my tabpages using gradient colors. I got this example in Visual Basic:Public Class Form1 Dim a As Integer Private Sub Form1_Load(sender As Object, e As System.EventArgs) Handles Me.Load SetStyle(ControlStyles.AllPaintingInWmPaint Or ControlStyles.DoubleBuffer Or ControlStyles.ResizeRedraw Or ControlStyles.UserPaint, True) End Sub Private Sub Form1_Paint(sender As Object, e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint Dim formGraphics As Graphics = e.Graphics Dim GD As Drawing2D.LinearGradientBrush If a = 1 Then GD = New Drawing2D.LinearGradientBrush(New Point(0, 0), New Point(Width, Height), Color.White, Color.FromArgb(0, 0, 222)) ElseIf a = 2 Then GD = New Drawing2D.LinearGradientBrush(New Poi
We are using on Acu 8.1.3, on Win 7, does anyone know if we are likely to have problems if we go to Win 8?
I use Visual COBOL for Visual Studio 2010, my problem is when I have two cobol programs the first calls the second but when the first program calls the second appears on the screen: Load error : file 'IncCl' error code : 173, pc-0, call=1, seg=0 173 Called program file not found in drive/directory Please, I need one solution very fast, can anyone help me? (One image to show the error are attached)
I encountered this problem enabling WIN32_NATIVECTLS on combo-box Combobox that expands upward I select an item and ... combobox disappear. When i push "tab" the combobox appears again. The problem occurs on Windows Server 2008, Windows Server 2003, with runtime 9.0.1 e 9.1.2 (I didn't checked older runtime . . .) I solved with workaround: after nft-selchange I mage the combo invisible and after visible. evaluate event-type when ntf-selchange inquire cbox-pag, value in w-combo-pag move w-combo-pag(1:3) to w-codice-pag  
Dear forum members, With my AcuCorp AcuCobolGT runtime (v7, v8 and v9) I create email messages with attachments. These go directly to Outlook (through a generated outlook.def) and to bypass the warnings of Outlook I use a product called “Redemption”. My question is the following, when I would switch to Visual Cobol (managed and / or unmanaged) is it necessary to still keep using Redemption, to not get the warning from Outlook, or can I just create and send emails from Cobol through Outlook without getting the warning window?
I use WINPRINT-GET-PRINTER-MEDIA to search for the paper-trays. For how to do that, I used the source-lines in PRNDEMOX.cbl(version 9.1.1). Here are the result out of 2 different printers. HP CM4730; the values to WS-HB are 15, 257, 258, 259, 260, 261, 262, 1257,1258,1269,1270,1002,1272. This printer has 4 tray's. HP2050; the values to WS-HB are 15, 262, 258, 259, 260, 261, 262. The standard model has 1 big tray and under it a second tray. With value I have to move to WINPRINT-CURR-TRAY? The value 7 is WPRT-AUTO-TRAY. Or do I have to use/make an other solutions. #WINPRINTER
One of our users is getting a run time error when our program is connecting to excel in Office 2013 which does not occur connecting to Office 2007. Problem is I cannot remember the command line for the compiler to get the address of the procedure division so I can see what statement is causing the problem. It gives me Cobol error at 0003AF, but I need to know where 0003AF is in the program? Any help on this please?
We are installing a new server running Server Express 5.1 under Sco UNIX 7.1.4 We have 2 developer licenses. I've copied the Cobol programs, copy files and data from our old server and regenerated all the code, which is running OK. However there are some different results in some of the reports to our original system and I want to animate to find out why. On the Developer Environment I compiled the first program I want to animate and checked that an idy and an int were created from the original cbl I then press F4 to start the animation and type my program name into the file parameter. When I press enter I am returned straight back to the developer screen without any messages and without entering an animation screen. I guessed I might have a problem with my environment variables, but I can't see where I'm going wrong. The variables set up are: COBDIR=/opt/lib/cobol export COBDIR COBIDY=/source/cobol/idy export COBIDY COBCPY=/source/copy export COBCPY LD_LIBRARY_PATH=$COBDIR/lib:$LD_LIB
Micro Focus’s Legacy COBOL Modernization toolkit provides tools and processes with which legacy COBOL developers may easily and speedily translate their desktop ACUCOBOL-GT or RM/COBOL applications into Visual COBOL. ACUCOBOL-GT and RM/COBOL are extensions of 1985 ANSI COBOL as is Visual COBOL. All of ACU’s 1985 elements and behaviors are compatible with Visual COBOL and modernization will not need to modify them. Some of ACU’s and RM’s extensions are fully supported in Visual COBOL and, likewise, need not be modified. Modernizing the remaining constructs is essentially translation process which can be semi-automated in Visual Studio or Eclipse. The process analyzes legacy source code using the Visual COBOL compiler with the KenlyGen option to produce an abstract syntax tree. The process identifies legacy constructs in the abstract syntax tree to be modernized and posts modernization tasks for the constructs to the IDE’s task window. 
Hi everyone !! I need to dev a schema with a java program invoking a cobol on unix, I saw on microfocus documentation, but I wasn't find where to get ths package: "import com.microfocus.cobol.*; " Any one has this link or how/where can I do that? Thanks!#Java#package#COBOL#import#library
Modernization projects are created with a directives.dir file. This file provides a set of Visual COBOL directives to more closely approximate the legacy COBOL compilation and run-time. Almost all of the directives are to add or remove reserved words. Users may find that they need to adjust these directives for their system. For example, if your code uses METHOD as a data item name, the first time you create modernization tasks you will get a manual serious error task. Reserved word used as data name or unknown data description qualifier. Is a reserved word being used as a data item? To proceed you may either rename the data item through out your system or remove METHOD as a reserved word in the directives.dir file. remove(METHOD) We suggest the latter option. Insert a remove(METHOD) directive in the directives.dir file. Delete all of the *.KenlyGen.xml and *.KenlyErr.xml files from your project directory. &nb
Hi, I have installed Net Express 5.1 personal edition on Windows 7 64 bits and never appears the Unix Option option (according to this document supportline.microfocus.com/.../mcdsys.htm it should appear).
I'm trying to call the email, with the "c$run".The parameter i've pass to the function is as follows:"c:\\program files\\windows live\\mail\\wlmail.exe" / mailurl:mailto:mail@mail.com?subject=&body=&attach:c:\\ temp\\test.txtThe email I opened properly but the problem is I do not attach the file.Anyone know if there is something wrong with the parameter? Thanks.
Hi, I'm new to Visual Cobol (I have Version 2.1 Upgrade with Visual Studio 2012 running in Windows 8). In Net Express I used an OO program to call registered COM objects. Using VC (Form Designer) I have made references to these objects: They are described as Interop.ObjectName, Type ActiveX. But, I haven't found any explanation or instructions on how to code these objects and call their entry points. I'd appreciate some help on the subject.
I am about to get a brand-spankin'-new desktop that will be running Windows 7, which makes me very excited, except for one thing. We are currently running Net Express 5.0 as our development environment. My recent experiences with installing Net Express 5.0 have been, shall we say, adventurous. Does anyone have any experience installing 5.0 on Windows 7? Any compatibility issues? Anything to watch out for or beware of? Or does it run just fine and I am worrying about nothing? Thanks! Mike#windows7#Windows#netexpress#NetExpress5.0
When I try to run my application I'm getting a 173 error on DSGRUN. Where can I find the documentation for deploying Dialog System runtime for Visual Cobol?
In a program i call "c$system" to launch another cobol program in a separate process with the following: add CSYS-ASYNC to CSYS-HIDDEN giving csys-flag call "c$system" using "bin\\wrun32 -c OUR-CONFIG.CFG myProgram" The program correctly starts and performs its operations, however on some of our customers' PCs it opens a black dos prompt window until it' s done. The program does some background operations so it doesn't even have the screen section. I can't reproduce on my PC. It may not be a problem has it suffice to minize the window, but our customers are really scared by this bad, ugly black screen so they are attacking our help desk service (we have more than 8000 customers). Any idea about why this happens? I have already tried also with CSYS-MINIMIZED flag.
The problem about create coverage report. I have a error when I create coverage report again after the source of program has been modified.The error is [TC041E Matching source file not found.Program MUSJ2401. NOTE no source code available].But the MUSJ2401.idy is in the current path which is I run the [cobtcreport tcresult.tcz].And I can create thereport at the first time.When I modified the source and create the report again,the error has occured.The .idy file copy from the same path.The default.tcf is[RESULT /home/admin/workspace/A20130501/unittest/coverage/tcresult.tcz]. Who can tell me why? My operation flow is [compile COBOL program]-[compile JVM COBOL program for test]-[run the JVM COBOL]-[create report](OK)-[modified COBOL program]-[compile COBOL program]-[compile JVM COBOL program for test]--[run the JVM COBOL]-[create report](error has occured) The screen copy[admin@rhcs32 coverage]$ lltotal 1692-rw-rw-r--. 1 admin admin 1434 May 7 16:05 default.tcf-rw-rw-r--. 1 admin admin 27
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.