+ All Categories
Home > Documents > Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc....

Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc....

Date post: 23-May-2020
Category:
Upload: others
View: 3 times
Download: 0 times
Share this document with a friend
34
Vanguard QuickGen™: Advanced Techniques & Features Presented by Vanguard Integrity Professionals
Transcript
Page 1: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

Vanguard QuickGen™:

Advanced Techniques & Features

Presented by

Vanguard Integrity Professionals

Page 2: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

Legal Notice

Copyright

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You

have a limited license to view these materials for your organization’s

internal purposes. Any unauthorized reproduction, distribution, exhibition

or use of these copyrighted materials is expressly prohibited.

Trademarks

IBM, RACF, and z/OS are trademarks or registered trademarks of

International Business Machines Corporation in the United States, other

countries, or both. Vanguard Administrator, Vanguard Advisor, Vanguard

Analyzer, Vanguard Offline, Vanguard IAM, Vanguard zSecurity University

and Vanguard Security & Compliance are trademarks of Vanguard

Integrity Professionals – Nevada.

2

Page 3: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

Where can I Use Vanguard QuickGen™

3

• Vanguard AdministratorTM

• Vanguard AdvisorTM

• Vanguard AnalyzerTM

• Vanguard OfflineTM

Today’s presentation will use

Vanguard Administrator™ to demonstrate

the various functions

Page 4: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

Session Topics

This part of the session discusses how to use the FLDEXIT capability to modify the field values in your report.

3

FLDEXIT

2

Extended Access List option

This part of the session discusses the EXTENDED ACL option for Dataset & General Resource profiles

1

This part of the session will demonstrate how to automatically send the QG report to mail recipients.

QUICKGEN Email option

3 This part of the session gives an example of how to create data for exporting to a spreadsheet.

4

CSV (comma separated values)

4

Page 5: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

ADVANCED QUICKGEN

Email options

5

Page 6: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

Specify the EMAIL option

<email vmail=no format=html>

Tag attributes:

vmail=<yes|no> -- This attribute is only used for batch jobs. Specifies whether or not

the VMAIL DD is to be used to define the email recipients.

The default is no. This attribute is optional.

format=<html|txt|pdf> -- Specifies the format of the email attachment.

html -- attachment will be an html file with a suffix of ".htm".

txt -- attachment will an ASCII file with a suffix of ".txt".

pdf -- attachment will in PDF format with a suffix of ".pdf".

Note: This requires the TXT2PDF tool to be installed. See the

Vanguard Installation Guide for more information.

Note: If CSV tag is present the FORMAT= parameter is overridden.

</email>

6

Page 7: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

Specify the Sender & Recipients

<to>

[email protected]

[email protected]

</to>

<cc>

[email protected]

</cc>

<bc>

[email protected]

</bc>

<from>[email protected]

7

Page 8: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

Specify the Subject & Message field

<subject>This is the emails SUBJECT Field.

<text>

This is sample text that will be

in the body of the email.

</text>

8

Page 9: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

Sample Email construct

9

Page 10: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

Resulting Email

10

Page 11: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

Email attachment

11

Page 12: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

ADVANCED QUICKGEN

Extended Access Lists

12

Page 13: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

Where? Security Server Reports

• Under Datasets it is option 7

• For Gen Resources it’s option 6

13

Page 14: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

Let’s take a look at our APF Libs

14

Page 15: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

Here’s the QG template

15

Page 16: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

System Variables

• Available for all types of reports – PAGE Page number

– DATE Date (Mon DD, CCYY)

– TIME Time (HH:MM)

– SYSUID Userid of report creator

– SYSJES JES subsystem name

– SYSLRACF RACF level

– SYSNODE JES node name

– SYSNAME System name

– SYSOPSYS z/OS level

– SYSSMFID SMF ID

– SYSCPUID CPU ID

16

Page 17: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

<breakon>

• Used to force pagination when the key field

specified changes.

• Simplifies breaking apart a report for distribution

• Be sure the input records are sorted by the same

key field.

17

Page 18: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

Displaying only a portion of a field

• Sometimes you don’t want a large field printed on a

single line.

• Use parsing parameters on the field name

• Example:

– Installation data is a 255 byte field

– Break it into 50 byte fields and place on multiple lines

– Format: fieldname<s:l> where S is the starting position

and L is the length to parse out

– Example:

• &INSTDATA<1:50>

• &INSTDATA<51:50>

– Use <report skipallblanks=y> to suppress blank lines

18

Page 19: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

ADVANCED QUICKGEN

FLDEXIT

19

Page 20: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

Reformatting fields

20

• Use the FLDEXIT tag to reformat fields on a report

• As report lines are being generated, the specified

exit is called to allow you to modify the field contents

• The “exit” is written in REXX and stored in a PDS

that is in the SYSPROC DD concatenation.

• A sample can be found in SAMPLIB(FLDEXIT)

• Examples:

– You want the RACINIT date to display in Mon day,Year

format, but it is in MM/DD/YYYY format.

– Rather than displaying the Extraordinary data fields as

SP,OP,AU you want to make it a “Y” if it is found.

Page 21: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

QG Template

<report>

<fldexit name=QGEXIT>

&Special &Oper &Auditor &Sracinit

</fldexit>

<header>

Userid Special Operations Auditor Last Racinit

--------- ---------- -------------- ---------- -----------------

</header>

&2&Userid &14&Special &24&Oper &34&Auditor &40&Sracinit

</report>

NOTE: The “&nn” parameter is used to position the field at the specified

column

21

Page 22: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

QG Exit parameters

<fldexit name=EXITNAME>

name=EXITNAME -- Name of the QG exit. This is a

1 to 8 character member name.

&field1 &field2 &field3

</fldexit>

The exit will only be called for the field names that are

listed. If none are listed, then the exit will be called for all

fields used in the report.

22

Page 23: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

QGEXIT

/* REXX */

fldname=arg(1);fldvalue=arg(2)

SELECT

when fldName = "SRACINIT" & fldvalue = 0 then fldValue = "** N/A **"

when fldName = "SRACINIT" & fldvalue <> "" then

fldValue = right(date('N',fldValue,'S'),11)

when fldname="SPECIAL" & fldvalue ="S" then fldvalue="Y"

when fldname="OPER" & fldvalue ="O" then fldvalue="Y"

when fldname="AUDITOR" & fldvalue ="A" then fldvalue="Y"

otherwise

nop

END

return fldValue

23

Page 24: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

Results

24

Page 25: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

ADVANCED QUICKGEN

CSV (Comma Separated Values)

25

Page 26: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

Why would I need a CSV file?

• Use Vanguard’s masking functionality to select the

records you are looking for.

• Create a formatted file that is compatible for

importing into a spreadsheet

• Extract specific fields or all fields for that report type

26

Page 27: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

CSV Tag format

<csv allfields=no separator=',' header=none>

allfields=<yes|no

If allfields=yes is specifed, all fields will be included in the

CSV record.

separator='<char>'

This attribute specifies the field separator character used in

the CSV records.

header=<none|fieldnames>

This attribute specifies if row 1 should be a header record.

If fieldnames is specified, then the field name will be used

as the column heading.

Note: Default values are shown above

27

Page 28: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

Use Masking to select desired records

28

Page 29: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

Two examples

Extract just a few fields

<csv allfields=no separator=',' header=none>

&USERID &USERNAME &LNGLOGDT

</csv>

Extract all fields and include a header record

<csv allfields=yes separator=',' header=fieldnames>

</csv>

Note: No model data line

29

Page 30: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

Results – Selected fields

DOUGB,DOUG BOSTON,"APR 30, 2014"

DDENI1,DENIS #1 USERIDS,"APR 29, 2014"

DHAYES,DUSTIN HAYES,"APR 25, 2014"

DLF,DATA LOOKASIDE FACIL,"APR 21, 2014"

DSNPMSTR,DB2 FOR PROFSRV,"APR 21, 2014"

DICKM,DICK MURPHY,"MAR 7, 2014"

DOUGBX,DOUG BOSTON,"OCT 18, 2013"

Note: Fields with the separator character in them will be quoted

30

Page 31: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

Results – All fields w/headers

USERID,USERNAME,DFLTGRP,OWNER,SPECIAL,OPER,AUDITOR…etc

DOUGB,DOUG BOSTON,VANGUARD,VANGUARD,S,,A,,,,,060,……etc

DDENI1,DENIS #1 USERIDS,VANGUARD,VANGUARD,S,O,,,,,,000,……etc

DHAYES,DUSTIN HAYES,VANGUARD,VANGUARD,S,O,,,,,,000,……etc

DLF,DATA LOOKASIDE FACIL,STCGROUP,STCGROUP,,,,,,,,060,……etc

DSNPMSTR,DB2 FOR PROFSRV,SYS1,DSN510,,,,,,,,030,……etc

DICKM,DICK MURPHY,VANGUARD,VANGUARD,S,O,,,,G,,000,……etc

DOUGBX,DOUG BOSTON,VANGUARD,VANGUARD,S,O,A,,,G,,060,……etc

31

Page 32: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

Vanguard zSecurity University™

32

To register for a webinar or training course: go2vanguard.com Place mouse on Training

Customer Savings: Special Discounts for software customers and Vanguard Security & Compliance™ 2013 attendees

Don’t forget that all of the Vanguard zSecurity University™ courses are eligible for CPE Credits and all course materials are provided on a tablet

computing device that the attendee keeps at the end of the class.

Page 33: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

Page 34: Maximizing Your Use of the Vanguard Administrator · ©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to view these materials for your

©2014 Vanguard Integrity Professionals, Inc. All Rights Reserved. You have a limited license to

view these materials for your organization’s internal purposes. Any unauthorized reproduction,

distribution, exhibition or use of these copyrighted materials is expressly prohibited.

Questions

34


Recommended