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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Closing Cognos Catalogs

Status
Not open for further replies.

JuniorBSA

MIS
Apr 4, 2003
2
US
Example...
I've scheduled five imr's to run nightly through scheduler.I have a script attached to each one that copies the output to certain folders on the network. In addition to copying the report, I would like the script to close the current open catalog so other imr's that are attached to different catalogs can run without blowing up. Is there a way to close the catalog with script or by any other means? Thanks.

[afro]
 
If you're using CognosScript there is a Catalog object which has a Close method. Why not use these?
 
I'm not sure we're on the same page. What I have attached to each scheduled IMR is a batch file that copies the output to specified locations on the network, but in addition to this, I would like to close the catalog after that IMR has completed. I may just be misunderstanding you. If so, please elaborate. Thanks
 
Oh, I thought your script was a Cognos script, ie written in VBA (Visual Basic). That's what I was suggesting, ie using CognosScript to control your reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top