Re: How do I issue Vary SMS commands in batch

2009-11-30 Thread Shmuel Metz (Seymour J.)
In c11ded818b17214792b97fba28712bed02b8bc8...@jer-email1.jer.ad.malam.com, on 11/26/2009 at 02:52 PM, gad...@malam.com said: I would like to issue the V SMS,VOL(xxx),Disable,new command, or an equivalent, in batch. The job would issue the command, then run a defrag step, and then issue

Re: How do I issue Vary SMS commands in batch

2009-11-27 Thread Jan MOEYERSONS
On Thu, 26 Nov 2009 14:52:25 +0200, #1490;#1491;#1497; amp;#1489;#1503; #1488;#1489;#1497; gad...@malam.com wrote: The job would issue the command, then run a defrag step, and then issue another command to enable the volume. Is this possible? Can I suggest you search the archives? This topic

How do I issue Vary SMS commands in batch

2009-11-26 Thread גדי בן אבי
Hi, I would like to issue the ‘V SMS,VOL(xxx),Disable,new’ command, or an equivalent, in batch. The job would issue the command, then run a defrag step, and then issue another command to enable the volume. Is this possible? Using the COMMAND JCL statement won’t work, because the command

Re: How do I issue Vary SMS commands in batch

2009-11-26 Thread Juergen Keller
try this: //CMD EXEC PGM=IEBGENER //SYSPRINT DD SYSOUT=* //SYSINDD DUMMY //SYSUT2 DD SYSOUT=(A,INTRDR) //SYSUT1 DD DATA,DLM=XX /*$VS,'cmd' XX regards Juergen

Re: How do I issue Vary SMS commands in batch

2009-11-26 Thread גדי בן אבי
Thanks -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Juergen Keller Sent: Thursday, November 26, 2009 2:57 PM To: IBM-MAIN@bama.ua.edu Subject: Re: How do I issue Vary SMS commands in batch try this: //CMD EXEC PGM=IEBGENER

Re: How do I issue Vary SMS commands in batch

2009-11-26 Thread Binyamin Dissen
On Thu, 26 Nov 2009 14:52:25 +0200 ??? ?? ??? gad...@malam.com wrote: :I would like to issue the ‘V SMS,VOL(xxx),Disable,new’ command, or an equivalent, in batch. :The job would issue the command, then run a defrag step, and then issue another command to enable the volume. :Is this possible?

Re: How do I issue Vary SMS commands in batch

2009-11-26 Thread Lizette Koehler
Gadi, You could use a scheduling package to submit the first job that would do the vary, then submit a second job to do the defrag, then have it issue a last job to do the last vary. Or you could write a REXX that runs in batch that does all this and does condition code checking. Or you could

Re: How do I issue Vary SMS commands in batch

2009-11-26 Thread Paul Gilmartin
On Thu, 26 Nov 2009 08:12:28 -0500, Lizette Koehler wrote: You could use a scheduling package to submit the first job that would do the vary, then submit a second job to do the defrag, then have it issue a last job to do the last vary. Why three jobs? Couldn't the first vary and the defrag be

Re: How do I issue Vary SMS commands in batch

2009-11-26 Thread Itschak Mugzach
I would issue the commands using TSO Console command and get the response to see if the command was executed with no problem. Entering the command is one thing, and ensuring that the command did what you wanted is another thing. Rexx / Clist are best platforms for doing this. Regards, ITschak On