IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Not getting amount of data transferred with sftp in BPXBATCH


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
abhilashe

New User


Joined: 23 Feb 2006
Posts: 7
Location: India

PostPosted: Fri Jun 26, 2009 12:20 pm
Reply with quote

I've a REXX utility to transferr data from my host Mainframe to a UNIX server. The necessary STDIN, STDOUT, STDERR and STDENV files have been allocated prior to using BPXBATCH in this utility.
I am not able to see the value of 'amount of/bytes of data transferred ' using sftp in any of the output files STDOUT/STDERR?
Could anyone help me on this?
Back to top
View user's profile Send private message
abhilashe

New User


Joined: 23 Feb 2006
Posts: 7
Location: India

PostPosted: Fri Jun 26, 2009 12:50 pm
Reply with quote

Just to elaborate on the above topic. Following is the sequence of commands/messages while using sftp interactively in PuTTy. Here the bytes and rate of transfer is visible (line #7)
OS/390 MXXX #sftp USER@SERVER
Connecting to SERVER...
sftp> ascii
Sets the file transfer type to ASCII.
sftp> get test2
Fetching /uce_rel/application/uce_ins_6.4.1/bcuser/USER/test2 to test2
/uce_rel/application/uce_ins_6.4.1/bcuser/USER/test2 100% 81 0.1KB/s 00:00
sftp> bye
OS/390 MXXX #

Same sequence of commands when executed via BPXBATCH in the REXX utility give the following STDOUT and STDERR files. The line having bytes transferred data goes missing here.
STDERR
Connecting to SERVER...

STDOUT
Logged on using a terminal , on device not a tty
Welcome to z/OS 1.8 Unix System Services
sftp> Sets the file transfer type to ASCII.
Fetching /uce_rel/application/uce_ins_6.4.1/bcuser/USER/test2 to test2
sftp>

Is there any possibility to capture the missing line in STDOUT or STDERR?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 2
No new posts Store the data for fixed length COBOL Programming 1
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
Search our Forums:

Back to Top