- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
As usual, please refer to the attached printscreen for I ( uppercase or big i ) in the DS2 ( and Base SAS programs).
Is "I" part of the PDV or is it defined somewhere ?
"i" ( lowercase or small i is the array index variable. But this is not the same as I ? Is it ?
I must be missing something here.
Thanks.
Odesh.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
The instructors advise that the SAS syntax is case insensitive. That means that lower case i and uppercase I are referring to the same variable. I is not in the PDV because it is declared as a local variable within the RUN method. Because of that it will not be written to the output dataset. It is only defined locally to the RUN method.
I hope this clarifies your question regarding the array processing in these programs.
Cynthia
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
The instructors advise that the SAS syntax is case insensitive. That means that lower case i and uppercase I are referring to the same variable. I is not in the PDV because it is declared as a local variable within the RUN method. Because of that it will not be written to the output dataset. It is only defined locally to the RUN method.
I hope this clarifies your question regarding the array processing in these programs.
Cynthia
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi Cynthia,
Thanks for the very prompt response.
Odesh.