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 All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Format data from multiple records usi... SYNCSORT 4
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Structured Data and Nested Loops via ... COBOL Programming 0
No new posts Alternate key data extracttion COBOL Programming 13
No new posts SFTP Return Codes TSO/ISPF 2
Search our Forums:


Back to Top