View previous topic :: View next topic
|
Author |
Message |
SyntelShinto
New User
Joined: 30 May 2007 Posts: 10 Location: Mumbai
|
|
|
|
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 |
|
|
SyntelShinto
New User
Joined: 30 May 2007 Posts: 10 Location: Mumbai
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Thanks for keeping us posted with the solution used.. |
|
Back to top |
|
|
|