When I initially created the command, I did not specify RTNVAL(*YES),
Then when testing, I discovered I was not getting my value back in my CL program.
Next step was to use RTNVAL(*YES).
Now I was having problems compiling because of ALLOW(*ALL).
Finally I changed the command creation to RSTVAL(*YES) ALLOW(*BPGM *IPGM)
I think this info will help it all to make more sense.
I figured it out.
On the CRTCMD I needed to change from ALLOW(*ALL) to ALLOW(*BPGM *IPGM)