BookmarkSubscribeRSS Feed
Sheeba
Lapis Lazuli | Level 10

Hi,

 

Is there any way to store the documentation of a program in the same platform?

 

I am aware of the notes functionality in SAS EG which attaches notes to sas programs. Is  there any other way ?

Appreciate any help.

Regards,
Sheeba

4 REPLIES 4
ballardw
Super User

Comments in code are the traditional way. Such as at the top of program a statement of purpose and such:

/*
Program name:
Author:
Last modified date:
Purpose:

Data source:


Analysis questions:


*/

with additional text to describe those elements. Possibly include a change history.

 

Then at specific code elements you may describe why/what you are doing especially when you find/write code like:

ThisVar = (var2>10)*100 + (Var3<5)*10 + (var4 ne 6);

Sheeba
Lapis Lazuli | Level 10

Hi Ballardw,

 

Thanks a lot for the reply.

 

Yes i have included it in the top of the program and in between the code ..

but i would like to develop a document to explain in detail and move it with code..Think i will have to go with the notes functionality in EG.

 

Regards,

Sheeba

Reeza
Super User

Not documentation but you can use GIT or version control software to help. Otherwise, yes, documentation is one thing that doesn't integrate well with code so far 😞

Sheeba
Lapis Lazuli | Level 10

Hi Reeza,

 

Thanks a lot for the reply.

 

we are using Git to do the version control but i was looking for some document integration with program...thanks for the details...i will go with the notes functionality in EG.

 

Regards,

Sheeba

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 4 replies
  • 1979 views
  • 2 likes
  • 3 in conversation