Coding the TAG and SPOOL commands rather than using LPR EXEC has fixed the immediate problem. Thank you I hit a socket problem -
DMTLPR083E Socket error on link XRXSTD request=Bind DMTLPR083E return code=- 1 error number=13 (Permission denied) but I found an answer in the archives, and I have specified SECURE=NO in the EPARM field. I'm not sure why the name of the link would need to be different to the printer name specified in the PARM statement, so I have changed that. And after a lifetime of using RSCS I have been shown that there is a continuation character for PARM statements ;-) Regards Ian Jones UKOSG - Infrastructure Specialist EDS ITO - UK mainframe Software Services 4 Roundwood Avenue Uxbridge, UB11 1BQ Phone: +44 (0)7790 492056 mailto:[EMAIL PROTECTED] http://www.mainframe.uk.eds.com <http://www.mainframe.uk.eds.com/> This email contains information which is confidential and may be privileged. Unless you are the intended addressee (or authorised to receive for the addressee) you may not use, forward, copy or disclose to anyone this email or any information contained in this email. If you have received this email in error, please advise the sender by reply email immediately and delete this email. Electronic Data Systems Ltd Registered Office:, Lansdowne House, Berkeley Square, London W1J 6ER Registered in England no: 53419 VAT number: 432 99 5915