IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

FTP : From Mainframe to PC/External Server


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vkrishnakumar85

New User


Joined: 11 Dec 2008
Posts: 4
Location: india

PostPosted: Wed Feb 17, 2010 3:09 pm
Reply with quote

Hi ,
i am trying to FTP a file with fixed length of 300bytes to PC using ISPF Command prompt. the file has got trailing spaces. that is, it has got data till 240 and the last 60 bytes happen to be spaces thru out the file. Now when i FTP the file to desktop , it gets created with a length of just 240 bytes and the trailing spaces get truncated. i tried using the parameter 'NOTRUNC' and its not being recognized as a valid keyword.

How do i transfer the file as a whole. also i am using a Connect Direct job to transfer this file to an external server. what parameters should i use .

thanks and regards
Krishnakumar.
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Wed Feb 17, 2010 3:48 pm
Reply with quote

LOCSIte subcommand--Specify site information to the local host. Try the TRAILingblanks sub-command.
Back to top
View user's profile Send private message
vkrishnakumar85

New User


Joined: 11 Dec 2008
Posts: 4
Location: india

PostPosted: Wed Feb 17, 2010 5:23 pm
Reply with quote

Thanks a lot for the pointer.

regards,
Krishnakumar.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts Mainframe Programmer with CICS Skill... Mainframe Jobs 0
No new posts How to Reformat a file using File Man... All Other Mainframe Topics 14
No new posts how to use Tso outtrap external function All Other Mainframe Topics 8
Search our Forums:

Back to Top