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

FTP VB file from windows to Mainframe


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vinodh k r

New User


Joined: 03 Jul 2014
Posts: 5
Location: india

PostPosted: Thu Sep 18, 2014 4:47 pm
Reply with quote

Hi,

We need to transfer a VB file(obtained from mainframe in BINARY mode) present in windows which has RDW in its first 4 bytes. As we give QUOTE SITE RDW, RECFM VB and do FTP, by default the VB file is generated with lrecl 256 and the records are jumbled.

Can anyone suggest what needs to be done to get rid of this?

Regards,
Vinodh
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Sep 18, 2014 6:06 pm
Reply with quote

Over ride the default with a value that you want ?

Are you really using FTP or the $INDFILE utility to transfer the data.
Either way it will be possible to change the output dataset attributes.
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Thu Sep 18, 2014 8:46 pm
Reply with quote

vinodh k r wrote:
Hi,

We need to transfer a VB file(obtained from mainframe in BINARY mode) present in windows which has RDW in its first 4 bytes. As we give QUOTE SITE RDW, RECFM VB and do FTP, by default the VB file is generated with lrecl 256 and the records are jumbled.

Can anyone suggest what needs to be done to get rid of this?

Regards,
Vinodh


Don't forget the BINARY attribute!!!
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Sep 19, 2014 4:21 am
Reply with quote

Your FIRST problem was letting somebody transfer a VB file in binary to a non-mainframe platform. Variable blocked mainframe data does not really work on any other platform in binary.

A few years ago I had to transfer a binary VB CICS journal file from mainframe to mainframe via FTP. This took a couple of weeks of work to get the parameters correct for the transfer -- which should give you an idea as to how difficult such transfers are, even going from z/OS to z/OS. The FTP commands we used on the sending machine were:
Code:
userid
password
TYPE E
site pri=50 sec=20 cyl
locsite rdw
MODE BLOCK
put 'data set name'
quit
exit
You may be able to tweak these commands to get them to transfer the data, but if I were you I would not hold high hopes for any transfer of VB binary data from the PC to the mainframe ever working.
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
Search our Forums:

Back to Top