Change title of aixterm window online

Is there any way to change title of aixterm window online? Also is it possible to freeze first/last few lines online?

This is what I use to change the window title (ksh):

# Change the Xwindow title to given argument(s); default arg is hostname
function namewin {
  typeset TITLE=${@:-$(hostname|awk -F. '{print $1}')}
  print "\033]0;${TITLE}\007\c"
} #END function namewin

I'm not sure what you mean by "freeze last few lines". You mean like "ls | more"?