Nelson, Back in the days when we ran our MVS (z/OS) systems under VM, we had a user written program called CPCMD that would process the PARM data on the EXEC JCL statement and treat it as a CP command and issue the command to CP by using a DIAG-nose instruction. There may be more current and more eloquent ways of doing this in today's envirnment, but this worked for us when we needed it. If you would like a copy of the source, please contact me offline. There may also me a program for this on the VM download site or on the CBT web site. Example: //STEP5 EXEC PGM=CPCMD,PARM='SPOOL PRT CLOSE' If memory serves me correctly this program also parsed and returned the response of the command as well.
________________________________ From: VM/ESA and z/VM Discussions on behalf of FREITAS Nelson Ivo Sent: Thu 11/10/2005 12:43 PM To: [email protected] Subject: CP Commands on the MVS Console Hello Listers, Is it possible to enter CP commands to OS/390-zOS console or through TSO environment, like it is done in VSE/ESA environment with the JCC Command * CP ...? Or, is there a way to do this using a CMS userid through the facility of VMCF, like it is done in VSE/ESA environment? Thanks in advance. Regards, Nelson Freitas
