Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us