Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to continue ftp line when the filename is 150 bytes

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
jasorn
Warnings : 1

Active User


Joined: 12 Jul 2006
Posts: 174
Location: USA

PostPosted: Fri Mar 14, 2014 5:47 am    Post subject: How to continue ftp line when the filename is 150 bytes
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7314

PostPosted: Fri Mar 14, 2014 12:38 pm    Post subject: Reply to: How to continue ftp line when the filename is 150
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to convert 2 bytes into single by... pkmurali DB2 6 Fri May 25, 2018 1:41 pm
No new posts Splitting one row into multiple Rows ... Rajan Moorthy DFSORT/ICETOOL 9 Mon May 14, 2018 10:58 pm
No new posts line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Error in SQL-PLIST3 'Above value tru... rikdeb DB2 4 Wed Sep 06, 2017 1:34 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us