Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hello, while reading a text file from linux OS this error happens : file error 30,26 the file is located on a windows share visible through the linux 'mount'. can anyone help me? Thank you.
I am trying to execute query via python Getting error like: Driver not Capable. Any Direction or suggestion for resolution would be helpful. ('HYC00', '[HYC00] [Micro Focus][Relativity for RM]Driver not capable. (0) (SQLBindParameter)') My setup: Operating System: Red Hat Enterprise Linux release 8.0 (Ootpa) Relativity Client Version : 12.17 Relativity Server: 12.17 Python code: import pyodbcimport datetimeimport time conn=pyodbc.connect('DSN=xxxxxx;UID=yyyy;PWD=zzzz') Array=[]InsertQueue=[3,'xxx','uuuu','tttt'] cursor=conn.cursor()sql="INSERT INTO table VALUES (?,?,?,?)" Array=['A1,'A2','A3'] rowno = 0 for subx,item in enumerate(Array): InsertQueue[1]= item InsertQueue[2] = 'SSSS' InsertQueue[3] = str(datetime.datetime.now()) try: cursor.execute(sql,InsertQueue) except pyodbc.Error as e: print(e) conn.commit() conn.close()#RelativityODBC#Python
I am trying to run a program with a batch file. The program I am trying to run has parameters. How do we pass parameters from an Batch File in Visual COBOL? In RM\\COBOL you do it this way: -A="P" The command in my batch file to run the program currently is: "D:\\msi-plus\\MSI_PLUS\\MSIRUNCONSOLE.exe" UBMGHPGM
Hi, Has anyone worked on a project where you have written a COBOL code with similar specifications written below? If yes, can you share your experience on how good or bad this is compared to the traditional approach of embedding the SQL directly in the module?SPEC:Lets assume that we have a table called EMPLOYEE. and an application written in COBOL.Instead of embedding the SQL to access this table in every program that has to access this module, we create a sub-module that contains all the SQL statements. So whenever there is a need to access this table, we just call the sub-module with enough input.#DB2#COBOL
I see that VC 7 is now available. Is the PE available and, if so, where can I acquire it?
Windows 11 is being tested in the Windows Insider program by users. I tried to download a Visual COBOL student trial but it wouldn't download. It was probably because I was running Windows 11.
Hello I am trying to implement a custom Callable File Handler in C and have the handler to be invoked from a COBOL program. Please share any documentation or sample code on how to do this. #netexpress
Hello I am trying to implement a custom Callable File Handler in C and have the handler to be invoked from a COBOL program. Please share any documentation or sample code on how to do this. #C#CallableFileHandler#c
Hi, I need to make a program to send an .xml file to an entity. The example program is in VB and I'm converting it to Cobol. I have two mistakes that I can't get over. The first and most complicated is the use of what in the VB program is called "WEB REFERENCES". I have the files but I can't register them in the project. The other situation is in the conversion of the statement "Dim Buffer() As Byte = enc.GetBytes(xm)". Convert to "declare Buffer() as binary-char = enc::GetBytes(xm)" but gives an error "incorrect use of a reserved word". I've already changed the variable name and it continues to give an error. Thank you for your help in both situations. I send a print of the project in VB as an attachment.Best regardsAlberto Ferraz
we have participate in june 2021 on the webinar for VC 7.0! The release date was indicated for mid jul 2021? Is a correct date known? Thanks for answer/help! cg
Hi, Trying to uninstall Relativity Data Server to install it in a new PC, we receive an Error 0x2 received from Liant License Library. Test is The system cannot find the file specified. Error encountered in module code\\licmsinf.c at line 1683. Error comment is openByteStream failed on C:\\Program Files (x86)\\Liant\\Relativityv12\\DServer.def And after that: License Management Error Error 0x2: The system cannot find the file specified. UninstallLicenses failed Liant Relativity v12 Data Server Error 1722 Any ideas on how to solve this?
Uninstall of Relativity Server 12.15 fails and uninstall rolls back. DServer.defRelativity:Data Manager:12Relativity:Data Server:12 MSI (s) (98:DC) [08:20:47:671]: Executing op: FolderRemove(Folder=C:\\ProgramData\\RM\\Relativityv12\\,Foreign=0)MSI (s) (98:DC) [08:20:47:672]: Note: 1: 2318 2: MSI (s) (98:DC) [08:20:47:672]: Executing op: ActionStart(Name=LiantUninstallFirewallExceptions,,)MSI (s) (98:DC) [08:20:47:673]: Executing op: CustomActionSchedule(Action=LiantUninstallFirewallExceptions,ActionType=3074,Source=BinaryData,Target=-u -e C:\\Users\\J86E0~1.AUK\\AppData\\Local\\Temp\\FWCAB8.tmp -l "D:\\Relativity-Server\\AIW\\UninstallRelSrv1215.log",)Error -2147024809 received from 'Operating System'. Text is: "The parameter is incorrect." Error encountered in module code\\msifwfn.c at line 1256. Error comment is: UnauthorizeProgramInProfile failed: Profile=�MSI (s) (98:DC) [08:20:56:480]: Note: 1: 1722 2: LiantUninstallFirewallExceptions
Is anyone else encountering this issue? If so, how are you handling it?Some Windows updates are removing the registry settings for the COBOL programs. The screenshots attached are an example of how it looks when the settings are erased. The other image shows how it should look. The synonyms tab holds the path for the programs. Unfortunately, there is no way to determine which workstations will lose these settings. It does not seem to be associated with a particular version or build. In order to resolve, the ini2reg needs to be run and re associated with the runcobol.ini.
I am using Visual COBOL (V6.0) for Visual Studio 2019. I need to know how can my native Cobol app communicate with another REST API written in JAVA. Please help!
JDBC instead of XDBC with Vision filesHas anyone been able to use a JDBC driver instead of the XDBC driver for an interface integration from Vision files.
I want to create utility X. I want to call utility X in program A and program B. Program A runs, calls X, does work, then calls B. B will also call program X. This new X needs to start fresh and preserve state (file status, working storage) separate from the first instance. while B uses it. Eventually B will shut down X #2, and return to A, which needs X #1 to remember it's file state and working storage. The manual says that you only have one instance of X in memory, and therefore only state, unless it is called in two different threads. I don't want to run A and B as separate threads. I could run X in it's own separate thread, but then I cannot call that instance again, because it's now in a separate thread - I would have to send messages back & forth instead of using the linkage area to pass back & forth. Anyone know how to call a specific instance of X? (I was hoping the call would allow calling with thread handle al
I have a client running ThinClient on a Centos/Redhat Linux server. Unfortunately they were the victim of a ransomware attack and have been asked by their insurance carrier to implement a multi-factor authentication (MFA) system on their server. They product under consideration is DUO which is a PAM (Pluggable Authentication Module) compatible utility. As it stands, AcuConnect under Linux does not support PAM therefore I was wondering if anyone has had any experience adopting an MFA system in their operation and if so, what, if any products could be recommended. I already have a my own internally developed logon/access system for my application which would prevent unauthorized access but the vulnerability is in general shell access to Linux. Therefore some sort of hybrid may be in order Thank you in advance for any insights Thanks Joe Butera RMS SYSTEMS
In RM-COBOL Liant\\MicroFocus gave us a program to Print USPS Barcodes. (I have attached it to this question). Is there a way to do this with Visual COBOL? I have been trying to compile the program with the RM Directive AND nestcall - but I keep getting errors on routines like the one below. The error is it doesn't like the "count of bit-value". set cbt-char to char-inx perform varying cbt-bit from 1 by 1 until cbt-bit > count of bit-value call "C$LogicalAnd" using bit-value (cbt-char, cbt-bit), test-result call "C$LogicalShiftRight" using test-result end-perform bit-value is defined as 01 character-bit-table binary(1). 02 occurs 10 indexed by cbt-char. &nbs
I am trying to compile programs using the Windows Visual Cobol command line using the Oracle pre-compiler and getting the following errors; cobol srsw340.cob brief noanim ibmcomp nolist preprocess(cobsql) mode=ansi include=V:\\hpconv\\copy end-c comp5=yes endp; Micro Focus COBOL Version 6.0 (C) Copyright 1984-2021 Micro Focus or one of its affiliates. * Cobsql Integrated Preprocessor * CSQL-I-006: Rejected mode=ansi * CSQL-I-006: Rejected include=V:\\hpconv\\copy * CSQL-I-003: COBSQLTYPE is incorrect defaulting to Oracle * CSQL-I-018: Invoking Oracle Precompiler/Translator Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved. System default option values taken from: L:\\products\\oracle\\WINDOWS.X64_193000_db_home\\precomp\\admin\\pcbcfg.cfg Error at line 138, column 11 in file V:\\hpconv\\copy\\srsw340.cob  
Hello, I have an erp that we are migrating to the AWS services where the size does matter, we have several masters that are not very large so the default creation file type in the terminfo or windows.cfg is 2 but we have the Problem that the files that are being created remain like this and we have one that if we need to change the file type to 3 or higher, there is a way to change the file type when making the open output thanks for any guidance you can give me this question is for RM / COBOL 8#RMCOBOL#COBOL
Hi, We are new to multi thread environment, hope that can get some advise from all expert here. Currently we are plan to develop a multi thread environment as below. 1) Menu program(which is the main program) call thread for program A. 2) Then minimize Program A and open back the Menu Program. 3) from Menu Program call thread for Program B. 4) then minimize Program B and open back Program A and run data input. May i know how can we close the thread only when the Program A window is close. If the window is not close yet, any time we can open the Program A and do data input. at the same time, when we minimize Program A, we can called Program B and do data input as well. Thank You.
Hi, We are currently looking to work with multithread environment. We are able to start the multithread where we can call more than 1 program at the same time from the main program. But we are having the issue on the toolbar control. The issue we face as below. 1) from the main program, call program A, then minimize it. 2) go back to main program and call program B and minimize it. 3) go back to main program and call program C and minimize it. 4) open up the program A and try to click the button in the toolbar, it not function. Each individual program will have own toolbar. if we run the program individually not in the multithread environment, it works correctly. Only when we made it as multithread environment then the toolbar is not working correctly. Anyone have any idea on this issue? Thank You.
Hello, I have a question I have an ERP that must support client with runtime in the RM / COBOL version 8 object level 11 but we want to compile with version 12.14 we are reviewing the manual and it tells us that to generate the objects z = 11 but at the moment compiling the LST is telling us that the version of the object is 9, you can guide me with this issue RM/COBOL (Version 12.14) for 32-Bit Windows 06/30/2021 18:07:32 Page 3Source file: UCVE1081.FUE Options: E L Q R Z=11 Program Summary Statistics UCVE1081 Read only size: 181508 (X"0002C504") bytesRead/write size: 134802 (X"00020E92") bytesOverlayable segment size: 0 (X"00000000") bytes Total generated object size: 316310 (X"0004D396") bytes Maximum EXTERNAL size: 166 (X"000000A6") bytesTotal EXTERNAL size: 3074 (X"00000C02") bytes Source program used 8253 (1%) of 840000 available identifiers (T1C limit).Source program used 36902 (0%) of 8400000 available user-defined word space (T2B limit). Maximum compilation memory used was 9
hello, I use Netexpress 2.0. I need to make a web page accessing 'Microsoft Access data base' in a web server (Windows x IIS). I have studied the manuals and searched on the internet for finding out how to do this. My first question is: How a CGI program knows where is the Access data base in a web server ? Can someone help me, please ? thanks in advance Lima
Does Visual Cobol 6.0 work with MySQL 8.0.25? As per datasheet it is certified for MySQL 5.7 only. I am trying to migrate Web Services from Server Express / MYSQL Version 5.5.18 to Visual COBOL 6.0/ MySQL 8.0.25. While application managed Web services are working fine container managed Web services are falling over with sqlcode = -19703 on hitting the SQL statements. I have defined XA resource in Enterprise Server If anyone has experience in above please share #xa#MySQL
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.