Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hi, I have a button with two functions.When you open the window has a symbol (symbol1). When I pressed want you to have another symbol (symbol2). Is it possible to do that? What is education? You can also function in a MenuItem? Regards Alberto Ferraz
I am looking for a way to validate email domains from COBOL in a interactive data entry environment. In my application users will enter email addresses provided by our customers. The domain of the email address provided is not always valid. I am running Server Express on top of HPUX 11.32. I am familiar with the nslookup command and have written a test program to execute this command calling the SYSTEM subroutine. I can't seem to get the command to pass back to COBOL a return code and anything for that matter to designate whether the command was successful or not. Anyone have any ideas how to validate email domain names from COBOL? Thanks in advance.
We have converted NX based dialog system to Visual cobol dialogs and generated the application dll’s using Visual studio 2013 and it works good as expected in my development environment. I have deployed these dll’s to the box where we have cobol server 2012 installed in windows server 2012 R2, which works good as expected. I am able to run the application installed in server from my development environment. FYI, by creating a shortcut (in dev machine) pointing to the application hosted in the server. But I get error when I try to run the application in server from a machine with no visual cobol/cobol server license. “Execution error; error code 245; There are no valid product licenses”
Problem: In Visual COBOL 2.0 and earlier product versions, there was an option in the license system to revoke a license, but with newer product versions there is only a remove option - Why? Resolution: Visual COBOL version 2.0 onwards uses Pre-Authorised license technology and will be received in form of a license file. These are pre-authorised meaning revoking a license is not necessary. When Licencing Visual COBOL version 2.0 and later versions, use the aforementioned license file when, for example reinstalling the product.
Problem: How to configure CTF to capture events for RunUnits in COBOL. This article assumes an understanding of CTF (Consolidated Tracing Facility), but requires additional tracing enabled for code executing within Run Units. CTF (Consolidated Tracing Facility) can capture events for Run Units but it is not clearly stated which emitters are needed to enable this. Resolution: The CTF Configuration file should have the the following emitters: mftrace.emitter.textfile#Format = $(RUNUNIT) $(TIME) $(THREAD) $(COMPONENT) $(EVENT) $(LEVEL) $(DATA)mftrace.emitter.textfile#RununitID=True mftrace.emitter.textfile#MultiProc=True
Hi!In this new version of VC, it's possible to use linq or lambda expressions, like, "myList.ForEach(x => Console.WriteLine(x));" ?#VisualCOBOL#Linq#lambda
RE: Error 173 called program file not found in drive / directory SQLADR with Oracle 11g I have a solution and multiple projects under it. Some of the projects(they have one program) call another one that has with multiple programs within it. Say there is A with program a, B with program b, and C with program c and they are separate projects with only one program. Then, there is Project Z with programs 1, 2, 3, 4, 5, 6 in it. A is an older project and it calls programs from Z. When I animate through it and through them, there is no problem with the SQL B is a new project with the same (presumably) properties as A. However, when I animate B, the first SQL stmts in program b work (connect to database), but then when I try to do a ROLLBACK, I get this message that SQLADR can't be found. If I comment that out and call programs in Z, when I get to an SQL statement, I get the same error. These are the stmts at the start of program a of project B and t
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
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.