Thanks to everyone who responded and although he tried out all the options 
provided, nothing actually worked however it looks like it is working now. The 
first step was to implement the original it was based upon from the Redbook and 
that worked fine out of the box. I then looked at what messages he was 
processing via MPF and saw a couple that looked familiar as being used by 
another subsystem which also 'traps' messages. Once I removed the startup of 
the STC and all references to it in PARMLIB (IEFSSN in particular), no more 
abends occurred. So it basically wasn't the fault of the code (apparently he 
has coded MPF exits before, just wanted to try a different method and to use 
System REXX) but the interaction with other subsystems. Personally I could have 
done this with System Automation in a couple of minutes but this is a good 
learning curve for both of us in particular during the investigation. Once 
again, many thanks to everyone who took the time and effort to reply, it was 
much appreciated and did help in furthering our education (particularly me.)

Seb.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to