| Date: | Sun, 4 Apr 2004 21:38:04 GMT |
| Reply-To: | Barry Schwarz <schwarzb@DELOZ.NET> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Barry Schwarz <schwarzb@DELOZ.NET> |
| Subject: | Re: formatting an external file |
| Content-Type: | text/plain; charset=us-ascii |
On 4 Apr 04 20:55:56 GMT, dass@UGA.EDU (Mayukh Dass) wrote:
>Hi,
>
>I am trying to create an external file that suppose to look like:
>
> Market Responses of the Subjects
>
> Subject No Response Value
> 1 4 20
> 2 3 34
>...
>
>I have a file that contains the values for the variables. How to create
>an external file say "response.dat" that will include a title like
>above and placing the values in exact same position as shown above.
>
>I tried :
>
>input @18 Subject_No 1. @31 Response 1. @36 Value 2.;
> put ' Market Responses of the Subjects ';
Doesn't this need something like an @30 to center the text?
> put @15 'Subject No' @30 'Response' @44 'Value';
>file print;
> put @17 Subject_No @33 Response @45 Value ;
>run;
>
>but am not getting the desired output. Any suggestion will be
>appreciated.
What are you getting? How does what you see differ from what you
want?
<<Remove the del for email>>
|