AS400 subsystem listings

65 pts.
Tags:
AS/400
AS/400 subsystems
QSTRUP
Not too sure specifically how subsystems are listed in the AS/400. I know there are startup programs and subsystems need to be 'pointed' there in order to autostart? Questions is: Is there a way to list the current autostarted programs and how I can remove them. If there isn't a way to list what is currently being autostarted - how can I manually remove certain ones from starting? There some sort of change subsystem command? CHGSBSS Thanks in advance!

Software/Hardware used:
as400
ASKED: January 6, 2010  10:46 PM
UPDATED: September 11, 2013  4:19 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Enter the DSPSBSD command for the subsystem and select option 3 Autostart job entries. This will display the autostart job entries.
Use RMVAJE Remove Autostart Job Entry to update.

============================================================

Review the discussion under What does the QSTRUPPPGM generally comprise of before anything else.

A subsystem is started when you run the STRSBS command and you name the subsystem to start. You can run the command from a command line or in a program (or through a remote command or through a job scheduler entry or possibly other ways). The ‘controlling’ subsystem is a little different in that it will also be started automatically when you IPL your system.

If you use the normal default procedures, the controlling subsystem will cause a program to run when that subsystem is started. That program will be what eventually runs STRSBS commands for all of the subsystems that you want started on your system. (There are some minor but important variations of that.)

The program will be named in the QSTRUPPGM system value. You can use the default program that IBM supplies or you can write your own.

Attributes of a subsystem description can be changed with the CHGSBSD command.

In addition to “attributes”, subsystem descriptions can also have “entries”. Some of the kinds of entries are routing entries, pre-start job entries and communications entries. Those are added with ADDRTGE, ADDPJE and ADDCMNE commands and removed with RMVRTGE, RMVPJE and RMVCMNE commands.

There are also “autostart job” entries. These are jobs that you want started automatically whenever that subsystem is started. The related commands are ADDAJE and RMVAJE.

You can print the attributes and entries for a particular subsystem with the DSPSBSD command. Specify the OUTPUT(*PRINT) parameter to cause printing. You can use the WRKSBS command to access a list of subsystems that are currently active on your system. (There are also APIs if you want to automate various parts of this.)

Use the WRKOBJ *ALL/*ALL *SBSD command to locate every subsystem description on your system whether they’re active or not.

As always, you need sufficient authority to access or change any subsystem description. There might be additional “special” authority needed for some possible changes.

Tom

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Whatis23
    Not sure what's going on here but this is the second occasion where Tom is listed as the prior contributor but is not displayed? Sorry if we answered at the same time and my response aomehow cleared yours.
    5,665 pointsBadges:
    report
  • TomLiotta
    No, I had another question open in a different tab, typed the wrong answer in this tab, and then went into 'View History' to back my erroneous entry out. In the meantime, my connection regularly hangs while accessing the blasted {cdnlayer.com} framework/hosting stuff for this site. I often have to refresh a half dozen times in order to progress to the next element getting rendered on a page. I probably managed to wipe something out while forcing things along. However, the 'View History' link can help get things back in order. Reverting to previous copies is pretty easy. And since all history is available, copy/paste can merge things together. My apologies. While in 'View History', there were no other entries listed. You probably posted a while before I was successful in erasing mine. Tom
    125,585 pointsBadges:
    report
  • TomLiotta
    The system is also a little odd. Awarding "points" isn't really appropriate within the structure here. "Points" implies some kind of value, but the points are the same even if you simply type "Hi" and click the button. The last user ID to click <Improve This Answer> is the one that is displayed as the associated icon and as 'Last Answered:' regardless of what was contributed. Oddly, 'Latest Contributors:' are actually earlier. You can become the 'Last Answered:' referent by correcting a spelling or adding punctuation if you wish. I haven't tried, but I assume something must actually change. Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following