Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
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
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
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.