Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
We want to improve the speed at which one of our programs can INSERT rows into a table. Host Arrays sounds like the way to go, but the documentation (.NET Host Variables in Managed Code) specifies that .NET Host Variables must be declared at the Record (01) level? Can we do "01 EMP-EMPNO OCCURS 25 TIMES STRING." in a EXEC SQL BEGIN DECLARE SECTION?
no file reqd
Sometimes bitmap are loading correctly sometimes not His there timeout to load bitmap i think when the server his loaded bitmap are not loaded
Is there a way in RM/COBOL to check a size of a file before opening it? Having an issue with a rather large log file - want to change the program to delete it and create a new one if the file size is larger that 1GB.
I have the fields 01 prefix-error-status pic 9. and the statement move ls-status-ok to ls-error-status. This code gives me a NullReference exception unhandled. 78 prefix-status-OK value 0.What is going on here? It happens in the run of the code; program compiles fine with no errors!
We have found this strange behaviour: We have a program called “main menu” and can call the various programs over the menubar or a treeview. If we use the keyboard the called programs display a dotted line around active combo-boxes. If we use the mouse the called programs don't display the dotted line and the user does not know which field has the focus. This happens under windows and thinclient, version 9.5.
I keep getting the following error: error COBCH0008 : Unknown copybook library-data.cpy specifiedC:\\Users\\John\\Desktop\\MFcourseware\\COBOLClass_Studio\\COBOLClass\\Projects\\18_02_Patron_Menu\\PatronEntry\\Form1.cbl (64,20-21) : error COBCH0014 : Invalid operand I have put the copybook everywhere I can think of and pointed to it in Project, properties COPYBOOKS. what is the default path?
Dates not showing in COBOL executed entry screen since latest Windows Update installed overnight. Date showing is blank. Anyone else having this issue today.
Hi there, Hoping someone can help. I'm calling winapi "ShellExecuteA" from a Visual Cobol program to open a document (pdf/webpage etc) which works fine. It returns a handle instance, 'hinstance' which I need to check for errors How can I move it to a field I can examine? Windows documentation (https://msdn.microsoft.com/en-us/library/windows/desktop/bb762153(v=vs.85).aspx) says... "Return value - Type: HINSTANCE - If the function succeeds, it returns a value greater than 32. If the function fails, it returns an error value that indicates the cause of the failure. The return value is cast as an HINSTANCE for backward compatibility with 16-bit Windows applications. It is not a true HINSTANCE, however. It can be cast only to an int and compared to either 32 or the following error codes below." MY PROGRAM $set ooctrl( P) copy "windows.cpy". IDENTIFICATION DIVISION. special-names. call-convention 74 is winapi. *> Litlinked apis WOR
This week I changed a customer installation with 150 users to acuthin / acurcl / wrun32 version 10.1 patch ATW (Apr 3) 4474. There are new unexpected problems compared to version 10.0.1. The first problem:The error "Accept recursion limit reached" occurs very quickly in programs with grasping possibilities in the grid. I suspect that it is because the event procedure is incorrectly terminated in the Thinclient environment and the runtime reverts to the Accept. There the program runs into the "on exception" routine. To suppress the warning message about the configuration variable warning_on_recursive_accepts is not really a solution. Second Problem: Our program consists of a main program, which calls the subprograms via "call thread". If the subprogram falls back on the accept after the "finish-entry routine", the runtime automatically sets the focus on the main program and The subprogram must be brought back to the foreground by mouseclick.
Hi, I am trying to open a website and send it to second monitor from my visual cobol winforms application. So i have tried "System.Diagnostics.Process::Start" to launch a website, but i am not able to send it to second monitor. By default website gets triggered in primary monitor. I have read an article that using WinApi.SetWindowPos , i can switch the monitor positions but in visual cobol i do not see this WinApi class. If this is not supported, is there any other way to fulfill my requirement ? Thank you.
Hi all I upgraded solaris 10 11/06 to 1/13, in test environment, but when I try to start runcbl in debug mode ...I see this error in the logs: ld.so.1: runcbl: fatal: libclntsh.so.10.1: open failed: No such file or directory profile set correctly the library path: LIBRARY_PATH=/usr/lib/:/u01/app/oracle/product/10.2/lib://u01/app/oracle/product/10.2/lib32:/opt/acucorp/721/lib: ORACLE_SID=XXX ORACLE_BASE=/u01/app/oraclePATH=/u01/app/oracle/product/10.2/bin:/u01/app/oracle/product/10.2/OPatch:/usr/sbin:/usr/bin:/usr/ccs/bin:.:/opt/acucorp/721/bin ORACLE_HOME=/u01/app/oracle/product/10.2 VISUAL=vi TERM=vt100 but when I launch LDD: bash-3.2# ldd /opt/acucorp/721/bin/runcbl libclntsh.so.10.1 => (file not found) --------------->? libkstat.so.1 => /lib/64/libkstat.so.1 l
Button control is being displayed as expected in windows 7 machine but in 2012 server it displays more like a label(just as s flat control , doesn't highlight the borders when focused) . Is there anything i need to take care of in 2012 server side? This is a winforms application developed using visual cobol 2.3
Hi Guessing this kind of thing has been used by many COBOL programmers. There is a TABLE of 10-digit numbers. User enters (ACCEPT) how many such numbers they require. an ARRAY of 5 x 2-digit RANDOM numbers is loaded. That ARRAY ( 10-digits ) will be added to the TABLE. Seems easy enough, but DUPLICATES in an ARRAY need to be prevented. I suspect (hope) there might be an algorithm that will cope with this in one go ??? Thanks in advance. cheers
Is the Add as Link feature disabled in the free trial download? It only lets me use Add.
Hi, Has anybody come across running COBOL programs in containers in the DC/OS environment, and if so any problems that were encountered. Many Thanks.
Hope it is OK to ask an Enterprise Developer question in this forum. Running ED v2.3.2. Managed COBOL. Refactoring an existing copybook that is used by 200 programs and would like to change the copybook, compile a single program and test the change before initiating a full build. I've been unable to find any option that allows me to compile a single program. The project is set for 'Use dynamic calls' in the Build Configuration preference and each program is built independently when the build is requested. In order to initiate a build I've been using the Project -> Build Project option. This will usually only compile the program I've changed if it was the source module that was changed. For copybooks I don't completely understand how it is determining what needs to be built. Is there any way to work within a shared copybook, but only compile a single module for development/unit testing before
Hi,how can I order with mfsort a field so defined01 WK-IMP PIC 9(16).9(2).the data on the file is : 0000000000000001.00 0000000000000001.01 0000000000001000.00 0000000097426141.65 0000000095834049.25-0000000000000001.00 0000000094884438.34 0000000094824605.26 0000000094454948.29-0000000000000001.01with SORT FIELDS=(67,20,NU,D)-0000000000000001.01-0000000000000001.00 0000000097426141.65 0000000095834049.25 0000000094884438.34 0000000094824605.26 0000000094454948.29 0000000000001000.00 0000000000000001.01 0000000000000001.00with SORT FIELDS=(67,20,NU,A) 0000000000000001.00 0000000000000001.01 0000000000001000.00 0000000094454948.29 0000000094824605.26 0000000094884438.34 0000000095834049.25 0000000097426141.65-0000000000000001.00-0000000000000001.01In MFSORT manuals in Field Type "You can find other field types defined in the IBM documentation at SORT Control Statement."and SFF seems to be the right type.instead mfsort give errors: &nbs
Buen dia amables desarrolladores. Acudo a sus conocimientos pidiendo por favor me ayuden en el uso de excel desde cobol nativo, jamas abia utilizado estas funciones y necesito tomar un archivo generado con el delimitador "|" y mediante codigo cobol nativo exportarlo a excel. He utiliazdo un codigo de ejemplo que ha posteado anteriormente Chris: *---------------------------------------------------------- --------------- * Save Excel File * * This example program demonstrates how to use the Excel COM * server support to create a new spreadsheet, populate it with * graph data and then prompt the user for a filename using the * GetSaveAsFileName method and then save it using the SaveAs * method. * * This is a modified version of the demo that is supplied with * Net Express under the C:\\Program Files (x86)\\Micro Focus\\Net * ress 5.1\\Examples\\Net Express IDE\\COMDEMOS\\EXCEL folder. * * Also demonstrated is the support for using Named Parameters * in the COM methods. *----
Hi, I'm new in this community. My question is in the subject. Is possible to create a CodeBridge DLL with MingW? I'm trying to build a library and I whant to use the GNU libraries. Regards. Carlos.#CodeBridge#RMCOBOL
We are using extend 9.2.5 10.1 on a Windows Server 2008 R2 Standard Services Pack 1 We exclude the directory from anti-virus When the call his done we have a on exception and on the same server extend 8.1.2.1 his working MOVE SPACES TO FIELD-1 ACCEPT FIELD FROM ENVIRONMENT "OCX-DIR" IF field NOT = SPACES STRING FIELD DELIMITED BY SPACES "CLIPACU.DLL" &
Hi, I would like to ask whether it is necessary to install unixODBC on my HP-UX server if I want it to connect to the MySQL which is also installed inside the same server. If it is not necessary to install the unixODBC, can anyone please guide me on how to configure the connection of MySQL to AcuSQL? Thank you very much and sorry for the hassle.
I have a form in C# that receives a parameter would like the cobol call this program passing this parameter, the form would open and show what came from cobol?namespace nomeprograma{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } public void QualMsg(string MSG) { campo.Text = MSG; } }}Thank you!
We where using TRANSLATE-TO-ANSI 1 Since we move to 10.1 we try to used COBOL-CHARACTER-SET ANSI It is not working!
Hi, We need to reference an assembly that is the output of our daily build. The project of the referenced assembly lives in a different repository. It would be handy if we could use nuget, or are there other workable solutions? Greetz, S#VisualStudio#VisualCOBOL#nuget
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.