Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Problem A customer has noticed that on a rather large indexed file, the performance seems to suffer when reading sequential through the entire file. Is there a way to increase the performance of indexed file I-O when doing sequential reads? Resolution: They might look into using the extfh.cfg option called NODESIZE.This controls the size of the index nodes that are used for a file when it is created. The larger the value, the more keys that can be stored into a single node and this can speed up sequential processing quite a bit. In a recent test when reading sequentially through an indexed file containing 8 million records, the following timings were achieved by setting the NODESIZE and recreating the file: NODESIZE Timing1024 3 mins 55 secs4096 3 mins 03 secs16384 &nb
Problem Customer has an indexed file that has several alternate keys defined.They noticed that the performance of the file I-O seems to get worse as they add more keys. Is there anyway to improve this performance? Resolution: There is an extfh.cfg option called INDEXCOUNT that can help to improve performance when a large number of keys are defined for a file.For example, in a test where a file was being created with 8 million records the following results were found:2 alternate keys = 5 mins 48 secs3 alternate keys = 6 mins 19 secs4 alternate keys = 6 mins 29 secs5 alternate keys = 30 mins 08 secsSo the access time gets a little slower with each additional key until the file handler reaches a point where the performance suffers tremendously.The INDEXCOUNT option controls the number of index nodes that will be cached for the file.The default value in Visual COBOL is 32 but you can get better results when using a large number of alternate keys if
Problem Does anyone have an example of sending an e-mail including an attachment using Microsoft Outlook by using a managed code .NET program? Resolution: Here is an example: $set ilusing"System.Net.Mail" $set ilusing"System.Net" $set ilusing"Microsoft.Office.Interop.Outlook" program-id. Program1 as "testemail.Program1". data division. working-storage section. 01 oApp type Microsoft.Office.Interop.Outlook.ApplicationClass. 01 omsg type Microsoft.Office.Interop.Outlook.MailItem. 01 oAttach type Microsoft.Office.Interop.Outlook.Attachment. 01 oRecips type Microsoft.Office.Interop.Outlook.Recipients. 01 oRec
Problem Customer is running a large batch process that performs a lot of file I-O on indexed files and they would like to know if there is an option available that would help to speed up the performance when reading these files. Resolution: They might want to look at using sharing modes for their file processing.Sharing modes inform the file handler how others will be accessing the files while the current process is accessing the files. The default is that the file handler assumes that files open for input or i-o will be sharable by all other processes. This means that the file handler has to be constanly checking to ensure that the file has not been updated by someone else since the last time it was read and this can be time consuming.This is true even on a standalone single-user system where the file is not being shared. By setting a sharing mode to allow no other then this will give you exclusive access to the file and the file handler will know that the file will not be changed by
Hi, I have a question regarding Visual COBOL support under AIX.Does Visual COBOL run under IBM AIX 5.3? Thank you.Best regards, Shulian Yang.
Using Net Express 5.1 to deploy a Cobol web service to a remote Enterprise Server. The Settings dialog for the service does not list the remote Enterprise Server as a target for deployment. It used to do so before the remote Enterprise Server was rehosted to a different server on the same network. The remote Enterprise Server is definitely up and running. Is there a setting or configuration parameter I need to update so Net Express can find the remote Enterprise Server?
Hi, I display images on a windows form using the following code:- set picView::"Image" to type "System.Drawing.Image"::"FromFile"(ws-string) However if this form is repeatedly loaded displaying different images the pc memory goes up and up until eventually i see an out of memory error. So found this:- http://msdn.microsoft.com/en-us/library/system.drawing.image.dispose(v=vs.90).aspx Which I assume gets converted into cobol code as follows:- invoke self::"Dispose"() Which I put straight after the "set picView::"Image" to type "System.Drawing.Image"::"FromFile"(ws-string)" line. Is that correct and will it have any other effect? Kind regards Neil.
We have some forklift mounted LXE devices with attached label printers connected via a serial cable on COM2 on the LXE unit. They are connecting to the UNIX server over telnet. Calling "C$LOCALPRINT" allows us to send communication packets to the printers, but how would I go about getting a response from the printer? We have terminals ranging in age from the VX1/VX2 DOS-based models to the newer Windows CE models.
Problem Unable to execute JAVA class or a COBOL JVM class on a UNIX machine. Resolution This simple example demonstrates how well Visual COBOL and JAVA can integrate. It covers the core subjects of CLASSPATH, PACKAGES, BUILDING JAR files and executing programs. This will show you how to do this by using three programs on a test stub that invokes a JAVA program and a COBOL JVM program. This will also use some jar files created on a windows machine as well to show that the jar files are portable which is as they should be. For all programs and scripts needed for this example, click the link and save as < jar-002.tar > Setup build and run example mkdir test cd test # mv jar into test or point to were you downloaded the file. tar -xvf jar-002.tar cd jar ls setup.sh unixbld unixjar winjar You will need to change setup.sh to point to your java version and your Visual COBOL version. setup.sh # # set up java version # #JAVA_HOME=/usr/java/jdk1.7.0_03 #export JAVA_HOM
Dumb question but is visual cobol cluster aware? Or does it have any impact on access within the cobol program.
I am getting an error, COBCP0205S HTML splitter error 003, when trying to compile a web program in Net Express 5.0. I cannot find any documentation on this error other than to call Technical Support. Has anyone seen this error? Do you know what it might mean? Thanks! Mike
Hi, anyone found solution for this problem? I have set to UTF-8, alphanumerics are shown with wrong encoding. #encodingvariablesvieweclipse
I have an application using Redemption, and this is our first time using it. We're having a problem with it (MAV error when calling DESTROY on the folder handle) and I've been given a debug version of Redemption to use so that a trace log will be created. I've installed it on our server to location K:\\UBCC\\Programs and registered it with regsvr32. There is a CALL "Redemption.dll" line in the application before doing all the usual email tasks. When I run the application I also have Process Explorer running so that I can see that the application is loading the instance of Redemption described above when it does the CALL. The trace log shows it being loaded as an Outlook add-in. But when I execute the next line: CREATE @RDOSESSION OF @REDEMPTION HANDLE IN EX-RDOSESSION I can see from Process Explorer that the application loads D:\\program files\\Intuit\\QB2011\\Redemption.dll instead, and no subsequent activity is written to the
When trying to run a COBOL program, the error is received: Error - No license key detected. Application Server requires a license key in order to execute. This indicates that no Server for COBOL licenses are installed in the apptrack licensing system. For more information about this licensing system, consult the documentation. Start here: http://supportline.microfocus.com/documentation/books/sx51ws02/sx51indx.htm Then scroll down the menu on the left side and click "Deployment License Management Guide", then "Chapter 2: Installing and Administering Micro Focus Server Licenses". Run apptrack, then use option 2. "License Summary" to see installed licenses. If there are no licenses at all, then install a Server for COBOL license and the problem will be solved. Apptrack may show some licenses described as "Developer Usage". This type of license is described in the documentation section: "Chapter 3: Developer Testin
The following web page shows Micro Focus product versions, and the general OS versions under which they are supported: http://supportline.microfocus.com/prodavail.aspx For more detail, on UNIX/Linux systems, there is a file named "env.txt" that is installed with each Micro Focus COBOL product. On disk, in the directory where the product is installed, there is a subdirectory named "docs", and within that subdirectory, the file named "env.txt". In other words, the file is: $COBDIR/docs/env.txt The "env.txt" file specifies the exact OS versions that Micro Focus used when producing and testing and certifying that particular Micro Focus product. More than one OS version is listed in the file, because certification testing is performed on more than one OS version. Besides specifying OS versions, the file shows the commands used to reveal the OS versions. For example, the file may say: Operating System ---------------- AIX 6.1.0.0 6100-00 uname
My IDE has a problem of garbled character . My os is Japanese Windows XP. How can I resolve this problem? Thank you.
Good evening at all.I'm using the Web-Browser control of acucobol.It works fine but it could be graphically better if I could remove the black-border of the control.Does anyone know if it is possible or not adn, evantually, how? Thanks in advance#web-browser
Created On: 23 September 2011 Problem: An application compiled with Net Express accesses files on a Novell Netware drive without a problem. After converting the same application to Visual COBOL, any OPEN of a file on the Netware drive results in a file status 9/181 being returned. File status 9/181 indicates a parameter error in a call. Why is this happening? Resolution: In Visual COBOL we changed the default values for the following two file handler configuration options so that 64-bit file handling would be supported by default.In Net Express the default was to use 32-bit file handling.IDXFORMAT = NX=4 - VC=8FILEMAXSIZE = NX=4 - VC=8So in Visual COBOL when a file is opened, a 64-bit flag is being passed to the CBL_OPEN_FILE run-time routine whereas in Net Express a 32-bit flag is passed.Novell Netware drives behave like 32-bit drives and can therefore only handle files up to 4GB in size.So when Visual COBOL attempts to open a file using
Dear All, I'm writing this letter in order to enquiry about how to download a specific hotfix (i.e. HF4) for Visual COBOl for Eclipse externally. I only see a batch update file via supportline as follow: http://supportline.microfocus.com/websync/VisualCobolEclipse21Update1.aspx I would be most appreciative of any informaion you could give me in this regard. Best regards, Shulian.
In the declarative section in MF COBOL for Net Express (on Windows) and Server Express (on Solaris, Linux, AIX, HP UX), what should be defined as SOURCE-COMPUTER? We are aware of the compiler directive TRACE, and are able to make use of it. We are explicitly looking for the usage of DECLARATIVE section. Our product works on multiple platforms, and hence using TRACE compiler directive is not an option, since it won't be available on IBM Mainframe. #ServerExpressHTTPURL#netexpress#debugging
Just got back from attending the developer conference in San Francisco and there was some really great information in the presentations. Kudos to all the presenters. One thing that seems to be missing from Visual COBOL for Visual Studio 2012 is support of NuGet packages (http://nuget.org/). I am migrating Oracle Pro*COBOL I/O modules to OpenESQL and being able to add ODP.NET support to my managed COBOL projects via a NuGet package would be very helpful. Something to consider for a future release? I know there would be very few packages available to COBOL developers but as the community grows I could see this as a great way for us to share Visual Studio extensions that make our lives easier.#VisualCOBOL#VisualStudio#ODP.NET
I'm running a COBOL program that runs on HPUX PA-RISC and is reading from an Oracle 10g database. One of the SELECT statements appears to be running inefficiently and I hope a hint will help. I tried using Oracle's SQL*Plus to see how the SELECT performs with and without the hint, and the results are pretty convincing that the hint makes a significant difference. I added the hint as follows: EXEC SQL DECLARE EQ0201_CONTRACT_SPAN CURSOR FOR SELECT /* INDEX (CONTRACT_SPAN (CONTRACT_NBR)) */ IMAGE_RECNBR , CONTRACT_NBR , BENEFIT_PKG , BILL_TO , CONTRACTYPE , DIVISION_NBR , TIER , TRANSCODE , VOID , YMDEFF , YMDELIG , YMDEND , YMDTRANS FROM CONTRACT_SPAN WHERE CONTRACT_NBR = :S-CONTRACT-NBR AND IMAGE_RECNBR > :S-IMAGE-RECNBR ORDER BY YMDEFF , IMAGE_RECNBR END-EXEC I'm not getting any performance
Hi, Im using a web app to pick up the remote users IP address when they log on to my website with the following code:- set ws-UserHostIP to self::Request::UserHostAddress But how can I find out what their PC MAC address is? I want to do this so I can introduce a level of security where I only allow certain addresses to do certain things. Many thanks in advance for any help on this matter Kind regards Neil.
Does anyonw know how can i embed skype features in my app? i use defgen and created an skype.def but what then?
Hello Developers, Does anyone know hot to print an mschart?
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.