Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
I have relativity installed on a Windows 7. I am having a problem with <filler> when doing merge. It is treating fillers like they are new fields but since that are not in the catalog it has no place to resolve the issue. I had relativity installed on a Window xp and I never had this problem. My windows 7 is a new pc so my relativity was a fresh install. I didn't do the install and the man that did do the install is not here no more. So I do not know how everything was installed.
I have a COBOL program that opens a window and hosts a NET UserControl component, which has been declared in the Screen Section. I would like to allow the user to press the ESC key and have the program close. I have tried to capture the key in the NET component, but it looks like control goes directly back to COBOL and bypasses any event handlers in the component completely. I am OK with that, as I wanted to handle it in COBOL anyway. I started with a delegate event handler, as shown in AmortControl, but when I found that the key was not being captured in the component, I removed the event handler since there was no way to fire it. The problem I have is that when the exception is caught in the screen accept statement, and I proceed to evaluate the value, it is MSG-VALIDATE. In other screens of the COBOL program, the ESC key (pressed in COBOL) closes the currently running program. I am unsure where MSG-VALIDATE came from. I ran AmortContro
We have a COBOL program that we use to send emails from our system written in COBOL. It uses SMTP to link to email servers via a Socket using C$SOCKET and works well. We even send binary attachments using base-64 conversion. Now this works fine and was based on the example program sendmail. We now have a new requirement to access a specific email address, and we want to retrieve all emails sent to it, and update our system creating a service call. Has anyone else done this? Is there an example COBOL source code that does this? I have looked for one but have not found anything. Any help would be most appreciated. Regards Brian
Is NetExpress version 5.1 compatible with Windows Server 2012 R2? Thank you, Carol Carr
Hello RMCobol Community. Please allow me to ask for help with XBIS, specifically "B$SetInactivityTimeout" and "B$SetServiceTimeout" There are 3 ways to set "SetInactivityTimeout" Globally, BIS_SESSION_INACTIVITY_TIMEOUT=600 In the .srf “SessionParms(InactivityTimeout=600) From the service program, Call "B$SetInactivityTimeout" using {600} BIS_SESSION_INACTIVITY_TIMEOUT=600 has lowest priority and can be overwritten by: SessionParms(InactivityTimeout=600) Call "B$SetServiceTimeout" When setting “SetInactivityTimeout” from the service program, “Call "B$SetServiceTimeout"” must be done before “Call "B$ReadRequest"” in order for the timeout to become effective. My question: Is my understanding of “SetInactivityTimeout” correct? There are 3 ways to set "SetServiceTimeout" Globally, BIS_SERVICE_TIMEOUT=30 In the .srf “SessionParms(ServiceTimeout=30)” From the service program, Call "B$SetServiceTimeout" using {30} BIS_SERVICE
I have a simple Cobol program that calculates prime numbers sequentially. By default the output is directed to a DOS window. I would like to direct the output to a Windows Form. All of the Visual Cobol forms examples I have seen accept input from the user and display a predetermined result. Is there a method to use the display command in Cobol to direct output to a Window form ? Any program or project examples would be appreciated.
Hi, Today, after the Windows 10 Prof system proposed that I upgrade to revision 1803, the NetExpress license tells me that it has been corrupted. Before this update, NetExpress was working properly. I tried to recover it with the command "sfc /scannow" and also running a NetExpress repair, but it didn't work. Will you tell me how to proceed to get my license back? Thank you in advance
Hello, We have 3x separate sites one of which is Covoco have started displaying the attached since last week which makes us think that it may be related to a Windows Update/similar that was related. All of the sites have older versions running on them and have been running on those versions for months/years. There was no plan to upgrade them as in some cases the clients may be moving to another CMS, but it's our understanding that these older versions should run indefinitely. Reactivating them seems to remove the attached from being displayed, but only for a while and/or until the service/server is restarted. Is anyone else experiencing this behaviour? What can be done to make these older versions continue to run as is for now? Any assistance gratefully received!Thank you.
PROBLEM When AcuConnect Distributed Processing is under a heavy load the error message ‘Program missing or inaccessible’ maybe seen and the runtime will crash or hang. This is reproduced when the Server is Linux and the client is Windows. RESOLUTION On a very fast network and performing thousands of socket operations, the server does not have enough time to close a socket before opening a new one and as a result it is running out of sockets. The solution is to configure the operating system to reuse and recycle sockets. On Linux systems run the following commands as root: sysctl -w net.ipv4.tcp_tw_reuse=1 sysctl -w net.ipv4.tcp_tw_recycle=1 To make this configuration permanent use: net.ipv4.tcp_tw_reuse=1 net.ipv4.tcp_tw_recycle=1 in - /etc/sysctl.d/99-tcp-reuse.conf then issue the following command: service procps start It may also help to check and increase the current p
In the 2017 Visual Studio with COBOL processing I have not been able to find a good solution to process numeric data entered in the gridview. I'll describe a situation. With a three byte field described in gridview as numeric (or no formatting) you can't target the data entered in the gridview to a numeric field such as "pic 999". Currently I use "pic XXX" and have to accommodate all the variations of how the data might be input. Anybody have a simple solution?
Hi all. We use acucobol.CVM class from wrunnet.dll to call COBOL program from .NET module. Unfortunately we get FALSE from the Initialize() method and we do not undestand why. Is there a way to get a more detailed error code/message? Some kind of log or something like that ? Thank you -- Davide Giudici#AcuCobol#Interoperating#.net
How do we identify which table columns called TablId and/or TablNum equates to in Aculocks1
w/o using environment variables or cfg för extfh. I try x"91" 46 null insertion and tab function 48, but there is still replaced by space when i examine (in hex view). How to properli read a ls file ant retaing tabs?#tab
Is there a way to create a COBOL sub-program (procedural) that accepts a variable number of arguments similar to the "C" va_start or "Java" ... or "C#" params keyword. Thanks
I will be away for a while and would like to be able to work on my Laptop.Is it in order to install the version of PE that I have on my Laptop as well?I will only ever be working on either the PC or Laptop and not both simultaneously.
Has anyone used the Connect... Alter Authorization construct to change a password while connecting an to an Oracle database? The Oracle Pro COBOL documentation specifies that it can be used to change a password, but I have been unsuccessful in my efforts. When I attempt it, I get an Oracle error 988, which is an invalid password error. I have tried with Oracle 11. Thanks for your help,Aubrey
I'm following the tutorial to call unmanaged COBOL code from managed COBOL, but I get this exception: "System.AccessViolationException". What is causing it?
Hi, Errors 177 and 178 occur when transferring project from Net Express 5.1 to Visual Cobol 3.0 Error 177 COBES0100 : Statement incompatible with BEHAVIOR setting ELS004XI.cbl[ELS004XZ.CPY] 40 21 OVLISM_lbr Error 178 COBES0100 : Statement incompatible with BEHAVIOR setting ELS004XI.cbl[ELS004XZ.CPY] 43 21 OVLISM_lbr these errors will cause the following commands: * EXEC SQL * SET SCROLLOPTION DYNAMIC * END-EXEC * EXEC SQL * SET CO
Problem: The Projmake utility in Net Express 5.1 does not handle Net Express 3.1 (.app) project files. Although it reports "Rebuild complete" for each build type and creates the build type folders (DEBUG and/or RELEASE), the compile and link did not actually take place, and no files were generated. Here is what the output looks like: S:\\Test>projmake -buildall NX31.APP Micro Focus Net Express - Project Make Utility - Version IDE_5-1-85 Copyright (C) Micro Focus IP Development Limited 1984-2011. All rights reserved. Processing Generic Debug Build Starting rebuild Rebuild complete Processing Generic Release Build Starting rebuild Rebuild complete Resolution: The Net Express 3.1 project file needs to be converted in Net Express 5.1. This is done by opening the project file in Net Express 5.1, which converts the file by creating a new .APP file and saving the old one with the .OLD extension. The new .APP file can then be used with the ProjMake utility in Net Expres
Problem: What is the equivalent of the wholock utility available on Linux/UNIX systems with Server Express and Visual COBOL in Windows? The wholock utility is used on Linux/UNIX systems to report what process has a lock on a file. Resolution: The wholock utility is not available in Net Express and Visual COBOL on Windows, but there are equivalent third party tools, such as Process Explorer, Process Monitor, WhoLockMe, etc. For instance, here are the steps to determine the process that has a lock on a file with Process Explorer, which is a free Microsoft utility: Launch Process Explorer Hit Ctrl F (or select Find a Handle or DLL under the Find menu) Enter the full name or part of the name of the data file Click Search from the Search dialog It should report the name of the process and its Process ID in the search result.
Problem: The Record Layout Editor within the Classic Data File Tools enables the creation of structure files (.str) for use when viewing and editing records in a structured or formatted way within the Data File Editor. Typically a Record Layout File is created within a Visual COBOL project by right-clicking on the source file name within the solution explorer that contains the Data Division information you require, and selecting Create Record Layout File. (Note: The program must be compiled and a .idy file must exist).However if there are several data files that require layouts, this process must be repeated for each file. Resolution: Note: DFSTRCL creates DEFAULT record layout (.str) files, if conditional record layout files are required use the New Record Layout Wizard from within the Data File Editor The Data File Structure Command Line (DFSTRCL) was added in Visual COBOL V2.3. The utility enables you to create DEFAULT record layout (.str) files from .idy files dire
i got this method in Micro Focus\\Net Express\\Base\\DEMO\\COMDEMOS\\EXCEL\\MSEXCEL.CPY: *> Method: "Copy". *> 01 Before-CBL VARIANT. *> 01 After-CBL VARIANT. *> invoke using *> by value Before-CBL *> [IN][OPTIONAL] *> by value After-CBL *> [IN][OPTIONAL]. but i don't know how to use it.
Im having a problem with one line below, can anyone advise ???? the problem line is set worksheet = workbook::ActiveSheet from the c# workbook.ActiveSheet * // Creating a Excel object. * Microsoft.Office.Interop.Excel._Application excel = new Microsoft.Office.Interop.Excel.Application(); * Microsoft.Office.Interop.Excel._Workbook workbook = excel.Workbooks.Add(Type.Missing); * Microsoft.Office.Interop.Excel._Worksheet worksheet = null; declare excel as type Microsoft.Office.Interop.Excel._Application = new type Microsoft.Office.Interop.Excel.Application declare workbook as type Microsoft.Office.Interop.Excel._Workbook = excel::Workbooks::Add(type System.Type::Missing) declare worksheet as type Microsoft.Office.Interop.Excel._Worksheet = null try * worksheet = workbook.ActiveSheet set worksheet = workbook::ActiveSheet * worksheet.Name = "ExportedFromDatGrid" set worksheet::Name = "ExportedFromDataGrid" * int cellRowIndex = 1; declare cellRowI
We are trying to send email by SMTP and came across a code by David Sands called CDODemo. CDODemo worked flawlessly. Problem with CDODemo is in the exception handling. there is nothing after the statement: invoke ws-cdomess "send" that is to show a successful execution. We need to use an error number or successful code to test. Eventually, this is to enable a web cgi program to display the appropriate message. We looked inside CDO2000.cpy and did not get any elaboration on the "send" function. #CDOSysonerrorexceptionNetExpress5.1
I'm trying to convert a C # code that signer a xml file to vc2010 2.2. NET. I've searched the forum but have not found any examples of signature xml file.Attached the code in C # and running the code in VC I'm trying to create. Someone from the forum could help me? VC 2010 2.2 .NET S.O. XP SP3
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.