Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
We are trying to use the new button color feature in 9.2, but can't get the colors to work as a variable. The value can be negative, so we are using signed variables. The max color value is FFFFFF (16,777,215 = 8 digits). In the sample excerpt below, Button 1 shows with a Pink background. The other two buttons have a maroon background. How can we set the colors at runtime? Working-Storage Section. 78 RGB-Pink value X#CBC0FF.01 ws-color-pic pic S9(8).01 ws-color-int usage is signed-int. Screeen Section. 01 main-screen.03 push-button line 2 col 10 title "Button 1" background-rgb RGB-Pink.03 push-button line 2 col 30 title "Button 2" background-rgb ws-color-pic.03 push-button line 2 col 50 title "Button 3" background-rgb ws-color-int. Procedure Division. move RGB-Pink to ws-color-pic, ws-color-int.display main-screen.display message "stop".destroy main-screen.stop run. #ButtonRGBColor
Because one of our providers does no longer support ORACLE, I must use SQL-server from Microsoft. Is it possible to use in one program embedded ORACLE and Microsoft SQL-server. When it is possible, where can I find documentation about it,
Hi, how to close a LoginForm passing control to MDIForm without closing the application?
It was suggested at Micro Focus sales that possibly Chris Glazier or maybe Jim Baum would be the person to help me get my 2 newbie colleagues set up. We've just purchased licenses for one developer and one execute-only (I already have developer). I want for my developer colleague to be set up exactly like me, and the execute-only colleague to be as nearly like me as possible. With whom should I communicate, and to whom (and how) may I send specifications?
We have several web services running using BIS/IIS in a test environment; we're able to consume those services from C# and from ASP web pages. We need to ensure we can consume them with an Extend Cobol program as well - first attempts were abysmal (no doubt reflecting lack of understanding of XML extensions). Is there a sample program provided with BIS which demonstrates consuming a BIS web service?
I saw the post dated 21 October about Emails. We use a third party product which we embed in our RM/Cobol source program - it enables us to create pdf files and auto email them out as attachments with a covering note all from within the source program. You can use overlay images so it's perfect for sending invoices, statements etc. Can only be used with Linux/Unix. We've used it for one of our Customers for over a year with no problems and it only costs 350Euro as a one-off price!!. You can 'cc' the email, you can use the built in SMTP client on its own if you like (ie you don't need to attach a pdf). Visit www.form2pdf.se for more info.
I am trying to install Visual Cobol on my laptop. I am running Windows 8.1, my visual cobol serial number is 600000526614, product name is, Visual COBOL for Visual Studio Personal Edition, version is 2.1.Update 1. My problem is once I click the install button it flips to a blank and does nothing, it doesn't matter if I try the full install or the web install. I have tried both types several times with the same results.
Boa tarde companheiros. Eu sou um analista de sistemas e programador cobol, com mais de treze anos de esperiência. Só que infelismente tivi um acidente que afetou a minha memória e, me afastou do cobol por anos. Agora estou me recuperando, mas a minha memória ainda tem problemas. Eu baixei o Visual cobol for visual studio 2012 shell, mas estou com inúmeros problemas. Primeiramente o visual studio está em inglés, e eu não consigo nem começar um programa, pois o ingles é um idioma que eu não conheço. O cobol tem comandos que eu não conheço ou esqueci. Eu estou presizando de informações sobre o visual studio em português e livros ou apostilas de visual Cobol em português. Certo de minha recuperação, conto com a ajuda de voçes. Até no site da Micro Focus eu tenho dificuldade de navegar. Me ajudem por favor, pois eu gosto muito do COBOL, e já até fiz um fluxograma, só me falta programar e executa-lo. Antecipando meus agradecimentos espero. Sidney dos Passos sidney.dos.passos@gmail.co
I'm editing a COBOL program. Across the very bottom of my screen is a blue bar that says Ln 46 Col 11 Ch 10 OVR I know what Ln and Col and OVR mean, but what does "Ch" mean, please?
We are looking at a process that will allow a user to write files to a local drive using a combination of: 1. C$OPENSAVEBOX (type 4) to select a folder to write the file 2. C$COPY to copy the file from the server to the local machine The above works fine as long as the user has write access to the folder selected. So we are attempting to check write access to a folder before we let the user "pick" that folder. We are attempting the following: 1. C$OPENSAVEBOX (type 4) to pick a folder 2. C$COPY to copy a small test file to folder 3. If no Error is returned from C$COPY the user has the rights to that folder 4. C$DELETE to delete small test file from folder This is where my question comes in...all items above work great except #4...the delete command will not remove the file. The C$DELETE command returns 1 (error) every time it is ran. Any help would be great with this or any different way for us to check user access to write to a folder would help also.
Hi! I read a isam file with german letter like "ä/ö/ü/ß"... On debug time i can see the right letter... if i make a move like this: move ort to textBox1::Text then there is a bug in the textBox1:Text it looks like then ASCII not ANSI!? What is wrong? #WPFTextBoxgermantext
How do I include data access in a website developed with Visual COBOL? I created a new COBOL ASP.NET web site, which works, but as soon as I add SELECT and FD statements for a file access I get compile errors. Maybe the syntax is wrong, or I have to link in some module for data access? Error 1: Undeclared identifier _MF_LINK_TEST-FILE C:\\Users\\Test\\AppData\\Local\\Temp\\_cd5836_2\\About.aspx.il Error 2: COBCH1268 : A static file cannot reference instance items …\\Default.aspx.cbl 11 55 Temp1-ASP-NET-WEB = results from the " FILE STATUS IS FS" statement. The full program is shown below: class-id Temp1_ASP_NET_WEB._Default is partial inherits type System.Web.UI.Page public. INPUT-OUTPUT SECTION.
Using instant SQL with rmcobol ruintime 32-bit oracle connection works well, when migrate to linux 64-bit runtime rmcobol the same library doesn´t work shows the error : libiodbc.so.2 wrong ELF class ELF CLASS32 What can be the problem? #linuxcobol#RMCOBOL
I've got 30 programs in a project, and I want to quickly locate every place in every program where the variable EDITFILE-PEER-TOPIC is referenced. Do I have to search through each program separately, or is there a way to do it with a single command?
I feel a bit uncomfortable asking so many questions, but I do appreciate the answers a lot. Especially so since I am growing very fond indeed of Visual Cobol. It seems to wrap the best of MF Cobol, AcuCOBOL, and even R/M Cobol all into one neat package. Color me impressed... I could even learn to like the Eclipse editor, except it insist on putting a strikethrough line on every data item I type in a COBOL program. Doesn't affect the program compiling, just drives me nuts trying to read my own code. There seems to be a lot of advantages to using Eclipse, so I am trying to stick in there and stay away from ISPF or XEDIT... but - it ain't easy. ;) I see this both on Linux and Windows, so it is probably just something stupid I am doing. Example: FD CN00. 01 CN00-RECORD. 05 CN00-ID PIC X(18). 05 CN00-NAME PIC X(33). -Paul
Dear Sir, I am using Micro Focus Visual Cobol with Eclipse and when I Compile my program and try to RUN with Debbugins I get an error " Linkage Section Ítem Not Initializad". Please could you say WHERE I can SET Linkage Section to TRUE without use a COBCONFIG file ? Many Thanks in advanced for Your Help. PJM
I have a c# code lite this: MyWindow.Closed = new EventHandler(MyWindowClosed) What Code is this in Visual Cobol? #TranslatefomCtovisualcobol
Is there a way to force the cursor to the right or left edge of a MaskedTextBox?.If the tab key is used there is no problem. Only when the mouse clicks in the box. I want the insertion point to always be on the right for numeric data and on the left for text.
Then there is a difference in behaviour between Server Express and Mainframe Express, I put to RUN the program in those environment and ALL is OK. I make a new program Calling NUPO245 and I Get the same error. Do you have an Example that you can send to me ?? Many Thanks in advanced PJM
Hi! I have 3 wpf Windows in my Visual Cobol Project Now I will call from WPFWindows WPFWindow2, in c# is there no problem... here is my Project view: I found only samples where in one exe are a lot of Windows inside but this is not what i Need... #WPFcallsecondwindow
What am I doing wrong? I had to clean my solution. I built the solution, and when I start to debug the solution, it recompiles the whole solution.
LINKAGE SECTION. 13194 01 LK-PARM-LIST. 13195 05 LK-PROCNG-DATE PIC S9(07) COMP-3. 13196 05 LK-RUN-NBR PIC S9(04) COMP-3. 13197 05 LK-COMPL-STS PIC X(01). 13198 05 LK-PATH-INST PIC S9(04) COMP-3. 13199 05 LK-PATH-APPL PIC S9(04) COMP-3. 13200 05 LK-JOB-NAME
I see in the ACUCOBOL-GT docs that it is possible to call C/C functions from COBOL using the CALL statement. In Windows, I've managed to do this using pure C code that was compiled with gcc. This was done using the version of gcc that ships with MinGW in release 5.1.1 of the Qt framework. If I try to call functions in a DLL that was compiled with g or cl.exe (the Visual C compiler), I keep hitting the ON EXCEPTION part of my CALL statement. Obviously I'm missing something. I'm aware of the name-mangling issue with C compilers, and have tried to work around it by using __declspec(dllimport) and __cdecl in the C function declarations. However, this does not resolve the problem. Can anyone provide a simple example of both C code and compile/link commands, which would allow C library code to be used from ACUCOBOL? And can this only be done using COM DLLs? (That's the one thing I haven't tried, because I don't have a development environment that supports creating COM DLLs
Does the "HttpPost" routine Work in Micro Focus Visual COBOL? I have used it in Micro Focus version 2.1 for Unix. Since we are porting our application to Micro Focus Visual COBOL, I would like know if the "HttpPost" routine work here? If not so, What would be the alternative to implement this?#COBOL
Using 32-bit ACUCOBOL 9.2.1 in Windows 7, I get the following error when executing a MODIFY statement: --------------------------- Error --------------------------- Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING)) COBOL error at 00002C in MyCOBOL.acu ("MyCOBOL.cbl", line 22) --------------------------- OK --------------------------- The MODIFY statement is: MODIFY WS-NONGUI-HANDLE "getInt"() GIVING WS-INT The complete COBOL code is: IDENTIFICATION DIVISION. PROGRAM-ID. TESTPROG. ENVIRONMENT DIVISION. CONFIGURATION SECTION. SPECIAL-NAMES. COPY "MyDLL.def". . DATA DIVISION. WORKING-STORAGE SECTION. 77 WS-NONGUI-HANDLE HANDLE OF "@MyDll.MyNamespace.MyClass". 77 WS-INT PIC 9(5). PROCEDURE DIVISION. CREATE "@MyDLL" NAMESPACE IS "MyNamespace" CLASS-NAME IS "MyClass" HANDLE IS WS-NONGUI-HAN
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.