Jeff, in ongoing discussion:

>But this is not the main benefit of script-local vars, IMHO.  I see
>the main benefits: 1) being able to re-scope predefined HP vars, like
>DSLINE or HPMSGFENCE, 2) having assurance that the local vars your
>script is using do not conflict (meaning overwrite) with other local
vars
>or job/session vars of the same name, e.g. the ubiquitous var I.

Ah, now I see it.  Thank you for the clarification..

Ken Sletten