- For individual users
- Instant access to solutions
- Ask your tech questions
- Start your 30-day Free Trial
Main Topics
Browse All TopicsHey Guys,
I am trying to use the peoplesoft "Data Archive manager" to archive some tables. I can get everything to work sweet but the problem comes when i want the run controls to be done by the process scheduler. So basically it all goes well for the selection phase which copies the data to the history tables, however when i need the second part of the process to run which is the delete from online tables, i run into trouble. This part of the process is quite neat in that it will allow you to select a batch number for the delettion process and only delete those rows that have been archived. Not this would be fine if running manually but my problem lies here.
My solution ideas are to either pass the variable for the batch number when the run control is running by getting the max(id) from the table and passing that... Or, the second solution was to use a selective query instead of the batch number and just select the rows for deletion that have been archived in sql.
I am not sure how to do either of these solutions, as i do not know how to pass the dynamic variable to the run control and i also cannot seem to be able to make a query show up in the "selective query" option when in the delete "selection criteria". I would prefer to use the query method if i could just work out how to select the query but have no idea how to make it show up???
The reason i am goign to this much trouble is to keep the process as clean as possible rather than resorting to deleting the info externally to this process.
Thanks in advance David
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: wheelie77Posted on 2008-09-16 at 16:02:02ID: 22494101
Hey Guys,
Sorry for the delay but i have found the solution to the problem
Select allOpen in new window