Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Sal_Cambareri Trusted Contributor.
Trusted Contributor.
1756 views

Using Outlook Redemption with Extend COBOL

Jump to solution

Hi-

After struggling for years with MapiLand and Outlook Security Manager in our Extend ACUCOBOL applications, we have decided to replace both with Outlook Redemption. It works very well with one exception: If Outlook is not actively running on the workstation, use of Redemption results in a Memory Access Violation Fatal COBOL error. 

Has anyone else had this issue and if so how did you solve it?

Sal Cambareri

UBCC

Director Software Development

0 Likes
1 Solution

Accepted Solutions
Sal_Cambareri Trusted Contributor.
Trusted Contributor.

RE: Using Outlook Redemption with Extend COBOL

Jump to solution

Jaap-

Thank you for replying. Yes, we do use the Declaratives as you suggest. But that was not the solution.  It turned out that when Redemption is called it generates an error when Outlook is not running, and the error was reported as a MAV error in v9.0 wrun32.  Our solution was two part: First we upgraded wrun32 to version v9.1.2.1 and the MAV error was replaced by something  usable. When we understood that we were then able to use the Windows TASKLIST utility to test whether Outlook was running before calling Redemption.

I would like a more elegant way to determine if Outlook is running, but otherwise I am satisfied with the solution.

Regards,

Sal

Sal Cambareri

UBCC

Director Software Development

View solution in original post

0 Likes
2 Replies
JaapV Super Contributor.
Super Contributor.

RE: Using Outlook Redemption with Extend COBOL

Jump to solution

Sal, you have this:

      DECLARATIVES.

      OBJECT-EXECEPTION-HANDLING SECTION.

          USE AFTER EXCEPTION ON OBJECT.

      OBJECT-EXCEPTION-HANDLER.

          CALL      "C$EXCEPINFO"            USING  ERROR-INFO

                                                    ERR-SOURCE

                                                    ERR-DESCRIPTION

                                                    ERR-HELP-FILE

                                                    ERR-HELP-CONTEXT.

      END DECLARATIVES.

0 Likes
Sal_Cambareri Trusted Contributor.
Trusted Contributor.

RE: Using Outlook Redemption with Extend COBOL

Jump to solution

Jaap-

Thank you for replying. Yes, we do use the Declaratives as you suggest. But that was not the solution.  It turned out that when Redemption is called it generates an error when Outlook is not running, and the error was reported as a MAV error in v9.0 wrun32.  Our solution was two part: First we upgraded wrun32 to version v9.1.2.1 and the MAV error was replaced by something  usable. When we understood that we were then able to use the Windows TASKLIST utility to test whether Outlook was running before calling Redemption.

I would like a more elegant way to determine if Outlook is running, but otherwise I am satisfied with the solution.

Regards,

Sal

Sal Cambareri

UBCC

Director Software Development

View solution in original post

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.