Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hi guys, i'm trying to call a cobol program from java using the mfcobol.jar, but i'm geting this error below. Let me explain my situation, my cobol is under Linux server, my Eclipse is on Windows, so I copy the mfcobol.jar from my Linux and i'm trying to execute jsp project. My setup: Windows XP, Eclipe Kepler, JDK 1.6 Linux Red hat, Server for Cobol 5.1 I linked my project updating the buidpath like Microfocus's documment, but does not help. My code, error on RuntimeSystem.cobload import com.microfocus.cobol.RuntimeSystem;import com.microfocus.cobol.lang.ParameterList;import com.microfocus.cobol.lang.Pointer;public class showbytes{ public void inicializa() throws Exception { String myString = new String("Hello to COBOL"); RuntimeSystem.cobload("C:/temp/passarray.dll"); System.out.println("myString=" myString); }
Need help with a link to the correct version of JAVA. I ran visual cobol from icon on Linux server desktop and got the message "visual cobol for eclipse - java is the wrong version. A 32 bit Java 1.6 or above runtime is required to run eclipse. Update the java on your PATH and retry." How do I find the correct PATH?. Also I have no mention of environment variables that are required. I intend to evaluate (compile ) programs currently running server express with character mode dialog. My server is a HP prolient ML150 (64 bit) Thanks Bob
The source code for the BookJSP tutorial application for Visual COBOL 2.2 and later.COBOL_JSP_DEMO_2_2_SRC.zip
We are attempting to use at "hot-key" statement in the cobol config file to allow a user to press a specific key (ctrl-q) from any where in the application to start a help screen. The use of the 'hot-key' to start the program is working perfectly except for one thing....we would like this program to be independent of the current application running. We would like the user to be able to have both screens up and be able to work in either, then be able to close the help screen when done. The 'hot-key' statement we use to kick off the help screen is "KEYSTROKE HOT-KEY=[program name] ^Q". Does anyone have advice on how this can be accomplished?
Hi, I have just installed Cobol VS 2012 on W7. Debugging and compilation process of an Cobol program was error free and the .exe file has been generated correctly (run time model is also dynamically linked). I know that the cobol source code is working correctly on other systems but when I started the program within VS2012 nothing happened. Also when I started the .exe file directly nothing happened. As I mentioned the run time modules are dynamically linked and I do not get any error messages. Absolutely nothing happens. Any idea what I can do to get my programs running on my system? Thx Richard
We have a web service written using Extend 9.1.1,running on a local server, with several methods. We can access the methods locally using SoapUI with no problem, using the convention: servername/.../method.srf We have forwarded port 80 on our router to the server inside the network,and we can access a web page resident on that server, from outside the network through the internet. However, we are unable to access any methods of the web service, using either: publicurl/.../method.srf or publicurl/.../method.srf The latter seems the one we should use; and SoapUI does take longer to return an error. Is there another port we need forwarded through the router, or is there a different naming convention we need to use? Or might this be related to the security? the BIS server is set up as "Run as the interactive user"; I was not able to get BIS working using the "Run using this account" option. Thanks Tony
How do I deal with dynamic filenames in Net Express running on Windows? I have a MFEXTMAP.DAT that works fine for the static filenames, but ran into a program that I need to debug and it has some dynamic filenaming going on. When it builds the filename it has a Unix path hardcoded into the name building logic. For example it would create a name like: /usr2/spool/somefile.index#.job#.customer_id.dat I'm getting an error saying directory not found (and it shows the dynamic filename), and I can't debug any further. I tried putting the directories in my project directory hoping that would work, but no luck. I also tried putting the directories in the same place the MFEXTMAP.DAT pointed the other files to, and again no luck. I tried this in my root directory too, no luck. My goal is to not mess up the filenaming in the COBOL program as it works properly in the Unix environment. Surely there is a way to deal with this--at least I hope. Thanks,
What will, or is likely to cause the following error condition: "AcuCOBOL-GT 32 bit Runtime has stopped working"? A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available. I am running AcuCOBOL version 5.2 and am in the process of converting to version 9. This problem has cropped up within the last four weeks. At present, all other users appear to be using the programs without any problems. My fellow programmers also appear to be OK. If I use my laptop accessing the network and using my work logon, my programs are failing with this message. When I use my laptop using the programs independent of the network, programs appear to work successfully. The program I am running crashes on a statement: CALL "WIN$PRINTER" USING WINPRINT-GET-PRINTER-INFO-EX, &n
I have added code to trap Runtime Errors like RC=32 but not sure how i can trap this during a test. I have an IDX file that is being read but once the program starts it locks the file so I cannot move it during execution as a test. (NX 5.1 WP6)
I copied a screen and therefore its dialog to create a new screen. However, the dialog (netexpress) is not working the same for the new screen In the original, when a push button is selected, there is a Validate $windows that sets off the Val-error event if a blank category is entered. This does not happen in the copied window, although it also invokes Validate $windows (apparently it finds no error). Where/how do I find the validation that is actually being done in the first case? In both cases, we have an error file as a resource. #validate
Hello, I am running ACUCOBOL in HP-UX. When I logged in as developer and runs COBOL, it does not issue any problem. How ever I encounter problems when ; 1) I logged in as root. Initialize the same environment as being initialized by developer and I encounter this error: FILE PAY01PRN;DEV=LP1;CCTL ^ Unknown device class. (CIERR 344) Pid 22770: *** NLGETFNAME2: bad FileEquation FILE PAY01PRN;DEV=LP1;CCTL Err:344 Parm:-21 *** FILE PAY01OK;DEV=LP1;CCTL ^ Unknown device class. (CIERR 344) Pid 22770: *** NLGETFNAME2: bad FileEquation FILE PAY01OK;DEV=LP1;CCTL Err:344 Parm:-20 *** 2) If I were to run the job in cron. It does not execute the COBOL program. The syntax to run the cobol program is : /opt/acucobol/bin/runcbl_AMXW805 -c /opt/amx804/NEWLA
Hi- After struggling for years with MapiLand and Outlook Security Manager in our Extend ACUCOBOL applications, we have decided to replace both with Outlook Redemption. It works very well with one exception: If Outlook is not actively running on the workstation, use of Redemption results in a Memory Access Violation Fatal COBOL error. Has anyone else had this issue and if so how did you solve it?#OutlookRedemptionMapiLandSecurityManagerEmail
Problem: Prior to version 9.2.0 the DATE data type was not supported by the Acu4GL for MSSQL interface. This was due to the fact that the Acu4GL interface used the older "SQL Server" ODBC driver which does not support DATE. In version 9.2.0 the Acu4GL interface was enhanced to add the ability to configure the odbc driver it uses. This is accomplished by setting the A_MSSQL_ODBC_DRIVER_NAME configuration variable. The documentation says to set A_MSSQL_ODBC_DRIVER_NAME to "SQL Server Native Client 10.0" which will support the DATE type. However when running against SQL Server 2012 this produces an error when attempting the initial connection: [1] IM002 27 - Data source name not found and no default driver specified Resolution: The Documentation was incomplete. The "SQL Server Native Client 10.0" driver can be used with SQL Server 2008, but for SQL Server 2012 you must use the "SQL Server Native Client 11.0" driver. Configuring accordingly will enab
Problem: Error 9D,515 is encountered on a write to a new MSSQL table. The error logged in the Runtime trace is: *** File system error value = 515 ****** Cannot insert the value NULL into column 'A4GLIdentity', table 'servername.dbo.tablename'; column does not allow nulls. INSERT fails. Resolution: The A4GLIdentity column is added to the table by the Acu4GL interface to provide better performance in cases where keys allow duplicate values. The addition of that column is controlled by the A_MSSQL_ADD_IDENTITY configuration variable. In this case the identity column was unexpected and the write resulted in an attempt to insert a null which is not allowed.The documentation for A_MSSQL_ADD_IDENTITY says this: "Note that the default value is True for a file that allows duplicates, and is False for a file with no duplicate keys." However, the documentation is incorrect. The actual default is "True" FOR ALL FILES regardless of whether or not they
Can anyone help me with the installation of Visual COBOL Eclipse on a Red Hat Linux 5.1 system. I can only find instructions to install on Red Hat 6.x. Thanks Bob
we applied the recommendation to start relativity in open server 6 with this shell: in /etc/rc2.d use S99relativity, : # more S99relativitybash /usr/bin/callrelativity /usr/bin/callrelativity # more /usr/bin/callrelativity#!/usr/bin/bashulimit -f unlimitedsu -c "/u/relativity/RUNACTIVE -w &" root Environment Hardware: HP DL380 G5, Intel Xeon Quad-core 2.6 GHz Processor, 4 GB RAM memory, 2 Disks 146 GB working in RAID 1.OS: SCO Openserver 6.0, Maintenance Pack 2.Filesystem Layout: All filesystems use vxfs which is large file aware and option is enabled in every storage filesystem. Application: RM Cobol application resides in a filesystem (different than root) which has a size of 15 GB and the size of application including programs and data is aprox 8 GB. Application is invoked using scripts loaded in each user profile. COBOL: COBOL runtime is version 11.01 and Relativity is version 12.04. Indexed file giving error code problem has a size of 1.8 GB and cannot grow,
Hi, how can I create an element like "<InstdAmt Ccy="EUR">6543.14</InstdAmt> with C$XML The Problem is the currency sign: Ccy="EUR" Has anyone else had this issue and if so how did you solve it? J.Reindl DKS München#cxml
i have a problem with a file of 1.7 GB of size, with 24,02 error , if change the parameter file-lock-limit = 3 on the file the error 24,02 is solved but when relativity dataserver try connect this file show 94,67 error how i can do the solution #RMCOBOL#Relativity
In Net Express 5.1 how do I get it to compile a COBOL program to connect to a given Oracle database, not eSQL, I'm using COBSQL? We have our code logic like such: EXEC SQL CONNECT :USERNAME IDENTIFIED BY :PASSWD END-EXEC. In the past, we used to set an IDE Environment Variable LOCAL with the value of the database name (SID) and after compiling, the program implicitly knew to connect to the proper database when it encountered the above logic. This is not working in this version of Net Express. I've searched through the documentation and find no hints of what to do to get this to work. I can successfully compile, but not debug the programs. These programs compile and connect to the correct database on the Unix server. I've been chosen to fix legacy prog
I have copied an old screen (via copy and paste) in NetExpress to make a new similar one, but how do I reset the version and block numbers? I can view them, but can't remember how to change them.
We are using AIX 7.1 using COBOL 5.1 Server Express WP8 If the vairaible is declared in linkage sectiion,on moving the value in the called program from alphanumeric field to numeirc fileds values get changed to numeric. for example value of QS0101 is changed to 130101 after moving Same code till earlier versions was not changing after moving alphanumeric variable to numeric field. Please suggest#ServerExpress
I want to activate the free product of COBOL for visual studio but I receive this message. Is it a problem with the registration ?. the download is correct. /Hans Error installing licences. Unable to install one or more of the requested license keys
Dear sirs, I can’t activate my Visual Cobol PE for Eclipse using the Serial Number 600000512346 given by Micro Focus or making a manual activation with the key sent by them, What can I do to fix it? I have tried using the License Manager but has been impossible, always report an error number 150. Please help me...
I also tried both the manual and automatic options to "activate the free product". Getting error: adding feature: Error[150]: The specified lock code is invalid. Chris, I've tried your advice but unsuccessful. Should I request support?
Will acubench read an existing working storage file (no acubench generated) and create the working storage section? Or do I have to manually create the working storage description? I have a Version 5.2 record layout in a file as part of the program. I want to import that layout into acubench so I can build a file viewer.
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.