Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Symptoms The background is that a customer is trying build a Pro*COBOL application with the COBSQL preprocessor using ED/VC 6.0 in Visual Studio.The following problems were reported: Copybooks with .cob extension via COPY statement were not recognized by the compiler.e.g. COPY FRED. Copybooks with .cob extension via EXEC SQL INCLUDE were not recognized by the COBSQL preprocessore.g. EXEC SQL INCLUDE FRED END-EXEC. When running Pro*COBOL applications, RTS 173 error occurred: SQLADR not found Solution For 1., customer misunderstood that the values “.cbl,.cob,.cpf,.cpv,.cpy” in “VS->Tools->Options->Text Editor->Micro Focus COBOL->Advanced->Copybook extensions” applies to the COBOL compiler but in fact, that value is only recognized by the Text Editor. In order for the COBOL compiler to recognize .cob extension, the COBOL compiler directive “copyext(cbl,cpy,cob)” must be used. Also, the COBOL copybook Paths must be set correctly in the Project Settings. For 2., EXE
HelloI would like to use the CBL2XML tool, to convert the attached XSD schemas. I have tried to use the versions included in Visual Cobol 6.0 and Net Express 5.1.19 in the 32 and 64 b versions from the CMD and also the wizard version CBL2XMLWZ.exe, and in all of them, it crashes, does not generate the cpy on demand, and forces to close the session. In the past with NE 5.0 versions I remember that CBL2XML did work.From the command interface, I try to run CBL2XML according to the help, and it always crashes, and does nothing.For example."D:\\Program Files (x86)\\Micro Focus CBL2XML.exe" -c tbai12.cpy -p -noprompt -nocountin -uniqUE "TICKETbAI V1-2.XSD"Micro Focus CBL2XMLCopyright (C) Micro Focus 1984-2020. All rights reserved.Checking TICKETbAI V1-2.XSD for errorsValidating TICKETbAI V1-2.XSD for well-formedness.And it stays permanently validating, until the session is closed.can you inform me, how should I proceed.Or if CBL2XML does not work anymore...Thank you. 
I am currently testing AcuToWeb 10.4 with my application.It’s a fantastic feature that opens up unlimited possibilities with respect to mobile computing and it is working just fine with may application. There are just a few hic-ups that I'm sure the developers can rectify.But, please get it working and certified for IOS so our AcuCobol applications can execute on tablets and smart phones. (Specifically iPads and iPhones).Thanks
I am having issues creating an variable length records for a file I am exporting out of my program.My issue is that the Carriage Return and the Line feed are not showing up in the correct spot in the record.When I would make this file in RM COBOL - It allowed me to use an Line Sequential File layout, and records that had spaces at the end (that are supposed to be there) were NOT truncated.Now, using the same exact code with Visual COBOL, the records that have spaces at the end of the record, the Carriage Return\\Line feed is being placed at the end of the last character in the record (the way Line sequential files are SUPPOSED to work)I've changed my file layout to be Record Sequential, but now i'm getting Garbage at the front of every record.How do I make this file work?? I've tried EVERYTHING!
Hello,I have a new project which is to communicate with a currency payment device. Communication is through JSON and I never programmed with this tool. I would like to get your help on this project.I attach the document that the supplier sent me with an explanation of the process. I also send the complete documentation of the supplier.Follow the link to access the ALICE Integration Pack. ALICE Integration Pack Password: Alice4Cash In order for you to have as much information as possible on how to perform the functional integration with ALICE, in the pack we send you can find all information related to the Web Service (alice_ws_doc), as well as ALICE simulator software (AliceSim) and a POS software simulator (AliceClientDemo).I am waiting for your help. Thanks.Best regardsAlberto Ferraz#lol
I am trying to access .NET class properties/methods from ACUCOBOL (Micro Focus extend runtime version 10.3.0)I have built and registered my .dllI have used NetDefGen to extract the access points in the .dllWhen i try to Create my Object in acucobol it returns a zero handle CREATE "@myAssembly" NAMESPACE IS "myStringer" CLASS-NAME IS "Stringer" CONSTRUCTOR IS CONSTRUCTOR1() HANDLE IS MY-NONGUI-HANDLE.Attached source and batch files to build the projectAny help is greatly appreciated
I have just completed an installation of Visual COBOL for Eclipse and trying to compile and run a program. It compiles fine but gives this linking error. I assume it is some additional library or path that is not correctly configured. This is running on Windows 10. This is a simple test program from a class. The only thing different is it uses a sequential file that I can see.Here is the link stepcobol.link.cfg.New_Configuration:[cobollink] Linking (64-bit) CarSales.exe...[cobollink] Micro Focus COBOL - CBLLINK utility[cobollink] Version 6.0.0.69 (C) Copyright 1984-2020 Micro Focus or one of its affiliates.[cobollink][cobollink] ERROR: (11) Cannot find C runtime library[cobollink] Link complete with errors[cobollink] Program ListingIDENTIFICATION DIVISION.PROGRAM-ID. COMPUTEVERBS.ENVIRONMENT DIVISION.INPUT-OUTPUT SECTION.FILE-CONTROL.SELECT CARSALESFILE ASSIGN TO "CARSALES.DAT"ORGANIZATION IS LINE SEQUENTIAL.DATA DIVISION.FILE SECTION.FD CARSALESFILE.01 SALESDETAILS.88 E
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?
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.