How to use a multi-line STDENV variable

Discussion of the free COZBATCH utility for z/OS
Post Reply
gngrossi
Posts: 34
Joined: Sat Mar 06, 2010 6:10 pm

How to use a multi-line STDENV variable

Post by gngrossi » Thu Oct 04, 2018 12:54 pm

Is there a way to set a STDENV variable that uses a continuation character? (like I would in STDIN)
Neither of these options worked.
Thanks.

Tried using:
//STDENV DD *
VAR1=aaaaaaaaaaaa\
bbbbbbbbbbbbbbbbb

Also,tried using a USS file which was multi-line:
//STDENV DD PATH='/tmp/zz',PATHOPTS=ORDONLY

dovetail
Site Admin
Posts: 1856
Joined: Thu Jul 29, 2004 12:12 pm

Re: How to use a multi-line STDENV variable

Post by dovetail » Thu Oct 04, 2018 2:58 pm

The mechanism behind DD:STDENV provided by z/OS Language Environment, and not COZBATCH directly.
It does not do line continuations.

Post Reply