Please see the log below (just a part of the log); NOTE: The infile 'I:\CHCSheffield\20190401ACE\ACE_AE_20190401.csv' is:
Filename=I:\CHCSheffield\20190401ACE\ACE_AE_20190401.csv,
RECFM=V,LRECL=32767,
File Size (bytes)=420517409,
Last Modified=01 April 2019 18:58:31,
Create Time=29 July 2019 16:34:07
NOTE: The file 'I:\CHCSheffield\20190401ACE\ACE_AE_20190401_fixed.csv' is:
Filename=I:\CHCSheffield\20190401ACE\ACE_AE_20190401_fixed.csv,
RECFM=V,LRECL=32767,File Size (bytes)=0,
Last Modified=13 August 2019 09:22:34,
Create Time=13 August 2019 09:22:08
NOTE: 1536915 records were read from the infile
'I:\CHCSheffield\20190401ACE\ACE_AE_20190401.csv'.
The minimum record length was 237.
The maximum record length was 533.
NOTE: 1536915 records were written to the file
'I:\CHCSheffield\20190401ACE\ACE_AE_20190401_fixed.csv'.
The minimum record length was 160.
The maximum record length was 533.
NOTE: DATA statement used (Total process time):
real time 59.46 seconds
cpu time 49.85 seconds
23 data Sheffield;
24 infile 'I:\CHCSheffield\20190401ACE\ACE_AE_20190401_fixed.csv';
25 input aekey $ patient_id $ link_method $ procodet $ postcode_flag $
25 ! sex $ ethnos $ activage $ arrivalage
26 pgpprac $ sitetret $ aearrivalmode $ aeattenddisp $ aerefsource $ aedepttype $
26 ! aearrivaldate :DDMMYY10. aearrivaltime diag_scheme
27 diag_01 $ diag_02 $ diag_03 $ diag_04 $ diag_05 $ diag_06 $ diag_07 $
27 ! diag_08 $ diag_09 $ diag_10 $ diag_11 $
28 diag_12 $ invest_01 $ invest_02 $ invest_03 $ invest_04 $ invest_05 $ invest_06 $
28 ! invest_07 $ invest_08 $ invest_09 $
29 invest_10 $ invest_11 $ invest_12 $ treat_01 $ treat_02 $ treat_03 $
29 ! treat_04 $ treat_05 $ treat_06 $
30 treat_07 $ treat_08 $ treat_09 $ treat_10 $ treat_11 $ treat_12 $
30 ! imd15decile_overall $;
31 if arrivalage in (0.001, 0.011, 0.049, 0.164, 0.375, 0.625, 0.874, 1, 2, 3, 4, 5, 6, 7,
31 ! 8, 9, 10, 11, 12, 13, 14, 15, 16);
32 if aearrivaldate not in ('');
33 /* output will only include children 0-16 years */
34 *if procodet not in ("RCF" , "RFF" , "RAE", "RWY", "RP5", "RCD", "RWA", "RR8", "RXF" ,
34 ! "RJL" , "RCU" , "RHQ" , "RFR" , "RCB") then delete;
35 /*this will get data on Yorkshire and humber NHS Trusts only */
36 *List of NHS Trusts in Yorkshire & Hmber include Airdale NHS Foundation Trust coded as
36 ! RCF, Barnsley as RFF, Bradford as RAE, Calderdale as RWY, Doncaster and Bassetlaw as RP5,
37 Harrogate and district as RCD, Hull university teaching hospital in the provider code
37 ! list but in the data dictionary it's Hull and East Yorkshire hospitals coded as RWA,
38 Leeds teaching hospital as RR8, Mid Yorkshire hospitals as RXF, Northern Lincolnshire
38 ! and coole as RJL, Sheffield Children's NHS foundation trust RCU,
39 Sheffield teaching hospital as RHQ, rotheram as RFR and York teaching hospital as RCB;
40 RUN;
NOTE: Character values have been converted to numeric values at the places given by:
(Line):(Column).
32:8
NOTE: The infile 'I:\CHCSheffield\20190401ACE\ACE_AE_20190401_fixed.csv' is:
Filename=I:\CHCSheffield\20190401ACE\ACE_AE_20190401_fixed.csv,
RECFM=V,LRECL=32767,
File Size (bytes)=320984319,
Last Modified=13 August 2019 09:23:33,
Create Time=13 August 2019 09:22:08
NOTE: Invalid data for arrivalage in line 7 166-218.
NOTE: Invalid data for aearrivaldate in line 11 1-204.
NOTE: Invalid data for aearrivaltime in line 12 1-202.
NOTE: Invalid data for diag_scheme in line 13 1-203.
RULE: ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+--
48 4eb5fc3e9fb012014520eed3678c1dd9,f6e6042beab2e859cbd78ae3464725a9,NHSNO,RJL,VALID,2,A,0
88 16,16,5b999ca47f019b09a77ff0a44ff823b9,RJL32,2,03,01,01,2012-03-02,1713,01,,,,,,,,,,,,,
175 24,,,,,,,,,,,,236,222,,,,,,,,,,,7 207
NOTE: Invalid data errors for file ''I:\CHCSheffield\20190401ACE\ACE_AE_20190401_fixed.csv''
occurred outside the printed range.
NOTE: Increase available buffer lines with the INFILE n= option.
aekey=aekey,pa patient_id=e81e201e link_method=5221b6af procodet=c5f9d619 postcode_flag=42bdbdc7
sex=15L,,,,, ethnos=b43c9c60 activage=dd8c3208 arrivalage=. pgpprac=c810915d sitetret=ID
aearrivalmode=NHSNO aeattenddisp=LINK,RJL aerefsource=4c880879 aedepttype=4ee99a96
aearrivaldate=. aearrivaltime=. diag_scheme=. diag_01=7fe0f97f diag_02=9c346f3b diag_03=d1787cf8
diag_04=4f0e6017 diag_05=de5e1b98 diag_06=3f4118a4 diag_07=cdea9079 diag_08=96a372e7
diag_09=3356a335 diag_10=a05d152e diag_11=609a673e diag_12=437074e3 invest_01=43719689
invest_02=5e70c062 invest_03=bcf368db invest_04=33R,,,,, invest_05=427ecb5f invest_06=427134a9
invest_07=e265db17 invest_08=261c8bc3 invest_09=c9d39729 invest_10=42b1512b invest_11=46061b79
invest_12=67fe548e treat_01=8de5ae17 treat_02=f537f23f treat_03=b0cd1fe5 treat_04=ea54a09d
treat_05=f9e765d5 treat_06=9cdb03d5 treat_07=f59af81d treat_08=17R,,,,, treat_09=c142e904
treat_10=65113e02 treat_11=ff2a08c2 treat_12=ebaf1d5e imd15decile_overall=4eb5fc3e _ERROR_=1
... View more