Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-18-2013
Registered User
 
Join Date: Nov 2009
Posts: 22
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 01-18-2013
Mead Rotor
 
Join Date: Aug 2005
Location: Saskatchewan
Posts: 16,374
Thanks: 491
Thanked 2,535 Times in 2,418 Posts
It kind of depends what the mainframe is and what it expects.
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 08:46 PM
UNIX Script to FTP file to Mainframe System vpv0002 Shell Programming and Scripting 1 09-22-2010 12:18 AM
ftp file from unix to mainframe ashishabhishek UNIX for Advanced & Expert Users 2 07-15-2008 07:45 AM
mainframe assembler file into Unix thambi Shell Programming and Scripting 1 08-23-2007 07:42 AM
Moving file from Mainframe to Unix satyaj_99 Shell Programming and Scripting 2 12-05-2006 05:46 PM



All times are GMT -4. The time now is 01:49 AM.