Keith and Joachim, you were right all along about -defmode on and -osstty.
?tacl macro
#frame
#OUTPUT Running OSH
add define =_ZBAT_OUT,class map,file $ZBTD
osh -defmode on -osstty &
-c "/home/mgriffin/hello"
#OUTPUT Finished OSH
#unframe
This gives me the output:
13DEC12 11:04:49 OPEN U_120,6 P_OSH \CERT.$:0:1854:177810340 J_45
13DEC12 11:04:49 OPEN U_120,6 P_OSH \CERT.$:0:1854:177810340 J_45
13DEC12 11:04:49 START U_120,6 J_45 P_OSSTTY \CERT.$Z64Y:178885797
13DEC12 11:04:49 OPEN U_120,6 P_OSSTTY \CERT.$Z64Y:178885797 J_45
13DEC12 11:04:49 OPEN U_120,6 P_OSSTTY \CERT.$Z64Y:178885797 J_45
13DEC12 11:04:49 OPEN U_120,6 P_OSSTTY \CERT.$Z64Y:178885797 J_45
13DEC12 11:04:49 START U_120,6 J_45 P_Z0001CHC \CERT.$:0:2355:177811108
13DEC12 11:04:49 START U_120,6 J_45 P_Z0000TVJ \CERT.$:0:2555:177811620
13DEC12 11:04:49 MSG Hello World (stderr) J_45 P_OSSTTY \CERT.$Z64Y:178885797
13DEC12 11:04:49 STOP CC_-12 J_45 \CERT.$:0:2355:177811108
13DEC12 11:04:49 MSG Hello World (stdout) J_45 P_OSSTTY \CERT.$Z64Y:178885797
What I missed was the add define statement in my TACL script. I made the assumption that it would come out of the attachment set and it didn't seem to.
Thanks for your help!