RI_REPLACE usage (need help).

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
net4ward
Posts: 7
Joined: Tue Oct 10, 2017 12:44 pm

RI_REPLACE usage (need help).

Post by net4ward » Wed Dec 17, 2003 6:17 pm

[updated:LAST EDITED ON Dec-17-03 AT 06:39 PM (EST)]Can you direct me to better documentation on how to use the RI_REPLACE paramter in a Text Control table.____The Developers Guide talks about it and shows examples, but not too detailed.____For Example:____I have an SQL Procedure statement that accepts parameters. I would like to call the Stored Proc using RSWUSER by default like:____EXEC sFundUnitTradeWithUndo ^08/06/2003^, ^08/06/2003^, 51____but I would like to be able to replace the parameters. Do I do it like one of these?____Example1:__EXEC sFundUnitTradeWithUndo <<^08/06/2003^>>, <<^08/06/2003^>>, <<51>>__or Example2:__EXEC sFundUnitTradeWithUndo ^<<08/06/2003>>^, ^<<08/06/2003>>^, <<51>>____Then set up a Text Control File containing:____Example1:__ RI_REPLACE=<<^08/07/2003^>>, <<^08/08/2003^>>, <<50>>__Example2:__ RI_REPLACE=<<08/07/2003>>, <<08/08/2003>>, <<50>>____The question basically boils down to delimeters and placement on the replacable fields.____That would be great if you could provide an example.____Thanks in Advance,____John Ward__

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: RI_REPLACE usage (need help).

Post by kfleming » Thu Dec 18, 2003 8:25 am

You would use the first example of each of these.____EXEC sFundUnitTradeWithUndo <<^08/06/2003^>>, <<^08/06/2003^>>, <<51>>____RI_REPLACE=<<^08/07/2003^>>, <<^08/08/2003^>>, <<50>>______Kathleen__R&R Support

Post Reply