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:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.