Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum 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: 184
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: 7312

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 DSLIST utility ISRDSLST line command V S Amarendra Reddy CLIST & REXX 5 Tue Dec 31, 2019 3:54 am
No new posts File transfer issue with end of line ... VINAY PALLELA TSO/ISPF 4 Thu Nov 14, 2019 12:01 am
No new posts ICE039A H INSUFFICIENT MAIN STORAGE -... Divya V DFSORT/ICETOOL 3 Sun Oct 06, 2019 7:25 am
No new posts Move a particular line from a PS file... Jitesh Kumar CLIST & REXX 7 Mon Aug 05, 2019 2:48 am
No new posts Display current IMS region on an On-l... Time2Live IMS DB/DC 1 Fri May 03, 2019 1:59 am

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