There are two ways to do so: Option 1: Exec "PRG2:Program" Option 2: Create a common function and then call it from other page.