Phil Hibbs
unread,Nov 1, 2011, 11:58:17 AM11/1/11You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I'm using plink.exe on WinXP to run some commands on Z/OS BASH. My
commands are interspersed with echo commands so that I can parse the
output and work out what is where. The first dozen or so commands run
fine, but then one of them gets truncated. For example:
echo :end_logdetail:
echo Job Name : TfmMigration
echo :jobinfo:
What happens:
user@host:/dev> echo :end_logdetail:
:end_logdetail:
user@host:/dev> echo Job Name : Tf
Job Name : Tf
user@host:/dev> echo :jobinfo:
:jobinfo:
I just checked where in the input file the error occurs, and it's
exactly 4444 bytes in, on line 116 (so it's done 115 successful
commands before it goes wrong). The command I'm using is: Code:
plink -batch -pw xxxx user@host < "c:\dev\telnetcmd.txt" > "c:\dev
\telnetout.txt"
The telnetcmd.txt is just a DOS text file with an "exit" command at
the end.
Any idea why one of my commands is being truncated in this way?
Phil.