Blog Post: Give object-oriented programming a go
Object-oriented programming (OOP) represents an opportunity to leverage contemporary IT architectures such as the Java Virtual Machine or .NET. OOP is the standard for these platforms. Existing...
View ArticleForum Post: Collection Classes Sample
Attached are the demo programs used in the OOP for COBOL Webinar Series: Webinar 4 - Collection Classes
View ArticleForum Post: RE: Link error
This is the code piece that was originally ported from a Unisys mainframe. I am currently seeking management approval to send the full program. MOVE 0 TO DECODE-MODE. **...
View ArticleForum Post: RE: Link error
This clearly shows that you are calling these entry points from within your program and it is not part of the COBOL run-time. Were you linking in additional COBOL modules under NX 3.1 that you are now...
View ArticleForum Post: XML Syntax in Visual Cobol
I have a managed .NET class named Customer and i need to write a method in order to create an XML file. How can i enable XML syntax in my Class? is there any sample code?
View ArticleForum Post: Cobol Code
Hi All, I'm using the system.drawing.font property and i want to print bold and underlined. Ive found how to do it in VB or C# see:-...
View ArticleForum Post: RE: Cobol Code
Hi Neil, You need to OR the values together so use code such as:- set myFont to new System.Drawing.Font("Microsoft Sans Serif" , 18...
View ArticleForum Post: RE: Cobol Code
Hi David, Thanks for that it works. Could I have found or worked that out somehow because I wouldn't have guessed that Or becomes b-or . Kind regards Neil.
View ArticleForum Post: RE: Cobol Code
HI Neil, That's the bitwise operator. There also an equivalence for and (b-and). See:- documentation.microfocus.com/.../index.jsp One trick you can use if that if you can set the property in a Form...
View ArticleForum Post: DB2 Table Locked
Hello ! I'm running a Cobol program that executes a insert in a DB2 table. The program is executed OK but, after that, I try to open the table in SQL Wizard and its locked ! The only way to unlock the...
View ArticleForum Post: RE: DB2 Table Locked
Hi, What product and version are you using and under what platform? What method are you using to access DB2, using the DB2 ECM (DB2 directive) or using OpenESQL (SQL(DBMAN=ODBC directive)? Are you...
View ArticleForum Post: RE: DB2 Table Locked
Chris, I'm running Microfocus Enterprise Developer version 2.2.244v201310050344, under Windows 7 32-bit. The program is compiled using Enterprise Cobol for Z/OS. I'm using the preprocessor type XDB,...
View ArticleForum Post: RE: DB2 Table Locked
XDB is the Micro Focus database that emulates IBM DB2 in Development and is not actually a DB2 database. XDB is not available in Visual COBOL so I will be moving this post to the Enterprise Developer...
View ArticleForum Post: How to Change Existing Program to Make it COM
Hi In our current project we are using 7 modules of Micro focus COBOL. There are 4 modules which are COM modules and having Compiler directive set as OOCTRL. Rest 3 modules are using Entry Points with...
View ArticleForum Post: OPEN INPUT FILE - Error 9/56
I have an application copied from a SCO UnixWare system (using a Liant COBOL runtime and compiler) to a SUSE Linux system (using Visual COBOL 2.2). Copying was as simple as taring the application,...
View ArticleForum Post: RE: How to Change Existing Program to Make it COM
Hi Charan, Adding the OOCTRL directive to a program does not automatically make it a COM server module. OOCTRL(+P) is required in both a COM Server and COM client in order to control the parameter...
View ArticleForum Post: RE: OPEN INPUT FILE - Error 9/56
mainframe230.blogspot.com.tr/.../file-status-codes-or-cobol-abend-codes.html Code 98 means: File is Locked - OPEN failed There is also this: supportline.microfocus.com/.../tip6.asp Recovering a...
View ArticleForum Post: RE: XML Syntax in Visual Cobol
There are a number of different methods that can be used to enable XML file creation in a COBOL program. The methods directly offered by Visual COBOL are documented here : There are also a set of .NET...
View ArticleForum Post: RE: OPEN INPUT FILE - Error 9/56
Yes, the new system is definitely treating the indexed file as corrupt. I just tested copying the tarball back to the source system and untarring it. I pointed the application to this copy of the...
View Article