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. 

 

This is a knowledge-sharing community for learners in the Academy. Find answers to your questions or post here for a reply.
To ensure your success, use these getting-started resources:

Estimating Your Study Time
Reserving Software Lab Time
Most Commonly Asked Questions
Troubleshooting Your SAS-Hadoop Training Environment

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1166 views
  • 1 like
  • 2 in conversation