Creating a permanet table

Posted on 2011-05-02
Last Modified: 2013-11-16
I ahve created a temporarry table test i want to create a same table but with different name in
database how can i do it as mt database is sas database .
Question by:sam2929
    LVL 7

    Expert Comment

    You must first assign a SAS library to the directory path where you want the dataset stored.

    libname myData '/path_to_a_directory_where_you_have_write_permission';

    Then you can use a DATA step to write a copy of the data to the permanent library.

    data myData.newName;
         set oldName;
         ** SAS statements to manipulate the data if they are needed. ;

    Author Comment

    a quick question getting this error on table validation any idea

    ERROR: Execution terminated by an ABORT statement at line 3195 column 26, it specified the RETURN op
    percent=. _ERROR_=1 _N_=1
    LVL 7

    Accepted Solution

    You have an ABORT statatement in your code.  Something is happening to trigger it.  You'll have to track down the person who wrote the code and ask them why the statement is needed.  It must be serious... ABORT is used to intentionally kill processing.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Introduction If you are not already aware of what you could use a table with sequential integer values for in SQL, you can read Delimited String Parsing in SQL Server 2005 or later ( by BrandonGalderisi (h…
    Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
    Video by: Steve
    Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now