This space is dedicated to bringing together users of Rocket® Visual COBOL®. Share your ideas, tips, and best practices, access exclusive resources, and stay up to date with the latest product news.
Recently active
[Migrated content. Thread originally posted on 19 January 2011]How do we define Static classes in COBOL.Net? I am looking for equivalent of C# or Java. I see that we can define static blocks and also can specify static attribute on methods, but ran into some issues when I used static block. I am using Visual COBOL R3 (Beta).Thanks!
Article Description COBOL programmers have for years used '01' level (or Group Descriptions) as a means of creating a data structure for related items. It would be safe to say these Data Groups are used in just about every COBOL program that has been written and probably will ever be written. They provide a quick way for COBOL programmers to group together data that has some form of relationship. For example, the name of a region and the total sales for a particular timeframe as in the following structure: In the above sample we see an '01' (or Group) description for a field called WS-Branch-Rec. This is the highest definition for a related group of data items. Underneath this item there are two additional data items, WS-BRANCH-NAME and WS-BRANCH-TOT. Each of these items occurs 10 times in a table. You can think of the structure in terms of a spreadsheet, 10 rows with two columns of data. The variable WS-BRANCH-NAME is defined as a "PIC X(50)" which means it is 50 charact
[Migrated content. Thread originally posted on 05 January 2011] This code will show how to using the Trace class from COBOL. Code was converted from old COBOL.Net syntax to the new repository syntax in .Net.Some Images:- This has been marked as a Quote in the Post Editor This is Bold in the Editor.The code below has been marked with the code attribute $set sourceformat"variable" $set ilusing"System.Diagnostics" program-id. COBOLEventLogger as "COBOLEventLogger". ***************************************************************** * * Author - David.Sands@MicroFocus.com (EMEA Support) * * Date - Feb 2005 (Amended Jan 2010 for Visual COBOL Syntax) * * Purpose
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.