Highlighted
Absent Member.
Absent Member.
664 views

[archive] translation .NET

[Migrated content. Thread originally posted on 30 July 2009]

Hello,

Can someone help me translate this:
METHOD, 0, "@reactAddressReeksFullParameterSearch"
"BSTR" @auth_reactid, TYPE 8
"BSTR" @province, TYPE 8
"BSTR" @district, TYPE 8
"BSTR" @city, TYPE 8
"BSTR" @street, TYPE 8
"int" @houseNo, TYPE 3
"BSTR" @houseNoAddition, TYPE 8
"BSTR" @nbcode, TYPE 8
"BSTR" @lettercombination, TYPE 8
"BSTR" @addresstype, TYPE 8
"int" @page, TYPE 3
RETURNING "STORED_OBJECT", TYPE 69

Thanks,
Andre.
0 Likes
4 Replies
Highlighted
Absent Member.
Absent Member.

RE: [archive] translation .NET

This looks like a method that takes in 11 parameters and returns an object. The BSTR parameters are strings and the int are integers. I'm assuming this is in a "def" file created by an Acu utility?
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] translation .NET

Yes I created de .def file with netdefgen from a webservice which returns zip-codes and other things.
I am not very familliar with translating to cobol.
So if anyone has examples on how to do this it would be very welcome.
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] translation .NET

Here is my program. Want to get an address returned from the webservice. Can someone help me translate this. Included is also de C-program.

Thanks,
Andre.
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: [archive] translation .NET

I don't know whether you have tested this or not, but I suspect it will not work because of the function returning a STORED_OBJECT. ACUCOBOL-GT does not support this.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.