Get the date and time the local server
I need to get the date and time of the LAN server and write a file.It can not be the workstation because the user can change them.There is some function or class that execute this process?
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 ArticleMS Access DCLGEN
Can someone walk me through how to setup a MS Access (accdb) DB to use with VC and how to create a DCLGEN.I have been at this for about 2 months with no luck.
View ArticleCALL Stored Procedure
Dear Chris,Do you see any ERROR in the following ?.I am CALL a Stored Procedure in a Cobol Program.EXECSQL CALL :PROCNAME USING DECLARATOR :COSCMNPRD END-EXECIF SQLCODE NOT = ZEROS...
View ArticleADO cursors
We have an issue with ado cursor In visual Cobol. when we open a cursor with exec sql statement it fetch all rows in memory before returns to next statement. That means huge memory needs and alot of...
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 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 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 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 ArticlePrinting
I am having trouble using the printer_redirection code. My printer will act like it wants to start printing, but nothing comes out. I am testing with the testprintraw cobol project. My printer acts...
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 ArticleOPEN 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 ArticleDifference displaying a String vs PIC X
Hi,I have some texts defined as System.String or String inside Visual COBOL for Visual Studio 2012 and some defined as pic x.I can not find how to display a variable defined as string using line and...
View ArticleFILE I-O ERROR GENERATING INT
Hi,Something happened and now if I try to compile to generate an int file under Visual COBOL for Visual STUDIO, I receive FILE I-O ERROR on the .int file and nothing is generated. I am using cobol...
View ArticleMQ in Visual Cobol Eclipse
Dear Chris,I am Testing a Visual Cobol for Eclipse program with MQ and I get the Enclosed Error :
View ArticleDecimal-point is comma not working properly
Hi, guys!Living in a country that uses comma as a decimal point (1.000,00), I found a bug in the decimal-point is comma declaration.After using a mask to accept input:w-Number PIC...
View ArticleErro Project OOP for COBOL webinar 5
When opening the project is presenting the error attached. Would have to refer to any namespace.I'm using VC 2.2 Vs 2012?
View Articlesmtp mail with cURL (was in wrong forum)
Hello,I have been trying to send mail using cURL from Cobol. I took an example from this forum but I am stuck with the mail body:Here is the link to the example from cURL...
View Article