BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Jayreed34
Calcite | Level 5
proc sql ; create table op_build1 as 
select a.*
             ,apc.fee_2024 as apc_fee format dollar18.2
             ,apc.fees as apc_pricing_fee
              ,apc.indicator as apc_indicator
             ,mircm.final_fee as hosp_cm_curr_fee
              ,mirma.final_fee as hosp_ma_curr_fee
              ,typec.indicator as ip_only_flag
from op_hosp_join as a 
               left join apc_fee as apc on a.adj_proc_code = apc.cpt_code 
               left join MIRCMFees as mircm on a.adj_proc_code = mircm.cpt_code
               left join MIRMAFees as mirma on a.adj_proc_code = mirma.cpt_code
               left join Type_C as typec on a.adj_proc_code = typec.code
;
quit ;

 

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

Since the only format you show is Dollar18.2 that means that  your variable apc.fee_2024 is not numeric.

 

 

View solution in original post

1 REPLY 1
ballardw
Super User

Since the only format you show is Dollar18.2 that means that  your variable apc.fee_2024 is not numeric.

 

 

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1186 views
  • 2 likes
  • 2 in conversation