You can only chain CP commands together...
You'd need to fiddle with the user's PROFILE EXEC to make it run the EXEC.

And, you should use IPL CMS PARM AUTOCR as to avoid the user ends in VM READ

--
Kris Buelens,
IBM Belgium, VM customer support

2007/1/10, Steve Gentry <[EMAIL PROTECTED]>:


I have an EXEC I want to run but I need to be sure the user has a certain
amount of virtual storage before it can run.
I can get this information  with PIPE and a  Q  V  STOR.
If the storage is less than 50M then I want to increase the storage to
50M.  Then I want the EXEC to continue on.
Here is the code snippet.

'cp define stor 50m' || '15'x || 'I CMS' || '15'x || 'srgmod' mod_name


The define stor  works ok, the I CMS works ok but it won't run the srgmod
 EXEC  (mod_name is an arg I supply)
Is this because when the I CMS runs it clears storage, resets pointers or
something?
If so, is there a way I can accomplish this?

Thanks,
Steve G.

Reply via email to