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

SAS - RETAIN statement


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Musab Ahmed

New User


Joined: 10 Dec 2012
Posts: 37
Location: India

PostPosted: Thu Jan 28, 2016 1:02 pm
Reply with quote

Hi,

I have a SAS statement like the one below.

RETAIN a b ' ';

RETAIN will retain the values of the variable as it reads through multiple observations.

But what is the meaning of ' ' near b? Could anyone be kind enough to explain?
Back to top
View user's profile Send private message
Musab Ahmed

New User


Joined: 10 Dec 2012
Posts: 37
Location: India

PostPosted: Fri Jan 29, 2016 11:21 am
Reply with quote

I went through manuals and learnt that it is initializing b to ' '.

Am i correct?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8569
Location: Dubuque, Iowa, USA

PostPosted: Fri Jan 29, 2016 6:29 pm
Reply with quote

Yes, that is correct.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts SKIP LOCKED DATA in UPDATE statement DB2 9
This topic is locked: you cannot edit posts or make replies. Splice JCL into one record for DD sta... SYNCSORT 2
No new posts Required Date Format in Include Sort ... DFSORT/ICETOOL 6
No new posts CALL statement in COBOL for VSE COBOL Programming 3
No new posts ISPF skeleton that has IF/THEN/DO sta... TSO/ISPF 15
Search our Forums:

Back to Top