Question: 1. Debugging the PDV Modify the code below to do the following: Ensure that the values of Size won't get truncated. Add PUTLOG statements to

 1. Debugging the PDV Modify the code below to do the

following: Ensure that the values of Size won't get truncated. Add PUTLOG

1. Debugging the PDV Modify the code below to do the following: Ensure that the values of Size won't get truncated. Add PUTLOG statements to provide the following information in the log: o Immediately after the SET statement, write "START DATA STEP ITERATION" to the log as a color- coded note. o Before the Type= assignment statement, write the value of Type to the log. o After the Type= assignment statement, write the value of Type to the log. At the end of the DATA step, write the contents of the entire PDV to the log. data np_parks; set pg2.np_final; keep Region ParkName AvgMonthly Visitors Acres Size; where Type= "PARK" ; format AvgMonthly Visitors Acres comma10. ; Type=propcase(Type); AvgMonthly Visitors=sum(Day Visits, Campers, OtherLodging) 12 ; if Acres<: then size="Small" else if acres run show a screenshot of the log showing last three iterations data step. directing output to multiple tables based on in pg2.np_yearlytraffic create new named monument park and other. . use select when statements https: or elsewhere direct output: parktype is row should be table o anything other only read columns parkname location into pdv drop from your code corresponding notes>

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!