SDK Sample to get a list of E-Mail recipients for Jobs and Schedules

Technote (FAQ)


Question

How can I use the SDK to get a list of email recipients which are defined in a schedule or job?

Answer

The attaches sample code demonstrates how you can get a list of all defined email recipients of a schedule, job or jobstep object.

If the defined email recipient is a plain SMTP address it'll simply be printed out.

In case the recipient is an Account, Contact or Distribution list, the sample application will do subsequent queries to identify the email addresses of those recipients as well.

To run the sample you will need to define a valid searchPath of an existing Schedule, Job or JobStep element.

For those new to the SDK, please refer to the following document under Software Development Kit documentation: IBM Cognos Software Development Kit Getting Started

VERSIONS:
/cognos8_4_1 = IBM Cognos 8.4.1
/cognos10_1_0 = IBM Cognos 10.1.0
/cognos10_1_1 = IBM Cognos 10.1.1
/cognos10_2 = IBM Cognos 10.2


Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Cognos Business Intelligence
Software Development Kit

Software version:

8.4.1, 10.1, 10.1.1, 10.2

Operating system(s):

AIX, HP Itanium, HP-UX, Linux, Solaris, Windows

Software edition:

All Editions

Reference #:

1617832

Modified date:

2012-11-19

Translate my page

Machine Translation

Content navigation