Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
For Visual Cobol, I've been trying to figure out which XML Method is the more "current" one. I've seen one that uses XML as a Stream and defines it in the File Section. and I've also seen one that uses Working Storage and EXPORTS or GENERATES the XML from there. Which is the more current method? So I don't waste my time learning an older/outdated method. Thanks Eric Boatman#generate#visual#COBOL#Export#Stream#XML
HI, I have this error on Net Express 5.1 running run.exe\\mfsort.exe : "The procedure entry point CBL_MBCS_CHAR_LEN could not be located in the dynamic link library ...." what is it? bye
Hello, i'm trying to migrate from NetExpress 5.1 to Visual Cobol.Our program uses Dialog System Screens. In NetExpress runtime and delevopment environment everything is working fine. Bur when I run the migrated program under Visual Cobol development or runtime environment I get an error message. The error message which shows up is from the dsrunner. "Sub-program call failles. Continuing without. Sub-program name is .\\BFSSMAIN" The error happens on the first call of the dsrunner. The code of call looks like: Working Storage: 01 MAIN-PARAMETERS. 03 main-param-version-no pic 9(2) value zero. 03 main-initial-screenset pic x(2
We are an Infor/Lawson customer working on an upgrade to their version 10 application suite. We are seeing significant delays in our batch job processing. When only one job is running with no users in our new environment we see process time 4 - 5 times longer than when they are run in version 9. We are running in a VM environment with the application and DB servers on separate servers running under Windows 2012 and SQL Server 2012 R2. After verifying and increasing resources on the servers we noted three things when the jobs are running. 1. There is a FINDBEGRNG being used against the indexes, The increased times are associated with this call. The programs have been recompiled, with no change in the timing. 2. While monitoring and capturing processing on the PID associated with the job there were messages indicating that that _ MFREDIR that the name not found or no such file. It attempted to locate the file multiple times with different file extensions - dll, gnt, int, 390, and lbr. Th
Problem: During the Visual COBOL or Enterprise Developer installation on SUSE 12 SP1 installation, the Visual COBOL product will be installed, but the MFLicenseServerInstall.sh call made during the installation will fail to extract the binaries necessary to install the licensing system. During debug, a pax: Bad Option: -O. error message will be noted. Resolution: At line 1989 in MFLicenseServerInstall.sh Change the following line and remove ! from the if statment. if [ "$platform.x" != "Linux_ppc.x" ] to if [ "$platform.x" ="Linux_ppc.x" ] Then the installer should work and extract the binaries and complete successfully. This issue will be resolved in Visual COBOL and Enterprise Developer 2.3 Update 1 Hotfix1.
Hi! My Customer have Accu 9.1. He will call a program from me with a Big Linkage data. The Problem is that the Linkage data is to big? What is the Maximum size for a 01 My-Data Construct? Is there are more limitations about the size by accu 9.1? #ACUCOBOL9.2.1#ACU#acubench9.1.2Windows10#AcuCobolPrinting
Hello, A client of mine has to migrate Cobol from AIX 5.2 to AIX 6.1 but the sources are not well versioned. Is there any possibility to decompile the executable in order to compile them again in the new platform? Is there any other way to migrate the executables to AIX 6.1 without the source code? Thanks in advance.#COBOL#migrate#cobolserverexpress
Hi, It is great that the new RM/COBOL Runtime version 12.12 comes also in 64bit for Windows, but most Windows Runtime installations down here are for RM/COBOL Runtime Plus, including the Cobol-WOW Runtime, and that product is still only available in 32bit. It would be great to also have the Runtime Plus available in 64bit. Regards, Juan Urraburu
Is there a GUI program that allows you to browse data files from a desktop in Windows or SUSE ? Thanks in advance. Peter
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.
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.