Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
I created an application with ESQL using Visual Studio 2019 and Visual Cobol 6. Now I have migrated to Visual Studio 2022 and Visual Cobol 8. Since then, the menu item for starting the OpenESQL Assistant is no longer available. Who knows advice.
I am trying to connect with MS SQL Server using acuSql but I get:SQLCODE -1SQLSTATE 08001 01 servername pic x(30) value "(LocalDb)\\MSSQLLocalDB". 01 userid pic x(20) value "PCANDRE\\andre". EXEC SQL CONNECT TO :servername as C1USER :userid USING :passwd also tried withoud userid. Configuration: ACUSQL_RUNTIME_DLL asqlsrvr.dll However this works: sqlcmd -S (LocalDb)\\MSSQLLocalDB
I am trying to connect with MS SQL Server using acuSql but I get:SQLCODE -1SQLSTATE 08001 01 servername pic x(30) value "(LocalDb)\\MSSQLLocalDB". 01 userid pic x(20) value "PCANDRE\\andre". EXEC SQL CONNECT TO :servername as C1 USER :userid USING :passwd Configuration: ACUSQL_RUNTIME_DLL asqlsrvr.dll However this works: sqlcmd -S (LocalDb)\\MSSQLLocalDB#Other#SupportTips/KnowledgeDocs#SupportTip
Hi, I am trying to create a build pipeline for a simple cobol console app created using Microsoft Visual Studio. I have installed Microfocus Visual cobol and VS 2022 in an azure VM which I use as self hosted agent in Azure pipeline. While executing the pipeline , I am getting the error "The nuget command failed with exit code(1) and error(NU1101: Unable to find package MicroFocus.COBOL.Runtime. No packages exist with this id in source(s): NuGetOrg Errors in c:\\work\\1\\s\\DemoCobolApp\\DemoCobolApp\\DemoCobolApp.cblproj NU1101: Unable to find package MicroFocus.COBOL.Runtime. No packages exist with this id in source(s): NuGetOrg)" Am I missing any nuget configuration. Please note that the same app can be build successfully using VS 2022 when running in the same machine. Any help is appreciated. My actual target is to create Azure CI/CD pipelines for cobol program. Hence I am doing a small poc by creating a small cobol console app. Thanks, Jay#azurepipeline#Knowledgepartner
Hi - We are moving from NetExpress 5.1 to Visual Studio 2022/Visual COBOL 8.0 We have several program that use COMMIT TRANSACTION transname-name these compile in NetExpress but in Visual COBOL they error with COBES0100 Incorrect SQL statement syntax near: ONE We are compiling using the same COBOL.DIR. This the a setting, directive or something else that will get the program to compile without changing the code? Thanks
I am using Relativity to define ISAM file.Below is one such exmaple: File structure [EMPLOYEE] 01 Record-1. 02 EMP-ID PIC 9(10). 02 EMP-NAME PIC X(30). 02 EMP-DEPT-CODE PIC 9(3). Relativity Definition TABLE : EMPLOYEE EMP_ID DECIMAL(10,0) PRIMARY KEY NOT NULL.. EMP_NAME CHAR(30) NOT NULL. EMP_DEPT_CODE SMALLINT NULLABLE. When I am trying to INSERT Value. Insert query has only 2 columns. Insert query is failing for null value in EMP_DEPT_CODE. INSERT INTO EMPLOYEEE (EMP_ID,EMP_NAME) VALUE ("ABC","SWAP") My question : Is there a way to DEFAULT Value inserted into the column(s) not passed via Query? I saw Default Value column in File Definition portion of Relativity but it is not editable. Any help or guidance is highly appreciated. ### Above query is for reference only. Actual query has 100 columns. #Relativity#RM/COBOL
In Visual cobol eclipse, While compiling the cobol program XXXXX.pco , getting error as " PCB-S-00106, Unable to open INCLUDE file ....." This is the first time in my machine i am doing compilation.
I am looking for information on how to get list&label to work in our application. Does anyone have used this already and is willing to share the solution with me?
I want my display statements to be put into a file. I have set up compiler option on the COBOL screen. (I want to create COBOL.DIR but not sure where I should put it) Here is a complete list of the Additional Directive I have DEFAULTBYTE"00"COMPNOTRUNCMFNOADVAPOSTNOFLAGMIGNOBOUNDCONVERTPTRADDRSV"CURRENT-DATE"ADDRSV"TIME-OF-DAY"PERFORM-TYPE"OSVS"ASSIGN"EXTERNAL"OUTDD"SYSOUT"COPYEXT"CBL,COB,CPY"idxformat"8"nolistsql(dbman=odbc)omf"obj"P64 Now under the Application Environment, I have SYSOUT pointing to a file. With my OUTDD'SYSYOUT' in the compile directives and SYSOUT file I would of expected the displays to be written to my SYSYOUT file but there are not. Is there any other setting that I need to get the display written to my file? Thanks
I'm about to create a support case regarding this. Before I do I'm just curious if anybody has gotten this to work? On a clean Win10 install visual studio 2022, version 17.6.2 visual cobol 8 with PU07 oracle instant client 32 and 64-bit, versions 19 and 21 What I'm trying to do is this: Simple program using cobol and procob with oracle instant client Program reads db name, user name, and password from environment variables Connects to database Reads System Context Updates client info No other dependencies, only copy used is sqlca Before starting Visual Studio two directories are added to the front of PATH instantclient_xx_xx\\sdk - location of procob.exe, installed as c:\\oracle32\\instantclient_19_18\\sdk or c:\\oracle64 instantclient_xx_xx - location of oracle dll:s The solution is int/gnt, debug as console application Compiling isn't a problem. Procob is found, source code is OK. Setting up a 32-bit project and a 64-bits project. Testing four different instant
We are a batch system that is converting from NetExpress 5.1 to Visual Cobol 2022. When compiling we are getting errors with the file name and assign name being the same. This compiles without an errors in NetExpress. ENVIRONMENT DIVISION. CONFIGURATION SECTION. SPECIAL-NAMES. C01 IS H-O-F. INPUT-OUTPUT SECTION. FILE-CONTROL. SELECT G05 ASSIGN TO G05 FILE STATUS IS GT-STATUS ACCESS IS SEQUENTIAL. DATA DIVISION. FILE SECTION. FD G05 BLOCK CONTAINS 0 RECORDS LABEL RECORDS ARE STANDARD. 01 CODE-REC. The error is COBCH0005, User-name G05 not uniquethe error is on the SELECT G05 Assign to G05 line. Do we have to make the file name and assign names different or is there another way?
Hi I'm running into an error when using a cursor that fetches 0 results which results in an error and reports 'SQL error -9514 Invalid Cursor State)'. We are using the current SQL directives: SQL(DBMAN=ADO) SQL(BEHAVIOR=ANSI) SQL(CHECK) SQL(DB=CSISD) SQL(TARGETDB=MSSQLSERVER) SQL(DEF_CURSOR=RO) SQL(ALLOWNULLCHAR) Running from a Windows 10 VM to SQL Server 2016 on a Windows Server 2012 rd (soon to be Windows Server 2022). I've found that DEF_CURSOR is still valid as per the Micro Focus documentation however according to VS 2019 'Invalid directive. The selected directive is not valid for this version of the product'. Any ideas? James
We are using the Microfocus Database Connectors with Visual COBOL, and I am all of a sudden getting a 9D,00 Error when trying to run my program. It is like it can no longer find the Database? I haven't changed any of my settings in my script except the name of the Database and Aculock Database that the program is using. What is a 9D,00 anyway - I can't find that code in any of the error documentation. I see 9D,01 and higher.
I am trying to to add the Transparent-Color property to Push Buttons in AcuCobol-GT, Version 10. In the below screenshot, I would like the grey around the buttons to be transparent, allowing the blue to show through. I’ve attached a couple of the bmp’s that are currently in use. I’ve tried converting these to 16 color, 256 color and 24 bit bmp without success. I’ve also tried several different values for TRANSPARENT-COLOR in the push button display, using working storage values as well as the integer itself. 78 WS-TRANSPARENT VALUE x#c0c0c0. |Windows Gray 192,192,192 <OR> 78 WS-TRANSPARENT VALUE x#1000000. |BM-CORNER-COLOR from ACUGUI.def, as mentioned in the Acucorp doc). I've tried the following in Display Push-Button: TRANSPARENT-COLOR WS-TRANSPARENT <OR> TRANSPARENT-COLOR 1677
I've been scouring through the forums looking for information on this. We have a lot of Relativity tables and most of them work great without any errors. Sometimes we've run into problems like: Numeric item in key contains nonnumeric charactersNumeric value out of rangeNumeric item contains nonnumeric characters (this one happens on dates too!) This causes problems as I'm trying to SELECT * on a table and when an error happens, the ENTIRE query is halted (Relativity server on linux, connecting via unixODBC). I found a great post by Tom who explains how you can use the Relativity designer to create a function f(x) IsNumeric() or IsValidDate() to get around some of these errors. This has been a great solution so far - because while we intend to fix the programs that allow this bad data to get into the data files, we also really need something that can just query a table and get very row possible, excluding errors. Again, the programs that introduce these errors should and will be fixed
When doing a fresh installation of RMCobol 12.19 the install.sh fails to find the eula.txt. I see it in a subdirectory and copied it to the installation directory just incase it was a pathing issue but still install fails to get past that point. #Linux#RMCOBOL
Load error : file 'CBL_FN_INTEGER0OF0DATE_IBM' error code: 173, pc=0, call=1, seg=0 173 Called program file not found in drive/directory 12:52:56. Does anyone know what the file name is for this routine and in which folder does this date routine go? Also, much appreciated if you have a copy of this routine and can attach it to this request. Thanks!
Hi there,today we checked the installation requirements for MicroFocus Cobol Server 6.0 and 7.0. The supported OS version include CentOS 7 and 8 but not RockyLinux 8 or 9. Because CentOS 7 and 8 will no longer developed and will run out of support soon, is there any plan to support RockyLinux as a non official replacement for CentOS? Best,Thomas#CENTOS#RockyLinux#COBOLserver
Preciso consumir uma API a partir do Cobol Netexpress 4.0#Education-Training
I'm currently updating our current v2.3 Micro Focus COBOL instance with Visual Studio 2015 to v8 with Visual Studio 2019 and have had issues with installing FileShare. I've been able to run FileShare from a command prompt and have it running on server startup. The only issue I have now is that when I open a solution, I get the message "Error COBCH0942 Could not load assembly 'MicroFocus.COBOL.FHRedir.dll". Running the program and writing to a file is no issue, the data is written, and the file is closed. I'm just wondering why this error is showing.
When I try execute from IDE VCVS2019 a solucion, apear this message Execute cblms -Q and show me Micro Focus COBOL - Configuration Utility for the Microsoft Build Tools & SDK8.0.0.84 (C) Copyright 1984-2023 Micro Focus or one of its affiliates. Windows SDK location = c:\\Program Files (x86)\\Windows Kits\\10 version = 10.0.19041.0 Microsoft Build Tools location = c:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional version = 14.29.30133 How can I resolve?.
i don't find today 2023-05-27 the portal "Visual Cobol" in the alphabetic list of product Was this not sales on opentext? Thank for answer
We are in the process of implementing the 10.5 thin-client runtime. One of the difficulties is getting event data from a web page. Currently, we use an ActiveX control linked to Internet Explorer, so C$GETEVENTDATA provides what we need. We want to use WEB-BROWSER2 and get away from ActiveX. How do I get event data using the new browser control?
File status 9/041 (corrupt index) returned on non-corrupt file when write and open traffic high. Full article: https://portal.microfocus.com/s/article/KM000017407#SupportTips/KnowledgeDocs
For non-Windows server platforms, ie all the Linux style platforms is it possible to install separate RM/products on the same machine.If this is possible, how do you do it. Full article: https://portal.microfocus.com/s/article/KM000017517#SupportTips/KnowledgeDocs
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.