Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
“Hello” from Russell Haile with DPC. Please allow me to ask for help. I’m working on a program. The attached copybook states: ******** FIREPEAT-OP-VAR-DATA ******** 05 FIREPEAT-FIELDS. 08 FIREPEAT-SUBFIELDS. 10 FIREPEAT-TXT-TITLE PIC X(00050). 10 FILLER OCCURS 15.
I work for a company that uses RM Cobol v10 with the WOW Designer v10.01. It references SQL Server 2012 using InstantSQL. Does anyone know if using RM Cobol and InstantSQL if you can call a DTS package or Powershell script? I know we can call a stored procedure but haven't ran across any documentation about calling a DTS package.#SSIS#RMCOBOL#SQLserver#InstantSQL
Hi there, This has been discussed here in 2014: community.microfocus.com/.../setting-environment-variables-prior-to-build Is there a better way now? We have PRINTER REDIRECTION=TRUE in a config text file pointed to by MF's cobcofig_ environment variable which we have to set on all client machines. Is there a better way, direct from the code? I'm looking for a global solution without changing our old print programs. MY ENVIRONMENT: Visual Studio 2015; Latest Visual COBOL V3; Windows clients running our application .exe with COBOL SERVER V3. I tried ticking, 'use variables when building the project' under, Project properties---Application---[environment...] but no joy. Maybe that just refers to the build process itself? Thank you, Linden
Usually compile with the following script on a unix mainframe (ccbl -Sp /icobol/gui:/icobol/acu:$CODE_PREFIX -SX ICOBOL -SI ACU -Cb -CIF -V -VHAX -DI -DZ -O $1.COB -E $1.ERR -LOI $1.LST -Ta 20000 -Tb 4196 -Zzna -Te 400 -Td 900 $2 $3 $4 $5 $PROG) Machine has died so I am using ACUBENCH (circa 2003) runtime 6.2.0, compiler version 6.2.0.1 with the following -o .\\object\\@.acu -x -Ci -Ga -Zd. I successfully compiled other programs. this 5 alternate key file however gives me a '9A' error. Any help would be appreciated. I clicked icobol compatibility box under compatibility options on compiler tab.
Hello, I need one more help converting these instructions from C # to Cobol. The purpose of the code is to send the ZPLString string to a printer where the IP is ipAddress. // Printer IP Address and communication port string ipAddress = "10.3.14.42"; int port = 9100; // ZPL Command(s) string ZPLString = "^XA" "^FO50,50" "^A0N50,50" "^FDHello, World!^FS" "^XZ"; try { // Open connection System.Net.Sockets.TcpClient client = new System.Net.Sockets.TcpClient(); client.Connect(ipAddress, port); // Write ZPL String to connection System.IO.StreamWriter writer = new System.IO.StreamWriter(client.GetStream()); writer.Write(ZPLString); wr
Doing a 'date' compare that has worked in the past. It is: if mpatpmrc-LineOfBusiness = 'HOM' or 'DWF' and w-compare-date-two >= w-auto-renewal-date next sentence The value in w-compare-date-two is '20170729' The value in w-auto-renewal-date is '20171001' nevertheless, it goes to next sentence! w-compare-date-two is a group field and w-auto-renewal-date is not. I tried changing both to group fields, and got the same result. Then I changed them both to primary fields, and got the same result. The values in hex look also show the w-auto-renewal-date is larger w-compare-date-two H"3230313730373239" w-auto-renewal-date H"3230313731303031" I have changed w-auto-renewal-date to '99999999&
Perhaps it is better to open a new discussion on the "not responding state". Situation: "main-program" (Menue) Call Thread "program-1" (window 1 with user-action) Call Thread "program-2" (window 2 with user-action) In a normal environment, I can start processing in "program-1" and switch to the "program-2" window or the "main-program" menu window during processing with no problems and limitations. In the Thinclient environment, it is no longer possible to switch to another window if a processing routine is running in the current window. If the mouse is clicked into another program window, the program falls into the "not responding state" until the processing in "program-1" is finished. If a progress dialog (for example w$progressdialog) is used, the window of "program-1" will e
One of our customers experienced at one of his clients a performance issue when working with thinclient: For example closing a vision file takes 11 seconds: 11:28:51.449726 /z2000/PPS4000/DATEN/DATEIEN/STIV50P.01: start not less, key 8 (thread 964)11:28:51.449733 >>>key 8 = '1HMUEN 000000000000000000'11:28:51.449757 >>>file status = 2311:28:51.449794 /z2000/PPS4000/DATEN/DATEIEN/STIV50P.01: close (thread 964)11:29:02.205736 Try loading '/z2000/PPS4000/PROG/PRMESSAG.WOB'...11:29:02.206273 /z2000/PPS4000/PROG/PRMESSAG.WOB loaded The same statements at another computer takes only 1.2 seconds: 11:33:43.384954
Hi, We have developed a C# dll and are using it with acutonet. We use NetDefGen to get the .def, and there is no problem when we run it on a local drive. But when we run it on a shared drive, next message is shown in declarative section: Request for the permission of type 'System.Security.Permissions.StorePermission, System, Versión=2.0.0.0, culture=neutral, PublicKeyToken=b77a5c61934e089' We are running Extend 8.1.3.1 in a Windows 10 system. The c# Project is compiled with framework 2.0. We generate the XML that points where the dll is, in a local folder (c:\\) Any ideas?? Thanks!!
Good Morning, is there a way to disable the cancel button or to prevent canceling the w$progressdialog? dkl
Hi there, I have questions re. upgrading from VC 2.3.2 to 3 with mf dialog on VS 2015 community edition (1) Can you clarify, is there a VC version 3 add pack for MF dialog system or is everything included? (2) To install VC do I need to uninstall 2.3.2 first? Same question cobol server 2.3.2, addpacks and hotfixes on our production machines? (3) Would you recommend upgrading at this point or should I wait until after the first hot fixes have been released? Is 3 considered stable? Thanks, Linden
When I convert my netexpress project to VC, none of my .GSs are attached to the .dlls they belong to. Do I have a conversion parameter incorrect?
We have both native COBOL and Visual COBOL projects that access ISAM files. A friend of mine who is an ACUCOBOL developer used Acu4GL to turn ISAM files into database tables and then access them as a relational database. The COBOL code didn't change but behind the scenes Acu4GL turned read and write statements into sequel queries. Also, when a file was opened output, Acu4GL would create a database table instead of an empty ISAM file so he didn't have to spend a lot of time defining database tables. We are looking for a similar product that will work for Micro Focus COBOL. Our application uses about 200 ISAM files, a number of which have multiple record formats, and we are looking for a way to convert them to a database without too much work. Once converted, we want our COBOL read, write, etc statements to be interpreted as sequel queries without having to make code changes. We're looking into Micro Focus Relativity, which might be an option, but it uses ISAM files and
Java SQL AcuXDBC error dbChannel exception NET version mismatch host 2000400 client 400
I have a old application in Net Express 3.1, how can I get it into Visual Cobol 2.3.
I have been working with the WOW Designer v10 for 6 months now and have just gotten this error message. Where do I find this key and how do I correct it?
Hello: Can someone help me and translate these two C # instructions to Cobol? _NuxIO.ValueEnteredEvent = new NuxIO.ValueEnteredEventHandler (OnValueEnteredEvent);Private void OnValueEnteredEvent (object sender, ValueEnteredEventArgs e){If (e.Type == 2) ListBox.Invoke ((MethodInvoker)) => listBox.Items.Add ("IP:" e.IPAddress "RS232:" e.Value)));If (e.Type == 3) ListBox.Invoke ((MethodInvoker)) => listBox.Items.Add ("IP:" e.IPAddress "I8 Activated")));If (e.Type == 4) ListBox.Invoke ((MethodInvoker)) => listBox.Items.Add ("IP:" e.IPAddress "I7 Activated")));} Thanks Alberto Ferraz
Is Visual COBOL PE available for Visual Studio 2017 Community Edition?
Created On: 27 April 2012 Problem: InstantSQL is included with the RM/COBOL Development System v12 , and, it provides ODBC access for your RM/COBOL application. However, we do not provide a "How-To" guide for this product. Resolution: Attached to this Knowledge Base article are an InstantSQL sample program(isqlexample.cbl), and, the InstantSQL help files(isqlhelp.zip). To use the InstantSQL help files, you will need to extract the attached archive, isqlhelp.zip, and, then, open the extracted HTML page, index.htm. The copy books necessary to compile the InstantSQL example program are located in the "InstantSQL" directory of your RM/COBOL installation. You will need to add this location to your RMPATH environment variable in order to compile the program. To execute this sample program, you will need to load the InstantSQL Runtime library (lisql.dll or libisql.so) located in the "InstantSQL" directory of your RM/COBOL installation. For example:&
Hello, I need to make a request, send information in Json and get the returns of this request someone has an example. I found it in C # but this is difficult to translate. To tell you the truth I need to access a payment platform that communication is in Json https://vindi.github.io/api-docs/dist/Translated by Google. Olá, eu preciso fazer uma requisição, enviar informações em Json e pegar os retornos que desta requisição alguem tem um exemplo. Encontrei em c# mas esta difícil de traduzir. Pra falar a verdade preciso acessar uma plataforma de pagamento que a comunicação é em Json vindi.github.io/.../ Traduzido pelo Google.
Hello, i am trying to call my cobol program. Using RunUnit, it works: RunUnit runUnit = new RunUnit(); runUnit.Call("MyProgramm"); Using RuntimeSystem, it doesn't work ("programm not found"): RuntimeSystem.cobcall("MyProgramm", pl); Whats the differnce between RunUnit and RuntimeSystem ?
Hello, I am trying to execute a simple cobol program using 'com.microfocus.cobol.RuntimeSystem'. public void exampleCall() throws Exception { ParameterList pl = new ParameterList(); int result = RuntimeSystem.cobcall("simpCob", pl); System.out.println("----------------------> " result) ; } Accessing RuntimeSystem , I get the following error (on windows): java.lang.UnsatisfiedLinkError: C:\\Program Files (x86)\\Micro Focus\\Net Express 5.1\\Base\\Bin\\CBLJVM_SUN.DLL: Can't load IA 32-bit .dll on a AMD 64-bit platform Running the same on AIX I get: Running de.lv1871.vvs.CobolRuntimeAdapterTestMicro Focus COBOL Runtime Support for Java is preventing this application from executing because an internal Java property is not setup. Reason: Application should use "cobjrun" to execute this application instead of the default "java" trigger What does i have to set up ? Many thanks in advance ! ---------------------------------------------------------------------------- My dependencies are:
is it possible with visual to Import json-data/files simply? Or must we have separate Tools? have MF a Little examples in Cobol? thanks for each help!
I'm a software developer and consultant. I have an old client that is running a system developed in RM/COBOL (I did much of the development) that I would like to move to a Linux distro. They are currently running on SCO-Unix (version 5.something) using RM-COBOL-85 ver. 2.02.04 runtime. I did a "strings" command on one of the object files and it looks like they are compiled using RM/COBOL-85 2.02 for I-80386 Xenix V. The last compile date was in October of 1989. They access the application using terminal emulation from their desktop PCs. I'm trying to find out what tools I need to do this. I understand that the most recent version of the compiler is RM/COBOL v12. The customer does not need to make any changes to the application, I just want to move them to an environment that is more stable than a twenty-plus year old opsys running on 18 year old hardware. It would not surprise me if all I needed was a current runtime. By the same token, it would be reasonable if I need to recompile the
Good day, How to setup a CSS and run with gateway?
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.