PeopleSoft Corner

Who's Online

We have 3 guests online

CB Login

Recommended Products

I use and recommend the following products:

UltraEdit

UltraCompare

BeyondCompare

SQL Developer

del.icio.us addon for Firefox

 

Sending SQR Output Files to the Report Repository Print
Written by Brent Martin   
Tuesday, 10 April 2007

Just yesterday one of my co-workers was using David Vandiver's Excel libraries for SQR to create a spreadsheet document from Excel, and he wanted to send the spreadsheet to the report repository.  I knew you had to write to the $PS_HOME/appserv/prcs/[DBNAME]/log_output/SQR_<sqrName>_<ProcessInstance> directory but I wasn't sure the best way to go about it.

Anyway I asked David, and he pointed me to this article that describes several options to get the directory programatically so the path name doesn't have to be changed as you migrate it from environment to environment.  The option I like is to select PRCSOUTPUTDIR from PSPRCSPARMS for your process instance, then prepend that directory to your filename before you open it.  David has written the code for this approach here .

Thanks, David! 

Comments (0)add feed
Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley


Write the displayed characters


busy
Last Updated ( Tuesday, 10 April 2007 )
 
< Prev