Hi, we are migrating SAS base to SAS DLH. the below code is in SAS base. SAS BASE Data RACCPERF.BDAXPCARDP_&str_tgl_1; SET &lib.xxxxxxxxx (keep= CRDNBR CRDACCT CRDUSRDTA CRDEMBL3 CRDBLK CRDBLKDTE CRDPDTNBR CRDEXPDTE CRDSTATUS CRDEMBL1 CRDRLNSHP) ; UCRDBLKDTE = INPUT(INput(STRIP(CRDBLKDTE),$8.),YYMMDD8.); coba = strip('1000000' + put(strip(crdexpdte),$4.)); if substr(coba,4,2) in ('00','01','02','03','04','05','06','07','08','09','10','11','12','13', '14','15','16','17','18','19') then do; coba2 = strip('200000' + substr(coba,2,6)); end; else do; coba2 = strip('190000' + substr(coba,2,6)); end; UCRDEXPDTE = INPUT(INPUT(COBA2,$6.),YYMMN6.); as_of_date=strip(put(&str_tgl_1,$14.)); run; SAS DLH Code. Plz Advice. Thanks.
... View more