UltraEdit is not the tool of choice for developing Information Delivery Portal (IDP) Custom Portlets. One of my colleagues found this out after spending many hours with .par compile problems. Turns out that UltraEdit was inserting funky characters and hexidecimal code. Of course, SAS is smooth - but it isn't that smooth.
Try Eclipse, Dreamweaver, or if you're really into SAS - stick with the AppDev Studio.