PeopleSoft  

PeopleSoft Scripts and Code
Learn and Share  > PeopleSoft Scripts & Code   > Scripts & Code
PSoftPros.com is proud to offer the Scripts and Code bits to be a successful Pro! These Scripts are FREE, However, Please read the disclaimer before downloading them. 






ifdef   



              
SQR
Bits




           Setting
SQR Transactions to Use A Specific Rollback Segments





Some SQR programs require a
larger rollback segment than others.  When an SQR transacton runs it pick
the first available Rollback segment that Oracle gives.  This sometimes can
cause your SQR to fail with an Oracle error

"Unable to extend Rollback Segment"



The following code bit can be placed in an SQC and called from your
SQR.  This will force the SQR to use a specific Rollback Segment.  You
can force the transact to use the Large rollback segment instead of the smaller
ones.


!
--------------------

! - BEGIN CODE BIT

! --------------------



begin-procedure get-large-rollback

begin-sql

   SET TRANSACTION USE ROLLBACK SEGMENT FSPDRBK5

end-sql

end-procedure get-large-rollback



! --------------------

! - END CODE BIT

! --------------------





 



 

Using the #IFDEF to Show Debug statements in your SQR

 
  
 
Right Click Here
and choose "Save As" to download

 



 


 

 

About Us | Tell a Friend | Contact UsPrivacy | Disclaimer | Terms of Usage | Advertise 

Copyright -  PSoftPros is a registered trademark of / DMT Solutions, Inc.
All other marks are the property of their respective owners. All rights reserved
PSoftPros® / DMT Solutions, Inc. is not affiliated with, Sponsored by, or endorsed by Oracle,  or any company listed on this site. 

space
Visit our Partner Sites

 

space