LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (June 2004, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 30 Jun 2004 17:33:58 +0200
Reply-To:     "Groeneveld, Jim" <jim.groeneveld@VITATRON.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Groeneveld, Jim" <jim.groeneveld@VITATRON.COM>
Subject:      Re: reading text  field into sas
Comments: To: Jamil Ibrahim <jibrahim@ir.umsmed.edu>
Content-Type: text/plain; charset="iso-8859-1"

Hi Jamil,

From SAS 8.x character variables may be maximally 32k bytes long, I think either 32767 or 32768 characters.

Regards - Jim. -- . . . . . . . . . . . . . . . .

Jim Groeneveld, MSc. Biostatistician Science Team Vitatron B.V. Meander 1051 6825 MJ Arnhem Tel: +31/0 26 376 7365 Fax: +31/0 26 376 7305 Jim.Groeneveld@Vitatron.com www.vitatron.com

Showing statistically significant differences between football teams, generally all sporters, requires larger samples than usually applied.

[common disclaimer]

-----Original Message----- From: Jamil Ibrahim [mailto:jibrahim@ir.umsmed.edu] Sent: Wednesday, June 30, 2004 17:15 To: Groeneveld, Jim Subject: Re: reading text field into sas

Thank you for responding. I know this part but how to read it in thew input statement a s single variable since we are limited with 255 c. Can you say e.g. input @1 comment $char1500. ; I want it to wrap every 75 c.. when writing it to file.

>>> "Groeneveld, Jim" <jim.groeneveld@VITATRON.COM> 06/30/04 09:38AM >>> Hi Jamil,

Specify RECL=1500 on the INFILE statement.

Regards - Jim. -- . . . . . . . . . . . . . . . .

Jim Groeneveld, MSc. Biostatistician Science Team Vitatron B.V. Meander 1051 6825 MJ Arnhem Tel: +31/0 26 376 7365 Fax: +31/0 26 376 7305 Jim.Groeneveld@Vitatron.com www.vitatron.com

Showing statistically significant differences between football teams, generally all sporters, requires larger samples than usually applied.

[common disclaimer]

-----Original Message----- From: Jamil Ibrahim [mailto:jibrahim@IR.UMSMED.EDU] Sent: Wednesday, June 30, 2004 15:36 To: SAS-L@LISTSERV.UGA.EDU Subject: reading text field into sas

Hi sas users: I have a flat file where I have a fiels with 1500 characters long. How to read it into sas. I usually create character var with max of 255. But how to read it if it is up to 1500 c long. thanks Jamil


Back to: Top of message | Previous page | Main SAS-L page