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

Mainframe - SAS FTP Help Required


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

New User


Joined: 30 May 2007
Posts: 10
Location: Mumbai

PostPosted: Fri Jan 16, 2009 11:15 am
Reply with quote

Hi,

I am Using SAS FTP process in Mainframe system, but facing some problems with record parameters while sending files from one mainframe to another mainframe.

Code:
# DATAIN - contains the input file #
filename create ftp "TESTOR00.UI.MAINFRAM.SEND"
lrecl=217
recfm=f
blocksize=27993
host="sending servername"
user="userid"
pass="password";
    data _null_;
     infile datain;
    input;
 file create;
put _infile_;
run ;

But in the receiving end we are getting some other parameters, which are SAS default values.
Like LRECL - 256, RECFM - V

It will be a great help if some one can help me on this... i need @ the receiving end lrecl - 217 and recfm-F

Thanks & Regards,
Shinto Chacko

Edited: Please use BBcode when You post some code/error, that's rather readable, Thanks... Anuj
Back to top
View user's profile Send private message
SyntelShinto

New User


Joined: 30 May 2007
Posts: 10
Location: Mumbai

PostPosted: Mon Jan 19, 2009 2:01 pm
Reply with quote

Hi All,

I got this issue resolved from my colleague.

We need to include RCMD command for resolving this -

rcmd='site blocksize=27993 recfm=fb lrecl=217'


Regards,
Shinto Chacko
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Mon Jan 19, 2009 2:08 pm
Reply with quote

Thanks for keeping us posted with the solution used.. icon_smile.gif
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 Help required to reset decimal points... DFSORT/ICETOOL 10
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
Search our Forums:


Back to Top