Die benötigten Informationen stehen hier:
Retrieve Call Stack (QWVRCSTK) API

Du musst halt nur das richtige Satzformat auswählen.