BookmarkSubscribeRSS Feed
maddepusrikanth
Calcite | Level 5

Hi All,

I am working for SAS Base to SAS data loader hadoop mogration project.

Please help in the below SAS base conversion in SAS dlh.

 

data RACxxxxx.BDAyyyyyyyy;

SET &lib.zzzzzzzzzzzz(keep = ACCTNBR ACCTPDT ACCTSTAT ACCTCUST ACCTDDPMT ACCTDTOPEN ACCTDTWRTO
ACCTBLK ACCTBLKDTE ACCTCRLMT ACCTCYCDUE ACCTSMTBLR ACCTCURBLR ACCTAMTDPR
ACCTNBRDPR ACCTSMTBLC ACCTCURBLC ACCTAMTDCC ACCTAMTDCC ACCTAMTCCC ACCTNBRCCC
ACCTCRDST1 ACCTCRDST2 ACCTCRDST3 ACCTCRDST4 ACCTCRDSH1 ACCTCRDSH2 ACCTCRDSH3 ACCTCRDSH4
ACCTFILDTE ACCTOUTBAL ACCTUPIBR ACCTUPSVCR ACCTUPMSCR ACCTUPINSR ACCTUPMEMR ACCTSVCCYR
ACCTMSCCYR ACCTINSCYR ACCTMEMCYR ACCTUPIBC ACCTUPSVCC ACCTSVCCYC ACCTDTCRL);

above code migration completed. but stuck at below code.

UACCTDTOPEN = INPUT(INput(STRIP(ACCTDTOPEN),$8.),YYMMDD8.);

as_of_date=strip(put(&str_tgl_1,$14.));

run;

 

Thanks,

Srikanth

3 REPLIES 3
JosvanderVelden
SAS Super FREQ
What is the content of ACCTDTOPEN?

JosvanderVelden
SAS Super FREQ
In what format? What is the issue?

data _null_;
ACCTDTOPEN = "18-04-03";
put ACCTDTOPEN=;
UACCTDTOPEN = INPUT(INput(STRIP(ACCTDTOPEN),$8.),YYMMDD8.);
put UACCTDTOPEN=;
run;

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

Discussion stats
  • 3 replies
  • 598 views
  • 0 likes
  • 2 in conversation