Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Mainframe scheduling tool ddhar Compuware & Other Tools 2 Wed Sep 27, 2017 12:48 am
No new posts How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us