What is the smallest length of character and numeric in sas? We can also store SAS data files, SAS data views, SAS programs, SAS/ACCESS descriptor files, and additional SAS catalogs in your SASUSER library.
WHAT ARE SAS INTERVIEW QUESTIONS SOFTWARE
The SASUSER library can also contain personal catalogs for other SAS software products. If the defaults in the SASHELP library are not suitable for your applications, you can modify them and store your personalized defaults here. The SASUSER library contains SAS catalogs that enable you to tailor features of SAS for your needs. SASHELP library, contains a group of catalogs and other files containing information that is used to control various aspects of your SAS session. we can create permanent dataset at the location provided in the 'libref'. This can be done by the use of 'libname' statement.
we can provide the path,location where we want to store the datasets.
By default it is defined at the beginning of a sas session. This mean that the data gets deleted after the execution of program automatically. If we keep it simple then SAS libraries are the location where SAS can store data, similar to the libraries where books are kept or stored. The length of Char can range from 1-32767 bytes. Try to assign a length of say 2 bytes (or a length of 9 bytes) to a numeric variable using the length statement, SAS then throws an error explicitly telling you the the length of Numeric variables is 3-8. The length of Numeric variables can range from 3-8 bytes. The correct answer is 3 bytes for Numeric type and 1 byte for Character type. Use pwd option in data step or in proc datasets as(pwd=read/write/alter)īase SAS has Basic procedures and data managementĪnswered for the wrong question.
How can you provide dataset level permissions using SAS. Intnx-used to increment the value of dateīasically,mdy() fuction that is month(),day().year(). Intck- it is used to find the interval b/w two dates New variable = month(existing month variables) INTCK('WEEK','16AUG2002'd,'24AUG2002'd) =>1Ģ)intnx To return the date after a specified number of intervals have passed 1)intck is used to find out difference or interval between two date