Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
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?
Is there a place where I can find the meaning of the different "Errno" for "ASLM: Semaphore failures"? In this particular case I have a customer that reports that he gets "Errno=1008" after a Windows upgrade - can't find anything around 1008 anywhere...
Hi, I'm trying to use the c$java sentence but the file status return CJAVA-INVALIDARG VALUE -1. CALL "C$JAVA" USING CJAVA-CALL, OBJECT-HANDLE, "Validate", "(XX)X", "Efacturae.xml", "3.0", FIELD-RETURN GIVING STATUS-VAL. What's does it means this value? Thanks.
After few hours i managed to start small native cobol program, but - i can not debug it. I got error 179 (MFRUN.gnt cant be found during program chain...) . Also, i got this message; Geladen: RUNTRIG- Nicht für Debugging kompiliert [CTF] Anynone has that problem solved? Thanks, alex#Error179
Microsoft have a XMLHTTP COM Object that can be used to issue HTTP requests against a server. Unfortunately this object does not any timeout function is an HTTP request is taking a long time to complete. There is however a ServerXMLHTTP class that implements a setTimeouts method. This class compatable with the existing XMLHTTP module so you just need to change the class id in your code. For example: XMLHTTP is class "$OLE$MSXML2.XMLHTTP.6.0" to XMLHTTP is class "$OLE$MSXML2.ServerXMLHTTP.6.0" #COMMicrosoftXMLHTTPClass
In native code (gnt , dll , exe , so) Micro Focus COBOL will optimize subscript access. This optimization is controlled via the BOUNDOPT compiler directive. The optimizations can impact code migrated from other platforms. Consider this case where a table is passed (by the caller) in Linkage to the callee. The caller code is:- working-storage section. 01 ws-data. 03 ws-data1 pic x(80). 03 ws-data2 pic x(80). 03 ws-data3 pic x(80). 03 ws-data4 pic x(80). 03 ws-data5 pic x(80). 03 ws-data6 pic x(80). 03 ws-data7 pic x(80). 03 ws-data8 pic x(80). 03 ws-data9 pic x(80). 03 ws-data10 pic x(80). 03 ws-data11 pic x(80). 03 ws-data12 pic x(80). 03 ws-data13 pic x(80). 03 ws-data14 pic x(80). 03 ws-data15
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.