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.
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"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.