I think you should convert the process to have your first document/spreadsheet do all of the processing via macros. It should run much faster and you will probably eliminate the problems you are experiencing.
The best way would be to combine the method mentioned above, but download all of the records to process and then have the process be called only once, with the macro doing all of the work.
Thank You, the command being used is as follows: STRPCCMD PCCMD('C:Progra~1MSOFFICEOFFICEEXCEL + C:TERMPO~1SPLT-95') PAUSE(*NO). This CL is a looping type of program. It will process 2 standard Word Doc. (no AS/400 data loaded), then an Excel sheet (one AS/400 record loaded), then 4 more standard Word Doc(no AS/400 data loaded). The process is then repeated for the next AS/400 record. The CL may run and process up to 68 different spreadsheets and doc. before the PCSPCO002 message is received. There is no pattern that can be established with the message, sometimes appearing during the printing of an excel sheet, next time a word doc. Once received, no more Excel or Word Doc. can be processed until the PC is rebooted.