Software Archive
Read-only legacy content
17061 Discussions

How to retrieve the STOP return code

jean-vezina7
Beginner
351 Views
Hi everybody,

I would like to retrieve the STOP return code produced by a program
executed from within another program using the SYSTEMQQ or
RUNQQ routines.

Example:

The calling program does the following:

IJK = SYSTEMQQ('TEST.EXE')

The TEST.EXE program stops by executing STOP 35.

I would like to retrieve the 35 from the calling program.

Thanks

Jean Vezina
0 Kudos
1 Reply
jean-vezina7
Beginner
351 Views
Disregard my previous posting, RUNQQ returns the STOP return code

Thanks

Jean Vezina
0 Kudos
Reply