IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

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: 184
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: 7312
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 All times are GMT + 6 Hours
Forum Index -> JCL & VSAM
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts Need to split single line into two li... DFSORT/ICETOOL 7
No new posts Am Getting a vertical line in ISPF SC... TSO/ISPF 3
No new posts reffering the filename with date and ... JCL & VSAM 9
No new posts Print next line strings when a condit... DFSORT/ICETOOL 9
No new posts Submit Print Job For PDS Member With ... TSO/ISPF 17

Back to Top