What is the purpose of the trailing and How would you use them?

Answer Posted / chiranjeevi.p

Trailing is a column pointer.These are those which works on
the variable level by default.it should appear with in
datastep and besides the variables in sas.these are two
types.there are
1)@
2)@@
@:It reads only the first line across the avaliable
variables data.
@@:The '@@' get the data entire data from the external
source by reading in to a single variable.

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell e how how dealt with..

1759


What’s the difference between var b1 – b3 and var b1 — b3?

837


How to sort in descending order?

798


What is the difference between reading data from an external file and reading data from an existing data set?

640


For what purposes have you used sas macros? : sas-macro

540






How to limit decimal places for variable using proc means?

592


what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming

572


explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di

549


If you were told to create many records from one record, show how you would do this using array and with proc transpose?

806


data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.

1803


What are the different operating system platforms in which we can use sas? : sas-grid-administration

595


what is the difference between unique key and primary key? : Sas-di

603


Explain what is data step?

731


Which function is used to count the number of intervals between two sas dates?

575


Do you need to rearrange the order of the data for the report?

1840