Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
We have a large number of Cobol jobs running on AIX that connect to a Sybase database. Our company is migrating that database over to SQL Server so we'd like to pick the best migration path for these Cobol jobs. So far, we're looing at two options:1. Use an 3rd-party ODBC driver. Is anyone doing this? If so, what driver are you using and what advice do you have? We're not sure which driver to use (Microsoft does not provide an ODBC driver for AIX). We're an enterprise company so we need driver software which is supported (e.g. - by a vendor).2. Compile all of our Cobol jobs as Java and then use a JDBC driver (which Microsoft does provide). In this case, we're worried about the impact this would have on our AIX server. If we convert all of these jobs to java, will that result in higher memory or CPU demands on the box? Are there any other things to watch out for?
I am attempting to convert an application written in Net Express 5.1 to Visual COBOL 3.0.Mostly everything is working fine apart from the following issue.When this code is executed, built from NE 5.1.CALL MEN-CALL USING MEN-PARAMCANCEL MEN-CALLIn this case the CALL adds the called .dll to memory, which can be seen in a process explorer under the application. The .dll is also locked in its folder, stopping it from being deleted or moved.After the called program has been executed and returned with GOBACK. The CANCEL command removes the called .dll from memory. Which can be seen when running a process explorer. The .dll is also not locked in its folder and could be deleted or moved, with the main application still running. However, when the code is executed, built from VC 3.0.In this case the CALL adds the called .dll to memory, which can be seen in a process explorer under the application. The .dll is also locked in its folder, stopping it from being deleted or moved.After the
Hi I am getting the error 173 - Called program file not found in drive/directory SQLADR when running the simple cobol. I included the below command of Additional Directives of Project Properties as my database is Oracle 19c Enterprise Edition 64 bit. I am using Micro Focus Eclipse for Windows.p(cobsql) CSQLT=ORACLE8 MAKESYN VERBOSE KEEPCBL END-C p(cp) ENDP ENDP litlinkAlso I linked the file Orasql12.lib file through Project Properties > Additional Link files. I am new to Micro Visual Eclipse. So I followed the instructions in MicroFocus website. But I am still getting the error. Please let me know if i am missing anything. Thanks in advance.
I am trying to convert a C# sample (ftp from AlexPilotti) to AcuCobol, but the second part is not clear to me.Maybe someone can help me with this sample. https://archive.codeplex.com/?p=ftpsusing AlexPilotti.FTPS.Client;using AlexPilotti.FTPS.Common;using System.Net;class Test{ public static void Main() { using (FTPSClient client = new FTPSClient()) { // Connect to the server, with mandatory SSL/TLS // encryption during authentication and // optional encryption on the data channel // (directory lists, file transfers
Hello everyone. We had to move our network drive from Win server 2003 onto Windows 2008 recently and during that move, the user that are on windows 7 are now getting a Runtime error 09/013 when trying to print. Before the move, they were able to print without any problem to a network printer or a local printer (LPT1)However I have a few workstation that are still on Windows XP and they are able to print just fine. The cobol program was all done in Netexpress 4.0 First I would like to mention that I am not a expert cobol programmer however can compile and resolve issue within cobol. At any rate, I am curious why moving data from Windows Server 2003 to Windows 2008 would cause this kind of issue?I have read this thread in regard to this error /cobol/enterprisec/enterpriseserver/w/wikiid-118/34930/runtime-error-9-013-when-attempting-to-print-to-lptn-where-the-physical-printer-port-is-mapped-via-a-net-use-statement-on-windows-7however if the user were able to print before on
We are migrating our programs from RM COBOL to Visual COBOL, and in our RM COBOL software we use WINPRTMS.DLL to print out barcodes.I was told that this was an RM COBOL dll. Is there anything like that for Visual COBOL that I can use?
What I am trying to do : Trying to Install Relativity Server on 64 Bit Linux Machine [Operation System: RHEL 8.0].Getting Below error:Linux 64-bit system detected. However 32-bit support is not detected.Check System requirements in product documentation. Contact Micro Focus Support if unable to resolve.Seems some important 32 bit libraries are missing. Can you please provide list of 32 bit linux libraries needed for Relativity server ?
The environment is a linux debian server running acurcl and workstations (Windows 10) using acuthin.We have a customer using shortcut keys heavily instead of using the mouse. Occasionally, the keyboard stops working and the session appears to be locked. This even applies to the ESC button. But using the mouse to click on any button on the screen brings the program alive again, and all missing keyboard presses are received. The shortcuts are used mostly on push-buttons.Has anyone experienced anything like this? Any suggestions on what to do? Is this a known problem in 10.3.1?
I am trying to connect to MSSQL (2019) with Visual Studio 2019, with the full trial of Visual Cobol. not the PE. As i was told it has limitations, maybe SQL connection being one of them, i dont know..Anyways would like to connect to an MSSQL database, run a query, that will fetch report data. Then try and i guess read it into tables, and chunks at a time, not sure if VC helps with that, at EOF, if that exists in SQL want to display the data.1. How do you do the connection.2. Reading into tables. in chunks, how do i preallocate the tables for the chunks of data.I know there are videos, but so far those videos are dated. Have not found one step by step video, to show the steps.not showing off, but if its any help, im a both an expert in COBOL and also in MSSQL so i just need to in between part with MF VC. So i know cobol tables inside out, even on a very high level, and i know tssql, with all aspects of the select statements. Joins, SQL REPORTING SERVICES etc. thanks.
I'm using Visual Studio 2019 Visual Cobol and I have problems accessing sequential files. When I try in the program to open a Sequential/line sequential files, with variable record length, the data accessed is not from the opened file but of another file created in previous runs. They are like ghost files. So there is no way I can access existing sequential files. Also, I created sequential files under VS, using internal data and it works fine, but then these files cannot be accessed (file not found) by another external program. Jan 26, 2021: PROBLEM SOLVED thanks to the help of this Community's users. Origin: Use of Spaced Directory names(Windows platform). Two solutions:1- Do not use blank spaced Directory names, e.g: NO: "D:\\File1 part1\\......\\filename". (blank spaced)
Hi all,I am trying to send emails by using an outlook object, I am facing the following problem:I want to use the SendUsingAccount property which allows me to sellect the sender account:In brief my program looks like this:77 H-Application handle of @Application.77 H-Accounts handle of @Accounts.77 H-Account handle of Account.77 W-Var-_NameSpace handle of @_NameSpace.77 OUTLOOK-HANDLE HANDLE OF APPLICATION.77 MAIL-HANDLE HANDLE OF MAILITEM.CREATE APPLICATION OF OUTLOOK HANDLE IN OUTLOOK-HANDLEMODIFY OUTLOOK-HANDLE, CREATEITEM (OLMAILITEM) GIVING MAIL-HANDLE inquire OUTLOOK-HANDLE @Session in W-Var-_NameSpaceinquire W-Var-_NameSpace @Accounts in H-Accountsmodify H-Accounts @Item (2) Returning H-AccountMODIFY MAIL-HANDLE @SendUsingAccount = H-AccountThis command seems to do nothing, always the primary/default account is used.I searched many forums and it seems that (by using regular VB code) the correct command is:set mail_object.SendUsingAccount=account_objectI believe "MODIFY
Hi,I've installed the extend 10.3.1 32/64 bit versions. In the 32bit version lib directory (C:\\Program Files (x86)\\Micro Focus\\extend 10.3.1\\AcuGT\\lib) there is a console application solution (crun32.sln) but there doesn't appear to be an equivalent in the 64 bit lib directory. I was wondering why this is and if a 64bit console application is possible?
PROBLEM Excel and Power BI, downloaded from the Windows Store, do not connect to AcuXDBC. They give an error, even when the PATH and GENESIS_HOME variables are set correctly: DLLLOAD: acuxdbc04, The specified module could not be found. SOLUTION Windows Store apps (UWP: Universal Windows Platform) runs in an AppContainer security context. "Win32 desktop apps" on Windows Vista or later run as "Standard User" or as "Administrator". UWP apps have less access rights than "Standard User" and can never run as "Administrator". UWP apps can request additional capabilities to get a few more rights with permission from the user but have limited access to the system and user data. For example, they cannot read most of the filesystem, only the installed location, an isolated application data folder, and an isolated temporary file folder. See File access and permissions (Windows Runtime apps) This means that even if the bin directory is set on the PATH, so that the AcuXDBC DLLs can be found,
What would be the best way to read next and/or previous row in an SQL database using the “SELECT” statement in Managed COBOL? For example, suppose I have the following table and whereby the key is “Name”: Name AgeJohn 20Jane 25Rob 30 Is there another statement besides the “Select” that would be more appropriate? Thanks in advance for your help.
We have the Visual Cobol IDE running on our Windows desktops but our Cobol programs run, via Dev Hub, on a remote server (in our case, an AIX server). The challenge we face is how to integrate our source code repository, Rational Team Concert, with our IDE. Typically, we set up Eclipse to have a local workspace on our computer desktop and that workspace is what Rational Team Concert is using to keep our files in sync with source code control. But, with Cobol running on AIX, the project files need to be on the remote box which, of course, isn't where Rational Team Concert expects them. Our current solution is that our developers, via the Visual Cobol IDE, manually "drag" (or copy) the files between the Rational Team Concert-controlled workspace and the remote project area on the remote server. This isn't ideal! Is anyone using Visual Cobol with Dev Hub while using a source code repository? If so, how have you integrated them to work t
We've been on PeopleSoft since 2004 and have the MicroFocus compiler/runtime for our Linux platform. The area I support, Student Financials, has nearly a million lines of Cobol code. Since 2004 management has allowed me to also install MicroFocus Cobol 3.1 for many years, then 5.1, now Visual Cobol 4.0 on a Windows 10 machine. This has been excellent and has allowed me to debug line by line the code that is executed on the Linux platform. For instance, the Tuition Calculation is composed of 30 Cobol programs 10 levels deep. I've always been able to connect to the Oracle database, sign in, and debug any program. It's been a learning curve to figure out Visual Studio, but I'm able to compile our Tuition Calculation Cobol stack and begin debugging it. PeopleSoft manages access to the backend database by Cobol subroutines, being able to use Oracle, DB2, etc. The PeopleSoft subprogram, PTPSQLRT.cbl, is respon
Hello,We run our application on Linux accessing local directory resources.Currently we decide to use some shared directory resources on a NAS but when we run the program and we try to open files on the directory in the NAS we are getting this file status error: 9/065 or 9A.Can anyone help to understand what can be happening?Thank you.
How do i resolve this issue?
Linux has libvision.aWindows has avision6.libWe have an acucobol application, which maintains many data files. Have an idea for an external application, and the easiest way to interoperate would be to access the vision files directly. How do I use those libraries from another language, in order to open/read/write/etc vision files?
Well since i,ve been asking questions about a simple setup, the answers i have received have been very dismal. Go watch the videos. This is like telling a new Stealth Fighter pilot on how to use the Aircraft, to go read up on the Wright brothers page on how to fly a plane. Things changed since those videos, and if you cant get hold of the version of Eclipse with that version of Visual Cobol, you cant follow along. And we should you, there are now major revisions to both of these programs. So here is a simple request, from whomever, A video for beginners, in Micro Focus, how to install it correctly, try and follow the latest manual out there, the one i followed on how to install it, how it works with one of the later versions of Eclipse, not the Europa version, and how can you access input and output files in Eclipse with the VC Editor, what has to be setup where. Just basic information. Next time you tell someone to watch the videos and get with the program, see if maybe they are
Hello,I need to calculate the CRC code to a 36 position alphanumeric field, applying the crc8 algorithm. Is there any example in COBOL for NetExpress or VC?I have tried, from several examples in C#, to generate a cobol program, using the C# to MF COBOL converter from https://cs2cobol.microfocuscloud.com/, but the sources that generate give problems.
by build in vc6.0 we can see:xyz successfull or actual, xyz errors, any skipped (Translate from german vc2019)How to find the skip files?thanks for answer!
Need Help from Someone to Get Alfred Code to Compile. I want to make a few Minor Changes to the program, But I am confused at best in how to get this to compile. I currently have a old Editor from UNICON and I use Acubench also. I don't really know how to get Alfred to compile via Acubench. I am open to anybody hopping on my laptop\\PC and getting this up and running. I have read the README.txt but makes no sense to me.
I'm running Micro Focus Enterprise Developer and can't seem to get it to recognize the directory where all my data files(.dat) are. I'm running a PowerShell script that sets up an environment variable, i.e.; $env:dd_MYFILE = "MYFILE.dat" In the script I also try to set COBDATA, before running the batch program,i.e.; [Environment]::SetEnvironmentVariable("COBDATA", "c:\\data", "User") Then I run the batch program that opens this file but am getting an error 35 in the file status after the open. In the COBOL, the select looks like: SELECT MYFILE ASSIGN TO "MYFILE" ORGANIZATION IS INDEXED If I change the PowerShell script to the full path, i.e.; $env:dd_MYFILE
I have been able to LOAD a COBOL DLL - using com.microfocus.cobol.RuntimeSystem.cobload(xxx.dll) - from inside of a Spring Application that is running in a JBOSS or WAS Server when using version 3.0 of Visual COBOL or COBOL SERVER runtime in a Windows environment and using OpenJDK 1.8.0_265.In addition, after the LOAD, I was successfully able to execute the COBOL DLL with a call to com.microfocus.cobo.RuntimeSystem.cobcall("PROGRAM_ENTRYPOINT", params).I have now upgraded to version 6.0 of VCE and COBOL Server and get the below message on Windows when attempting the LOAD itself - not got to cobcall as yet:"java.lang.UnsatisfiedLinkError: COBOL Runtime - unsupported JVM"I am also attempting for the first time, to compile to SO (Unix) and LOAD the same on the App Server (JBOSS) running on Linux where I get the below message (compiled and linked via Dev Hub):"Application should use "cobjrun" to execute this application instead of the default "java" trigger.Question: How would you call a D
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.