Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Hi Must move server express on Solaris to Visual Cobol on RHEL 7.9 . how much Visual Cobol is different from Server Express 5.1? Thanks Shraga
Which runtime modules from VC7.0 and VS2019 must be given to be able to run the project on a other computer? a) with only dialog system screensets (without using dotnet), a project convert from NETX5.x b) later when using dotnet screensets There are many users wanting this information! With NETX5.x only 33 files (lbr, exe, dll, gnt) must be copied to the compiled programs. cg
Hi, I have a new challenge for which I ask again for your help. I have to develop an interface via tcp and for that I need to send an information package and receive feedback information. I have documentation from the vendor that I send in this post. community.microfocus.com/.../alicepad_5F00_protocolo_5F00_1.0.0.pdfBest regardsAlberto Ferraz
when i import a project i can see in the new generated lbr, also *.gs and *.cbl, but on netexpress we have separate *.gs and *.cbl files. But this is only for the first lbr, all others are correct! Do you have any "bugs" by importing from netx5.x? Thanks for a good discussion, helping all MF-Customer!!! cg
Hi, We are currently using HP PCL to print our label and we have generate the barcode as a image file. May i know how can we print the barcode image file into our label, so that our label can have the barcode as well. Thank You.
i have work only with dialog system and have many problems to adapt me on Visual Studio to create professional screensets. Who want exchange his experience and screensets, data must be store in mssql-database, sql is not the problem. I have show the examples from VC7.0, but there is nothing new. Is it possible to buy a separate tool for a easy way to start quickly? Thanks for help or information! cg
Hi, A vendor sent me a DLL to interface with an IOBoard. It turns out that I've "registered" the DLL in the project's References but I can't use its functions because they all say they don't exist. I can't even see the features in the object browser (as I can see the other DLL's). I've been looking at the original C# project that the vendor sent me and they have a class where they have the functionalities defined. I don't know if this will be the solution. I've also tried converting the instructions of this class but it gives me an error. What they have is: [DllImport("C:\\\\Users\\\\utilizador\\\\Downloads\\\\DLL_AcronymV4\\\\DLL\\\\Acronym.dll")] public static extern int CloseTerminal(ref object vTemplate); After conversion give me this: method-id CloseTerminal (reference vTemplate as object) returning return-value as binary-long attribute DllImport("C:\\Users\\utilizador\\Downloads\\DLL_AcronymV4\\DLL\\Acronym.dll") static
Have been running for many days in this environment without an issue and suddenly today at about midday 9D11. Have restored and still get the same. Help please !
In Netx5.x is was possible to define a dll the contains all icons and call this *.dll and all icons can be used in all programs With VC7.0 (may be other VC-versions) it is not more possible! Is this a bug or wanted? Yes, it is possible to select "Do not compile", but then there is no file icon.dll and this module can not be called! Why is this not possible in VC? Thanks for help or information! cg
it is very important to anderstand the new structure for VC7.0 (also older versions) My project is under c:\\cobol\\cbl c:\\cobol\\cblc:\\cobol\\cbl\\Properties -> VC7.0 the properties folders contains information used only by Visual Studio when required c:\\cobol\\cbl\\bin\\x86 -> VC7.0 output folder for x86 (defined in project) c:\\cobol\\cbl\\bin\\x86\\debug -> VC7.0 output folder for x86 - debug (defined in project) c:\\cobol\\cbl\\bin\\x86\\debug\\out -> VC7.0 (optional) create manually for copying the needed own runtime modules for debugc:\\cobol\\cbl\\bin\\x86\\release -> VC7.0 output folder for x86 - release (defined in project) c:\\cobol\\cbl\\bin\\x86\\release\\out -> VC7.0 (optional) create manually for copying the needed own runtime modules for releasec:\\cobol\\cbl\\bin\\x64 &nbs
Hello, We are using VSC 6.0 with VS2019 and compile directive TRACE along with outdd to find out where our cobol code is slowing down sometimes. We get each paragraph or section heading as it is executed but we would like to see if we can get a timestamp with it, so we can see where the code slows down. I have looked at CTF Tracing, but it does not seem to give the same information as above. Any pointers would be appreciated. George Sinclair
How does one actually BUY Visual COBOL? Do you have to contact Micro Focus or is there an online (or even offline?) form you can fill out, pay the relevant fee and get a license?
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.
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.