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
 

 

FTP VB file from windows to Mainframe

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: FTP VB file from windows to Mainframe
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: 8593
Location: Back in jolly old England

PostPosted: Thu Sep 18, 2014 6:06 pm    Post subject:
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    Post subject: Re: FTP VB file from windows to Mainframe
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: 7907
Location: Bellevue, IA

PostPosted: Fri Sep 19, 2014 4:21 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
This topic is locked: you cannot edit posts or make replies. Urgent Mainframe Requirments (2-10 yr... Shankar779 Mainframe Jobs 0 Sun Nov 27, 2016 1:48 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm


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