View previous topic :: View next topic
|
Author |
Message |
swapnadeep.ganguly
Active User
Joined: 21 Mar 2007 Posts: 203 Location: India
|
|
|
|
Hi Gurus,
I am required to transfer a file from the Mainframe to the UNIX server. The file length in Mainframes is say 121 bytes. But when we are using Connect:Direct to transfer the files to the UNIX, then the file gets truncated to 88 bytes in UNIX.
In Mainframes the columns 89 to 121 bytes are blanks. Can any one please help me out in this???
I came to the point that since these columns are blank, so the files while getting transferred are truncated. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
SYSOPTS=":STRIP.BLANKS=NO:"
Quote: |
STRIP.BLANKS=NO|YES
specifies whether trailing blank characters are removed from the text record before writing or transmitting the record.
|
|
|
Back to top |
|
|
swapnadeep.ganguly
Active User
Joined: 21 Mar 2007 Posts: 203 Location: India
|
|
|
|
Hi Kevin,
I tried the above parameter... But still the file is truncated...
Some one told me that UNIX takes spaces to be null and the same is truncated... |
|
Back to top |
|
|
santosh.ambaprasad
New User
Joined: 08 Mar 2009 Posts: 16 Location: London
|
|
|
|
Chnage the SYSOPTS to below.It will preserve the trailing spaces.
SYSOPTS=":STRIP.BLANKS=NO:DATATYPE=TEXT"
NOTE: Just want to ensur the completeness of POST.So replying to the pretty old thread.Apologies for that. |
|
Back to top |
|
|
|