Joined: 08 May 2006 Posts: 1054 Location: Dublin, Ireland
JES MESSAGE is not captured ( below message):
10.39.58 JOB02128 $HASP165 TESTX ENDED AT CPAC MAXCC=12 CN(INTERNAL)
is there any way to capturing the above message in to variable?
I am also trying from my side and refering the similar posts , if any one can help me out on this ?
Your REXX code can only see the JES message by reading the spool - usually by interfacing with SDSF - after the job has ended. However, submitting a job from REXX code which then waits for the job output is not recommended.
Also, you are not applying 'code' tags correctly - use the buttons shown rather than keying what you think might work.