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: 2546
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts Mainframe Programmer with CICS Skill... Mainframe Jobs 0
No new posts How to Reformat a file using File Man... All Other Mainframe Topics 14
No new posts NDM getting stuck - mainframe/JCL All Other Mainframe Topics 13
No new posts REXX to send an email in Mainframe wi... CLIST & REXX 3
Search our Forums:

Back to Top