$coz_bin/cozsftp Multiple Line

Discussion of the COZBATCH utility for z/OS
Post Reply
atrivino
Posts: 17
Joined: Wed Jul 13, 2011 9:28 am

$coz_bin/cozsftp Multiple Line

Post by atrivino »

Team,


Currently, we have symbolics in the jcl invoking COZBATCH with the following statement that runs all the way to column 72 which present a jcl issue:
%R1$.REN$.%RKY$.$coz_bin/cozsftp $ssh_opts -k $rky -b- $r_usr@$r_svr <<EOB

Aside from shortening the variables assigned by the control card, is there any way to have the EOB indicator to span across multiple lines?

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

Re: $coz_bin/cozsftp Multiple Line

Post by dovetail »

you can put a \ character at the end of the line and then continue on the next line. (This is standard z/OS Unix shell syntax for line continuation).

So, with you example, try this:

%R1$.REN$.%RKY$.$coz_bin/cozsftp \
$ssh_opts -k $rky -b- $r_usr@$r_svr <<EOB
Post Reply