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
 

 

File getting Truncated while using Connect:Direct

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Thu Mar 13, 2008 12:33 pm    Post subject: File getting Truncated while using Connect:Direct
Reply with quote

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
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Thu Mar 13, 2008 2:06 pm    Post subject: Reply to: File getting Truncated while using Connect:Direct
Reply with quote

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
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Thu Mar 13, 2008 3:40 pm    Post subject:
Reply with quote

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
View user's profile Send private message
santosh.ambaprasad

New User


Joined: 08 Mar 2009
Posts: 16
Location: London

PostPosted: Thu May 06, 2010 8:31 pm    Post subject: Reply to: File getting Truncated while using Connect:Direct
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
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
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


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