Joined: 14 Mar 2007 Posts: 8646 Location: Back in jolly old England
Expat --> I think he is talking about the return code of the job.
Yes, he probably is, but until clarified I shall assume that he means the highest return code issued from that job.
As you have said, using SDSF in batch is one method. Making sure that NOTIFY= is used also helps. However as the OP has stated that he can not see the maxcc it leads me to think that it may not be displayed in SDSF (or whatever spool display utility is in use at his site).
Hence the request for more information. Unless the OP is clear in the requirement then we can only guess at a possible solution.