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

Files *.BAT in the progammer

Status
Not open for further replies.

carfi

Technical User
Mar 7, 2005
9
GB
Hello,
I would like to integrate files *.BAT in the programmer. Would have you examples of files *BAT to give me, as well as the implementation to install the files *.BAT in the programmer.

Thank you for your assistance.

C.
 
By Programmer, do you mean
1) CognosScript Macro,
2) Cognos Scheduler
or
3) Windows Scheduled Tasks?

Is there anything in particular you are trying to do with a .BAT file?

Here's a short example to backup upfront; I run it using Windows Scheduler:
Code:
C:
CD\Progra~1\Cognos\cer4\bin\
Upfpack.exe -un <User> -pw <Password> -d D:\Backups
upfdbadm.exe -b D:\Backups\UpFrontStore.Bak

soi la, soi carré
 
Thank for this reponse.

I would like to use the file *.BAT to generate cubes and reports Powerplay.
 
To generate a cube:
Code:
c:\Progra~1\Cognos\cer4\bin\trnsfrmr.exe" -n -s D:\Models\Sales.pyi

See appendix C in the pdf "step by step transformer" (pp_sbs_trns.pdf) in your documentation install.

If you keep your models in .mdl format, then look at the "Transformer MDL" pdf (pp_trns_mdl.pdf)

'fraid I don't use .BAT to do reporting, so can't help you there; the Cognos Scheduler is fine for basic report running, or use macros for more complicated reporting.


soi la, soi carré
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top