Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Oi, Este é um exemplo de como você pode trabalhar com checkbox em um datagridview.Abraços, Coral Hi This is a demo to show how you can work with checkbox inside a datagridview..Best regards, Coral#demo
Using the method SortCompare for sorting date column DataGridView
I am using Visual COBOL v2.3 on Red Hat Enterprise Linux 64 bit. I am trying to execute a script which contains the setting of various environment variables required during build. I have tried to use the build configuration Events by both sourcing the script or simply executing the script. In both cases the environment variables are not set at build time. Setting environment variable one at a time within the project will not work because the script is built dynamically. How can this be accomplished?#CobolEclipse#eclipsevisualcobolvariablesviewencoding
Hi there, I successfully completed the tutorial on REST Service Interfaces (http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.visualcobol.vs2013/GUID-58BF06B8-029A-46A0-8AA2-3E9A0A52B162.html?cp=5_4_0_5_0_2_2) And everything works find with the generated client. But now I want to use another client but I cannot find any information about the url and how to post parameters. (The service handler has the path temppath/ProgramRest/1.0#CheckAppt) -> I want to use a rest client integrated into the browser. Is there any information about the generated rest urls (and parameters/load)? Thanks for your help!
How do you specify the module you want to debug into in a Multi-Output project with many console type modules?
Oi, Este é um exemplo de como você pode alterar a altura e largura de um campo de texto dinamicamente.Abraços, Coral Hi This is a demo to show how you can change height and width of a textbox dynamically.Best regards, Coral#demo
Hi Everyone,I have created a gridview with 3 cols successfully. 1st is the S.no and 2,3 contains Dates. It has 12 rows. Now i want to highlight a cell in the 2nd column which satisfies a cond. This is my Code if e::Row::Cells[1]::Text = "mycondvar" then set e::Row::font::Bold to false else set e::Row::font::Bold to true. It is always setting to True. Even when I set a breakpoint i am not able to view the value in Cells[1]. I am totally stuck, is my syntax correct ?Kindly help me with this . Thanks#MicroFocus#COBOLVISUALCOBOLMIGRATION#2.2VS2013COBCH174788#extend9.2.5VisualCOBOL#COBOL#VisualCOBOL#Microfocusorionhub
I have a column in my database that needs to be 20,000 characters. I defined it as varchar(max), using a cobol program I was able to insert the data using a host variable defined as Pic X(20000), however when I tried to read the data using the same host variable no data is retrieved but I get a sqlcode of 0. The primary key is a numeric value. I tried to use the host variable syntax definition as described in the documentation but that didn't work either. Any ideas on how I can get this to work? We are using Acucobol version 8.1.3.1. Thanks
Dear Sir, I execute this and get an Error, Could you please what was wrong ..??? $ cob -a -v -P -k PrestMedical.pco -C"p(cobsql) nocst csp CSQLT=syb cobsqlinclude=/usr/sybase/include">cob64 -C nolist -CC -KPIC -A -KPIC -N PIC -a -v -P -k PrestMedical.pco -Cp(cobsql) nocst csp CSQLT=syb cobsqlinclude=/usr/sybase/include* Micro Focus Server Express V5.1 revision 000 Compiler* Copyright (C) Micro Focus IP Development Limited 1984-2012.* Accepted - verbose* Accepted - nolist* Accepted - p(cobsql) nocst csp CSQLT(syb) cobsqlinclude(/usr/sybase/include)* Accepted - list("PrestMedical.lst") * Micro Focus Cobsql Integrated Preprocesso
Me pueden informar de como utilizar las teclas de funcion f1-10 en un grid. Cuando se genera el evento ENTRY-REASON en MSG-BEGIN-ENTRY se pueden controlar el doble click comprobando si se ha pulsado el valor X'00'. Me pueden indicar que valor corresponde a las teclas de función. Gracias#acubench
Hello I'm trying to see the details of the invoices when I select the line of one of them.For this I created a datagrid with invoices.After I added a DataGrid.rowdetailstemplate where i define the fields i want to appear when I select an invoice.When I select one of them with the header line appears but the invoice lines do not appear. I've tried several ways and I can't get them to appear.I don't know exactly when and how you have to load the information of the details. Can someone help me?Thank you.
Dear Sir, I was testing Server Express 5.1 and I get the following Error : error(s) in assembling /var/tmp/cobAAAYmaCRb/%cob0.s when put cob64 -x tictac.cbl All other command compile work fine. TKS PJM
In a previous article we described how to utilize the .NET object ‘Date Time Picker’ in Visual COBOL. After reviewing the article Alwyn Royall (Mr), one of our UK Solutions Consultants provided some additional information about applying Cultural information to displaying dates. For those of you who work in a single location the thought of applying cultural information may not have crossed your mind. There are however applications that are used in a many different locations worldwide and the ability to present information, specifically date information, in a format they are used to seeing is huge benefit not only to the user but to the company receiving and processing the information. They are more assured the data will be correct and the end user finds the application easier to use. WinForm Alwyn has expanded the previously created WinForm to include a couple of new combo boxes. The new form now looks like the following: If you will notice the bottom of the form there are thr
Hello, We have an in-house application running on ACUCOBOL 6.0 under Linux. We have licensing for 60 concurrent users currently. We would like to add runtime licenses for 10 more users, as we did in the past. Anyone here knows if this is still possible? Are licenses available for older versions of the runtime? We lost our previous sales rep from Micro Focus and the new one is telling us we are required to move to version 10, which we don't want to invest into. thank you#AcuCobol
Problem Undefined symbol first referenced in file xcsConvertString /opt/mqm/lib64/libmqicb.so CSCtrl /opt/mqm/lib64/libmqicb.so xcsGetMemFn /opt/mqm/lib64/libmqicb.so xcsQueryCCSIDTypeFn /opt/mqm/lib64/libmqicb.so Resolution With the MQ Client installed on the machine there is the necessity to link with libmqic not libmqicb. If it is the MQ Server installed instead of the client then link with libmqm. Change the command line to use one of the libraries above then it will work.
Working with Version 10 now. We have an application the displays a browser-screen. It works fine. Then we make the browser invisible. Later we want to use that browser again and set it to visible. Now with 10 it doesn't recognise that the browser is visible. So it doesn't show up. Is there a way to reinitialize (or whatever) the browser control so that it will be recognized by Windows again?#web-browser
Hi, I have recently installed visual cobol 2.2 (visual studio 2012) on my machine. while i am trying to compile any COBOL code in the IDE i am facing issue compilation failure with below description: Directives file _cobol.dir not found *1507-U Illegal command line COBOL compile: 0 item succeeded or up-to-date, 1 failed. Done building project "ConsoleApplication2.cblproj" -- FAILED. I am facing same error while compiling with CMD. Can anyone please help me with this as i am stuck and unable to identify the cause. Thanks Anand
Hi, In NetExpress we used the following code to set duplex printing:- http://documentation.microfocus.com/help/index.jsp?topic=/com.microfocus.eclipse.infocenter.studee60test/HRCLRHCALL5W.html In particular we used : cblte-pp-duplex Select duplex or double-sided printing using one of the DMDUP- constants. How can you do this using Visual Cobol .NET code? Thanks in advance. Kind regards Neil.
Working with the DateTimePicker in Micro Focus Visual COBOL for .NET One of the most frequent tasks a COBOL developer has to perform is date manipulation. Programming has to be created for; accepting a potential date value from the screen, validating the data that was entered, calculate the number of days between two dates, figuring out the day of the week or even determine what todays date is. All these are tasks most COBOL programmers have had to perform at some time in their programming career. The DateTimePicker control, along with the namespaces System.DateTime and System.TimeSpan can however save a COBOL developer a significant amount of time where date validation and manipulation is concerned. The DateTimePicker control restricts the input of data to valid dates, it can contain proper formatting and be set to ensure data ranges are valid before any data is accepted into the application. The System.DateTime namespace provides the developer with a set of properties and methods
Has anyone else been tackling the ACA Healthcare Reporting for this year? There are two things I am having an issue with, hoping someone out there has already tackled these issues: 1. When creating the AIR submissions for the 1094/5 B & C, the documentation from the IRS says to compute the check sum "Do not attempt to program the calculation. The specifications are included in the IETF RFC 1321 and are quite complex. The transmitter will have to do the research to locate and obtain an algorithm that they can use. Note: The transmitter calculated Checksum must exactly match the IRS calculated Checksum for the same file." Anyone got the algorithinm? I can't find one anywhere. 2. The XML schemas are requiring to have the size of the file that you are submitting inside the file, so how does one get that with RM/COBOL?
Problem: Micro Focus products do not contain any built-in support for MD5 hashing, but it can still be used programmatically. There are no library routines within Net Express to implement MD5 hashing directly. If you search google for MD5 and COBOL and there are a number of links. One of these suggests using C to access the MD5 as it is easier than in COBOL. If so then consider using C and compiling/linking this to a DLL. You can then access this from COBOL via CALL statements. Resolution: BUILD W/RELEASE: Net Express v4.0 with ALL07N40 ============ INTRODUCTION ========== We've seen a number of requests for a COBOL implementation of the popular cryptographic hash function MD5. MD5 is widely used for file checksums and similar purposes. It's also widely used for digital signature hashes and message authentication codes, though due to recent successful attacks it's no longer
Just replaced Server For COBOL 5.1 with COBOL Server 2.3 on our (virtual) Windows Server 2008 production server. We have four native Windows programs that are run at night via Windows Task Scheduler. Two of these programs are running almost as fast (approx. 10% slower) as when they were Net Express, but the other two are running 6-8 times longer. When the two "slow" programs are executed manually they run in about the same times as when they were Net Express! Anybody know what in COBOL Server would run so much slower under Task Scheduler than when run manually?
Oi, Este é um exemplo de como você pode incluir máscaras em campos de texto.Você encontrará mais detalhes no código fonte da aplicação. Abraços,Coral Hi This is a demo to show how you can implement a MaskedTextBox.You will find details inside the code. Best regards,Coral#demo
Oi, Este é um exemplo de como você pode alterar o tipo de fonte nos objetos de sua tela. Abraços,Coral Hi This is a demo to show how you can change the font family for your objects. Best regards,Coral#demo
Hi, When converting a string to decimal number the result displayed is wrong. Attached the source.Anyone know how to resolve this problem? $set sourceformat"free" program-id. Program1 as "ConsoleApplication1.Program1". environment division. data division. working-storage section. 01 ws-str1 string value "1234.12". 01 ws-alpha1 pic x(20) value "1234.12". 01 ws-number pic 9(5).99. 01 ws-decimal decimal. procedure division.***** Old School COBOL (ANSI85 Intrinsic Function) move function numval(ws-alpha1) to ws-number display "Number = " ws-number***** Use .Net to do the same. The Parse Method is available on***** the numeric data classes. move decimal::Parse(ws-str1) to ws-number *> HERE ws-number = ( 23412.00) when it should be ( 1234.12) display "Number
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.