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
 

 

Mainframe - SAS FTP Help Required

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Mainframe - SAS FTP Help Required
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    Post subject: Reply to: Mainframe - SAS FTP Help Required
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

Senior Member


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

PostPosted: Mon Jan 19, 2009 2:08 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SNMP trap from Mainframe bipinpeter Compuware & Other Tools 6 Wed Apr 26, 2017 3:05 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Opening in Allianz India- T... Rajesh Gopinathan Mainframe Jobs 0 Wed Apr 19, 2017 11:33 am
No new posts FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 7 Thu Mar 23, 2017 5:12 am
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm


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