What is a user exit in mainframes?

Other Mainframe related questions which attracts you and there is no suitable Forum you find for it and related FAQs.
Dilip Prasad
New Member
Posts: 7
Joined: Thu Feb 19, 2015 1:10 pm

What is a user exit in mainframes?

Post 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.
User avatar
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 855
Joined: Wed Sep 11, 2013 3:57 pm

Re: What is a user exit in mainframes?

Post 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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
Dilip Prasad
New Member
Posts: 7
Joined: Thu Feb 19, 2015 1:10 pm

Re: What is a user exit in mainframes?

Post 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?
User avatar
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 855
Joined: Wed Sep 11, 2013 3:57 pm

Re: What is a user exit in mainframes?

Post 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.
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
Dilip Prasad
New Member
Posts: 7
Joined: Thu Feb 19, 2015 1:10 pm

Re: What is a user exit in mainframes?

Post by Dilip Prasad »

Thanks enrico.
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1905
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa

Re: What is a user exit in mainframes?

Post 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).
Post Reply Previous topicNext topic

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Other Mainframe Topics, Off-Topics, FAQs.”