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 (March 1999, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 10 Mar 1999 11:29:01 -0500
Reply-To:     "Janas, James W" <james.janas@EDS.COM>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         "Janas, James W" <james.janas@EDS.COM>
Subject:      SAS OUTPUT Question
Content-Type: text/plain; charset="iso-8859-1"

Hope someone can help me out. I am running on OS390 system. I have spun off a JES2 sysout to disk. Each page of the sysout has 5 lines of data. Everytime I read a record from the sysout SAS is outputing a record. Is there a way I can read 5 input records and create one SAS record?

Here is the test code I have been running:

DATA SYSDATA1 (KEEP=DATE HOUR); RETAIN DATE HOUR; DO I=1 TO 5; INFILE INPUT1; INPUT FLD1 $ 03-06 FLD2 $ 18-24@; IF FLD1 = 'TIME' THEN HOUR = SUBSTR(FLD2,1,2); ELSE IF FLD1 = 'DATE' THEN DATE = FLD2; ELSE DELETE; END; OUTPUT SYSDATA1;

Thanks in advance, Jim


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