Forum Post: RE: How to refresh MF dialog obj from a program?
Hi Neil, I have worked for Micro Focus as a team leader for training and Consulting . So I know about the depths and heights of Cobol and compilers. I have founded my own company and offer examples and...
View ArticleForum Post: RE: How to refresh MF dialog obj from a program?
Hi Neil, Thanks very much for your detailed reply. I really appreciate your input. I'm freelance and use to work for MF support many many years ago! The cobol system is in-house for my client though...
View ArticleForum Post: RE: Object Initializer
It's difficult to be sure, as I don't have the whole program context but something like: invoke student::Add(new Student(prop ID = dr::GetInt32(...) prop Name = ... prop DateOfBirth =...)) You can set...
View ArticleForum Post: Is there an, EXEC SQL SELECT column size limit? Odd prob....
Environment: Windows 10, VS15, VC2.3, MySQL5.7 Hi all, After a bit of experimenting there seems to be a 128 byte limit on the sql code for each item 'selected' - is that right? Can it be increased?...
View ArticleForum Post: MySqlParameter
How would you write this in .net Cobol as an object initializer. SqlParameter [] parameters = { new SqlParameter ( "@first_name" , SqlDbType . VarChar , 50 ) { Value = to . FirstName }, new...
View ArticleForum Post: RE: MySqlParameter
Something like this should do the trick I think: declare parms = table of ( new SqlParameter("@first_name", type SqlDbType::VarChar, 50, property Value = cust::FirstName) new SqlParameter("@last_name",...
View ArticleForum Post: Visual COBOL PE 2.3 download
I am trying to download the Personal Edition for Eclipse on Windows 7. The download page gave me the choice of Visual Studio or Eclipse, but the file downloaded was vsvc2015_23.exe. The Eclipse tab...
View ArticleForum Post: RE: Is there an, EXEC SQL SELECT column size limit? Odd prob....
Problem turns out to be that a column name is being auto generated from the SQL statement and it's the column name that's too long. I don't actually need a column name but adding one solves the...
View ArticleForum Post: RE: Visual COBOL PE 2.3 download
There are two different links available for Visual COBOL PE. One is for the VC for Visual Studio product and the other is for VC Eclipse. The heading at the top of your download page says that it is...
View ArticleForum Post: RE: Visual COBOL PE 2.3 download
Hi Chris, Thanks for the reply. As the link has expired, I had to re-register. I'm waiting on the email. I'll post here again to let you know how I got on.
View ArticleForum Post: RE: MySqlParameter
Can you declare the table in the local storage section? Say for example 01 parms table occurs any. And then write set parms = ( )
View ArticleForum Post: RE: MySqlParameter
method-id GetUserInfo (tro as type TO_Queue) returning valid as type Boolean static local-storage section. 01 dict type Dictionary[string, string] value new Type Dictionary[string, string]. 01 parms...
View ArticleForum Post: RE: MySqlParameter
Ah no, sorry, you need to have: 01 parms type MySqlParameter occurs any. and set parms = table of (...)
View ArticleForum Post: RE: MySqlParameter
Thanks Robert! I am teaching myself .net cobol coming from C# and VB.Net so the syntax is still fairly new. I learned COBOL back in the 80's so the .net Cobol is great and I love it better that the old...
View ArticleForum Post: Method return value
Is there another way of returning a value back to the calling method other than using the set statement. For example method-id GetUserTypes() returning #list as type List[type TO_Queue] public...
View ArticleForum Post: RE: Method return value
No, the only available syntax is as you say to define a RETURNING item in the method-id header (or procedure division header), and to set its value in some way before the method exit.
View ArticleForum Post: RE: Difference Linux Interface Mapping Toolkit v6.0.00
Hi Blair, The problem for me is with Visual Cobol 2.2. I found a solution (more like a workaround). On Windows 7 when i create the service (moving the field and choose the input/ouput direction),...
View ArticleForum Post: Consuming a webservice -- Visual Cobol for Eclipse
Hi, We have Visual Cobol for Eclipse 2.2 and is successfully running to manage cobol applications to load to Oracle dabatase. we are trying to implement a call from Cobol to a web service which was...
View ArticleForum Post: RE: Consuming a webservice -- Visual Cobol for Eclipse
Hi, this question is already answered in this post community.microfocus.com/.../25448 regards,
View Article