On Wed, 21 Mar 2012 16:40:12 -0500, Jonathan Goossen wrote:

>A way to simulate this is to accumulate the stem elements to a string and 
then iterate through them.

If jobs is a string of job names...

o Sometimes you haven't control over this: the compound
  may be defined by a host environment command.

o The various tails may contain embedded blanks.

n = words(jobs)
do i = 1 to n
  job = word(jobs, i)
  if stem_var.job = ?.
  Other_stem.job = 'foo'
etc.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to