$coz_bin/cozsftp Multiple Line

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

$coz_bin/cozsftp Multiple Line

Post by atrivino » Tue Jun 17, 2014 10:30 am

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

Re: $coz_bin/cozsftp Multiple Line

Post by dovetail » Tue Jun 17, 2014 3:17 pm

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