A running program can discover its channel name with this routine. The channel name is typically set using the PMDF_CHANNEL environment variable.