Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
If I invoke OUTLOOK from within my NETEXPRESS program and something fails, if I am using the 001188 invoke exceptmgr "register" using oleExceptMgr 001189 osException. …… 005526 callback section. 005527 entry "onOleException" using by reference lnkErrorObject 005528 by reference lnkErrorNumber 005529 by reference lnkErrorText. I receive a message "the Cobol
I am new to COBOL Eclipse tools, Hope someone help me to figure it out On Windows OS, when I run COBOL tutorials, I can see the result in Prompt Windows directly from Eclipse. But on Redhat Enterprise Linux. there is nothing to show the result from Eclipse when I run the COBOL application. I need to test the application outside Eclipse. Is there any configuration that needs to be setup under Linux? I want to see the same behavior as Windows. Any help is really appreciated.#Linux#Windows#Eclipse
Background information: The checker is named 'cobchecker32' or 'cobchecker64' in $COBDIR/bin, and can be seen in 'ps -ef' output while it is running. The checker is the first phase of the COBOL compiler. It translates COBOL source code into .int and .idy files. Later, the second phase named the Native Code Generator translates .int into .gnt or .o or .so or executable code. Problem: In some cases, the checker began running very slowly, up to 20 times more slowly than usual. Resolution: The checker's job is to read COBOL source code as input, and write .int and .idy files as output, so it performs a lot of I/O. One way of increasing performance is to make certain that the files the checker reads and writes, are hosted on file systems with high I/O performance. A worst-case scenario would be if the COBOL sources were held on a remotely-mounted file system with relatively slow I/O performance, and if the output files .int and .idy were also o
Problem: After installing runtime licenses (a. k. a. Server for COBOL licenses) on a Linux/UNIX machine, or to test existing licenses, it would be helpful if there were a way to run a given number of COBOL programs simultaneously, without actually running the real-world application, to prove how many COBOL programs can be run simultaneously. Resolution: Below is a shell script that will create a simple COBOL program, compile it, then run a given number of simultaneous instances of it. Each instance of the program will do nothing but sleep for a certain number of seconds and then exit. If the machine in question does not have the COBOL compiler installed (in other words, if the Server for COBOL product is installed and not the Server Express product), then run the script first on a machine that does have Server Express installed, then FTP the file "sl.int" to the machine having just Server for COBOL, then comment-out the part of the script that creates and
Problem: When issuing a rebuild command of this form: rebuild infile,outfile -t:MF8 The error appears: REBUILD aborted - File type requires use of o option Resolution: This error appears when the input file is not an indexed file, for example, when the input file is a sequential or relative file. The purpose of a rebuild command with this general syntax: rebuild infile,outfile -t:MF8 is to convert an indexed file into IDXFORMAT"8" format, which is often done to facilitate large file support for indexed files. If the file in question is a line sequential, record sequential, or relative file, and is one of the files you are concerned might grow larger than 1 gig for shared access, or 4 gig for exclusive access, then refer to this knowledgebase article: http://community.microfocus.com/microfocus/mainframe_solutions/enterprise_server/w/knowledge_base/17683.file-size-limits-for-server-express-and-net-express.aspx wherein it explains that
When i try to compile (with Visual Studio 2015) the sample program 02_01_Division_Example Divex.cbl i get the next error: error TRK0002: Failed to execute command: ""C:\\Program Files (x86)\\Micro Focus\\Visual COBOL\\bin\\cobol.exe" C:\\COBOLClass\\Projects\\02_01_Division_Example\\02_01_Division_Example\\DIVEX.CBL nologo use(_cobol00002770.dir) ;". U hebt niet de benodigde bevoegdheden voor deze bewerking. Who can tell me what i do wrong? I’am new with this cobol version. It would be very helpfull to me if there is a discription on how to install and what i have to do after install. Run some executable files? Setting an environment voor Cobol in Visual Studio? I hope someone can help me. Hemmie Giesen
I have a client where we are running Micro Focus COBOL Server Version 2.2 update 1. We are using it to run native, unmanaged INTs. They have 2 separate subnets set up, 192.168.100... and 192.168.1.... COBOL Server and the license are installed on the 192.168.100... subnet. And everything from this subnet works fine. The IP address for the server where the license is installed in 192.168.100.16 and the server name is CCFDC-3. They are trying to get a PC on the other subnet to talk to the license server. The 192.168.1... subnet can see the server by the server name, not IP address. I run a batch file to launch our application: SET COBSW=/S15000 P3-F B Cset COBDIR=\\\\CCFDC-3\\COBOLsrvset MFCES_INIT_LOCATION=%COBDIR%\\ces.iniset PATH=%COBDIR%;%COBDIR%\\bin;%PATH%;f:\\batchesmfcesdchk.exe >nulif errorlevel 1 goto startlicgoto startapp:startlicstart /B mfcesd.exe -b:checkloopmfcesdchk.exe >nulif errorlevel 1 goto checkloop:startap
Hi; We're using Extend 9.2 but have also tested with Extend 10.0, on Windows 10. We have a line in the config file set as PRINTER -Q DUMMY - in previous versions of Windows, we open file with name "PRINTER" for output, and print a report to it. The -Q line pointing to a non-existent print queue triggered Windows to pop a GUI box which allowed the user to select the printer they wish to use for the report. On Windows 10, this no longer works. Rather, opening a file with the name "PRINTER" causes the runtime to lock up. This had been a problem when Windows 7 was released, and was reported as incident 2513602, and was fixed in version 9.1 of the runtime, and I believe also released as ECN 3824 for version 8.0. Is there a fix to make this work on Windows 10, or must we modify all the old legacy reports to make use of WIN$PRINTER? Thanks Tony
HI SUPPORT TEAM, THANK YOU THE ACUTHIN V10.0.1 IS WORKING FINE ON WIN XP. NOW I HAVE 2 NEW PROBLEMS: PROBLEM 1 >MY LICENSE IS 150 USERS INSTALL ON HP-UX 11IV3 MY CBLCONFIG IS: MAX-FILES 255 MAX-LOCKS 2048 LOCKS-PER-FILE 128 WHEN AROUND 60 USERS LOG-IN, "MEMORY VIOLATION" DISPLAY AND KILL THE PROGRAM. PLEASE TELL ME WHAT RECOMMEND PARAMETERS TO GIVE. DO I NEED TO ALSO ADJUST THE HP-UNIX KERNEL PARAMETERS. PROBLEM 2 > GRID CURSOR UP/DOWN PAGE UP/DOWN MY PREVIOUS RUNTIME IS V7.2 AND I CAN CLICK THE PAGE UP/DOWN BUT NOT FOR V10. I HAVE PRESS CURSOR DOWN FIRST, THEN ONLY THE PAGE UP/DOWN IS WORKING. I DID COMPILE THIS PROGRAM INTO V10, STILL GIVE ME THE SAME PROBLEM. MY CBLCONFIG IS: #KEYSTROKE Edit=Next Terminate=13 ^M (next field use ENTER)#KEYSTROKE Edit=Toggle-Insert KIKEYSTROKE Edit=Backspace klKEYSTROKE Exception=10 k0#KEYSTROKE Exception=9 kB # Shift TabKEYSTROKE Edit=Left Exception=50 klKEYSTROKE Edit=Right Exception=51 krKEYSTROKE Edit=Up Exception=52 kuKEYS
I have come across an issue while migrating an RM/Cobol application using XML Extensions from v11 to v12. Please allow me to ask for advice, please. As I develop XML applications, I follow these basic steps: I develop a basic cobol program including the data structure used for the XML I use the slicesy utility to create an XSD, rename the XSD to {whatever}SAVE.xsd, and delete XSL and XTL I used Stylus Studio to recreate a style sheet using the XSD created by the slicesy utility and a sample XML document in the format I'm having to deal with I like using Stylus Studio to create style sheets because I don't like typing the XSLT by hand. I make too many mistakes and I find it easier to map elements using Stylus Studio and adding simple XSLT statements (like xsl:if) if/when necessary. It appears the XSD created by the slicesy utility does not include the "root" element using v12, and there is not a switch to pass into the slicesy utility to force the slicesy utility to crea
HI ACUCOBOL, I INSTALLED ACUTHIN V10 ON WIN 7 & XP. WIN 7 IS RUNNING BUT WIN XP SAID IT IS NOT "A VALID WIN32 APPLICATION". PLEASE PROVIDE ME THE LATEST VERSION INCLUDE ECN 4380 AS MENTIONED AS A SOLUTION. THANKS, JEFF LYE
This is more a tip than a question because I have been banging my head against a wall over this for a few days and finally discovered the answer. I was trying to read a 3 to 6 digit number from an Excel file using the following code: 01 VOI-VEN-NUM PIC X(13). INQUIRE EX-WORKSHEET @Range(cell-range)::Value in VOI-VEN-NUM If the number in the cell was 123456 it would come in as 1.23456000000 I was able to fix it by changing "Value" to "Text" like this: INQUIRE EX-WORKSHEET @Range(cell-range)::Text in VOI-VEN-NUM Hope this saves someone else some aggravation.
Olá, eu estou começando a aprender COBOL e estou gostando muito de usar o visual cobol for eclipse, minha máquina é um pouco fraca mesmo assim ele roda muito bem.#eclipsevisualcobol
I am new to COBOL language. After I studied through the tutorials with Visual COBOL. I tried to write my first DB2 stored procedure. This is my environment setup: Windows 10 Enterprise Edition. I installed DB2 10.5 Express Edition , Visual Studio 2015 Enterprise Edition, Visual COBOL 2.3 personal edition. I compile the following code as Library Project, output as DB2PROC.dll identification division. program-id. DB2PROC. environment division. configuration section. data division. linkage section. 01 INPARAM PIC X(20). 01
I tried to install the downloaded Version of MF Cobol on a Notebook. The Installation process cancels with the message: Install of Oracle Java 32-Bit Version 1.6 or higher required. Now, I have installed the last Version of Oracle Jave 32-Bit. But the MF Cobol Installation cancels again with the same error-message. The MF License-Program was installed. Then the Installation cancels with the error-message above. #Win7#Eclipse#MF-Cobol#Oracle64-Bit
Problem: AcuServer is being implemented to resolve issues with multiple users accessing the same COBOL files. The data lives on the server in J:\\data; that J: drive is a network drive, not an internal drive on the server. When configured to use AcuServer a permission error is encountered as noted in the AcuServer trace file: "Failed: 15,103". When the file-prefix is configured to access the files directly, not through AcuServer, all of the file access succeeds. So the permissions allow the access, but it fails through AcuServer. Resolution: The AcuServer service runs as the system account and cannot access a mapped drive; the network disk is seen as a mapped drive and so AcuServer fails. The way to enable AcuServer to access the network disk is to create a symbolic link. You can leave the J: drive mapped for the users to be able to navigate there; but AcuServer will use the symbolic link. Here's how to do it: 1. Log on to the ser
Chris, when it will be available the Micro Focus Data File Tools 2.3.1.012? The test version I have does not generate the structure. She does not recognize the IDY File generated by the Micro Focus COBOL Visual 2.3 Version 2.3.01098. Microsoft Visual Studio Community 2015.
When we originally installed VC 2.2 for VS 2012 about a year ago we noticed that COBOL colorization under Tools>Options>Environment>Fonts and Colors was non-existent, but we were busy with other issues converting from Net Express 5.1. As of today we are at VC 2.3.1 for VS 2013 by the following route: 1. Uninstalled VC 2.2, upgraded VS to 2013 and installed VC 2.3. 2. Installed Hotfix 1 for VC 2.3 for VS 2013. 3. Installed Update 1 for VC 2.3 for VS 2013. At stages 1 and 2 we checked and still no COBOL colorization. Now today on VC 2.3.1 we have exactly two COBOL colorization options; "COBOL Code Coverage - Covered" and "COBOL Code Coverage - Not Covered". What are we missing or what have we done wrong? Anybody? The "tripping issue" for this is we are now doing maintenance on the converted applications which contain Copybooks with REPLACING clauses, and when you "show with replaced values" the expanded source is displayed black-on-dar
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
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.