SlideShare uma empresa Scribd logo
1 de 45
Putting IBM i to Work
Best Practices for
Optimizing your IBM i
Chuck Losinski
Director of Automation Technology
Broadcasting live from Eden Prairie in Minnesota, USA
Chuck Stupca
IBM (Retired)
Your Hosts
Happy Birthday IBM i
Chuck’s Book
Putting IBM i to work
• WORK MANAGEMENT DEFINED
• GETTING JOBS INTO THE SYSTEM
• SYSTEM MEMORY POOLS
• SUBSYSTEMS
• SYSTEM VALUES AND COMMANDS
• iASP
What is Work Management?
Hey! Read about
Work
Management!
Work management is defined as:
“Work entering the computer
system, where it enters, and
what resources it uses.”
Putting IBM i to Work
• Like all computer systems the IBM i is used to get your work done
• In order to do work, the IBM i needs to be told what to do
• The IBM i is assigned jobs to perform
• Getting these jobs to the IBM i and getting them started is
the function of the component called Work Management
Work Management Basics
• Work Management is used to locate sources of work, i.e. job
assignments
• Once a source of work is located, Work Management will control
its entry into the system
• Work Management will also assign the job a work area
Work Management Groundwork
• System startup
• System Values
• System Pools
• Subsystems
System Startup
• When the IBM i is started, several initiation tasks are
performed
• The initiation tasks are designed to prepare the system for use
• Several jobs that are used to manage the system are started
and are running without any interaction from users
• In addition, while the system is starting, System Values are
processed
System Values
• Several of the system values that are processed are used to
establish the work management function:
– QMCHPOOL – establishes the size of the machine pool
– QBASPOOL – specifies the minimum size of the *BASE pool
– QCTLSBSD – identifies the controlling subsystem
• QBASE (the default value)
• QCTL (another IBM supplied controlling subsystem)
• While other system values are used to manage jobs in the system,
they are beyond the scope of this presentation
All About Memory Pools
• Logical area of main storage where jobs
process
• Maximum of 64 system pools
• Maximum of 10 defined per subsystem
description
• Memory can be changed dynamically
– By interactive commands
– By batch commands or APIs
– By dynamic tuning
Why Use Multiple Pools?
• Different types of jobs
– Batch
– Interactive
– Communication
– Printing
– System
• Batch vs. Interactive – think time
• Adjust sizes based on time of day
• Assign priorities
System Pools
Think of main storage pools as work areas:
Reception
Sales
Accounts
Receivable
Order Processing
Shipping
and
Receiving
IT Executive
System Pools
• An IBM i has a minimum of two pools:
– QMCHPOOL – this is the *MACHINE pool and is the work area for many
important system functions
– QBASPOOL – this pool is *BASE and is used for many of the jobs
entering the system
• As stated earlier, the size of the machine pool is set by the system
value QMCHPOOL
• All remaining main storage is placed in *BASE
• Additional pools may be created to separate different types of work
• Storage for additional pools is taken from *BASE
Change Pool Sizes
• System values
– QMCHPOOL (machine pool)
– QBASPOOL (*BASE pool)
– QPFRADJ (turns on dynamic tuning)
• Commands
– CRTSBSD/CHGSBSD
– WRKSYSSTS/DSPSYSSTS
• WRKSHRPOOL/CHGSHRPOOL
Subsystems
• Subsystems are used to manage the jobs entering the system
• Subsystems locate work requests and initiate jobs
– Sources for batch jobs are identified by a component of the
subsystem called a JOBQ entry
– Interactive work is located by work station entries
• As part of the job initiation process, the subsystem will assign
jobs to work areas
Overview of Work Management
Communication job
Printing jobs
Server jobs
Hardware microcode
Jobs
User keys input
Batch jobs
Subsystems
QCMN
QSYSWRK
QINTER
QBATCH
QSPL
Memory Pools
1 *MACHINE
2 *BASE
3 SERVER
4 *INTERACT
5 Batch
6 Spooling
DSPSYSSTS Command
Controlling Subsystem
• Will always be running
• Regardless of your choice of controlling subsystem
– All types of work can enter the system
– Four main storage pools will be defined
• *MACHINE
• *BASE
• *INTERACT
• *SPOOL
System with Two Pools
All Other Work
(*BASE Pool)
Executive
(Machine Pool)
Getting Work to the System
• All work (other than system jobs) enters the system via a subsystem
• Where do subsystems look for work?
• How do subsystems know where the job will run?
• How do run time attributes, such as the job’s priority, get assigned?
It’s time to learn Work Management!
QBASE Controlling Subsystem
Interactive
Work
Batch Work
QBASE Subsystem
Main Storage
(*BASE)
Job Start and End
Type Start End*
Interactive Sign on Sign off
Batch Job Queue End of requested command
Spool Start writer or reader End writer or reader command
Communication Request from remote
system
End of program in start request
Autostart Start of subsystem End of program in routing entry
Prestart Start of subsystem or
prestart job
ENDPJ
Batch Immediate JAVA Program or
restart job
ENDPJ or end of program
*All will end with an ENDSBS command.
Starting an Interactive Job
• Since the Work Station Entry is the key to finding and starting an interactive
job, taking a closer look shows 2 parameters on the Work Station Entry
– JOBD(*USRPRF)
– AT(*SIGNON)
• Since the AT parameter is *SIGNON, the subsystem will send the sign
on screen to the device
• Once the sign on screen appears the user will enter their identification
and password
• Because the JOBD (job description) specified is *USRPRF, the user
profile will specify the job description to be used
• Now, we need to investigate the job description in order
to proceed
Starting an Interactive Job
• A job description provides a lot of the information necessary to
manage a job
• While that information is important, the parameter that is used in
starting a job is RTGDTA
• RTGDTA is used by the subsystem to:
– Determine which system pool the job will use
– Assign run time attributes to the job
• In order to understand this part of the process, another component
of the subsystem, routing entries, needs to be examined
Starting an Interactive Job
Routing entries are a table that the subsystem uses to lookup
the RTGDTA provided by the job description. For an interactive
job, the RTGDTA is QCMDI
QINTER
QINTER WSE User Profile
JOBD
JOBD Routing Entries
QCMDI QCMDI
*ALL
Starting a Batch Job
• The QBATCH subsystem is looking for work to arrive at the
QBATCH job queue
• Batch jobs are placed on the queue by the SBMJOB command
• The job can be placed on the queue by a job scheduler like
Robot/SCHEDULE Enterprise from Help/Systems
• Once a job arrives at the queue the initiation process begins
Starting a Batch Job
• As with interactive jobs, a batch job will run with a user profile and
a job description
• The job description can be specified on the SBMJOB command
or by the user profile used to run the job
• Since most user profiles and job descriptions are designed for
interactive work, another parameter on the SBMJOB command,
RTGDTA should be supplied
• The RTGDTA specified on the command will be used to look for
the appropriate routing entry in the subsystem
• Usually, the RTGDTA will be QCMDB
Starting a Batch Job
QBATCH
QBATCH JOBQE User Profile
JOBD
JOBD Routing Entries
QCMDB QCMDB
QBATCH
SAMPLE
QBATCH
Starting a Batch Job
• Notice that another object is shown in the initiation process, the job class
• Although not shown on the interactive job initiation it is there
• The job class is designated on the routing entry used to start the job
• The class provides run time attributes for the job
• The most important attribute is the job’s priority
• The priority of the job determines its importance and is used to manage
access to the CPU
• The default priority for batch jobs is 50, interactive jobs have a priority
of 20
Autostart Jobs
• An autostart jobs is a special type of job that will start whenever
the subsystem starts
• Some typical autostart jobs are system monitors, servers, system
setup, etc.
• In order to start one of these special jobs, the subsystem has
autostart job entries
• When the subsystem starts, it will initiate the autostart job entries
before any other jobs
• QCTL has an autostart job that will collect performance data
• Starting an autostart job follows the same procedure as any
other job
Autostart Jobs
SBSD QCTL
QBASE AUTOSTART JOB ENTRIES
QBASE RTGEs
10… ‘QCMDB’
50… ‘QCMDI’
JOB DESCRIPTION QPFRCOL
1 *BASE
2 *INTERACT
QPFRCOL QPFRCOL
QPFRCOL
POOL *INTERACT
QBASE POOLS
CLS QINTER
What is an iASP?
• iASP defined
– Is this new?
• Why do you need an iASP?
• How do you use an iASP?
Building Blocks: IBM i iASPs
4
Why use iASPs?
– Clusters
• Building block for HA/DR storage
replication based clustering
– Consolidation
• Meet compliance needs for isolation
• Reduce software footprints
• Reduce number of OS upgrades
– Archive
• Storage performance &cost by iASP
– Uptime
• Off-line backups with replication
• Shorter IPL – leave non-critical iASPs
offline till after IPL
01/07/2013 42
Robot Solutions
Automated Job
Scheduling Solutions
Message Mgmt.
Solutions
Performance Mgmt.
Solutions
Report Mgmt.
Solutions
Backup &
Recovery Solutions
© 2013 Help/Systems. Company Confidential.7/1/2013 43
Batch
Automated Job Scheduling
Interactive
E1 and SAP Interfaces
Robot/REPLAY
Robot/SCHEDULE
SCHEDULE Enterprise
Work Management: Best Practices for Optimizing Your IBM i
Work Management: Best Practices for Optimizing Your IBM i

Mais conteúdo relacionado

Destaque

What you-need-to-know-to-do successful-upgrades
What you-need-to-know-to-do successful-upgradesWhat you-need-to-know-to-do successful-upgrades
What you-need-to-know-to-do successful-upgradesCOMMON Europe
 
Virtualizzazione Power IBM
Virtualizzazione Power IBMVirtualizzazione Power IBM
Virtualizzazione Power IBMS.info Srl
 
Extending Microsoft Project into a Unified Work Management Solution
Extending Microsoft Project into a Unified Work Management SolutionExtending Microsoft Project into a Unified Work Management Solution
Extending Microsoft Project into a Unified Work Management SolutionMichelle Manimtim
 
What's New in WebSphere Application Server
What's New in WebSphere Application ServerWhat's New in WebSphere Application Server
What's New in WebSphere Application ServerCOMMON Europe
 
Tips n-tricks to improve performance and reduce disk space
Tips n-tricks to improve performance and reduce disk spaceTips n-tricks to improve performance and reduce disk space
Tips n-tricks to improve performance and reduce disk spaceCOMMON Europe
 
High Availability og virtualisering, IBM Power Event
High Availability og virtualisering, IBM Power EventHigh Availability og virtualisering, IBM Power Event
High Availability og virtualisering, IBM Power EventIBM Danmark
 
Extracts from AS/400 Concepts & Tools workshop
Extracts from AS/400 Concepts & Tools workshopExtracts from AS/400 Concepts & Tools workshop
Extracts from AS/400 Concepts & Tools workshopRamesh Joshi
 
Intro OPENSUITE09NR.pdf
Intro OPENSUITE09NR.pdfIntro OPENSUITE09NR.pdf
Intro OPENSUITE09NR.pdfMayking
 
IBM i db2 udb vs Microsoft SQL Server
IBM i db2 udb vs Microsoft SQL ServerIBM i db2 udb vs Microsoft SQL Server
IBM i db2 udb vs Microsoft SQL ServerRiccardo De Mattia
 
Creazione di una partizione Linux ospitata da IBM i tramite VPM
Creazione di una partizione Linux ospitata da IBM i tramite VPMCreazione di una partizione Linux ospitata da IBM i tramite VPM
Creazione di una partizione Linux ospitata da IBM i tramite VPMS.info Srl
 
Work Management Service – Using SharePoint 2013 as consolidated tasks platfor...
Work Management Service – Using SharePoint 2013 as consolidated tasks platfor...Work Management Service – Using SharePoint 2013 as consolidated tasks platfor...
Work Management Service – Using SharePoint 2013 as consolidated tasks platfor...European SharePoint Conference
 
Tutte le novità di IBM i V7R2
Tutte le novità di IBM i V7R2Tutte le novità di IBM i V7R2
Tutte le novità di IBM i V7R2S.info Srl
 
Roadmapping Product Service Combinations
Roadmapping Product Service CombinationsRoadmapping Product Service Combinations
Roadmapping Product Service CombinationsJurjen Helmus
 
Virtualisation overview
Virtualisation overviewVirtualisation overview
Virtualisation overviewsagaroceanic11
 

Destaque (18)

What you-need-to-know-to-do successful-upgrades
What you-need-to-know-to-do successful-upgradesWhat you-need-to-know-to-do successful-upgrades
What you-need-to-know-to-do successful-upgrades
 
Virtualizzazione Power IBM
Virtualizzazione Power IBMVirtualizzazione Power IBM
Virtualizzazione Power IBM
 
Extending Microsoft Project into a Unified Work Management Solution
Extending Microsoft Project into a Unified Work Management SolutionExtending Microsoft Project into a Unified Work Management Solution
Extending Microsoft Project into a Unified Work Management Solution
 
What's New in WebSphere Application Server
What's New in WebSphere Application ServerWhat's New in WebSphere Application Server
What's New in WebSphere Application Server
 
Ha solutions su power i
Ha solutions su power iHa solutions su power i
Ha solutions su power i
 
Tips n-tricks to improve performance and reduce disk space
Tips n-tricks to improve performance and reduce disk spaceTips n-tricks to improve performance and reduce disk space
Tips n-tricks to improve performance and reduce disk space
 
High Availability og virtualisering, IBM Power Event
High Availability og virtualisering, IBM Power EventHigh Availability og virtualisering, IBM Power Event
High Availability og virtualisering, IBM Power Event
 
SAP and IBM I
SAP and IBM I SAP and IBM I
SAP and IBM I
 
Iasp Enablement
Iasp EnablementIasp Enablement
Iasp Enablement
 
Extracts from AS/400 Concepts & Tools workshop
Extracts from AS/400 Concepts & Tools workshopExtracts from AS/400 Concepts & Tools workshop
Extracts from AS/400 Concepts & Tools workshop
 
Intro OPENSUITE09NR.pdf
Intro OPENSUITE09NR.pdfIntro OPENSUITE09NR.pdf
Intro OPENSUITE09NR.pdf
 
IBM i db2 udb vs Microsoft SQL Server
IBM i db2 udb vs Microsoft SQL ServerIBM i db2 udb vs Microsoft SQL Server
IBM i db2 udb vs Microsoft SQL Server
 
Creazione di una partizione Linux ospitata da IBM i tramite VPM
Creazione di una partizione Linux ospitata da IBM i tramite VPMCreazione di una partizione Linux ospitata da IBM i tramite VPM
Creazione di una partizione Linux ospitata da IBM i tramite VPM
 
As400
As400As400
As400
 
Work Management Service – Using SharePoint 2013 as consolidated tasks platfor...
Work Management Service – Using SharePoint 2013 as consolidated tasks platfor...Work Management Service – Using SharePoint 2013 as consolidated tasks platfor...
Work Management Service – Using SharePoint 2013 as consolidated tasks platfor...
 
Tutte le novità di IBM i V7R2
Tutte le novità di IBM i V7R2Tutte le novità di IBM i V7R2
Tutte le novità di IBM i V7R2
 
Roadmapping Product Service Combinations
Roadmapping Product Service CombinationsRoadmapping Product Service Combinations
Roadmapping Product Service Combinations
 
Virtualisation overview
Virtualisation overviewVirtualisation overview
Virtualisation overview
 

Mais de HelpSystems

El Estado de la Seguridad de IBM i en 2020
El Estado de la Seguridad de IBM i en 2020El Estado de la Seguridad de IBM i en 2020
El Estado de la Seguridad de IBM i en 2020HelpSystems
 
Ciberseguridad Cómo identificar con certeza dispositivos comprometidos en la...
Ciberseguridad  Cómo identificar con certeza dispositivos comprometidos en la...Ciberseguridad  Cómo identificar con certeza dispositivos comprometidos en la...
Ciberseguridad Cómo identificar con certeza dispositivos comprometidos en la...HelpSystems
 
Rbt jdbc odbc webinar
Rbt jdbc odbc webinar Rbt jdbc odbc webinar
Rbt jdbc odbc webinar HelpSystems
 
RPA en 45 minutos
RPA en 45 minutos RPA en 45 minutos
RPA en 45 minutos HelpSystems
 
Webinar go anywhere_mft_scripts
Webinar go anywhere_mft_scriptsWebinar go anywhere_mft_scripts
Webinar go anywhere_mft_scriptsHelpSystems
 
Automatización de Procesos de IT
Automatización de Procesos de ITAutomatización de Procesos de IT
Automatización de Procesos de ITHelpSystems
 
Hs 2020-ibmi-marketplace-spanish v3
Hs 2020-ibmi-marketplace-spanish v3Hs 2020-ibmi-marketplace-spanish v3
Hs 2020-ibmi-marketplace-spanish v3HelpSystems
 
Caso de éxito Zurich automatiza sus procesos críticos de Negocio con RPA
Caso de éxito  Zurich automatiza sus procesos críticos de Negocio con RPACaso de éxito  Zurich automatiza sus procesos críticos de Negocio con RPA
Caso de éxito Zurich automatiza sus procesos críticos de Negocio con RPAHelpSystems
 
Centro de Excelencia en Automatización 3
Centro de Excelencia en Automatización 3Centro de Excelencia en Automatización 3
Centro de Excelencia en Automatización 3HelpSystems
 
Cómo crear un Centro de Excelencia de Automatización 2
Cómo crear un Centro de Excelencia de Automatización 2Cómo crear un Centro de Excelencia de Automatización 2
Cómo crear un Centro de Excelencia de Automatización 2HelpSystems
 
Construyendo un Centro de Excelencia de Automatización PARTE 1
Construyendo un Centro de Excelencia de Automatización PARTE 1Construyendo un Centro de Excelencia de Automatización PARTE 1
Construyendo un Centro de Excelencia de Automatización PARTE 1HelpSystems
 
Webinar Vityl IT & Business Monitoring
Webinar Vityl IT & Business MonitoringWebinar Vityl IT & Business Monitoring
Webinar Vityl IT & Business MonitoringHelpSystems
 
1 año de RGPD: 3 formas en las que HelpSystems puede ayudar
1 año de RGPD:  3 formas en las que HelpSystems puede ayudar1 año de RGPD:  3 formas en las que HelpSystems puede ayudar
1 año de RGPD: 3 formas en las que HelpSystems puede ayudarHelpSystems
 
Automate feature tour
Automate feature tourAutomate feature tour
Automate feature tourHelpSystems
 
WEBINAR GRABADO Automatización de procesos de IT: tecnologías más usadas, cas...
WEBINAR GRABADO Automatización de procesos de IT: tecnologías más usadas, cas...WEBINAR GRABADO Automatización de procesos de IT: tecnologías más usadas, cas...
WEBINAR GRABADO Automatización de procesos de IT: tecnologías más usadas, cas...HelpSystems
 
5 problemas del intercambio de archivos mediante scripts
5 problemas del intercambio de archivos mediante scripts5 problemas del intercambio de archivos mediante scripts
5 problemas del intercambio de archivos mediante scriptsHelpSystems
 
CASO DE ÉXITO: Grupo Banco San Juan
CASO DE ÉXITO: Grupo Banco San JuanCASO DE ÉXITO: Grupo Banco San Juan
CASO DE ÉXITO: Grupo Banco San JuanHelpSystems
 
Webinar Security Scan
Webinar Security ScanWebinar Security Scan
Webinar Security ScanHelpSystems
 

Mais de HelpSystems (20)

El Estado de la Seguridad de IBM i en 2020
El Estado de la Seguridad de IBM i en 2020El Estado de la Seguridad de IBM i en 2020
El Estado de la Seguridad de IBM i en 2020
 
Ciberseguridad Cómo identificar con certeza dispositivos comprometidos en la...
Ciberseguridad  Cómo identificar con certeza dispositivos comprometidos en la...Ciberseguridad  Cómo identificar con certeza dispositivos comprometidos en la...
Ciberseguridad Cómo identificar con certeza dispositivos comprometidos en la...
 
Rbt jdbc odbc webinar
Rbt jdbc odbc webinar Rbt jdbc odbc webinar
Rbt jdbc odbc webinar
 
RPA en 45 minutos
RPA en 45 minutos RPA en 45 minutos
RPA en 45 minutos
 
Webinar go anywhere_mft_scripts
Webinar go anywhere_mft_scriptsWebinar go anywhere_mft_scripts
Webinar go anywhere_mft_scripts
 
Automatización de Procesos de IT
Automatización de Procesos de ITAutomatización de Procesos de IT
Automatización de Procesos de IT
 
Hs 2020-ibmi-marketplace-spanish v3
Hs 2020-ibmi-marketplace-spanish v3Hs 2020-ibmi-marketplace-spanish v3
Hs 2020-ibmi-marketplace-spanish v3
 
Mft 45 minutos
Mft 45 minutosMft 45 minutos
Mft 45 minutos
 
Caso de éxito Zurich automatiza sus procesos críticos de Negocio con RPA
Caso de éxito  Zurich automatiza sus procesos críticos de Negocio con RPACaso de éxito  Zurich automatiza sus procesos críticos de Negocio con RPA
Caso de éxito Zurich automatiza sus procesos críticos de Negocio con RPA
 
Centro de Excelencia en Automatización 3
Centro de Excelencia en Automatización 3Centro de Excelencia en Automatización 3
Centro de Excelencia en Automatización 3
 
Cómo crear un Centro de Excelencia de Automatización 2
Cómo crear un Centro de Excelencia de Automatización 2Cómo crear un Centro de Excelencia de Automatización 2
Cómo crear un Centro de Excelencia de Automatización 2
 
Construyendo un Centro de Excelencia de Automatización PARTE 1
Construyendo un Centro de Excelencia de Automatización PARTE 1Construyendo un Centro de Excelencia de Automatización PARTE 1
Construyendo un Centro de Excelencia de Automatización PARTE 1
 
Webinar Vityl IT & Business Monitoring
Webinar Vityl IT & Business MonitoringWebinar Vityl IT & Business Monitoring
Webinar Vityl IT & Business Monitoring
 
1 año de RGPD: 3 formas en las que HelpSystems puede ayudar
1 año de RGPD:  3 formas en las que HelpSystems puede ayudar1 año de RGPD:  3 formas en las que HelpSystems puede ayudar
1 año de RGPD: 3 formas en las que HelpSystems puede ayudar
 
Mft 45 minutos
Mft 45 minutosMft 45 minutos
Mft 45 minutos
 
Automate feature tour
Automate feature tourAutomate feature tour
Automate feature tour
 
WEBINAR GRABADO Automatización de procesos de IT: tecnologías más usadas, cas...
WEBINAR GRABADO Automatización de procesos de IT: tecnologías más usadas, cas...WEBINAR GRABADO Automatización de procesos de IT: tecnologías más usadas, cas...
WEBINAR GRABADO Automatización de procesos de IT: tecnologías más usadas, cas...
 
5 problemas del intercambio de archivos mediante scripts
5 problemas del intercambio de archivos mediante scripts5 problemas del intercambio de archivos mediante scripts
5 problemas del intercambio de archivos mediante scripts
 
CASO DE ÉXITO: Grupo Banco San Juan
CASO DE ÉXITO: Grupo Banco San JuanCASO DE ÉXITO: Grupo Banco San Juan
CASO DE ÉXITO: Grupo Banco San Juan
 
Webinar Security Scan
Webinar Security ScanWebinar Security Scan
Webinar Security Scan
 

Último

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 

Último (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 

Work Management: Best Practices for Optimizing Your IBM i

  • 1. Putting IBM i to Work Best Practices for Optimizing your IBM i
  • 2. Chuck Losinski Director of Automation Technology Broadcasting live from Eden Prairie in Minnesota, USA Chuck Stupca IBM (Retired) Your Hosts
  • 5. Putting IBM i to work • WORK MANAGEMENT DEFINED • GETTING JOBS INTO THE SYSTEM • SYSTEM MEMORY POOLS • SUBSYSTEMS • SYSTEM VALUES AND COMMANDS • iASP
  • 6. What is Work Management? Hey! Read about Work Management! Work management is defined as: “Work entering the computer system, where it enters, and what resources it uses.”
  • 7. Putting IBM i to Work • Like all computer systems the IBM i is used to get your work done • In order to do work, the IBM i needs to be told what to do • The IBM i is assigned jobs to perform • Getting these jobs to the IBM i and getting them started is the function of the component called Work Management
  • 8. Work Management Basics • Work Management is used to locate sources of work, i.e. job assignments • Once a source of work is located, Work Management will control its entry into the system • Work Management will also assign the job a work area
  • 9. Work Management Groundwork • System startup • System Values • System Pools • Subsystems
  • 10. System Startup • When the IBM i is started, several initiation tasks are performed • The initiation tasks are designed to prepare the system for use • Several jobs that are used to manage the system are started and are running without any interaction from users • In addition, while the system is starting, System Values are processed
  • 11. System Values • Several of the system values that are processed are used to establish the work management function: – QMCHPOOL – establishes the size of the machine pool – QBASPOOL – specifies the minimum size of the *BASE pool – QCTLSBSD – identifies the controlling subsystem • QBASE (the default value) • QCTL (another IBM supplied controlling subsystem) • While other system values are used to manage jobs in the system, they are beyond the scope of this presentation
  • 12. All About Memory Pools • Logical area of main storage where jobs process • Maximum of 64 system pools • Maximum of 10 defined per subsystem description • Memory can be changed dynamically – By interactive commands – By batch commands or APIs – By dynamic tuning
  • 13. Why Use Multiple Pools? • Different types of jobs – Batch – Interactive – Communication – Printing – System • Batch vs. Interactive – think time • Adjust sizes based on time of day • Assign priorities
  • 14. System Pools Think of main storage pools as work areas: Reception Sales Accounts Receivable Order Processing Shipping and Receiving IT Executive
  • 15. System Pools • An IBM i has a minimum of two pools: – QMCHPOOL – this is the *MACHINE pool and is the work area for many important system functions – QBASPOOL – this pool is *BASE and is used for many of the jobs entering the system • As stated earlier, the size of the machine pool is set by the system value QMCHPOOL • All remaining main storage is placed in *BASE • Additional pools may be created to separate different types of work • Storage for additional pools is taken from *BASE
  • 16. Change Pool Sizes • System values – QMCHPOOL (machine pool) – QBASPOOL (*BASE pool) – QPFRADJ (turns on dynamic tuning) • Commands – CRTSBSD/CHGSBSD – WRKSYSSTS/DSPSYSSTS • WRKSHRPOOL/CHGSHRPOOL
  • 17. Subsystems • Subsystems are used to manage the jobs entering the system • Subsystems locate work requests and initiate jobs – Sources for batch jobs are identified by a component of the subsystem called a JOBQ entry – Interactive work is located by work station entries • As part of the job initiation process, the subsystem will assign jobs to work areas
  • 18.
  • 19.
  • 20.
  • 21.
  • 22. Overview of Work Management Communication job Printing jobs Server jobs Hardware microcode Jobs User keys input Batch jobs Subsystems QCMN QSYSWRK QINTER QBATCH QSPL Memory Pools 1 *MACHINE 2 *BASE 3 SERVER 4 *INTERACT 5 Batch 6 Spooling
  • 24. Controlling Subsystem • Will always be running • Regardless of your choice of controlling subsystem – All types of work can enter the system – Four main storage pools will be defined • *MACHINE • *BASE • *INTERACT • *SPOOL
  • 25. System with Two Pools All Other Work (*BASE Pool) Executive (Machine Pool)
  • 26. Getting Work to the System • All work (other than system jobs) enters the system via a subsystem • Where do subsystems look for work? • How do subsystems know where the job will run? • How do run time attributes, such as the job’s priority, get assigned? It’s time to learn Work Management!
  • 27. QBASE Controlling Subsystem Interactive Work Batch Work QBASE Subsystem Main Storage (*BASE)
  • 28. Job Start and End Type Start End* Interactive Sign on Sign off Batch Job Queue End of requested command Spool Start writer or reader End writer or reader command Communication Request from remote system End of program in start request Autostart Start of subsystem End of program in routing entry Prestart Start of subsystem or prestart job ENDPJ Batch Immediate JAVA Program or restart job ENDPJ or end of program *All will end with an ENDSBS command.
  • 29. Starting an Interactive Job • Since the Work Station Entry is the key to finding and starting an interactive job, taking a closer look shows 2 parameters on the Work Station Entry – JOBD(*USRPRF) – AT(*SIGNON) • Since the AT parameter is *SIGNON, the subsystem will send the sign on screen to the device • Once the sign on screen appears the user will enter their identification and password • Because the JOBD (job description) specified is *USRPRF, the user profile will specify the job description to be used • Now, we need to investigate the job description in order to proceed
  • 30. Starting an Interactive Job • A job description provides a lot of the information necessary to manage a job • While that information is important, the parameter that is used in starting a job is RTGDTA • RTGDTA is used by the subsystem to: – Determine which system pool the job will use – Assign run time attributes to the job • In order to understand this part of the process, another component of the subsystem, routing entries, needs to be examined
  • 31. Starting an Interactive Job Routing entries are a table that the subsystem uses to lookup the RTGDTA provided by the job description. For an interactive job, the RTGDTA is QCMDI QINTER QINTER WSE User Profile JOBD JOBD Routing Entries QCMDI QCMDI *ALL
  • 32. Starting a Batch Job • The QBATCH subsystem is looking for work to arrive at the QBATCH job queue • Batch jobs are placed on the queue by the SBMJOB command • The job can be placed on the queue by a job scheduler like Robot/SCHEDULE Enterprise from Help/Systems • Once a job arrives at the queue the initiation process begins
  • 33. Starting a Batch Job • As with interactive jobs, a batch job will run with a user profile and a job description • The job description can be specified on the SBMJOB command or by the user profile used to run the job • Since most user profiles and job descriptions are designed for interactive work, another parameter on the SBMJOB command, RTGDTA should be supplied • The RTGDTA specified on the command will be used to look for the appropriate routing entry in the subsystem • Usually, the RTGDTA will be QCMDB
  • 34. Starting a Batch Job QBATCH QBATCH JOBQE User Profile JOBD JOBD Routing Entries QCMDB QCMDB QBATCH SAMPLE QBATCH
  • 35. Starting a Batch Job • Notice that another object is shown in the initiation process, the job class • Although not shown on the interactive job initiation it is there • The job class is designated on the routing entry used to start the job • The class provides run time attributes for the job • The most important attribute is the job’s priority • The priority of the job determines its importance and is used to manage access to the CPU • The default priority for batch jobs is 50, interactive jobs have a priority of 20
  • 36. Autostart Jobs • An autostart jobs is a special type of job that will start whenever the subsystem starts • Some typical autostart jobs are system monitors, servers, system setup, etc. • In order to start one of these special jobs, the subsystem has autostart job entries • When the subsystem starts, it will initiate the autostart job entries before any other jobs • QCTL has an autostart job that will collect performance data • Starting an autostart job follows the same procedure as any other job
  • 37. Autostart Jobs SBSD QCTL QBASE AUTOSTART JOB ENTRIES QBASE RTGEs 10… ‘QCMDB’ 50… ‘QCMDI’ JOB DESCRIPTION QPFRCOL 1 *BASE 2 *INTERACT QPFRCOL QPFRCOL QPFRCOL POOL *INTERACT QBASE POOLS CLS QINTER
  • 38. What is an iASP? • iASP defined – Is this new? • Why do you need an iASP? • How do you use an iASP?
  • 39.
  • 40. Building Blocks: IBM i iASPs 4 Why use iASPs? – Clusters • Building block for HA/DR storage replication based clustering – Consolidation • Meet compliance needs for isolation • Reduce software footprints • Reduce number of OS upgrades – Archive • Storage performance &cost by iASP – Uptime • Off-line backups with replication • Shorter IPL – leave non-critical iASPs offline till after IPL
  • 41.
  • 42. 01/07/2013 42 Robot Solutions Automated Job Scheduling Solutions Message Mgmt. Solutions Performance Mgmt. Solutions Report Mgmt. Solutions Backup & Recovery Solutions
  • 43. © 2013 Help/Systems. Company Confidential.7/1/2013 43 Batch Automated Job Scheduling Interactive E1 and SAP Interfaces Robot/REPLAY Robot/SCHEDULE SCHEDULE Enterprise

Notas do Editor

  1. Things to do before the show. 1. Upload the presentation and lobby slides 20-30 minutes ahead of time.2. Change rights for attendees to only chat with panelist3. Change event options and get rid of Q&A4. Auto Advance the lobby Slides every 8 seconds.5. Do audio checks very so often, talk about new features, new products, weather, kid sporting events, the Twins, etc. Ice fishing.There will be a moment of silence while I start the recording.Timing:3 minutes intro40-45 min presentations10 minutes questions.
  2. The Robot scheduling solution is one area that came to mind regarding assisting and aiding you in managing the “work” that’s entering the system. We’ve been assisting customers in this area for over 30 years now. Ever night Robot submits millions of jobs all over the world and totally automated.