Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
I have a data file from an outside source that I am trying to read in my Cobol program but it doesn't seem to like the CRLF at the end of each record. Is there an easy way in the Cobol program to handle this, or do I need to go into a hex editor to remove these characters? The SELECT statement for the file is: SELECT SALESFILE ASSIGN TO "..\\..\\..\\SALES.DAT" ORGANIZATION IS SEQUENTIAL. Thanks#Filehandling#linefeed#Carriagereturn
Problem Is it possible to check an entry in the registry from a Cobol program. Resolution The Micro Focus documentation link on this subject:- http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.extendACUSuite/BKPPPPLIBRS143.html Also attached is a small sample program that shows how to open the Software sub-key of the HKEY_CURRENT_USER key.
Problem When executing an AcuCobol object program which calls an ActiveX control, the Error 'System exception - Class is not licensed for use' occurred. Resolution The ActiveX module should be registered using the 'regsvr32' command. The problem was caused as the Development license was being used at runtime rather than the Runtime license. This may also violate the license agreement with the ActiveX control vendor and it does not work.
Problem When compiling source code the following statement may give a compilation failure: 'Badly formed condition'. IF (SAVE-INVOICE-NUM NOT = (SPACES AND "000000" AND ZEROS)) Resolution To resolve this issue compile with --newARC. The syntax rules for Abbreviated Combined Relation conditions become relaxed to allow for parenthesis to appear immediately after the relation. For example: IF A = (B OR C OR D) would now be accepted by the compiler.
Problem On the Windows platform when trying to start Acurcl ( acurcl -start ) from the Windows Command Processor you get an error : Service Error: 5 Resolution The problem is caused as the Windows Command Processor should be run as administrator. Right click on the DOS Windows Command Processor and click; 'Run as Administrator' this will resolve the issue.
Hi, using Server Express 5.1 on Red Hat can I write a sequlential file with End of line dos (CR LF) from cobol program\\mfsort ? thank you #EOLCRLF
I am trying to find the best way to call a command line .exe and get a response back. I tried C$SYSTEM but all I can get back is the called program's exit status. Any ideas? Thanks, Steve
Oi, Este é um exemplo de como você pode alterar o tipo do cursos nos objetos em Asp.Net. Abraços, Coral Hi This is a demo to show how you can change the cursor pointer for Asp.Net objects. Best regards, Coral#VisualCOBOL#demo
Oi, Este é um exemplo de como você pode trocar as cores da letra e do fundo em campo de texto no WPF. Abraços, Coral Hi This is a demo to show how you can change foreground and background colors in a text box object using WPF. Best regards, Coral#demo#VisualCOBOL
Oi, Este é um exemplo de como você pode abrir um website clicando em um objeto no WFA Abraços, Coral Hi This is a demo to show how you can open a website clicking an object using WFA. Best regards, Coral#demo#VisualCOBOL
Oi, Este é um exemplo de como você pode saber o valor da tecla pressionada na tela em WPF. Abraços, Coral Hi This is a demo to show how you can know the pressed key in the screen using WPF Best regards, Coral#VisualCOBOL#demo
Oi, Este é um exemplo de como você pode popular um ListView em WPF. Abraços, Coral Hi This is a demo to show how you can insert data in a ListView using WPF. Best regards, Coral#demo#VisualCOBOL
Oi, Este é um exemplo de como você pode trabalhar com o ListView atualizando as informações em um novo Popup e atualizando o ListView quando o Popup fecha, usando WPF. Clique duas vezes em um registro, altere o conteúdo e clique em OK na tela de Popup. Abraços, Coral Hi This is a demo to show how you can work with ListView getting the data updated using a Popup. Double click a record, change the content and press OK on the Popup screen. Best regards, Coral#demo#VisualCOBOL
Oi, Este é um exemplo de como você pode trabalhar com o objeto DatePicker em WPF para colocar ou receber valores. Abraços, Coral Hi This is a demo to show how you can work with DatePicker object using WPF to get and set values. Best regards, Coral#VisualCOBOL#demo
Oi, Este é um exemplo de como você pode trabalhar com DataGridView em WPF. Abraços, Coral Hi This is a demo to show how you can work with DataGridView using WPF. Best regards, Coral#VisualCOBOL#demo
Oi, Este é um exemplo de como você pode alterar o tipo do cursos nos objetos em WFA. Abraços, Coral Hi This is a demo to show how you can change the cursor pointer for WFA objects. Best regards, Coral#VisualCOBOL#demo
Oi, Este é um exemplo de como você pode chamar outras classes que estão no mesmo projeto ou que estejam em outro projeto na mesma solução. Abraços, Coral Hi This is a demo to show how you can call classes in the same project or in different projects inside the same solution. Best regards, Coral#VisualCOBOL#demo
Oi, Este é um exemplo de como você pode trabalhar com variáveis boleanas para ativar e desativar radiobutton e checkbox em WPF. Abraços, Coral Hi This is a demo to show how you can work with boolean variables to check or uncheck radiobutton and checkbox objects in WPF. Best regards, Coral#demo
Oi, Este é um exemplo de como você pode implementar o conceito do AUTOSKIP em campos de texto em WPF. Abraços, Coral Hi This is a demo to show how you can implement an AUTOSKIP using WPF textbox objects. Best regards, Coral#VisualStudio#wpf#demo#Autoskip#VisualCOBOL
While we are waiting for our application server to be configured we have started some preliminary testing of our application outside of the VS IDE on our development PCs. Everything runs as expected when there are no errors, but if an error is encountered then a "Visual Studio Just-In-Time Debugger" window opens and must be manually dealt with. When we click the "No" button then the error messages familiar to us from our Net Express days are displayed. We are using VS 2013 and VC 2.3 for VS 2013 on a Windows 7 PC. Our projects are Native COBOL, Release configuration (no "Compile for debugging"), x64 platform, and linked as Dynamic with binding. The Console Application projects include system programs, the Link Library projects do not. Q1. So why is a .idy file created on Build? Q2. Why is the VS JIT Debugger being triggered if everything is built with no "Compile for debugging"? Q3. Is there a way
Prelude Several examples of how to utilize COBOL in a Microsoft .NET environment have been circulating for a number of years. Some of these examples are quite dated and due to Framework enhancements, (2.0, 3.0, 4.0, 4.5 and now 4.6) the use of the namespaces as well as the syntax used to access them has changed significantly. Micro Focus recently released Visual COBOL 2.3, our flag-ship product for Visual Studio 2015. With a number of changes that have occurred in both .NET and Visual COBOL an update of all our previous articles is in order. So over the next couple of months we will be updating all of our previous articles to the latest versions and introducing new articles with new content. We hope you find these articles educational and valuable to you and a benefit to your organization. This particular article has benefited from a number of changes in Micro Focus Visual COBOL. The addition of interfacing capabilities in .NET and JVM have made the process of accessing data hi
I have three questions to ask your help (the following link is the example of the three situations): http://www.esic-lda.pt/VC_Help_V01.pdf 1-I'm using a datagrid and load the data as the example you sent me: working-storage section. 01 custTab type Tabelas. set custTab to new Tabelas set custTab::CODIG to BTB-CODIG set custTab::DESAX to BTB-DESAX write custList from custTab Now I have two problems: It's created a line more; I can't select the first row to the first time. 2 - Picture in a data field If the field value is zero then is put a 0 in the first position of the field and write before that position 3 - CheckBox inside a datagrid How do I manage the checked and uncheked in this situation? Thsnks again
I am using Visual COBOL 2.2 under VS 2012. The MF manual says that on the SQL tab of Project Properties I should see "Oracle Pro*COBOL (COBSQL)" as an option. That option is missing from the drop down list. Pro*COBOL was installed after Visual COBOL. How can I get Pro*COBOL onto the list in the drop down? Thanks, Leigh.#COBOLSQLCOBSQL
HI, Scenario: I have to call COBOL program from my WCF/WCF REST. I have created a wcf and wcf rest project and incorporated my C# code in the interface implementation. However its failing to call COBOL and getting results. The C# code to call cobol is working fine when call from console application. Same code is not able to call from WCF. Kindly let me know how do I call COBOL (C# code exists and working in console) from WCF REST or WCF. Am new to WCF and COBOL. Kindly give some inputs. Thanks, Manasa
Have I tab to a text file on a windows form, the full text in the field is selected and highlighted, Is there a way to not have that happen when tabbing to a text field?
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.