How to use a multi-line STDENV variable

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

How to use a multi-line STDENV variable

Post by gngrossi »

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: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: How to use a multi-line STDENV variable

Post by dovetail »

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