Unix/Linux Go Back    


UNIX for Dummies Questions & Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers

Vb file from UNIX to mainframe

UNIX for Dummies Questions & Answers


 
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 01-18-2013
poova poova is offline
Registered User
 
Join Date: Nov 2009
Last Activity: 14 May 2014, 2:39 AM EDT
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Vb file from UNIX to mainframe

Hi Everyone,

Do I need to provide record length as Record length + 4 when I'm transferring a variable block files from unix to mainframe through ftp?
For example, I have a file in unix (ebcidic converted) with maximum record length of 100.
This works correctly,
quote site rec=vb lr=104 blocksi=1040
Below working incorrectly, last 4 bytes of the first lines are coming in the first 4 bytes of second line and it's continuing in that way.
quote site rec=vb lr=100 blocksi=1040

So do we need to add 4 bytes in record length (which mainframe will use for adding some control information) for ftpying variable block ps file from unix to mainframe? I'm not sure I did the required change here but data is transferred as expected. Kindly provide your comments in this.

Thanks,
Poova.
Sponsored Links
    #2  
Old Unix and Linux 01-18-2013
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 8 December 2016, 5:10 PM EST
Location: Saskatchewan
Posts: 21,672
Thanks: 1,010
Thanked 3,985 Times in 3,702 Posts
It kind of depends what the mainframe is and what it expects.
Sponsored Links
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Mainframe to Unix. Huge file >5GB Bijesh UNIX for Dummies Questions & Answers 4 12-12-2010 09:46 PM
ftp file from unix to mainframe ashishabhishek UNIX for Advanced & Expert Users 2 07-15-2008 08:45 AM
mainframe assembler file into Unix thambi Shell Programming and Scripting 1 08-23-2007 08:42 AM
Moving file from Mainframe to Unix satyaj_99 Shell Programming and Scripting 2 12-05-2006 06:46 PM



All times are GMT -4. The time now is 05:14 PM.