BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
odesh
Quartz | Level 8

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. 

1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
Diamond | Level 26

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

View solution in original post

2 REPLIES 2
Cynthia_sas
Diamond | Level 26

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

odesh
Quartz | Level 8

Hi Cynthia,

 

Thanks for the very prompt response.

 

Odesh.