Dear Experts,
Starting from a sas programs stored in a Directory and a Subdirectories under “Unix Environment” as follow:
%let dir =M0_dir/M1/dir;
&dir/d1/d11/p1/toto.sas
………………………..
&dir/Vm/k11/toto.sas
Please, we want:
- to cover the following informations in one data step:
- Program_Path= d1/d11/p1/toto.sas
- Program_Name= toto.sas
- LineNumberByProgram=XX [Number of the lines by Program, the blank lines is excluded]
- to Compare all the sas programs in two subdirectories (ex: k11/P1.sas versus k15/ML/P1.sas)
- &dir/Vm/k11/P1.sas
- &dir/Vm/k11/Pn.sas
- &dir/Vm/k15/ML/P1.sas
- &dir/Vm/k15/ML/Pn.sas
Thank in advance.