sas >> Need help with help need

by Richard A. DeVenezia » Fri, 17 Oct 2003 02:04:32 GMT

Friends and wormbots:

I am looking for some intrepid souls to try out and comment on a perl script
I wrote.
(What, perl in SAS-L and it's not David Cassell ?)

The script takes the SAS help files apart and does some analysis (orphans,
linkrot and duplicates) and inserts back links.

What do back links do ? It ensures every page in the help system has a link
to every page that links to it.
(Actually only the the subset of the help system represented by the modules
you choose to play with [there are over 140 help modules])

1,000 lines of perl that sprouted out of a two line seed (or should it be a
pearl from two grains of sand)

$pages{$page}[_$OUTGOING]=$dest;
$pages{$dest}[_$INCOMING]=$page;

--
Richard A. DeVenezia



sas >> Need help with help need

by Richard A. DeVenezia » Fri, 17 Oct 2003 05:46:48 GMT


Doh! it would help if I told you where to get the script.

SAS Help and Documentation - Uncharted Waters
http://www.devenezia.com/downloads/sas/docs

Thanks,
Richard

Similar Threads

1. FW: A MACRO HELP NEEDED - I am new in Macro (please help me)

2. A MACRO HELP NEEDED - I am new in Macro (please help me)

I have a sample code as below:


%Macro select (AgB, CAB);


if &AgB = '1' then AgB = "Aucun sympt^ome";
     else if &AgB = "2" then AgB = "Atteinea";
  else if &AgB = "3" then AgB = "Atteineb";
     else if &AgB = "4" then AgB = "Atteinec";
     else if &AgB = "p" then AgB = "Atteined";
     else if &AgB = "q" then AgB = "Atteinee";
    else if &AgB = "z" then AgB = "Atteinef";
if &CAB = '1' then CAB = "Aucun sympt^ome";
     else if &CAB = "2" then CAB = "Atteinea";
  else if &CAB = "3" then CAB = "Atteineb";
     else if &CAB = "4" then CAB = "Atteinec";
     else if &CAB = "p" then CAB = "Atteined";
     else if &CAB = "q" then CAB = "Atteinee";
    else if &CAB = "z" then CAB = "Atteinef";
  run;

%Mend select;
%select (Choutri, Passenger)
run;






Now there is a repitation of the same group of statements or group of
codes twice ( actually
in the original program there is hundreds time repitaion). How can I put
those
repeted statements or codes in a Macro? The program already has a Macro
select.

3. Newbe Help with Excel - Non-Profit fundraiser help needed

4. A PROC REPORT help needed - Please Help me

I have a follwoing dataset HELP ( I am just providing a part of a huge
dataset as
sample):

subject age    location
101      23       ca
102      45       na
108      87       pa
106      87       mn
109      98       va
908      24       ny
987      32       mi
980      40       fl
230      21       wa
130      98       de


now I am trying to use Proc Report such as
proc report = HELP;
column subject age location;
define subject   / order;
define age       /display;
define location  /display;
run;

Now, I since there is 1008 observations and 29 variable in the
original dataset HELP I am proving a sample result from the Proc
Report I have as below:


                           page 1
subject age
101      23
102      45
108      87
106      87
109      98
908      24

                           page 2
location
ca
na
pa
mn
va
ny

                          page 3
subject age
987      32
980      40
230      21
130      98

                          page 4
location
mi
fl
wa
de


How can I have also the variable subject in every page
of the output as below:

               page 1
subject age
101      23
102      45
108      87
106      87
109      98
908      24
               page 2
subject location
101      ca
102      na
108      pa
106      mn
109      va
908      ny

              page 3
subject age
987      32
980      40
230      21
130      98

              page 4
subject location
987      mi
980      fl
230      wa
130      de


Thank you so much

5. From Cognos Impromptu to SAS ...need some help please

6. newbie needs help with Oracle ODBC drivers for SAS ODBC interface

I have just setup a custom edition of 10_g Oracle database.  I wish to use 
SAS to access my ORACLE database but I have to install the ODBC drivers for 
ORACLE.  Can someone tell me where to find these drivers and how (or where I 
can find the documentation) on installing the ODBC drivers so I can finish 
my SAS installation.

Thanks,
JR 


7. Help needed: Transition from SAS to PYTHON

8. A Dataset Modification help Needed to create another dataset

I have a following dataset having variables:SUB, HR, PQ, HJ as bellow:

SUB     HR        PQ                HJ
1003   post      Hadsone          Cause
1003   pre       Green bay        Location
1004   post      Jamsed           Reason
1004   post      Winona           City
1004   Pre       PullMan          ZIp

Need to create another dataset which will be by the variable SUB as below
(means
it will have only one observation for each SUB variable's value ( Not a
proc report):





SUB     HR        PQ                HJ
1003   post      Hadsone          Cause
       pre       Green bay        Location
1004   post      Jamsed           Reason
       post      Winona           City
       Pre       PullMan          ZIp


Can you help me ? I think by Proc tabulate we can do it. But
I forget the statement to use to create a dataset from Proc tabulate.
Please help me out even if you have any better approach other than
tabulate.
Thanks a lot for helping.