PeopleSoftGuys.com Home
Navigate
viagra samplesviagra high blood pressureviagra super activeviagra jellyviagra costviagra theme songviagra make you last longerviagra 100 side effectsviagra original useviagra 100mg reviewviagra vasodilatorviagra alternativeviagra y alcoholviagra informationviagra usaviagra patent expirationviagra ukviagra like drugsviagra online prescriptionviagra jokes emailviagra erowidviagra los angelesviagra with alcoholviagra interactionsviagra nitratesviagra cost walgreensviagra headquartersviagra no prescriptionviagra levitra cialisviagra joint painviagra shelf lifeviagra ringviagra or cialisviagra paypalviagra voucherviagra japanviagra and cialis togetherviagra expirationviagra vs cialisviagra mgviagra erectionviagra useviagra kidneyviagra email virusviagra under tongueviagra priceviagra super forceviagra without edviagra virus emailviagra 3viagra before and afterviagra vs levitraviagra juicingviagra eye problemsviagra and womenviagra gumviagra use in womenviagra jetviagra horror storiesviagra questionsviagra directionsviagra jingleviagra and grapefruitviagra soft tabsviagra buyviagra vs genericviagra blogviagra generic dateviagra when to takeviagra videoviagra zurichviagra recreational useviagra headacheviagra zonder receptviagra 30 pills 100mg eachviagra and alcoholviagra how it worksviagra use in young menviagra triangleviagra za muskarceviagra ingredientsviagra effectsviagra substituteviagra blue visionviagra vsviagra generic nameviagra mexicoviagra next day deliveryviagra nitric oxideviagra triangle barsviagra kick inviagra womenviagra pillsviagra commercial songviagra kenyaviagra use directionsviagra drug interactionsviagra dosesviagra vs levitra vs cialisviagra side effectsviagra quick tabsviagra kidsviagra cialisviagra vs. birth controlviagra canadaviagra youtube channelviagra effects on womenviagra by mailviagra para mujeresviagra premature ejaculationviagra kaiser permanenteviagra kick in timeviagra empty stomachviagra in canadaviagra blindnessviagra virusviagra goldviagra off patentviagra 150 mgviagra 100viagra 100mg priceviagra you raise me upviagra side effects alcoholviagra with dapoxetineviagra adviagra in the waterviagra fallsviagra grapefruitviagra urban dicviagra professionalviagra buy onlineviagra young ageviagra historyviagra musicviagra makes a romantic relationshipviagra indicationsviagra from indiaviagra overdoseviagra best priceviagra newsviagra experiencesviagra maximum doseviagra las vegasviagra for womenviagra 10mgviagra rxviagra 3000mgviagra discount couponviagra patentviagra testimonialsviagra and zocorviagra walmartviagra overnightviagra 30 day free trialviagra young menviagra prescriptionviagra doesn't workviagra timeviagra 30 minutesviagra and ecstacyviagra 25mg side effectsviagra gelviagra za zeneviagra over the counter
October 18th, 2006

Writing an SQR output to a custom file and post it to web

The background of the issue is in older versions of PeopleSoft SQR programs used to execute from a client workstation and there was no 4-tier concept, so People used to hardcode the output file path with in the program.

PeopleSoft 8 onwards reports are being posted to web and people can view the reports in the view log trace.

But for custom data files SQR uses the OPEN FOR WRITING and WRITE commands for creating these files and control where the output goes.  Since SQR is controlling the output vs the Process Scheduler or PSSQR controlling the output, even if it is written to the right directory, the Report Distribution Server may be unaware of it’s presence and will not transfer and generate a link to view this output. 

To overcome this issue one of the following solutions can be adopted.

With PeopleTools 8.4 onwards the following option can be used. Make sure that the supported file extensions (like .pdf, .lis, .txt are used.).

Option 1:
Use the FILEPREFIX variable from the delivered SETENV.SQC to build the directory path for the hard coded file name. Make sure that SETENV.SQC is coded at the top of the program. Otherwise it will give a substitution variable error.

Example:

  LET $filename = ‘{FILEPREFIX}’||’bank1.txt’
  OPEN $filename AS 1 FOR-WRITING RECORD=85:FIXED
Option 2:
Use the following code format.

Example:

let $filepath = ‘[PS_HOME]\appserv\prcs\[databasename]\log_output\SQR_’ || $ReportID || ‘_’ || $prcs_process_instance || ‘\’
let $filename = $filepath || ‘datafile.lis’
open $filename as 1 for-writing record=100

if the above code doesn’t work for you, you can do one more thing.

You can query PSPRCSPARMS table for PRCSOUTPUTDIR field for your $prcs_process_instance and substitute output value as your file path

Example:
SELECT PRCSOUTPUTDIR FROM PSPRCSPARMS WHERE PRCSINSTANCE = $prcs_process_instance

October 16th, 2006

SQL Error = (226) TRUNCATE TABLE command not allowed within multi-statement transaction.

The below error was came up when one of my colleague was trying to truncate a table with in an SQR procedure. I don’t know whether this is a Sybase specific or for all the databases.

SQL Error  = (226) TRUNCATE TABLE command not allowed within multi-statement transaction.
The Solution is to COMMIT before and after the truncate table statement, So that this will commit the previous transactions.

Example:

Before:

TRUNACATE TABLE PS_CUSTOMER_TMP;

After:

COMMIT;
TRUNACATE TABLE PS_CUSTOMER_TMP;
COMMIT;

August 26th, 2006

(SQR 4045) Function or operator ‘dateadd’ requires date

(SQR 4045) Function or operator ‘dateadd’ requires date argument. The above error will show up if you use dateadd function in SQR and didn’t declare the variable as date. use the following example. declare-variable
date $sunday
end-declare

….
let $date1 = dateadd($sunday,’minute’,1)

|