- MVS/QuickRef - Beyond The Basics of QW...MVS/QuickRef Requesting Users With Experience I would...

Post on 03-Jun-2020

14 views 0 download

transcript

MVS/QuickRef: Beyond The Basics

of QW

Speaker Name: Chuck Davis

Speaker Company: Chicago-Soft, Ltd.

Date of Presentation: August 6, 2012

Session Number: 11583

MVS/QuickRef Requesting Users With Experience

I would like you to contact me if you have experience using

MVS/QuickRef in either of the two following areas:

• Using MVS/QuickRef in a Disaster Recovery.

• Using MVS/QuickRef’s DASD Free Space Report to

monitor and / or manage your DASD Farm.

Please contact me via e-mail at cdavis@quickref.com if

you are willing to share your experiences with me.

MVS/QuickRef Presentation Topics – 1 of 2

1. Using Cursor-driven invocation from within SDSF LOG

function

2. Using Q/R from within EDIT to lookup JCL syntax

3. Using DASD Free Space report

4. Using Cursor-driven invocation from within EDIT on

COBOL source

5. Using Cut & paste from the TOOLBOX

6. Using Dataset List report

MVS/QuickRef Presentation Topics – 2 of 2

7. Using QWIKREXX function to capture Q/R output

8. Using recursive invocation of Q/R

9. Using automated message lookup for ABENDs

embedded in a message

10.Using FC (Findcode) function

11.Using Textmarks

12.Handling the license key file

MVS/QuickRef Ways to Find z/OS Reference Information

• Ask someone

• Search for the information on the internet

• Visit IBM’s z/OS library

• Use MVS/QuickRef

To use MVS/QuickRef, issue QW on the ISPF command

line, and you will see the following….

5

MVS/QuickRef – Main Menu

6

7

MVS/QuickRef Best Ways to Invoke MVS/Quick-Ref

Novice Users access QuickRef via the menus.

Power Users recommend:

• Using Fastpath

• Using Cursor-driven invocation

Here’s an example of a Fastpath command issued on the

ISPF EDIT command line ….

MVS/QuickRef – Main Menu

8

9

MVS/QuickRef Best Ways to Invoke MVS/Quick-Ref

Novice Users use the menus.

Power Users recommend:

• Using Fastpath

• Using Cursor-driven invocation

Here’s an example of Cursor-driven invocation:

Type QW on the command line and put your cursor on the

item to be looked up. Then, press ENTER ….

MVS/QuickRef – Main Menu

10

11

MVS/QuickRef Setting the PF Keys

TIP: Use the ISPF command KEYS to set a PF Key (we

recommend PF23 or Shift PF 11) to the QW command.

You will have to use the KEYS command for each ISPF

application (for example, BROWSE/EDIT will be a

different application from SDSF).

MVS/QuickRef – Main Menu

12

MVS/QuickRef – Pop Quiz

13

Pop Quiz I

Question:

How many items are there in the MVS/QuickRef database

(as distributed in Release 7.6)?

Answer:

Total number of items in data base: 4,428,037

MVS/QuickRef Scenario 1

Scenario 1 - Using Cursor-driven invocation from within

SDSF LOG function

• Job abends with 80A RC=10

14

15

MVS/QuickRef Scenario 1

Scenario 1 - Using Cursor-driven invocation from within

SDSF LOG function

• Job abends with 80A RC=10

• Put cursor on 80A and press PF 23

• MVS/QuickRef searches for all occurrences of 80A

16

17

18

19

MVS/QuickRef Scenario 2

Scenario 2 - Using Q/R from within EDIT to lookup JCL

syntax

• You want to add a COND parameter to an EXEC

statement

• You don’t remember the way the logic works – execute

step if COND evaluates to TRUE or vice versa

• MVS/QuickRef gives you the information at your

fingertips

20

21

22

23

MVS/QuickRef Scenario 3

Scenario 3 - Using DASD Free Space Report

• You are tailoring the JCL to install MVS/QuickRef and need

28,946 tracks.

• Shop standards call for you to use a TSOxxx volume serial

number for large datasets.

• MVS/QuickRef gives you the information at your fingertips

Yes, I know we’ve seen this example before.

24

MVS/QuickRef – Main Menu

25

26

27

MVS/QuickRef Scenario 4

Scenario 4 - Using Cursor-driven invocation from within EDIT

on COBOL source

• You are modifying a COBOL program that just isn’t

working.

• The PERFORM verb has incorrect syntax.

• MVS/QuickRef gets you the answer you need instantly.

28

29

30

MVS/QuickRef Scenario 5

Scenario 5 - Using Cut & paste from the TOOLBOX

• Your partitioned data set is in need of a COMPRESS.

• Your COMPRESS JCL has been clobbered and must be

replaced.

• MVS/QuickRef gives you this information with ease.

31

32

33

34

35

36

37

38

39

MVS/QuickRef Scenario 6

Scenario 6 – Using the Dataset List report

• You’re in a NON-SMS environment and have a ‘NOT

CATLG 2” message.

• This usually means that a previous job created a dataset

but did not properly clean up after itself.

• You need to look at a VTOC list of the volumes in the range

of TSO901-TSO911 to locate and remove the “rogue”

dataset.

• MVS/QuickRef gives you the facts and just the facts…

40

41

42

43

MVS/QuickRef DSN List Fields Displayed – 1 OF 2

• DSN List Fields with Headers

• dataset name (DATASET NAME)

• allocated tracks (ALLOC TRACKS)

• free tracks (FREE TRACKS)

• number of extents (EXT)

• allocation amount of first extent (1ST EX ALLOCN)

• allocation amount of successive extents (SECOND ALLOCN)

• allocation units (ALC UNT)

• dataset organization (DSORG)

• indicator if Hierarchical File Sytem (HFS) or Partitioned Data Set

Extended (POE)

44

MVS/QuickRef DSN List Fields Displayed – 2 of 2

• DSN List Fields with Headers

• dataset record format (RECFM or RFM)

• dataset logical record length (LRECL)

• dataset block size (BLKSIZE or BLKSI)

• dataset creation date (CR. DATE)

• dataset Last Referenced Date (LAST REF)

• For EAV-only, EAV Attributes (EATTR)

• For EAV-only, jobname of last updating job (JOBNAME)

• For EAV-only, stepname of last updating step (STEPNAME)

• For EAV-only, creation time (CR. TIME)

For more information, see Q/R item DSN-LIST-PANEL

45

MVS/QuickRef Scenario 7

Scenario 7 – Using QWIKREXX function to capture Q/R

output

• MVS/QuickRef is an ISPF application. It reads/displays

panels.

• Two other modes of operation:

• Batch Mode (using QWBATCH JCL)

• On-Line using QWIKREXF and QWIKREXX

46

47

48

MVS/QuickRef Use QWIKREXF to capture output

• Put the following modules into the Link List:

• QWIKREF1 – the Q/R load module

• QWIKREXX – the program called by QWIKREXF

• Edit member QWIKREXF located in the JCL distribution

dataset and find the following line:

x = QWIKREXX('S=*')

• Modify the parameter to issue a QuickRef subcommand.

• Issue

TSOEXEC QWIKREXF

49

50

MVS/QuickRef Scenario 8

Scenario 8 – Using recursive invocation of Q/R

• MVS/QuickRef is an ISPF application that “pops up” over

your existing work.

• When you exit, QuickRef goes away

• QuickRef can also be recursively invoked over itself.

• When you exit the recursive copy, you are still in QuickRef.

51

52

53

54

MVS/QuickRef Scenario 9

Scenario 9 – Using automated message lookup / inclusion for

ABENDs embedded in a message

• Often z/OS ABEND descriptions reference other Messages.

• This can lead to chasing a Message chain.

• MVS/QuickRef keeps you from chasing the wrong leads

55

56

57

58

59

MVS/QuickRef – Pop Quiz

60

Pop Quiz II

Question:

What are the 3 largest items in the Q/R database?

Answer:

3. IDC3009I – 10802 lines

2. -RSN-CD-BY-VALUE UNIX(R) Reason Codes (Errnojrs)

Listed by Value 10804 lines

1. IEC161I – 10804 lines

MVS/QuickRef Scenario 10

Scenario 10 – Using the FC Function

• Often z/OS Messages have subcodes

• This can lead to searches for the correct information.

• MVS/QuickRef gives you the edge

61

62

63

64

MVS/QuickRef Scenario 11

Scenario 11 – Using Textmarks

• Textmarks are bookmarks for MVS/QuickRef reference

items

• After displaying information, use SETMARK

• To display a list of your Textmarks, use LISTMARK

• To access the Textmark, use GETMARK n

• MVS/QuickRef gives you the right tools for the job

65

66

67

68

69

MVS/QuickRef Scenario 11

Scenario 11 – Using Advanced Textmarks

• To reference a Textmarks when using fastpath, use

QW T=n

• You can set a Textmark on a selection list as well as an

item.

• Example: SM n while browsing a selection list

• QuickRef will return to the location being displayed when

the SETMARK was issued.

• Example: If SM 6 is done while browsing line 500 of a 1,000

line display, then GM 6 will start at line 500.

70

71

72

MVS/QuickRef Scenario 12

Scenario 12 – Handling the license key file

• Not really a QuickRef user function, but is an important

concept.

• Prior to R7.0, QuickRef used an expiration date zap.

• Since R7.0, QuickRef uses a text/binary license key.

• You obtain license key file (on the PC via e-mail) without

human intervention.

• Upload to mainframe using BINARY transfer mode

• Pre-allocate license key file to provide correct DCB

attributes.

73

MVS/QuickRef License Key File – DCB Attributes

• DCB Attributes

• DSORG – PS

• RECFM – VB

• LRECL – 10440

• BLKSIZE – 10444

• If this doesn’t make sense to you, ignore it – it will make

sense to the installer.

• After uploading license key file, you must modify either …

• QW Clist or

• QWIKOPTS

74

75

76

77

MVS/QuickRef Useful Links

For the 7.2 release of MVS/QuickRef, I created five videos

consisting of the first five scenarios in this presentation…

1. Lookup ABEND Code

2. Lookup JCL Syntax

3. Find DASD Free Space

4. COBOL PERFORM Verb

5. The TOOLBOX

View these videos at:

https://www.quickref.com/newQuickRef/helpdocs/video/video

_help

78

MVS/QuickRef Announcements, Notes & Warnings

These last few slides contain announcements, notes and

warnings that you may find useful.

• DASD Free Space Enhancements for R7.7

• Command Not Found?

• Invalid License Key?

MVS/QuickRef DASD Free Space Enhancement for R7.7

The DASD key field is being enhanced as follows:

• a wildcard DASD volume serial number like P*0%

where "*" indicates zero or more characters

"%" indicates a single character

• a wildcard SMS storage group like SG:0%

where “:" indicates zero or more characters

"%" indicates a single character

• the exclude character is being changed from a forward

slash (“/”) to a backslash (“\”) and expanded to support the

special names (like NONSMS).

79

MVS/QuickRef DASD Free Space Enhancement for R7.7

Examples

\MVS* - show volumes that do not begin with "MVS".

\P*0% - show volumes that do not match "P*0%"

\E: - show storage groups that do not begin with "E".

\E:%%%L - show storgroups not matching "E:%%%L".

\PUBLIC - show PRIVATE and STORAGE volumes

\PRIVATE - show PUBLIC and STORAGE volumes

\SMSVOLS - show NONSMS volumes

Item DASD-WILDCARD gives more details and examples.

80

81

MVS/QuickRef Command Not Found?

NOTE: If typing QW and pressing ENTER gives ”command

not found”, then MVS/QuickRef is not installed

correctly at your site …specifically, the ISPF

Command Table update is not correctly installed.

82

MVS/QuickRef Invalid License Key?

WARNING: The QuickRef license key file is sent to

installations via e-mail with an attachment.

The attachment contains both text and binary

information.

For this reason, you should never open the

attachment on the PC because NotePad has been

reported to change x’00’ to x’20’ without warning.

Session Number: 11583 MVS/QuickRef:

Beyond The Basics of QW

Quick Response (QR) Code

83