Mapping COBOL Records in C#
Hi, I'm trying to call a procedural COBOL program that is using a COBOL record, in C# the record is represented as String so how can I manipulate the record and be able to fill it and extract it as...
View ArticleFailure at ILASM Phase
I've got this error when I was trying to build the library, it's at the goback keyword -verb- program-id. ExecuteTransaction as "CoreBanking.Transactions.ExecuteTransaction". data division....
View ArticleRE: Setting directory path in Visual Cobol for .NET
Well if you only specified the filename in the select such as: select test-file assign to "EMPLOYEE.DAT"Then you could set the environment variable COBDATA to point to the location of the file such...
View ArticleRE: OpenESQL Assistant with ADO.NET
Hi Ahmet,The OpenESQL Assistant can be used for automating the code generation for some of the commonly used tasks but it does not support every possible code scenario.The scenario that you present...
View ArticleRE: Procedural Multi-Output Project
Normally managed code projects are built into a single output file regardless of how many programs exist within the project. All of these programs will be compiled and then output to a single assembly...
View ArticleRE: Duplicate Field Delcaration
Hi Ahmet, could you possibly attach the contents of the copy files as well as the main source file, so that I can try to reproduce this issue? It looks as though it may be a problem due to the...
View ArticleDuplicate Field Delcaration
Hi,First of all, I am running out of time due to the continuous failures for no reason!!!This time I have this:------ Build started: Project: BusinessLogic, Configuration: Debug Any CPU ------*...
View ArticleRE: Duplicate Field Delcaration
account-service-record is the file content, it was visible when I copied it -I'm using Visual COBOL 2.2Regards
View ArticleRE: Duplicate Field Delcaration
Ok, by deleting the two COPY statements, I was able to compile this (single) program with ILSMARTLINKAGE. However, I am not seeing any error. It occurs to me that the error is not necessarily...
View ArticleRE: Duplicate Field Delcaration
Ahmet,Please zip up your project and e-mail it to me at chris.glazier@microfocus.com so that I can take a look.Thanks.
View ArticleRE: Duplicate Field Delcaration
Sorry, I had forgotten that things have changed somewhat in the 2.2 Update 1 version of the product. With the Update 1 version you should find that, instead of all the cryptic messages that you...
View ArticleRE: Failure at ILASM Phase
Hi Ahmet,Is this error related to the other posting that you have made about the duplicate names being caused by using the same linkage section parameters on multiple programs when using...
View ArticleRE: Failure at ILASM Phase
It's related Chris, I am sorry for the conceptually duplicate posts.
View ArticleRE: Returning multiple fields in one method
Yes, COBOL can do REFERENCE and OUTPUT parameters, so in this case something like:method-id CheckIsint.procedure division using by value passedString as string, output returnedInt as binary-long...
View ArticleReturning multiple fields in one method
Is there a way in visual cobol to do the following?public Boolean CheckIsInt (string passedString, out Int32 returnedInt){ return Int32.TryParse(passedString, out returnedInt);}
View ArticleRE: ILSMARTLINKAGE Doesn't Generate Record Object
Hi Ahmet,I tested this here and it works fine for me.I added your program to an x86 managed class library project and added the SQL(DBMAN=ADO) and ilsmartlinkage directives to it.I then created a C#...
View ArticleRE: ILSMARTLINKAGE Doesn't Generate Record Object
Ahmet,Are you using both ilsmartnest and ilsmartlinkage when compiling your project now?If you are then the record name will be prefixed with the program name when accessing from a C# program.using...
View ArticleILSMARTLINKAGE Doesn't Generate Record Object
Hi,The problem is either with my mind or with ILSMARTLINKAGE or C#!Why doesn't this code generate the TransactionRecord object while the complier does generated it for another classes!?...
View ArticleRE: ILSMARTLINKAGE Doesn't Generate Record Object
I am not using ilsmartnest, I am just using ILSMARTLIKAGE alone
View ArticleRE: Exception: Expected Identifier or quoted identifier
Since the query runs ok in sql manager, it must be in the oher code not in the select statement. Could it be the EXEC ADO on the "Get Cursor" statement that you are using where you are using EXEC SQL...
View Article