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 converting a mainframe file with ASA ... Lynne Schuler All Other Mainframe Topics 5 Wed Apr 04, 2018 9:44 am
No new posts Print call stack in Mainframe C DIPANKAR SAHA ABENDS & Debugging 2 Thu Mar 15, 2018 2:58 pm
No new posts Receommendations required for adding ... Alan Playford JCL & VSAM 4 Wed Feb 14, 2018 4:01 pm
No new posts Mainframe developer / Testers in Pune girish_kanswa Mainframe Jobs 0 Wed Feb 14, 2018 1:35 pm
No new posts How to change the logon screen info o... sakthikumarT TSO/ISPF 4 Fri Dec 29, 2017 6:44 pm

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