Friday, December 16, 2011

Turn on logging for xmlp Reports

Steps to Turn ON Logging for XMLP Reports for Debugging

Steps to Turn ON Logging for XMLP Reports for Debugging.

Create a file named xdodebug.cfg and place it under [PS_HOME]\JRE\Lib] folder.The file should include the following line:

Under Windows
LogLevel=STATEMENT

LogDir=c:\temp

Under Unix
The file Should look like this (point to an appropriate temporary directory under the Unix box)
LogLevel=STATEMENT

LogDir=/pshome/appserv/

Remove xdodebug.cfg when finished replicating the issue.

The logging is specifically useful for troubleshooting the Template(RTF/PDF) or Data File(XML file) specific issues. The generated XML file is the actual data file which is run from the MS Word Design Helper Preview mode to narrow down the issue.

Monday, December 12, 2011

Peoplesoft on YouTube

PeopleSoft on YouTube

Search for PSFTOracle

Search for PeopleSoftTechnology
http://download.oracle.com/peopletools/viewlets.html

PeopleTools 8.52 is supporting PeopleSoft on iPAD, mobile Safari


You can find demo PeopleSoft Environments at the url below
www.connectnd.us

Tuesday, October 18, 2011

psmail to send mails

Pretty handy!!

C:\pshome\bin\server\winx86\psmail -TO"devendra.vaidya@myeemail.com" -FROM"PeopleSoft@peoplesoft.com" -SUBJECT"give your subject" -BODY"Give your body" -FILE"filename with path" >>D:\maillogs\mail1.log

Tuesday, October 11, 2011

Script to extract last 'n' number of lines from a text file

@echo off > newfile.TXT & setLocal enableDELAYedexpansion

set N=
for /f "tokens=* delims= " %%a in (C:\TEST.TXT) do (
set /a N+=1
)
set /a X=!N!-4
set N=

for /f "tokens=* delims= " %%a in (C:\TEST.TXT) do (
set /a N+=1
if !N! gtr !X! echo %%a >> newfile.TXT
)