cancel
Showing results for 
Search instead for 
Did you mean: 

Archiving Workflow with SARA; WORKITEM_WRI and WORKITEM_DEL

Former Member
0 Kudos

I have been manually running the write and delete steps to archive completed workitems. I am now ready to set these jobs to run on a schedule through SM37. The write worked fine and created four archive files. However, the scheduled delete job only processed the first file. How can I define a scheduled job for the delete to use all files generated from the scheduled write job? I will not know how many archive files will be written. I just want the scheduled delete job to use them all.

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Cliff,

Problem could be that your deletion job was stopped or terminated because of various reasons.

You have to Run the deletion program once again for the archive session number. You have to get 4 deletion joblog and spool list for all the 4 archive files created.

Schedule delete job:

SARA > Delete > Select the Archive Session Number

Maintain Spool and Time > execute

Note: 1. Session number contains all the archive files created.

2. There is no problem in your setting of deletion program because already one archive file was deleted successfully.

Thanks,

Ajay

Former Member
0 Kudos

Hi Cliff,

The delete program should automatically take care of that when you schedule it from SARA..

Check the customizing for file name.

Basis Customizing:

Cross-Client File Names/Paths

Client-Specific File Names

Archiving Object-Specific Customizing:

Technical Settings

Atul