I am using this key symbolic with cozbatch in other scripts that use user and paswword authentication. When adding to the the script that uses RSA authentication I get an error on the $TRANSFER symbolic? Thanks Matt
CoZBatchN½: Copyright (C) 2005-2009 Dovetailed Technologies LLC. All rights res
CoZBatchN½: version 1.7.5 2010-12-13
CoZBatchI½: executing progname=login-shell="-/bin/sh"
Co:Z cozsftp version: 1.7.5 (5.0p1) 2010-12-13
Copyright (C) Dovetailed Technologies, LLC. 2008. All rights reserved.
ZosSettingsE½: Keyword mode value '' does not match pattern '¬(bin(ary)?|text)$ . RC=1
cozsftp> lzopts mode=,servercp=ISO8859-1
servercp=ISO8859-1 ?mode=
CoZBatchI½: returning rc=exitcode=0
# Customize these ...
coz_bin="/usr/lpp/coz/bin"
servercp="ISO8859-1"
TRANSFER="$(echo $TRANSFER | tr ':upper:½' ':lower:½')"
ruser="c7ioh0p8"
server="safetransvalidate.wellsfargo.com"
rfile="/inbound/PUBLI296_PMGR_1"
ssh_opts="-oConnectTimeout=60"
ssh_opts="$ssh_opts -oServerAliveInterval=60"
ssh_opts="$ssh_opts -oStrictHostKeyChecking=no" # accept initial host keyes
$coz_bin/cozsftp $ssh_opts -k WELLSVERING -b- $ruser@$server <<EOB
lzopts mode=$TRANSFER,servercp=$servercp
EOB
Symbolic Keyword Error
Re: Symbolic Keyword Error
$TRANSFER has no value prior to this statement:
Check to make sure you are setting it.
Code: Select all
TRANSFER="$(echo $TRANSFER | tr ':upper:½' ':lower:½')"