RE: ADO cursors
There is a difference internally in how cursors are handled when using ADO.NET instead of ODBC. If you have BEHAVIOUR=UNOPTIMIZED the cursor will be stored in an underlying Dataset.The actual behavior...
View ArticleRE: Type Casting
The Visual COBOL forum would be a better place for this question. (Unfortunately the forums aren't organized in a terribly obvious manner.)In any case, though, you should always preface a question like...
View ArticleType Casting
Dear community,I need your help in order to cast a type 'dynamically', using the GetType() method to set the target Type instead of hardcoding the Type.Below you can find a simple sample code.procedure...
View ArticleOOP for COBOL webinar materials
Please find below reference materials and code samples to support object-oriented programming for COBOL webinar series. If you have missed a webinar, all six are available on demand here.Trial version...
View ArticleCollection Classes Sample
Attached are the demo programs used in the OOP for COBOL Webinar Series: Webinar 4 - Collection Classes
View ArticleRE: 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 ArticleRE: 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 ArticleXML 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 ArticleRE: 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 ArticleRE: 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 regardsNeil.
View ArticleRE: Cobol Code
HI Neil,That's the bitwise operator. There also an equivalence for and (b-and). See:-documentation.microfocus.com/.../index.jspOne trick you can use if that if you can set the property in a Form...
View ArticleCobol 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#...
View ArticleRE: 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 ArticleDB2 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 ArticleRE: 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, with...
View ArticleAdding resouces to project
I have several .jpg files that I would like to add as resources. I use these to display a variable background color for a control at run time. I have not found a way to add them under...
View ArticleLicense Error 26
I had changed my Date while working on a project to test out the Day of week function and now I get a License Error 26- Tampered date issue. What can I do to resolve this. I have a class to teach...
View ArticleHow to Change Existing Program to Make it COM
HiIn 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 Article