Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi, Id it possible to call a con

Status
Not open for further replies.

raju111

Programmer
Sep 10, 2002
19
0
0
US
Hi,

Id it possible to call a control file(.txt) from a cognos macro.If yes plz provide the code.I would like to put Database connetcing string,username , password info in control file.

Thanks,
Noothan
 
Noothan,

This is possible using the File I/O options in the macro language. If you intend to use it with id's and passwords, a better option is to use encryption. Otherwise you expose yourself by leaving the password in clear text in the input file. Do a keyword search on encrypt password and look for a thread I wrote with a macro sub-routine on how to accomplish this.

Regards,

Dave Griffin
The Decision Support Group
Reporting Consulting with Cognos BI Tools
"Magic with Data"
[pc2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top