Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hi, Is it possible to compare to a range of values in COBOL? I'm thinking of something like this: if account-id between 1 and 7 then perform debit-internal-account else debit-customer-account end-if Regards#COBOL
Problem: During the installation of Visual COBOL for Eclipse, the error code 2738 is reported. Resolution: The installer is giving this error code because the VBscript component is not installed correctly. For further details see http://www.error.info/windows/installation-2738.html
Problem: A Visual COBOL solution can be built without issues on a Windows 7 64-bit box, using Visual Studio 2010.After having moved the solution directory to a shared location on the local intranet, the compilation process abends with the following error: ------ Rebuild All started: Project: MyProject, Configuration: Debug x86 ------* Compiling K:\\MyDirectory\\MyProject\\MyProgram.cblK:\\MyDirectory\\MyProject\\MyProgram.cbl (1234,5) : error COBCH1504 : I-O error : 9/181 obj\\x86\\Debug\\MyProgram.int COBOL compile: 0 item(s) succeeded or up-to-date, 1 failed.Build of project "MyProgram.cblproj" NON COMPLETED. Resolution: The issue is caused by the fact that the remote location, often a network drive, is considered as an unknown file system and allows 32-bit access by default.This may cause the Visual COBOL checker to stop with an error, being launched from a 64-bit Operating System.To force the checker to activate the 64-bit access to the remote drive, set the fol
Trying to figure out how to use enumerations. Can anybody help? I also noticed that visual Cobol doesn't support the Enumeration TryParse? The goal is to edit the domain extension and ignoring the case. Here is what I have so far. enum-id DomainExtensions.01 binary-long. 78 com. 78 edu. 78 gov. end enum. Now trying to use it is the problem. method-id ValidateDomain private 01 domainExt type DomainExtensions. procedure division using by value domainString as String returning validDomain as type Boolean. set validDom
Hi, I'm new in the visual cobol story.Today we are working in Multi-edit to develop our cobol code server side. Compilations are directed from within Multi-edit also server side (Server Express).Now I'm looking to migrate to Visual Cobol using eclipse to edit but keeping the setup similar, meaning server side editing and compiling.So I've installed the windows version of VC Eclipse.How do I proceed to use Eclipse as an editor but keeping the code compilations on the server side? The visual cobol has also been installed on our server.Server is HP-linux. Thnx for any tip.Hugo#COBOLVISUALCOBOLMIGRATION
Where can I find Guide for Visual COBOL starter for self study. Thanks
Hi , I migrated MF Cobol application from AIX 5.3 to 6.1. After migrating CPU utilization is very high in AIX 6.1 machine. Using SE 5.1 WP7. AIX 5.3 machine had 12 CPU units and AIX 6.1 machine have 22 CPU units.Could some one advice to optmize CPU utlization
Problem: After installing licenses into a License Server located on a Virtual Machine, the licenses fail to work after the virtual machine has been rebooted. The following error is reported. 'Warning! The license file appears not to belong to this server.' Resolution: The License Server is not supported on virtual machines, and has to be installed on a physical machine. Installing the License Server (as used for Net Express, MFE, etc) is not supported on Virtual Machines. The License Server is locked to the machine using a specific set of hardware properties and ids. This finger print will change each time a machine is booted and there is no way to configure the VM images to stop this.
Hi, Is there any native COBOL app server i.e. a server that is specifically for COBOL -Tomcat for Java, IIS for .NET- and is there any tutorials for it and does it support REST?
Problem: How do you identify if Server for COBOL or Server for SOA is running on the installed system? Resolution: Server for COBOL and Server for SOA are identified by the licenses that are installed. To find out which is installed look at $COBDIR/etc/cobver. If there is an entry “PTI=ES” then Server for SOA has been configured. A typical cobver may look like: cd $COBDIR/etc cat cobver cobol v6.0.00 PRN=RXCTU/AAN:9m.Z3.60.08 PTI=32/64 bit PTI=SP2 PTI=WrapPack 2 PTI=ES PTI=Fixpack60.08_01 PTI=Fixpack60.08_02 PTI=Fixpack60.08_04 PTI=Fixpack60.08_05 PTI=Fixpack60.08_06 In this example PTI=ES, has been highlighted to show Server for SOA is installed.
Hi, Ive got a project that uses the MDI feature a lot and Im having memory problems where it just goes up and up until the application runs out of memory. Then have to close app and restart it again. After some searching have found the following:- http://stackoverflow.com/questions/1238082/memory-leak-on-mdi-with-blank-child-form Is it worth trying this, if so what does the code look like in a Visual Cobol form? Thanks in advance for any help/advice. Kind regards Neil.
We are creating a pdf document and would like to see if anyone knows how we give the file name for the pdf in the program and flag it to auto saving the pdf with a name instead of it coming up with the save window that we have to click ok on. AcuCobol - AcuBench Thanks for your help.
Hi, It sounds weird to ask this here but, could anybody help me in learning CICS on Visual COBOL -from scratch!- I am planning to use Visual Studio and I've never done CICS before#CICS
I am a retired Programmer that primarily codes for RM/Cobol. I have recently been contacted by one of the companies I worked for before I retired. They use programs written in RM/Cobol (6.09.04) on an SCO UNIX System (3.2v5.0.7). They wish to scan invoices into the system using a multipage scanner for future display and/or printing. What I envisioned was to have a COBOL program scan one page from the multipage bin and save it to a name generated by the program. The scanned image would then use OCR to convert the image into a TEXT file. The program could then scan the TEXT file and save pertinent information (such as invoice no., customer no.). My question is, are there programs available that can either interface with RM/Cobol or can be controlled from a call to "SYSTEM" for scanning and converting. I would also need a program that would be able to display the image and/or print the image from a call to "SYSTEM". Thank you in advance.
Question: How do you determine if TERMCAP or TERMINFO is enabled on an RM/COBOL installation? Answer: The librmterm.so file determines whether termcap or terminfo is used by runcobol. To switch to terminfo, change to the RM/COBOL installation directory, and copy the librmti.so file to the librmterm.so file. For example:cd /usr/rmcobolcp librmti.so librmterm.soTo switch back, copy librmtc.so to librmterm.so.
Problem: C$XML fails parsing a XML file with ISO-8859-15 encoding.It works fine if the encoding is ISO-8859-1.Is this correct? Which encodings are supported by ACUCOBOL-GT runtime? Resolution: This is a limitation of the Expat XML parser library that Micro Focus uses to provide the XML functionality within the ACUCOBOL-GT runtime.The Expat parser library is only able to handle 4 encoding types which are: UTF-8, UTF-16, ISO-8859-1 and US-ASCII. Any other encoding type will return the error reported by C$XML CXML-PARSE-FILE. There have been requests to improve the number of encodings supported by ACUCOBOL-GT runtime, but as this is (currently) reliant on this third party product we are not able to unless this is also modified. Further information about the Expat XML parser are available here:http://www.xml.com/pub/a/1999/09/expat/index.html If no encoding option is specified the default encoding that the Expat library uses is "UTF-8". If an XML file that uses UTF-16 is parsed,
Problem When installing RM products it will ask for a license. If the installation process is unable to apply the license to the product it will normally abort the installation process. For some products like Info Express, then installation will complete. How can the product be used once the installation has completed? Resolution In most cases the installation will abort and the product will need to be uninstalled and the re-installed. In some cases, the installation will complete, but the product cannot be used because there is not a valid license present. In these cases, the license can be applied once the installation has completed so that the product can be used. This is how to complete the installation. Copy the license file(s) to the SupportTools directory that is underneath the main installation directory. E.g. for a standard Unix install of Info Express this is /usr/rminfox/SupportTools. For a standard Windows install of Info Express this is C:\\Program Files (x86)\\Lia
Problem As part of the installation process, the Unix install.sh will ask for the full name of the license file. Can a relative path be used in this instance? Resolution No, an absolute path needs to be used in this situation as well as the full name of the license file. If the following is entered then the license file will not be found and this may cause the installation to terminate: ../v1209_Lics/XBIS-Linux-Intel-32b-ID96117.lic Instead the following needs to be entered: /install_area/12_09_32bit/v1209_Lics/XBIS-Linux-Intel-32b-ID96117.lic The reason is that within the install process, the current directory can be changed from the directory that the install process was started from. This means that an absolute path name needs to be used when specifying the license file as the use of a relative path name (to the i
Strange results occurring with the attached piece of code. The CalcPerecntDotNet method is returning mixed results when you divide 100 by the following numbers 13 thru 15, 17 thru 19, 21 thru 24. FYI, I stopped testing at 100. The CalcPercentCobol method seems to work correctly. Also it should be noted that the piece of code that is causing the problem is when I try to move the Decimal field to the Pic 9(03)v99 field using the set command. Below I provided the values 13 thru 24 passed value CalcPercentCobol CalcPercentDotNet 13 7.69 707.54 14 7.14 706.99 15 6.66 706.51 16 6.25 6.25 17 5.88 705.73 18 5.55 705.4 19 5.26 705.11 20 5 5 21 4.76 704.61 22 4.54 704.39 23 4.34 704.19 24 4.16 704.01 #VisualCOBOL
Hi, I am a new user in visual cobol 2012 and I am trying to edit some of my old micro focus 3.2.43 programs and data files that are about 20 years old and use 737 greek character set (ascii), but everything writen in greek is not displayed correctly. What I would like to know is if it is possible to keep working with the existing character set without converting as to keep both old and new programs working together with the same data files. Thank you in advance Antonis
Dear Sirs, Is there an special Linux/Unix Installation media or We can use the Windows Installation Media ??? Many Thaks in Advanced PJM
I am compiling and running this program in Visual Studio 2010, version 2.2. It runs to completion when running with a config file setting the environment variables. When I move the EXE to the runtime server, I get the error below. C:\\BAT>c:\\EXE\\CBL620_040Unhandled Exception: MissingMethodExceptionMethod not found: 'Int32 MicroFocus.COBOL.Program.Reference.GetPointer32(Byte[], Int32, Int32, MicroFocus.COBOL.Program.IObjectControl)'. at Int32 CBL620-040.CBL620_040() at Int32 CBL620-040._MF_ENTRY() I have cleared the exe directory out, and moved in new versions, as well as the supporting dlls. I am unsure of how to debug the method that is being thrown.
Does anyone have or know where I can find some example code of how to create a .tiff file using cobol? Wondering if this can be done in 'select' statement or if there may be a routine that would do this. Any help would be appreciated. Thanks, Kim
Thanks in advance. I am testing Visual Cobol for Eclipse editing an Oracle Pro*COBOL named “Program1.cbl”. At the end of the linker step the Program1.exe is not generated due to a fatal error LNK1120 for 3 unresolved externals symbols: ORASQL8, SQLADR and SQLBEX. The following is the log of the process generated at CMD DOS. C:\\cobol>cobol Program1.cs9 /LITLINK /MAKESYN"COMP-5"="COMP"; Micro Focus COBOL Version 2.2.00244 Copyright (C) Micro Focus 1984-2013. All rights reserved. * Checking complete with no errors - starting code generation * Generating Program1 * Data: 1400 Code: 2016 Literals: 848 C:\\cobol>cbllink Program1.obj C:\\app\\oracle12c\\product\\12.1.0\\dbhome_1\\precomp\\LIB\\orasql12.lib Micro Focus COBOL - CBLLINK utility Version 2.2.
I'm using a product called MPACT from ESI. With MPACT I am able to create screens for our users to interact with. It also allows gives me places where I can interact with the dialog. The interaction points are written in cobol and MPACT compiles our code using the Visual Cobol compiler, but only uses the native aspect of it. I have this MPACT program calling a Visual Cobol Winform program. Inside of the Winform program I am doing an accept from the command line. All of my parameters are showing up, but if I have a filler that has spaces in it then they are being truncated. I've attached the code that is in the MPACT program and the code that is in the winform program We are using Visual Cobol 2.2.#VisualCOBOL#COBOL#unmanagedcode
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.