(1)∵A(3,0)在直线y=kx+6上,
∴3k+6=0,解得k=-2,
∵PC⊥y轴交直线AB于C,
∴C([6−m/2],m),
∴l=[6−m/2](0≤m<6);
(2)当点P在线段BO上时,PO=m,PC=[6−m/2],
S△APC=[1/2]PO×PC=2,即[1/2]•m•[6−m/2]=2,
解得m=2或4,
当P点在y轴的负半轴时,PO=-m,PC=[6−m/2],
则[1/2]•(-m)•[6−m/2]=2,
解得m=3+
17(舍去),m=3-
17,
∴m=2或4或3-
17.