How to select by language when executing a GPO job to copy all members to PDS.

Document ID : KB000053371
Last Modified Date : 14/02/2018
Show Technical Document Details

Description

GPO processes completed with rc=0 but the members did not get copied to the PDS. Why?

Solution

Specify -OPT EXEC or exec on the -SEL after the -OPT GPO statement. The -OPT EXEC is what causes data generated in the 2nd step to be written to OSJOB.

The examples for the //SYSIN DD * statements are listed below:
-OPT GPO
-OPT EXEC
-SEL NAME=,LANG=ASM
-END
or
-OPT GPO
-SEL NAME=,LANG=ASM,EXEC
-END