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

How to continue ftp line when the filename is 150 bytes


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jasorn
Warnings : 1

Active User


Joined: 12 Jul 2006
Posts: 191
Location: USA

PostPosted: Fri Mar 14, 2014 5:47 am
Reply with quote

I'm not sure if this is the proper place because it's referring to FTP commands and not jcl. But I'll ask here anyway. I have a need to ftp a dataset to a server with a filename that's 150 bytes. Note I'm referring to the file name, not the path.

I can't find any documentation indicating that this is possible and I haven't been able to continue with + successfuly when the break is not as a space. Pointing this out because the normal advice of, "use cd', will not work since the long piece is the filename.

In other words, I want to do this.

Code:
PUT 'MY.DATASET' +
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.txt


What I've done is to put that in a dataset with a long enough lrecl and it works fine. But I'm curious if this can be done in the stanard 80 byte deck.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri Mar 14, 2014 12:38 pm
Reply with quote

I don't think you can + in the middle of something.

I think your work-around was a very good shot. It'll perhaps give you up to 1024 characters or something close to that.

I suppose these are filenames which not to be typed...
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
No new posts rewrite same SAY line CLIST & REXX 8
No new posts Masking variable size field - min 10 ... DFSORT/ICETOOL 4
No new posts Merge files with a key and insert a b... DFSORT/ICETOOL 6
Search our Forums:

Back to Top