How can I use the SDK to get a list of email recipients which are defined in a schedule or job?
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
/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