Date: Wed, 24 May 2000 08:54:11 GMT0BST
Reply-To: Panos PAPANIKOLAOU <PapanikolaouP@CARDIFF.AC.UK>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Panos PAPANIKOLAOU <PapanikolaouP@CARDIFF.AC.UK>
Subject: reading existent format values
Content-type: text/plain; charset=US-ASCII
Dear All,
I used PROC FORMAT to assign the format values on certain variables.
I then produced a SAS Permanent file. In a separate SAS programme, I
used the above produced SAS Permanent file to produce a WORK data-
file --- that is, a temporary file. SAS justifiably complains about
the format values. The Log listed below provides further details.
I've tried to solve this problem by putting ** PROC FORMAT LIBRARY =
LIBRARY but it did not work. I would be most grateful if you could
send me any comments and suggestions on what to do. I am really
confused and I am desperate to have this SAS programme running
smoothly.
Thank you very much indeed for your time. Look forward to hearing
from you.
Regards
Panos.
******************** SAS LOG ************************************
106 libname mylib 'c:\panos\sores\sas_data' ;
NOTE: Libname MYLIB refers to the same physical library as LIBRARY.
NOTE: Libref MYLIB was successfully assigned as follows:
Engine: V612
Physical Name: c:\panos\sores\sas_data
107
108 libname library 'c:\panos\sores\sas_data' ;
NOTE: Libname LIBRARY refers to the same physical library as MYLIB.
NOTE: Libref LIBRARY was successfully assigned as follows:
Engine: V612
Physical Name: c:\panos\sores\sas_data
109
110 proc format library=library ;
111
NOTE: The PROCEDURE FORMAT used 0.05 seconds.
112 data temp1 ;
113 set mylib.te_psno8 ;
114
115
ERROR: Format OURDAT is unknown.
ERROR: Format OURDAT is unknown.
NOTE: The SAS System stopped processing this step because of errors.
WARNING: The data set WORK.TEMP1 may be incomplete. When this step
was stopped there were 0
observations and 74 variables.
WARNING: Data set WORK.TEMP1 was not replaced because this step was
stopped.
NOTE: The DATA statement used 0.11 seconds.
116 proc format library=library ;
117
NOTE: The PROCEDURE FORMAT used 0.0 seconds.
118 proc freq data=temp1 ;
119 tables admi_ps ;
120 tables curen_ps ;
121 tables grade_ps ;
122 run ;
NOTE: No observations in data set WORK.TEMP1.
NOTE: The PROCEDURE FREQ used 0.0 seconds.
Panos Papanikolaou
*********************
Research Fellow
Nursing, Health and Social Care Research Centre
SONWS
UWCM
Heath Park
Cardiff
CF14 4XN
Great Britain
E-mail: papanikolaoup@cf.ac.uk
Direct line: +44 (0)29 2074 2197
Fax: +44 (0)29 2074 5521