On Tue, 15 Nov 2005 08:51:12 -0600, Bill Larsen <[EMAIL PROTECTED]> wrote:

>Dear all ,
>I have a jcl that will be use on 2 partitions , and ideally i would want
>some thing like :
>//  if &sysname EQ PART1 then
>stepA(...)
>//  else
>stepB(..)
>//  end
>I've tried to code it, but i get jcl error , i suppose that the problem has
>been addressed by many sites , so just want to have your solution.
>
>Thank you

You can't use static system symbols in batch JCL.  This question gets
asked about once every month or so (at least at seams like it does).

Search the archives for more information and some alternatives.
If you are a member, also search on search390.com where I have also
posted information on this - including a reference to a IEFUJV exit
from one of Xephon's web sites.  I'm not sure if that  exit ever made
it to the CBT (http://www.cbttape.org), but if that one didn't there
are probably others.

Mark
--
Mark Zelden
Sr. Software and Systems Architect - z/OS Team Lead
Zurich North America and Farmers Insurance Group
mailto: [EMAIL PROTECTED]
Systems Programming expert at http://Search390.com/ateExperts/
Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to