On partly bilateral and partly unilateral generating functions