Once you have created the stubs for your subprograms, you can run the calling program in the usual way. When calls to the mainframe-hosted subprograms are encountered, those subprograms are invoked by the generated stubs, so the calling application runs in the same way regardless of whether its subprograms are hosted on the mainframe or a local PC.
When a stub executes, you might be prompted for additional information: