Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
I installed at first the trial vcvs-2015.exe Problems with compile errors. Got a Visual Cobol PE. After uninstall from the earlier version, i try to install the Personal Editon. Get the install error: 0x81f40001 (uninstall earlier version, before install) But my PC doesn't have an earlier version anymore. See my attachment for more information. Please, who can help me out of these troubles?
Dear Chris, We just migrate an Application from RM Cobol to Visual Cobol for Eclipse and we noted that our Files are very diferent in Size. Could you please give a reason for that ??. Regards TAMAÑO EN RMCOBOL = 514490368 TAMAÑO EN VISUAL COBOL = 1241272408 ( como tuvimos problema con comp-6 , lo eliminamos y dejamos con comp-3, tiene las mismas clave principal y segundarias)
I'm a legacy programmer new to this environment. I used IBM DB2 on the mainframe and would like to use DB2 here with Visual Cobol. Can anyone tell me where I can find the software for free to download and use with my environment VS 2015, VC 2.3
When I use Visual COBOL to open tutorial projects, I saw strikethrough fonts (cross line fonts) occasionally appearing somewhere. Both on Windows and REDHAT: on REDHAT: I really want to know how to eliminate those annoying appearance.Really appreciated for any hints.#Cross-Linefont#Windows#Strike-ThroughFont#Linux
For embedded DB2 SQL application, I figure it out that I can use command line to create the application. cob64 -C MFSYNC -z -o myTest myTest.cbl sqlca.cpy -L/home/db2inst1/sqllib/lib64 -ldb2 -ldb2gmf But I got this error : /bin/ld:sqlca.cpy: file format not recognized; treating as linker script/bin/ld:sqlca.cpy:1: syntax errorcollect2: error: ld returned 1 exit status But if I rename sqlca.cpy as sqlca.cbl. run above command line as: cob64 -C MFSYNC -z -o myTest myTest.cbl sqlca.cbl -L/home/db2inst1/sqllib/lib64 -ldb2 -ldb2gmf Everything is fine. Why cob64 does not know to compile sqlca.cpy file but only compile sqlca.cbl file? But in Visual COBOL, it uses sqlca.cpy without any issue. Appreciated for the help. #sqlca.cblsqlca.cpyVISUALCOBOL
I am new to use Visual COBOL Eclipse. I can use Visual COBOL Eclipse to compile and run all the samples in the tutorials. Even some complicated SQL projects from SAMPLE Browser. I know Eclipse is just a common GUI tools from IBM, it calls cob (cob32 or cob64) to do the real job behind the scene. How can I get the real cob command line from Eclipse (both compiler and linker parameters)? That will really help me to understand how cob works. Really appreciated. #COMPILER#VisualCOBOLEclipse#linker#commandline#Parameters
Hi Everybody, Have tried to download the PE version and have filled in the forms and received the email with the download link but when I click the lick it takes me to a page that tells me my serial number and other details but no download. Any idea or am I doing something wrong...? Ianeon
I need to capture the mouse button in a ListBox, done that method-id listBox2_MouseClick final private. procedure division using by value sender as object e as type System.Windows.Forms.MouseEventArgs. if (e::Button = type MouseButtons::Right) invoke type MessageBox::Show("Direito" "MMSIS") end-if if (e::Button = type MouseButtons::Left) invoke type MessageBox::Show("Esquerda" "MMSIS") end-if if (e::Button = type MouseButtons::Middle) invoke type MessageBox::Show("Centro" "MMSIS") end-if end method. But just take the left button
I am working over a project to migrate NET Express 5.1 codebase to Visual COBOL. In existing sysytem we are using 'BLINK' command to make certain characters blink on the screen. But after migration to Visual COBOL, these characters are not blinking.. Does the 'BLINK' command not supported in Visual COBOL 2.1?? Or do we require any additional directives to make this work?? Earlier, we were also using 8 sysytem objects namely ADIS, ADISINIT, ADISKEY, ADISDYNA, MFFH, BSIO, EXTFHSUB, MFINI. I suppose these are now convereted into dll's and are loaded at the runtime automatically. Are these dll's causing this problem.?? Any pointers to make character blink in Visual COBOL will be highly appreciated. Thanks!
In native COBOL if you have "SELECT DATA-FILE ASSIGN TO DISK 'OLD\\Data.dat'" and "OPEN INPUT DATA-FILE" then the File Handler will look for an environment variable named "dd_OLD" and replace the "OLD" in the SELECT clause literal with the contents of the environment variable (if found). But what happens in managed code? We are getting "File not found". Is the managed-code version of the File Handler looking for "dd_OLD" somewhere other than in the environment, or does this functionality not exist in managed code?
Is there any way when processing a SQL statement (SELECT, INSERT, UPDATE, DELETE) to retrieve the results of @@ROWCOUNT to establish how many rows were affected by the statement?#SQL#COBOLSQLCOBSQL#COBOL
I use tutorial project - 03_01_Simple_structure. If I run it in Visual COBOL on Windows, Environment Variables are working, COBOL executable code can access them in the console windows. But I run the same code with correct Environment Variables Path on RED HAT Enterprise. The executable code complains not finding them. I need to copy the PATH into the code to replace the Environment Variables, that works ! Could someone help me to confirm that - That might be the issue on my Linux machine only, or that might be a little bug with Visual COBOL tools on LINUX. Appreciated.#EnvironmentVariableinCOBOL#redhat#Windows
Hi, I want to use a progress bar but not I am able to update.Increase the VALUE field but on screen only appears at the end of the procedure and all filled. Can anyone send me a small example. Thank you. Best Regards Alberto Ferraz
getting the message "Unable to find a license for Visual Cobol for Visual Studio on this machine". I was given this software over a year ago and can't find a license number associated with it, HELP!! It is the personal copy so it is free to use.
Hello, I need to load some information in a field to be displayed when the cursor passes over the selected field.I do not know if there's another way but I thought I'd use the TOOLTIP field that would do this automatically.The problem is that I can not create multiple lines in the tooltip. What I wanted was (for example).Name - Alberto FerrazCountry - PortugalContact - 351959959959email - info@esic-lda.com This information would have to be loaded during program execution it varies from client to client. I look forward to your help. Thanks Best Regards Alberto Ferraz
Hi all, I am using visual COBOL for Eclipse on Window and trying to connect to Oracle DB. I set DBMAN = JDBC but my received output: SQLCODE = -0000000009 MFSQLMESSAGETEXT = Got minus one from a read call Anyone hepl me? Best regard!#COBOLENVIRONMENT#Eclipse#COBOLSQLCOBSQL#EXECSQL
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
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.