Vb file from UNIX to mainframe | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


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 !!

Vb file from UNIX to mainframe

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 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 01-18-2013
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 21 September 2014, 4:01 PM EDT
Location: Saskatchewan
Posts: 19,392
Thanks: 790
Thanked 3,271 Times in 3,066 Posts
It kind of depends what the mainframe is and what it expects.
Sponsored Links
Closed Thread

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 10:12 PM.