Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Not getting amount of data transferred with sftp in BPXBATCH

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Not getting amount of data transferred with sftp in BPXBATCH
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    Post subject: Reply to: Not getting amount of data transferred with sftp i
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us