Joined: 30 Nov 2013 Posts: 859 Location: The Universe
Yes, the message is already there. As far as I know you don't have to do anything special.
Just to verify this, I wrote this little program.
FREEZE RETURN (14,12),T,RC=0
DYNPARM DC A(X'80000000'+DYNRB)
DYNRB DC AL1(S99RBEND-S99RB,S99VRBAL,0,0)
TXTPP DC A(TXT01,X'80000000'+TXT02)
TXT01 DC AL2(DALSYSOU,1,1),C'Z'
TXT02 DC AL2(DALDDNAM,1,L'DDNAME)
DDNAME DC C'TESTDYN1'
After I ran it,
IEF237I JES2 ALLOCATED TO TESTDYN1
appeared in the JESYSMSG data set for my TSO session.
The MSGLEVEL JOB statement parameter must be set to capture these messages.