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

FTP - from a server to Mainframe


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Abhijit.Barik

New User


Joined: 13 Sep 2008
Posts: 3
Location: Calcutta, India

PostPosted: Tue Aug 11, 2009 5:52 am
Reply with quote

Can anyone tell (with sample command/JCL) how to allocate a file (giving LRECL/ format/block size) in mainframe while FTPing.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2624
Location: Silicon Valley

PostPosted: Tue Aug 11, 2009 6:10 am
Reply with quote

Open your FTP connection to the mainframe and before using the PUT command, use the quote command:
Code:
quote site lrecl=80 blocksize=3200 recfm=fb


Or, before starting your FTP, you can allocate the dataset using normal allocation methods.
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Techm mainframe deveoper 6 to 12 year... Mainframe Jobs 0
No new posts Mainframe Storage Needed Mainframe Jobs 0
No new posts Email attachment from mainframe is empty PC Guides & IT News 9
No new posts Mainframe Dataset Binary or ASCII Mainframe Interview Questions 4
No new posts Need help In Mainframe Automation AF/... CLIST & REXX 14
Search our Forums:


Back to Top