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

FTP a Variable Block File..


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

New User


Joined: 17 Jun 2005
Posts: 14
Location: Chennai

PostPosted: Fri Jun 17, 2005 11:26 pm
Reply with quote

Hi all,

I needed to transmit a VB format file from One Mainframe System to Other Mainframe System. We use intermediate server for this transmission.
For transmitting the FB format file, I was able to successfully do the PUT from Source system to PC server and GET from the PC server to Destination system.
This is not successful while transmitting the VB format, I suppose I am losing the RDW of the record.

Please let me know how to transmit the VB fomat file.

Virgon
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Sat Jun 18, 2005 12:42 am
Reply with quote

This is a description of the SYSFTPD (FTP.DATA) DDNAME entry from the "z/OS V1R6 IP User's Guide":

RDW TRUE | FALSE;

TRUE=retain RDW's and transfer as part of data.
FALSE=discard RDW's when transferring data (Default).

There is also the LOCSITE command RDW:

"Specifies that variable record descriptor words (RDWs) are treated as if they were part of the record and not discarded during FTP transmission of variable format datasets. This applies to transfers in stream mode only."

"Note: RDW information is stored in binary. Transfer files in binary mode to avoid translation problems that can occur if you transfer this binary field in EBCDIC or ASCII."
Back to top
View user's profile Send private message
Virgon
Warnings : 1

New User


Joined: 17 Jun 2005
Posts: 14
Location: Chennai

PostPosted: Sat Jun 18, 2005 1:20 pm
Reply with quote

Hi Superk,

Thanks for this suggestion. I have already tried giving the RDW option in the LOCSITE command. But, it was not successful. I will also refer the manual suggested by you. Previously,I was browsing the Netview FTP manual.

Thanks,
Virgon
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 Trying to reference a javascript glob... CLIST & REXX 7
No new posts To pull the file with Date and Time u... TSO/ISPF 17
No new posts passing stem variable with VPUT/VGET ... CLIST & REXX 6
No new posts regarding COBOL WRITE verb (VB File H... COBOL Programming 6
No new posts COBOL Table data to a flat file with ... COBOL Programming 8
Search our Forums:

Back to Top