Hi Ed. You can also use the // exec cpcmd and list all commands on separate lines followed by /*. No need for * or CP. Good if you have a lot of cp commands to issue.
Hans ---------- Original Message ---------------------------------- From: Ed Zell <[EMAIL PROTECTED]> Reply-To: The IBM z/VM Operating System <IBMVM@LISTSERV.UARK.EDU> Date: Fri, 19 Jan 2007 10:14:32 -0600 >I am having a mental block this morning. > >I need to define a CP spooled printer to capture SDAIDS output in a VSE >environment. If I define it and do my thing, do I need to do anything >other than DETACH it when I am done to make it "go away"? > > >// EXEC DTRIATTN,PARM='CP DEFINE 1403 AS FFE' >// EXEC DTRIATTN,PARM='CP SPOOL FFE CMSUSER' > >SDAIDS stuff and job execution goes here > >// EXEC DTRIATTN,PARM='CP CLOSE FFE' >// EXEC DTRIATTN,PARM='CP DETACH FFE' > > >Ed Zell >Illinois Mutual Life Insurance >(309) 674-8255 x-107 > > >. > > >CONFIDENTIAL NOTICE: This communication, including any attachments, is >intended only for the use of the individual or entity to which it is addressed >and contains information which may be confidential. If you are not the >intended recipient, any distribution or copying of this communication is >strictly prohibited. If you have received this communication in error, notify >the sender immediately, delete the communication and destroy all copies. Thank >you for your compliance. > ________________________________________________________________ Sent via the WebMail system at hmrconsultants.com