How to eliminate softwareserial from a sketch

Thanks. Got both examples working with Serial3.

Is there any restriction against using Softwareserial on a Mega and assigning it the pins that are used for Serial3? For some reason I haven't been successful in making it work that way.