25
©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

Embed Size (px)

Citation preview

Page 1: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

1©HCCS & IBM® 2009Stephen Linkin

Using SMP/E

Stephen S. LinkinHouston Community College

© HCCS and IBM 2009

Page 2: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

2©HCCS & IBM® 2009Stephen Linkin

4/20/09

What is SMP/E?

System Modification Program/Extended Reference @

http://www.ibm.com/servers/eserver/zseries/zos/bkserv/

Page 3: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

3©HCCS & IBM® 2009Stephen Linkin

4/20/09

The SMP/E View Of The System

Model Of The SMP/E View Of The System

Link Edit Process

Page 4: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

4©HCCS & IBM® 2009Stephen Linkin

4/20/09

Changing The Elements Of The System

What Is A SYSMOD? Modification Control Statements (MCS) Modification Text

Types Of SYSMODS FUNCTION PTF

Page 5: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

5©HCCS & IBM® 2009Stephen Linkin

4/20/09

Changing The Elements Of The System

What Is A SYSMOD? Modification Control Statements (MCS) Modification Text

Types Of SYSMODS FUNCTION PTF APAR USERMOD

Page 6: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

6©HCCS & IBM® 2009Stephen Linkin

4/20/09

Introducing An Element Into The System

Creating Executable Code In Production System Libraries A Base Function A Dependent Function

Page 7: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

7©HCCS & IBM® 2009Stephen Linkin

4/20/09

Preventing Or Fixing Problems With An Element

Fixes Come In The Form Of A PTF. Replace Or Update One Or More

Complete Elements Of A System Function Simple PTF SYSMOD

Page 8: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

8©HCCS & IBM® 2009Stephen Linkin

4/20/09

Fixing Problems With An Element.

Install APAR SYSMOD To Implement Fix A Simple APAR SYSMOD

Page 9: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

9©HCCS & IBM® 2009Stephen Linkin

4/20/09

Customizing An Element - USERMOD SYSMOD

USERMOD SYSMOD Adds Custom Code

Simple USERMOD SYSMOD SYSMOD

Prerequisites And Co-requisites

Page 10: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

10©HCCS & IBM® 2009Stephen Linkin

4/20/09

Keeping Track Of The Elements Of The System

Importance Tracking System Elements And Modifications

Page 11: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

11©HCCS & IBM® 2009Stephen Linkin

4/20/09

Tracking And Controlling Requisites

Function Modification Identifiers (FMID) Replacement Modification Identifiers

(RMID) Update Modification Identifiers (UMID)

Page 12: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

12©HCCS & IBM® 2009Stephen Linkin

4/20/09

How Does SMP/E Work?

The Distribution And Target Libraries Distribution Libraries Hold The Elements Target Libraries Contain Executable Code

Page 13: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

13©HCCS & IBM® 2009Stephen Linkin

4/20/09

How Does SMP/E Work?

The Distribution And Target Libraries Distribution Libraries Hold The Elements Target Libraries Contain Executable Code

The Consolidated Software Inventory (CSI) The SMP/E zones

Page 14: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

14©HCCS & IBM® 2009Stephen Linkin

4/20/09

How Does SMP/E Work?

The Distribution And Target Libraries Distribution Libraries Hold The Elements Target Libraries Contain Executable Code

The Consolidated Software Inventory (CSI) The SMP/E zones Global Zone

Page 15: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

15©HCCS & IBM® 2009Stephen Linkin

4/20/09

Working With SMP/E

Using The RECEIVE Command Constructing Entries In The Global Zone Ensuring The SYSMOD Is Valid Installing The SYSMOD Into Libraries Ensure Errors Are Not Introduced

Page 16: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

16©HCCS & IBM® 2009Stephen Linkin

4/20/09

Working With SMP/E

Using The APPLY Command Install SYSMOD Into The Target Library Check Relationships SYSMOD’S Modify The CSI Displaying Updates

Page 17: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

17©HCCS & IBM® 2009Stephen Linkin

4/20/09

Working With SMP/E

Using The APPLY Command Install SYSMOD Into The Target Library Check Relationships SYSMOD’S Modify The CSI Displaying Updates

SET BDY(MVSTGT1).APPLY PTFSAPARSFORFMID(HOP1)GROUPEXTEND CHECK.

Page 18: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

18©HCCS & IBM® 2009Stephen Linkin

4/20/09

Working With SMP/E

Using The ACCEPT Command Updates CSI entries with the targeted elements Rebuilds or Creates elements in the distribution libraries. Verifies the target zone CSI entries. Does housekeeping.

Page 19: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

19©HCCS & IBM® 2009Stephen Linkin

4/20/09

Working With SMP/E

Using The ACCEPT Command Updates CSI entries with the targeted elements Rebuilds or Creates elements in the distribution libraries. Verifies the target zone CSI entries. Does housekeeping.

“Stop” ACCEPT processing Use the RESTORE

Page 20: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

20©HCCS & IBM® 2009Stephen Linkin

4/20/09

Working With SMP/E

ACCEPT Reporting SYSMOD Status Report Element Summary Report Causer SYSMOD Summary Report File Allocation Report

Page 21: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

21©HCCS & IBM® 2009Stephen Linkin

4/20/09

Working With SMP/E

Other SMP/E Facilities LIST REPORT QUERY CSI API

Page 22: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

22©HCCS & IBM® 2009Stephen Linkin

4/20/09

Data Sets Used By SMP/E

Target Libraries Distribution Libraries (DLIB’s)

SMPCSI (CSI) Data Sets Global Zone Target Zones Distribution Zones

Page 23: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

23©HCCS & IBM® 2009Stephen Linkin

4/20/09

Data Sets Used By SMP/E

SMP/E Data Sets SMPMTS (MTS) SMPSTS (STS) SMPLTS (LTS) Other

Page 24: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

24©HCCS & IBM® 2009Stephen Linkin

4/20/09

Data Sets Used By SMP/E

System Programmers Use CSI Data Sets To Obtain Information Investigate Function And Service Levels Understand Intersections And

Relationships Build Job Streams For SMP/E Processing

Page 25: ©HCCS & IBM® 2009 Stephen Linkin 1 Using SMP/E Stephen S. Linkin Houston Community College © HCCS and IBM 2009

25©HCCS & IBM® 2009Stephen Linkin

4/20/09

Summary

Read The Redbook