Dynamic allocation of output files in a SAS program

sas

    Sponsored Links

    Next

  • 1. Proc Tabulate: Create Multi-sheet Excel (Tagsets)
    Hi listers, Anyone could provide me any reference for beginners, papers at the internet, about creating multi-sheet at excel from a proc tabulate (Tagsets)... The ones that I found at SUGI are really complicated and I didn't understand at all... Thanks in advance, Ribeiro
  • 2. ICC
    I have a scientist who has asked me to calculate a ICC. I believe this is an interclass correlation coefficient. Looking in the archives I saw reference to an intraclass correlation coefficient. Are these related? It is my understanding, that he wants to test the within and between subject variability. The equation he gave me with the caveat "I think this is right but look it up to be sure" was std(between) / (std(between) + std(within)). This is not what I have found in my search (MS(between) - MS(within))/(MS(between)+ (n-1)*MS(within)). He has gone on a two week vacation and is expecting to have results when he gets back. Can you'll help?? The study design is 9 subjects measured every 30 minutes for four day. There are two measurements 1. accelerometer total count, and 2. activity diary intensity score. What do you think? Carry W. Croghan Database Manager EPA\ORD\NERL\HEASD RTP, NC
  • 3. SAS running on OSX
    On Sun, 9 Mar 2008 12:44:16 -0500, Keith Kaiser < XXXX@XXXXX.COM > wrote: >I'm wondering if anyone has successfully loaded SAS v9.13 on the >Apple's Leopard operating system v10.5.2. If you used VMWare or >Parallels or Bootcamp be sure mention that and any problems you ran >into. I'm about to get a new MacBook Pro and I would really like to >load and run SAS if possible. > >-- >YIS/YIV/73's! >Keith D Kaiser >nearspaceventures.com >bsaroundtable.com >kaiserklan.com Windows SAS doesn't look too much at the hardware AFAIK. I'm almost certain it should run in bootcamp which would also suggest it should run ok in Parallels - which seems to be the better if not only fancier option to VMWare. A Mac after all these days is just generic Intel hardware with a slightly differently configured boot and a special lock-in chip for OSX to look for. None of these things should matter to SAS. Oh yeah and a fancy aluminium can. :) HTH.
  • 4. how to get only First two records
    hello guys , I have a dataset where a patient has taken meal couple of times in the I need find first two successive dates where he had meal say for example in the my dataset looks like this Subjid1 MLSTDTC MLENDTC Need_Flag 1001 01Jan2007T04:00 01Jan2007T05:00 1 1001 01Jan2007T06:00 01Jan2007T07:00 1 1001 01Jan2007T08:00 01Jan2007T09:00 0 1001 01Jan2007T011:00 01Jan2007T12:00 0 1002 02Jan2007T04:00 01Jan2007T05:00 0 1002 02Jan2007T08:00 01Jan2007T09:00 1 1002 01Jan2007T011:00 01Jan2007T12:00 1 1003 01Jan2007T04:00 01Jan2007T05:00 1 1003 01Jan2007T06:00 01Jan2007T07:00 1 1003 01Jan2007T011:00 01Jan2007T12:00 0 Guys here in the above data I need to get the Need_flag . The Logic is that I need Pick up the records of Pt's who has two consecutive visits if all there are more that 2 consecutive meal dates then I need to Pick up the First two dates ?? Any Idea how I Crack this thanks for your Help

Dynamic allocation of output files in a SAS program

Postby k_hemendra » Thu, 10 Jul 2003 19:58:06 GMT

Hi,
Is it possible to dynamically allocate output files in a SAS program.
I guess it is possible in Assembler.

Re: Dynamic allocation of output files in a SAS program

Postby Biff » Fri, 11 Jul 2003 01:04:20 GMT




YES

Similar Threads:

1.Dynamic sequential file allocation on MVS

Dear Folks,

I was used SAS on Win/Unix platform and new to mainframe, I have task
to complete which needs some expert advise , that why I am here.

I have to export SAS datasets to a delimited file which has to be
stored in portioned dataset as member, I wrote macro to do covert the
dataset as delimited file but I don know how to put it into PDS
member i.e

My pds name : bgxp.ftdf.data
My dataset name: mytrans
My csv converter macro : mconcsv
My Delimited file name should be : transrep

Here my expectations are :

1.	How to include a delimited file to member of PDS via JCL or SAS
2.	How do we set the space for the file i.e. I don know exactly how
much space I need for the delimited file?

If some one in the group post sample snippet with JCL / SAS that will
be really helpful.

Thanks & Regards,
Vijay

2.Dynamic Link SAS output to Powerpoint

Gents,
 In our New applications Dept. we have installed a Plasma Screen to
display online the status of customer's applcations.
I'm able to calculate online and through SAS all related numbers which
we have to display on the Plasma screen by using Powerpoint.
My quateion is:
 How I can have a dynamic link between SAS and Powerpint ?

Regards...Jarmak

3.Unix File Allocation Freeing ?

I have a program that is writing to a file that I want to execute,
within the program, after being created.  It didn't work when I tried
it and I'm guessing it's because the file was tied up by the program.
Is there a Unix command I can use to free the file within the program?

Here's the general flow of the program:

data _null_;
     file '/mypath/test.sh';
     put 'line 1';
     run;

* this is where the allocation free would be ;

x test.sh;

Other ideas welcome.  Thanks for any help.

4.MVS allocation of ODS PDF file

How should one allocation a PDF file for ODS PDF.  The default size is too
small.

Here is how I tried it:

//TOPSPDF  DD DSN=PSB2230.TOPS.PDF,
//            DISP=(NEW,CATLG,DELETE),
//            SPACE=(CYL,(50,10),RLSE),UNIT=SYSDA,
//            DCB=(RECFM=U,BLKSIZE=0)

And the statement is SAS is:

ODS PDF FILE=TOPSPDF;

Thanks!

5.Automated import of dynamic labeled files into SAS

Hi,

I want to write a SAS-Base program which is able to import dynamic
labeled files into SAS. The filenames have no specific pattern. Only
one part of the filename is static. For example:
File 1: attach_first.txt
File 2: attach_hour.txt
...
File 1000: attach_town.txt

The structure of the file content is in every file the same.

Exist in SAS wildcards to read in these Files?

I would be happy to get a solution!

A lot of Greetings from Germany.

Tom

A normal SAS-program with proc import looks like:
proc import datafile="D:\Service\Research\attach_first.txt"
            out=work.attach_first
	    dbms=dlm
            replace;
            delimiter='|';
	    getnames=yes;
run;

6. Dynamic file creation thru SAS

7. best practices: list processing, dynamic programming

8. dynamic macro-programming with call symput



Return to sas

 

Who is online

Users browsing this forum: No registered users and 46 guest