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 copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 18 Thu Jul 13, 2017 2:11 pm
No new posts SQL - select data available in index Nileshkul DB2 3 Mon Jun 26, 2017 1:30 am
No new posts NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am


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