Page 1 of 1

What is a user exit in mainframes?

Posted: Sat Sep 26, 2015 8:43 pm
by Dilip Prasad
Hi,

I have heard about "user exits" in mainframes, sometime like if in a SORT it won't work write a user exit. If in COBOL, it does not work write a user-exit. What exactly is a user exit? When do we need it and how do I learn to write one? Please guide if there is a step by step guide for it.

Re: What is a user exit in mainframes?

Posted: Sat Sep 26, 2015 8:55 pm
by enrico-sorichetti
it is part of a programming standard where at certain point of the process
the control is given to a user program do do something that the original program cannot do.

each program/product will provide in the manuals the description of the user exits available
with the description of the purpose of the exit, and the calling conventions

Re: What is a user exit in mainframes?

Posted: Tue Feb 09, 2016 10:34 am
by Dilip Prasad
enrico-sorichetti wrote:it is part of a programming standard where at certain point of the process
the control is given to a user program do do something that the original program cannot do.

each program/product will provide in the manuals the description of the user exits available
with the description of the purpose of the exit, and the calling conventions
Will there be a specific language required for the exit program in mainframes? Or we can write them in any language?

Re: What is a user exit in mainframes?

Posted: Tue Feb 09, 2016 1:47 pm
by enrico-sorichetti
Will there be a specific language required for the exit program in mainframes?
the manuals will tell the languages that can be used for exits.

Re: What is a user exit in mainframes?

Posted: Tue Feb 09, 2016 2:38 pm
by Dilip Prasad
Thanks enrico.

Re: What is a user exit in mainframes?

Posted: Tue Feb 09, 2016 6:35 pm
by Robert Sample
Most system user exits are written in Assembler as they need to be small and fast. I've seen more than one SORT user exit coded in COBOL (E35 usually but sometimes others).