Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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

Active User


Joined: 12 Jul 2006
Posts: 153
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: 7254

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 Fail to change physical VSAM filename... jacobdng CICS 6 Fri Jan 20, 2017 12:36 pm
This topic is locked: you cannot edit posts or make replies. Job to wait and continue based on reply yugendran COBOL Programming 5 Wed Oct 05, 2016 1:46 pm
No new posts Not enough virtual memory is availabl... Vinay Pushpala IBM Tools 16 Tue Sep 13, 2016 4:37 pm
No new posts Insert Lines in JCL with Rexx after a... Willy Jensen CLIST & REXX 3 Tue Aug 30, 2016 4:18 pm
No new posts ISREDIT - Position Cursor on the Comm... Tarique Anwer TSO/ISPF 5 Wed Feb 03, 2016 12:44 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us