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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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