Using the ims tso spoc to manage your ims environment - southfield rug september 2012

Preview:

Citation preview

© 2009 IBM Corporation

Using the TSO SPOC to Manage Your IMS Environment

Diane Goff, IMS Advanced Technical Skillsdgoff@us.ibm.com

SE Michigan IMS User Group MeetingSeptember 25, 2012

2SE Michigan IMS User Group Meeting - 9/25/2012 2

Agenda

� Common Service Layer Refresh• Operations Manager• Resource Manager• Structured Call Interface• Open Database Manager

� IMS TSO SPOC Overview• Function and Use • TSO SPOC Audit Trail

• Batch SPOC Utility

� IMS TSO SPOC Usage• Configuration/Settings• Type-2 Commands

3SE Michigan IMS User Group Meeting - 9/25/2012 3

Common Service Layer Refresh

4SE Michigan IMS User Group Meeting - 9/25/2012 4

� An architecture to improve the systems management capabilities for IMS systems• OM provides SPOC for command entry + routes

commands/consolidates responses + provides API for automation + has user input/output exits

• RM coordinates IMSplex-wide processes + maintains global resource information in structure

• SCI provides communication ability to IMSplex members, within or across z/OS images + member registration services

• ODBM allows distributed/local Java applications access to IMS data on mainframe

CSL Refresh

5SE Michigan IMS User Group Meeting - 9/25/2012 5

Single Point of Control (SPOC)

Single Point of Control

(SPOC)

Register with SCICommand entry and response

CSL ArchitectureAddress Spaces

IMSControlRegion

SCI

StructuredCall

Interface

SCI

IMSControlRegion

SCI IMS

ControlRegion

SCI

OperationsManager

(OM)

SCI

ResourceManager

(RM)

SCI

SCICommunications

Open DatabaseManager(ODBM)

SCI

SCICommunications

6SE Michigan IMS User Group Meeting - 9/25/2012 6

IMS TSO SPOC Overview

7SE Michigan IMS User Group Meeting - 9/25/2012 7

� A SPOC is a program that interfaces between a user and the OM

� From this single point, user can enter commands to any or all IMSs• It can run on the mainframe

• TSO SPOC• Batch SPOC• REXX SPOC APIs

• It can run on the workstation• IMS Control Center

IMS Single Point of Control (SPOC)

Provided in IMS

8SE Michigan IMS User Group Meeting - 9/25/2012 8

� Functions provided• Single-system view of an IMSplex using a single console• Consolidated display of command responses from multiple

IMS systems• Message sending to IMS terminals connected to any IMS in

the IMSplex

� There can be multiple SPOCs in an IMSplex

IMS Single Point of Control (SPOC)

9SE Michigan IMS User Group Meeting - 9/25/2012 9

� Runs under z/OS as a TSO/ISPF application (DFSSPOC)� May or may not be on the same z/OS as OM

• Must be on a z/OS with an SCI

� Provides a ‘green screen’ terminal interface from which IMS commands (type-2 or type-1) may be entered by an operator to one or more members of an IMSplex (including DB/DC, DBCTL, DCCTL)

� Formats command responses for display• OM response encapsulated in XML

� OM provides security checking• TSO user ID is used to determine RACF authorization

TSO SPOC

10SE Michigan IMS User Group Meeting - 9/25/2012 10

� Route field only holds space for 2 IMS names

� Define a named group of IMS systems using SPOC Group Definitions panel and route commands to group instead

Defining groups of IMSs in the TSO SPOC

11SE Michigan IMS User Group Meeting - 9/25/2012 11

Using command shortcuts in the TSO SPOC

� Using the SPOC command shortcuts panel, you can set up shortened versions of commands or nicknames for commands

12SE Michigan IMS User Group Meeting - 9/25/2012 12

� When a command is issued, it is saved in the TSO SPOC

� Use the command status panel to work with previously entered commands:

• Display commands/responses

• Delete commands

• Edit commands

• Reissue commands

Displaying command status in the TSO SPOC

13SE Michigan IMS User Group Meeting - 9/25/2012 13

� After command entry, position the cursor on the entered command, press Enter and the command will be moved to the command line, where you can edit the command or press Enter to issue the command again

� Use the ISPF retrieve key to display commands that were previously entered (includes TSO SPOC commands plus others entered during TSO session)

� Use the ISPF RETP command to list previously entered commands, select a number and press Enter

Reissuing Commands in the TSO SPOC

14SE Michigan IMS User Group Meeting - 9/25/2012 14

� Use the TSO SPOC command status panel � Use the TSO SPOC shortcuts panel � Use the TSO SPOC expand command panel which gives

an ISPF edit panel to edit a long command

Issuing Commands in the TSO SPOC

15SE Michigan IMS User Group Meeting - 9/25/2012 15

TSO SPOC Operations Manager Audit Trail

� Keeps track of IMSplex activity, including: • IMS command input from OM clients (TSO SPOC, IMS

Control Center)• Reponses to commands • Unsolicited messages

16SE Michigan IMS User Group Meeting - 9/25/2012 16

User IDs shown with commands entered

TSO SPOC Operations Manager Audit Trail

17SE Michigan IMS User Group Meeting - 9/25/2012 17

User IDs shown with commands entered, filtered by User ID

TSO SPOC Operations Manager Audit Trail

18SE Michigan IMS User Group Meeting - 9/25/2012 18

Batch SPOC

� Provides a capability to submit IMS commands from a batch job step• Uses the Operations Manager (OM) interface

� IMSplex environment defined in execution parameters• IMSplex name, command routing, wait time

� Commands defined in SYSIN file• All commands supported by OM API (type-2 and most

type-1) � Output to SYSPRINT

• Responses formatted to look like SPOC screen format� Benefits

• Batch jobs may include steps with "online" commands• For example, steps to /DBR, reorganize, and /START

databases

19SE Michigan IMS User Group Meeting - 9/25/2012 19

Batch SPOC Utility – Input Example

� JCL invokes CSLUSPOC program�Execution parameters specified with PARM=�SYSIN DD statement includes commands to be issued

when utility is run�Specify DD SYSOUT=* to view utility output with SDSF

after utility is run

20SE Michigan IMS User Group Meeting - 9/25/2012 20

Batch SPOC Utility – Output Example with Wait Time Specified

Command response

included in output

21SE Michigan IMS User Group Meeting - 9/25/2012 21

SPOC Usage

22SE Michigan IMS User Group Meeting - 9/25/2012 22

SPOC Usage

� IMSplex group definitions – routing to 3+ IMS systems� Command shortcuts – abbreviated command versions� Command status – display/reissue commands� Resource management

• Display transaction/database attributes and status Queue/dequeue messages to/from transactions Update database attributes

• Stop/start transactions • Using MTO versus TSO SPOC

• Activate individual resources with ACBLIB Member Online Change

• Dynamically manage (create/delete) MODBLKS Resources

23SE Michigan IMS User Group Meeting - 9/25/2012 23

IMSplex Group Definitions

24SE Michigan IMS User Group Meeting - 9/25/2012 24

25SE Michigan IMS User Group Meeting - 9/25/2012 25

26SE Michigan IMS User Group Meeting - 9/25/2012 26

27SE Michigan IMS User Group Meeting - 9/25/2012 27

Command Shortcuts

28SE Michigan IMS User Group Meeting - 9/25/2012 28

29SE Michigan IMS User Group Meeting - 9/25/2012 29

30SE Michigan IMS User Group Meeting - 9/25/2012 30

31SE Michigan IMS User Group Meeting - 9/25/2012 31

32SE Michigan IMS User Group Meeting - 9/25/2012 32

Display/Reissue Commands

33SE Michigan IMS User Group Meeting - 9/25/2012 33

34SE Michigan IMS User Group Meeting - 9/25/2012 34

35SE Michigan IMS User Group Meeting - 9/25/2012 35

36SE Michigan IMS User Group Meeting - 9/25/2012 36

37SE Michigan IMS User Group Meeting - 9/25/2012 37

38SE Michigan IMS User Group Meeting - 9/25/2012 38

39SE Michigan IMS User Group Meeting - 9/25/2012 39

40SE Michigan IMS User Group Meeting - 9/25/2012 40

41SE Michigan IMS User Group Meeting - 9/25/2012 41

Querying Databases/Transactions

42SE Michigan IMS User Group Meeting - 9/25/2012 42

43SE Michigan IMS User Group Meeting - 9/25/2012 43

44SE Michigan IMS User Group Meeting - 9/25/2012 44

45SE Michigan IMS User Group Meeting - 9/25/2012 45

46SE Michigan IMS User Group Meeting - 9/25/2012 46

47SE Michigan IMS User Group Meeting - 9/25/2012 47

48SE Michigan IMS User Group Meeting - 9/25/2012 48

49SE Michigan IMS User Group Meeting - 9/25/2012 49

50SE Michigan IMS User Group Meeting - 9/25/2012 50

Queuing/Dequeuing Messages to/from Transactions

51SE Michigan IMS User Group Meeting - 9/25/2012 51

52SE Michigan IMS User Group Meeting - 9/25/2012 52

53SE Michigan IMS User Group Meeting - 9/25/2012 53

54SE Michigan IMS User Group Meeting - 9/25/2012 54

55SE Michigan IMS User Group Meeting - 9/25/2012 55

56SE Michigan IMS User Group Meeting - 9/25/2012 56

57SE Michigan IMS User Group Meeting - 9/25/2012 57

58SE Michigan IMS User Group Meeting - 9/25/2012 58

59SE Michigan IMS User Group Meeting - 9/25/2012 59

60SE Michigan IMS User Group Meeting - 9/25/2012 60

61SE Michigan IMS User Group Meeting - 9/25/2012 61

62SE Michigan IMS User Group Meeting - 9/25/2012 62

63SE Michigan IMS User Group Meeting - 9/25/2012 63

64SE Michigan IMS User Group Meeting - 9/25/2012 64

65SE Michigan IMS User Group Meeting - 9/25/2012 65

66SE Michigan IMS User Group Meeting - 9/25/2012 66

67SE Michigan IMS User Group Meeting - 9/25/2012 67

68SE Michigan IMS User Group Meeting - 9/25/2012 68

Updating Databases

69SE Michigan IMS User Group Meeting - 9/25/2012 69

70SE Michigan IMS User Group Meeting - 9/25/2012 70

71SE Michigan IMS User Group Meeting - 9/25/2012 71

72SE Michigan IMS User Group Meeting - 9/25/2012 72

73SE Michigan IMS User Group Meeting - 9/25/2012 73

74SE Michigan IMS User Group Meeting - 9/25/2012 74

75SE Michigan IMS User Group Meeting - 9/25/2012 75

76SE Michigan IMS User Group Meeting - 9/25/2012 76

77SE Michigan IMS User Group Meeting - 9/25/2012 77

78SE Michigan IMS User Group Meeting - 9/25/2012 78

79SE Michigan IMS User Group Meeting - 9/25/2012 79

Starting/Stopping Transactions with Type-1 Commands Using MTO

80SE Michigan IMS User Group Meeting - 9/25/2012 80

81SE Michigan IMS User Group Meeting - 9/25/2012 81

82SE Michigan IMS User Group Meeting - 9/25/2012 82

83SE Michigan IMS User Group Meeting - 9/25/2012 83

84SE Michigan IMS User Group Meeting - 9/25/2012 84

85SE Michigan IMS User Group Meeting - 9/25/2012 85

Starting/Stopping Transactions with Type-2 Commands Using TSO SPOC

86SE Michigan IMS User Group Meeting - 9/25/2012 86

87SE Michigan IMS User Group Meeting - 9/25/2012 87

88SE Michigan IMS User Group Meeting - 9/25/2012 88

89SE Michigan IMS User Group Meeting - 9/25/2012 89

90SE Michigan IMS User Group Meeting - 9/25/2012 90

91SE Michigan IMS User Group Meeting - 9/25/2012 91

Activating Individual Resources with ACBLIB Member Online Change

92SE Michigan IMS User Group Meeting - 9/25/2012 92

93SE Michigan IMS User Group Meeting - 9/25/2012 93

94SE Michigan IMS User Group Meeting - 9/25/2012 94

95SE Michigan IMS User Group Meeting - 9/25/2012 95

96SE Michigan IMS User Group Meeting - 9/25/2012 96

97SE Michigan IMS User Group Meeting - 9/25/2012 97

98SE Michigan IMS User Group Meeting - 9/25/2012 98

99SE Michigan IMS User Group Meeting - 9/25/2012 99

Dynamically Managing MODBLKS Resources

100SE Michigan IMS User Group Meeting - 9/25/2012 100

101SE Michigan IMS User Group Meeting - 9/25/2012 101

102SE Michigan IMS User Group Meeting - 9/25/2012 102

103SE Michigan IMS User Group Meeting - 9/25/2012 103

Contact Information

Angie Greenhawgreenhaw@us.ibm.com

104SE Michigan IMS User Group Meeting - 9/25/2012 104

Questions?

Recommended