Skip to content
  • Articles
  • About API – my my

Articles on Apis

APIs by Example

Written by Carsten FlensburgSeptember 4, 2003August 30, 2017

APIs by Example: Profile Exit Programs (QWTSETPX/QWTRTVPX)

This installment of Carsten Flensburg’s APIs by Example features utility SetPrfExit, which shows how to use the Set Profile Exit Programs (QWTSETPX) and Retrieve Profile Exit Programs (QWTRTVPX) APIs. Profile exit programs provide a powerful way of controlling what happens when a user suspends interactive jobs by pressing Attn or System Request. Once registered with WRKREGINF or ADDEXITPGM/RMVEXITPGM, these programs run every time a user presses Attn or System Request. The SetPrfExit lets you quickly enable or disable the calling of these registered exit programs based on the user ID.

Download the save file containing the source code.

Read the entire article

Share this:

  • Twitter
  • Facebook

Like this:

Like Loading...
Posted in Exit points, Job, User profile.

Leave a Reply Cancel reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. ( Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. ( Log Out /  Change )

Cancel

Connecting to %s

Archives

Category

API usage Application modernization Commands Cross reference Cryptographic services Database file Data queue Date and time Digital certificate manager Display file Document conversion DSM eBook Environment variables Exit points Hardware Help panel IFS Job Job accounting Job queue Job scheduler Job screen Journal LAN Locales Messages MI Module information NetServer Object Object authority Object locks Output queue PEX Printer Programs PTF Query Retrive journal entries RPG Save & restore Security SMTP Spooled files SQL Subsystem Systems management TCP/IP Tips Track exports Trigger UIM User profile User spaces Validation lists Watch definition Workload capping groups Work management XML ZIP

Blogroll

  • Scott Klement's site
  • Dan Riehl's site
  • Lillian Boutté
  • Anette Harboe Flensburg
  • Eamon O'Kane

Post navigation

Previous Post APIs by Example: TCP/IP Management APIs, Part 2
Next Post APIs by Example: Message Handling (QMHRTVM/QMHMOVPM/QMHRCVPM)
Blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • Articles on Apis
    • Already have a WordPress.com account? Log in now.
    • Articles on Apis
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • View post in Reader
    • Manage subscriptions
    • Collapse this bar
%d bloggers like this: