Sorry, you do not have permission to ask a question, You must login to ask a question.

Sorry, you do not have permission to ask a question.

brainchime.com

brainchime.com

brainchime.com Navigation

  • Home
  • About Us
  • Contact Us

Mobile menu

Close
  • Home
  • Categories
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags

brainchime.com Latest Questions

Admin
Admin
Asked: October 13, 20242024-10-13T12:24:31+05:30 2024-10-13T12:24:31+05:30In: IBM i

What is subsystem in AS400?

What is a subsystem and why do we use it or why it’s so important? What is the main role of the subsystem in the AS400 system? How subsystems are used to manage resources, processes, and jobs.

How to view and manage subsystems and also, how can I create a subsystem in AS400? what are the different types of subsystems available on IBM i?

 

as400
  • 0
  • 0
  • 11
  • 5
  • Share
    • Share on Facebook
    • Share on Twitter
    • Share on LinkedIn
    • Share on WhatsApp

Related Questions

  • what is level check error and how to resolve level check error?
  • What are AS400 systems. Please provide a introduction of AS400 systems?
  • Is there any online server available for practicing on AS400 system?
  • What are the menus available in AS400?
  • How to copy a save file from IFS to a library?
  • How to transfer savf from as400 to pc?
  • How to copy ifs file to another directory?
  • How to copy savf from ifs to pc?
  • How to copy ifs file to physical file?
  • How to copy save file to ifs?
  • How to copy spool file to ifs?
  • How to copy physical file to ifs?
  • How to copy file from pc to IFS?
  • How to download spool file from AS400?
  • How do I delete a library in AS400?
  • How do I copy data from AS400 to excel?
  • What is library in AS400?
  • How to find all the source physical file available in AS400?
  • How to find all libraries in AS400?
  • How to change the library list in AS400?
  • What is access path in AS400?
  • What is the difference between source physical file and physical file in as400?
  • how to find the source file of an object in as400?
  • how to change record length of source physical file in as400?
  • What is cpf4174 error in as400?
  • What is the use of varying keyword in rpgle?
  • What is DDS in AS400?
  • What is the difference between PF and LF in as400?
  • Why do we use CHGPF command in AS400?
  • how to create physical file in as400?
  • What are the data types supported by physical files in AS400?
  • how to add data in physical file in as400?
  • how to view journal entries in as400?
  • what is the use of ovrdbf in as400?
  • What is an array in AS400?
  • what is a data queue in as400 and why do we use data queue?
  • How to run stored procedure in AS400?
  • How to resolve session and device error in AS400?
  • how to check as400 system values?
  • How to check triggers on a file in as400?
  • How to find damaged objects in AS400?
  • what is module in as400?
  • How to create binding directory in as400?
  • how to create ifs folder in as400?
  • What is ASP in AS400?
  • What is JOBQ and how to create a JOBQ in AS400?
  • What is PSDS in AS400?
  • What is SEU in AS400 and why do we use it?
  • What is the multi-format logical file in AS400?
  • what is PR and PI in rpgle?
Leave an answer

Leave an answer
Cancel reply

Browse
Browse

Choose from here the video type.

Put Video ID here: https://www.youtube.com/watch?v=sdUUx5FdySs Ex: "sdUUx5FdySs".

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Admin
    Admin
    2024-10-13T12:36:38+05:30Added an answer on October 13, 2024 at 12:36 pm

    A subsystem is an operating environment in as400 systems that manages resource allocation, usage, and job handling. Multiple subsystems that function independently of one another may be present in the system. A subsystem description is an object that defines a subsystem’s run-time properties. Jobs operate within the subsystem. The subsystem description explains the amount, location, and resource allocation of each work that enters the subsystem.

    The following sections will review subsystems used for server jobs, IBM-supplied subsystems, create subsystems, start subsystems, end subsystems, work with subsystems, and commands, and check if subsystems are active.

    Subsystem for server jobs
    The server jobs are configured to operate in separate subsystems based on their function. The server jobs use the following subsystems.

    • QSYSWRK
    • QUSRWRK
    • QSERVER

    QSYSWRK subsystem
    This subsystem is responsible for running all daemon jobs.

    QUSRWRK subsystem
    Server jobs for the servers Network Print, Remote Command, Program Call, Central, Data Queue, Signon, and Database are executed in the QUSRWRK subsystem.

    QSERVER subsystem
    The file server and database server daemon jobs are executed in the QSERVER subsystem.

    IBM subsystem
    IBM provides the following subsystems, which are listed:

    • QBASE
    • QSERVER
    • QSPL
    • QSYSWRK
    • QUSRWRK
    • QCTL
    • QUINTER
    • QBATCH
    • QCMN
    • QBASE

    One such controlling subsystem is the QBASE subsystem. Communication, Batch, and Interactive Jobs are supported. An autostart job starts the subsystems QSERVER, QSPL, and QUSRWRK.

    QSERVER subsystem
    A file server subsystem is called Qserver.

    QSPL subsystem
    Reader and writer jobs are supported by the QSPL subsystem, which is a spool subsystem.

    QSYSWRK subsystem
    A system work subsystem is called a QSYSWRK subsystem. It initiates automatically when the system boots up.

    QUSRWRK subsystem
    A user work subsystem is called QUSRWRK. It includes jobs that servers launch to carry out tasks for users.

    QCTL subsystem
    This subsystem is a control subsystem. It includes an autostart job that launches the QINTER, QBATCH, QCMN, QUSRWRK, QSERVER, and QSPL subsystems.

    QUINTER subsystem
    This subsystem facilitates interactive tasks.

    QBATCH subsystem
    This subsystem supports batch jobs.

    QCMN subsystem
    This subsystem supports the communication jobs to be executed within it, such as Client access and server jobs.

    Create subsystem in as400
    We must create the essential elements before creating a subsystem to carry out interactive and batch activities. After that, we can start or stop the subsystem. The following is a list of what has to be done first:

    • Subsystem Description
    • Job Queue
    • Class Object
    • Routing Entries

    A few more actions after the subsystem is created:

    • Start subsystem
    • End subsystem

    Create Subsystem Description
    A system object, including general and storage pool definitions, is called a subsystem description. How the subsystem uses memory for work, where work can enter the subsystem, how much work it can manage, how much memory will be utilized for primary storage, and how storage pool properties determine the jobs run inside the subsystem.

    The Subsystem Description can be created using the command CRTSBSD.
    CRTSBSD SBSD(libraryName/SubsystemName)
    POOLS((1 *BASE))
    MAXJOBS(10)
    TEXT('Test subsystem')

    10 jobs can be active at a time in the subsystem and operate in pool 1 with primary storage memory as *BASE.

    Create job Queue
    Use the CRTJOBQ command to create a job queue.
    CRTJOBQ JOBQ(LibraryName/JobQueueName) TEXT('Test Job Queue')

    Add Job Queue Entry
    After creating the JOBQ, use the command ADDJOBQE to attach it to the subsystem.
    ADDJOBQE SBSD(LibraryName/SubsystemName) JOBQ(LibraryName/JobQueueName) MAXACT(5)
    The MAXACT option indicates the most jobs that this JOBQ can process concurrently.

    Create Class
    Use the CRTCLS command to create a class.
    CRTCLS CLS(LibraryName/ClassName) RUNPTY(40)

    The class defines run time attributes like Run priority, Time slice, Default wait time, Maximum temporary storage, etc.

    Add Routing Entry
    The ADDRTGE command can add a routing entry to the subsystem description. To utilize routing entry 50, the character string TEST must begin at position 1 in the routing data. Through this item, any number of routing stages can be enabled at once. The programs will operate in storage pool 1 by utilizing the library class.
    ADDRTGE SBSD(LibraryName/SubsystemName) SEQNBR(50) CMPVAL(TEST)
    PGM(LibraryName/ProgramName) CLS(LibraryName/ClassName)

    Once the subsystem is created successfully, please follow the steps below.

    Start subsystem
    Start the subsystem by using the command STRSBS. The subsystem can be used to submit jobs once they have been started.
    STRSBS SBSD(LibraryName/SubsystemName)

    End subsystem
    The ENDSBS command terminates the subsystem.
    ENDSBS SBSD(SubsystemName)
    Work with subsystem
    Use the command WRKSBS on the command line to work with the subsystem.
    Some important subsystem commands

    • Start subsystem command: Use the STRSBS command to initiate a subsystem.
    • End subsystem command: Use the ENDSBS command to terminate a subsystem.
    • Delete subsystem description command: Use the DLTSBSD command to eliminate a subsystem description. The subsystem must not be in an active state to use the DLTSBSD command.
    • Change subsystem description command: Use the CHGSBSD command to change the subsystem description.
    • Display subsystem description command: Use the DSPSBSD command to view the subsystem description.
    • Start subsystem using BRMS: Use the STRSBSBRM command to start a subsystem with BRMS.
    • Work with subsystem: Use the WRKSBS command to interact with subsystems.
    • Work with subsystem description: Use the WRKSBSD command to interact with subsystem descriptions.
    • Work with subsystem jobs: Use the WRKSBSJOB command to work with subsystem jobs.
      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp

Sidebar

Statistics

  • Questions 143
  • Answers 177
  • Comments 0
  • Popular
  • Answers
  • Admin

    Why do we use OVERLAY keyword in data structure subfields ...

    • 12 Answers
  • Admin

    How to call sql stored procedure with output parameter from ...

    • 6 Answers
  • Admin

    How to use declare global temporary table statement in RPGLE?

    • 5 Answers
  • Admin
    Admin added an answer CPF4131 is a record format level check error. This indicates… October 18, 2024 at 1:58 am
  • Admin
    Admin added an answer To open the command prompt with administrator rights you can… October 17, 2024 at 12:27 am
  • Admin
    Admin added an answer In AS400, "AS" stands for Application system. This article discusses… October 13, 2024 at 12:49 pm

Related Questions

  • Admin

    what is level check error and how to resolve level ...

    • 1 Answer
  • Admin

    What are AS400 systems. Please provide a introduction of AS400 ...

    • 1 Answer
  • Admin

    Is there any online server available for practicing on AS400 ...

    • 1 Answer
  • Admin

    What are the menus available in AS400?

    • 1 Answer
  • Admin

    How to copy a save file from IFS to a ...

    • 3 Answers

Trending Tags

.htaccess (1) as400 (123) bing-webmaster (2) control-language (12) db2 (33) ftp (8) google-adsense (1) google-search-console (3) https-redirect (1) iasp (4) ifs (22) jar (4) operations (3) php-my-admin (1) qshell (3) robots.txt (4) rpg (26) stored-procedure (3) stroed procedure (1) triggers (1) yoast (4)

Explore

  • Home
  • Categories
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags

Footer

BrainChime

BrainChime is a blog that posts question-and-answer-based format articles on diverse topics and engages in discussions by allowing people to provide answers/comments without the need to register and log in.

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Terms of Use
  • Privacy Policy
  • Cookie Policy

Help

  • FAQs
  • Categories
  • Tags

© 2024 BrainChime. All Rights Reserved
by BrainChime.

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.