164
Business Business Informat Informat ion ion Server Server a.k.a. a.k.a. MAPPER MAPPER

2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

Embed Size (px)

Citation preview

Page 1: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

Business Business Information Information

ServerServer

a.k.a. MAPPERa.k.a. MAPPER

Page 2: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

2

MAPPERMAPPER

Manual Functions Course• Course Content

– Overview of MAPPER• Database Structure• Report Structure• Command Structure

– How to use the Commands– Commands– Graphics– PCME– Where do you go from here?

Page 3: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

3

• MAPPER is an acronym. It stands for: MAintaining, Preparing, Producing Executive Reports

• We prefer to think of it as:

MAPPERMAPPER

What is MAPPER?

Page 4: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

4

MMost

AAmazing

PProgramming

PProduct

EEver

RReleased

MAPPERMAPPER

What is MAPPER?

Page 5: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

5

• MAPPER is:– A database– A powerful data manipulation engine– A report processing tool– An end user data manipulation tool– An application development tool– An integration tool for disparate data sources– An End User Computing Environment

MAPPERMAPPER

What is MAPPER?

Page 6: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

6

• Based on User-ID.

• Administered by a MAPPER Coordinator

• User-ID and Department together determine access to applications and data.

• Uniquely identified user

• 6-character password

MAPPERMAPPER

Security

Page 7: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

7

• Departments are numbers:– Tend to correspond to Company departments

• Who require the use of common data to obtain information

• Whose users use the same applications against the same data

• May have access to more than one cabinet

• Control access to applications and data

MAPPERMAPPER

Department

Page 8: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

8

• Identified by a number

• Controls access to applications and data– Examples

• Purchasing – Dept. 24

• Human Resource – Dept. 9

• IT – Dept. 4

MAPPERMAPPER

Department

Page 9: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

9

MAPPERMAPPER

Signon Security

Page 10: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

10

MAPPERMAPPER

Signon SecurityUp to 11 Characters

Numeric Only – This is the department #

Optional - Up to 6 characters

Page 11: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

11

MAPPERMAPPER

Database

• Cabinets

• Drawers

• Reports

Page 12: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

12

• Read/Write security– Odd cabinet numbers are read only– Even cabinet numbers are read/write

• 1 unsecured/common drawer (A)

• 8 secured drawers (B – I)

• Common report information generally makes up a drawer

MAPPERMAPPER

Cabinets

Page 13: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

13

• The Zero report determines report headers, formats and editing

• Reports can be up to 998 characters wide on NT and Unix, and 504 on 2200

• Reports can contain a million lines on NT and Unix, and 262k on 2200

• You can set up display formats for all reports in a drawer (26 formats max.)

• Line one of a report has some very important information – creation date, last update date, who updated the report.

MAPPERMAPPER

Report Structure

Page 14: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

14

• Two types of reports – temporary (results) – permanent

• Reports can have read and write passwords applied

• Report line type is in character position 1– Line types can be any character– Typical line types are period, tab, & asterisk

• Reports may utilize different line types to display data in different formats

MAPPERMAPPER

Report Structure

Page 15: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

15

• Executed on data to create a result.

• Can be accessed via fast access method or long method

• Use the headers of the report as their gateway into the data.

• Use options to fine tune the output result.

MAPPERMAPPER

Commands

Page 16: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

16

• Commands can be entered– on the control line of a report or result.

– At the HOME position of the idle logo. (fast access method)

• Executing a command produces a temporary report called a "result".– You can recognize a result by the word "RESULT" in

the control line

– A result is usually displayed in a different color.

MAPPERMAPPER

Commands

Page 17: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

17

MAPPERMAPPER

Commands end user interface (Mask)

Options go Here

Command Parameters

Type of Command

Report headers from report 2B0

Page 18: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

18

• Display Report• Update Report• Add Report• Delete Report• Duplicate Report• Replace Report• Add Line in Report• Delete Line in Report• Duplicate line in Report• Yank line in Report

• Append line in Report• Put line in Report• Index• Search• Find• Locate• Locate and Change• Totalize• Sort• Match

MAPPERMAPPER

Commands

Page 19: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

19

• Update Commands– Search & Match

• Extract

• Delete

• Update

• Print• View• Arithmetic

• Send Information– Send a Report

– Send to a User

– Ok

• Count• Calculate• Graphics

MAPPERMAPPER

Commands

Page 20: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

20

• To display a report in the current cabinet:– Enter the report number followed by the

drawer type on the control line – Press Enter (Transmit).

• Example:2B (Press Enter)

MAPPERMAPPER

Displaying a Report

Page 21: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

21

• To display a report in a Cabinet different than the one you are currently in:– Enter the report number, followed by the drawer type,

followed by the cabinet number on the control line

– Press Enter (Transmit).

• Example:2B60 (Press Enter)

• To do this you must have permission to access this cabinet.

MAPPERMAPPER

Displaying a Report

Page 22: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

22

• Updating a report means you are manually changing data in a report. This is sometimes called an SOE (Start of Entry) update.– Display the report– Position the cursor to the location in a report where

you want to change the information– Type in the new information– Press enter (transmit)– If you change your mind after pressing enter you can

press the "undo" button. (Function key 9) (You get only one level of undo.)

MAPPERMAPPER

Updating a Report

Page 23: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

23

• This adds a new report to the specified drawer, based on the headers in the zero report.

• There will be no data in the new report.– Command syntax is AR– From the control line type in AR press enter– Answer the questions and press enter.– Or from the control line type in AR followed by a space followed by

the letter of the drawer you want to add a report in and press enter.– Answer the questions and press enter.– The new report will then be displayed for you.– This is the next available report in drawer

• Example: AR B

MAPPERMAPPER

Adding a New Report

Page 24: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

24

• To delete a report you must have the report on display and you must be the last person to have updated the report.– Command syntax is DR – Type DR on the control line and press Enter – Answer the questions and press Enter.– Fast access method is to type in DR followed by a

space, followed by report number, report type, (optional) report cabinet number, and press Enter.

• Example:DR 3B0

MAPPERMAPPER

Deleting a Report

Page 25: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

25

• This command copies an existing report or result into a new permanent report.– Command syntax is XR – Type XR on the control line and press Enter– Answer the questions and press Enter– With a report or result on display type XR on

the control– The next display shows the duplicated report

MAPPERMAPPER

Duplicating a Report or Result

Page 26: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

26

• This command saves the current report or result on display to a specified location.– Command syntax is REP – With a report or result on display type REP on the control line

and press Enter.– Answer the questions and press Enter– With a report or result on display, type REP on the control line

followed by a space, followed by a report number, and report type and press Enter.

• Example:REP 3B0

• Warning: the REP command will overlay an existing report without warning.

MAPPERMAPPER

Replacing a Report or Result

Page 27: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

27

• Create a report in location 10B It must be a copy of the information in 2B How would you accomplish this?– What command(s) would you use?

MAPPERMAPPER

Problem

Page 28: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

28

• Display 2B0• Replace 2B0 into 10B0

MAPPERMAPPER

Answer

Page 29: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

29

• Start-of-Entry (SOE) character ►– F3 function key– CTRL+O– 5 on the numeric key pad

• Add lines– ►]n+ (n = Quantity)– Example: ►]4+ adds 4 lines below the current line– Highlight lines on screen.

CTRL+

MAPPERMAPPER

Modifying a Report

CTRL + or CTRL – or CTRL * Must use numeric key pad

Page 30: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

30

• Delete lines– ►]n–– Example: ►]4– deletes 4 lines, starting with the current line– Highlight lines on screen.

CTRL+–

• Duplicate lines– ►]nx– Example: ►]4x duplicates the current line 4 times– Example: ►]2x5 makes 2 copies of the next 5 lines, starting

with the current line– Highlight lines on screen.

CTRL+*

MAPPERMAPPER

Modifying a Report

Page 31: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

31

• Do not practice changing a permanent report.• Use a result (a temporary report).• Display report 2B0• Type the command RSLT and XMIT• This creates a result that you can modify as much

as you like.• Release when finished.

MAPPERMAPPER

Important Tip

Page 32: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

32

ExampleMake a result from a permanent report

Page 33: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

33

ExampleAdd lines

►]3+

Command can go anywhere on this line. Horizontal position does not matter

Page 34: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

34

ExampleAdd lines

CTRL+

Highlight can go anywhere on the first line. Horizontal position does not matter

These two examples are functionally equivalent.

Page 35: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

35

ExampleDelete lines

►]2-

Command can go anywhere on this line. Horizontal position does not matter

Page 36: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

36

ExampleDelete lines

CTRL–

Highlight can go anywhere on the first line. Horizontal position does not matter

These two examples are functionally equivalent.

Page 37: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

37

ExampleDuplicate lines

►]1x

Command can go anywhere on this line. Horizontal position does not matter

Page 38: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

38

ExampleDuplicate lines

CTRL*

Highlight can go anywhere on the first line. Horizontal position does not matter

These two examples are functionally equivalent.

Page 39: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

39

• Yank lines– ►]ny– Example: ►]4y yanks 4 lines, starting with the current line– Highlight lines on screen.

CTRL+Y

• Put lines– ►]p– Example: ►]p puts the current buffer after the current line – Put cursor on line "before"

CTRL+P

MAPPERMAPPER

Modifying a Report

Page 40: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

40

• This command takes a copy of a line(s) and place it in a buffer or holding place.– Command syntax is ►]QyB

• Q = Quantity of lines to yank

• B = Buffer number to place the lines in. Up to 100

– Position the cursor on the first line you wish to yank.

– Place an soe, followed by a bracket, Quantity of lines to yank, a y, number of the buffer you want to put the lines in, press Enter.

– Example

MAPPERMAPPER

Yank line(s) from a Report or Result

Page 41: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

41

Example Yank lines

►]3y command can go anywhere on this line. Horizontal position does not matter

These two examples are functionally equivalent.

CTRL y

Highlight can go anywhere on the first line. Horizontal position does not matter

Page 42: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

42

Example Put lines

►]p command can go anywhere on this line. Horizontal position does not matter

Yanked lines inserted

Page 43: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

43

ExamplePut lines

CTRL p

Highlight can go anywhere on the first line. Horizontal position does not matter

These two examples are functionally equivalent.

Yanked lines inserted

Page 44: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

44

Example Menu Bar

All of the CTRL _ commands can also be done using the menu bar.

Page 45: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

45

MAPPERMAPPER

Yank line(s) Buffer

Page 46: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

46

• The Yank command always overwrites the buffer specified.

• The default buffer is blank valid buffer numbers are 1-100

• Buffer will remain valid until one of two things happen:– The buffer is overwritten– You do a release screen command

MAPPERMAPPER

Yank line(s) Buffer

Page 47: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

47

• This command takes a copy of a line(s) and append it to the line(s) already in a buffer.– Command syntax is ►]QaB

• Q = Quantity of lines to yank

• B = Buffer number to append the lines in. Up to 100

– Position the cursor on the first line you wish to yank.

– Place an soe, followed by a bracket, Quantity of lines to yank, an a , number of the buffer you want to append the lines in, press Enter.

– Example

MAPPERMAPPER

Append line(s) from a Report or Result

Page 48: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

48

MAPPERMAPPER

Append line(s) Buffer

Page 49: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

49

• This command takes a copy of the contents of the buffer specified and put it into a report or result.– Command syntax is ►]pB

• B = Buffer number to place the lines in. Up to 100

– Position the cursor on the line before where you wish to place the contents of the buffer.

– Place an soe, followed by a bracket, a p, number of the buffer you want to put the lines in, press Enter.

– Example

MAPPERMAPPER

Put line(s) into a Report or Result

Page 50: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

50

MAPPERMAPPER

Put line(s) in Report or Result

Page 51: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

51

• Create a report in location 11B0, containing:– The first 20 lines of 10B0– Lines 25, 30, 35 from 2B0– 4 copies of line 34 from 10B0, but with a

status code of "XX" place at the end of 11B0

• What command(s) would you use?

MAPPERMAPPER

Exercise

Page 52: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

52

• Display 10B0 • Append line 34• Put buffer after line 20• Update the status code

field to XX• Duplicate the last line 3

times

MAPPERMAPPER

Answer• Display 10B0• Replace 10B0 into

11B0• Delete all lines after

line 20• Display 2B0• Yank line 25• Append line 30• Append line 35

Page 53: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

53

• Shows a list of the reports in a drawer, along with the total number of lines in the drawer.

• It shows total number of reports and how many lines are contained in each report.

• By specifying the number of lines to display, you may also see the X number of lines of each report as part of the final result.

MAPPERMAPPER

Index Command

Page 54: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

54

• The Index command syntax is:– Syntax = I nD

• n = the number of lines to display from each report. If left blank the headers from each report will be displayed.

• D = Drawer

– Example i 1B0

MAPPERMAPPER

Index Command

Page 55: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

55

Index Example

i 1B0 – first line of each report in drawer B0

Page 56: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

56

Index Example

i 3B0 – first 3 lines of each report in drawer B0

Page 57: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

57

• Searches through a report(s) or result for specific data. A copy of the found data is placed in a result. By specifying options we can tailor the result.– Command syntax is S RD or S –

• R = Report number

• D = Drawer

• - = Search the report or result on display

– Search command uses the Command Mask

– Searches specified fields or columns

MAPPERMAPPER

Search Command

Page 58: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

58

• Find all of the records in 2B0 where cust code = AMCO – With 2B0 on display, enter S – and press

Enter.– Or from the idle user logo enter S 2B0 and

press Enter.– Or from the idle logo enter S press Enter,

Answer the questions, press Enter.

MAPPERMAPPER

Search Problem

Page 59: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

59

MAPPERMAPPER

Search Command Mask

Options go Here

Command Parameters

Report headers from report 2B0

Page 60: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

60

• Search parameters specify the data you want to search for.– In our example we want to search for AMCO

in a field called Cust Code.• With the command Mask displayed tab over to the

Cust Code and enter AMCO.

• Move the cursor to the next line and press Enter.

• Demonstration

MAPPERMAPPER

Search Parameters

Page 61: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

61

• There are 16 options available for Search. Here are some of the more commonly used options.– D Omits Search information lines from the result.– H In a multiple report search it includes the headers

from the only first report.

– N Include only those line in the result that do NOT meet the search parameters.

– Rx-y This lets you search a range of report. Starting report number is 'x' and the ending report

is 'y'.

– @ Search for spaces.

• Demonstration

MAPPERMAPPER

Search Options

Page 62: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

62

Search Example

S 2B0 – search for CustCode = "AMCO"

Equivalent run statement: @SRH,0,B,2 'd' 'CustCode' ,AMCO DSP,-0

Page 63: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

63

Search Example

Results

Page 64: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

64

Search Example

S 2B0 – search for CustCode = "AMCO" or "FEDS"

Equivalent run statement: @SRH,0,B,2 'd' 'CustCode' ,AMCO/ ,FEDS DSP,-0

Page 65: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

65

Search Example

Results

Page 66: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

66

• Find all of the Cust Code = AMCO and ARCO in 2B0.

• How do we accomplish this?

MAPPERMAPPER

Search Problem

Page 67: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

67

• Find all of the Cust Code = AMCO and ARCO in 2B0.– With the command Mask on display:

• Tab to the Cust Code field and enter AMCO

• Move the cursor to the next line down, position it in the Cust Code field again and enter ARCO.

• Place the cursor on the next line and press Enter.

– You can enter up to 9 search parameters this way.

• Demonstration

MAPPERMAPPER

Search Problem Answer

Page 68: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

68

Search Problem Answer

Page 69: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

69

MAPPERMAPPER

Help Information• Help information is available for all MAPPER

commands.

• Display typing help,command name on the control line and press Enter.

• You can also access help by pressing Function key 8 or if you have buttons on the bottom of your screen, pressing the Help button.

Page 70: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

70

• Find looks for a character string (Find parameter) in the specified report(s) or result. The display positions you at the first occurrence of the data. To see a following occurrence, that is not shown in the current display, press function key 1 or the resume button.– Command syntax is F RD or F –

• R = Report number• D = Drawer• – = Search the report or result on display

– Find command uses the function Mask

MAPPERMAPPER

Find Command

Page 71: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

71

• There are many options available. Here are some commonly used options.– @ Find spaces in the data.

– N Find a record not containing the character string.

– Rx-y,z Search a range of reports

• Demonstration

MAPPERMAPPER

Find Options

Page 72: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

72

Find Example

F 2B0 – find "ARCO" in CustCode field

Equivalent run statement: @FND,0,B,2 '' 'CustCode' ,ARCO .

Page 73: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

73

Find Example

NOTE:The FIND command does not create a result, just positions you at the found value.

Page 74: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

74

• Find any occurrence of a Cust Code = AMCO in 2B0.

• How do we accomplish this?

MAPPERMAPPER

Find Problem

Page 75: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

75

• Find any occurrence of a Cust Code = AMCO in 2B0.– With 2B0 on display enter F – and press

Enter.– Or from the idle user logo enter F 2B0 and

press Enter.– Or from the idle logo enter F press Enter,

Answer the questions, press Enter.

• Demonstration

MAPPERMAPPER

Find Problem Answer

Page 76: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

76

• Locate a character string anywhere in a report or result. You are positioned on the line where the string is found. To see the next occurrence of that string press Function Key 1 or Resume. The easiest way to use locate is to have the report on display.

• Locate searches for the character string in the entire record, while Find searches only in the column specified.

MAPPERMAPPER

Locate Command

Page 77: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

77

• Command syntax is LOC ;/LP/o– ; is required.– / is a delimiter. This can be any special character.– LP is the locate parameter or the character string you

are looking for.– / is a delimiter. This can be any special character.– o is any option you want to specify

MAPPERMAPPER

Locate Command

Page 78: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

78

• There are 10 options available. Here are two commonly used options.– O Build a result and place all of the lines

containing the string of characters

– A Locate across all line types.

• Example

MAPPERMAPPER

Locate Options

Page 79: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

79

Locate Example

2D0 – loc AS

Page 80: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

80

Locate Example

First occurrence

Press F1 (multiple times) for later occurrences

Page 81: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

81

• Locate any occurrence of a Stat Code = OR in 2B0.

• How do we accomplish this?

MAPPERMAPPER

Locate Problem

Page 82: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

82

• Locate any occurrence of a Stat Code = OR in 2B0.– With 2B0 on display enter L ;/or/ and press

Enter.

• Demonstration

MAPPERMAPPER

Locate Problem Answer

Page 83: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

83

• This is a two-part command. You specify a string of characters to locate, and also a string of characters to use as a replacement. This will create a result of the entire report with the changed information.– Command syntax is CHG ;/LP/CP/o

• ; is required character• / is a delimiter character• LP is the locate string of characters• / is a delimiter character• CP is the change character string• / is a delimiter character• o is any option you specify

MAPPERMAPPER

Locate and Change Command

Page 84: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

84

• Here are some of the more common options.– O This option builds a result of all of the

lines containing the string of characters.

– U Create an UPDATE result.

– A Locate across all line types.

• Example

MAPPERMAPPER

Locate and Change Options

Page 85: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

85

• Locate any occurrence of a Stat Code = OR and change it to XX in 2B0.

• How do we accomplish this?

MAPPERMAPPER

Locate and Change Problem

Page 86: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

86

• Locate any occurrence of a Stat Code = OR and change it to XX in 2B0.– With 2B0 on display enter chg ;/or/xx/ and

press Enter.

• Demonstration

MAPPERMAPPER

Locate and Change Answer

Page 87: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

87

• Use the Totalize function to perform arithmetic and move operation on fields contained in a report or result.– Command syntax is Tot RD or Tot –

• R = Report number

• D = Drawer

• - = Totalize the report or result on display

– Totalize uses the Function Mask

MAPPERMAPPER

Totalize Command

Page 88: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

88

• There are 13 options available with the Totalize command. Some of the commonly used ones are:– O Create an output result containing only

subtotal and grand total information.

– Rn Round answer to the nearest nth.– S Subtotal a field

MAPPERMAPPER

Totalize Options

Page 89: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

89

• There are 13 parameters that are used by the Totalize command. A Few of the commonly used ones are:– + addition

– - subtraction

– / division

– * multiplication

– S subtotal a field

• Demonstration

MAPPERMAPPER

Totalize Parameters

Page 90: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

90

• Problem: Determine how much money we make on our products. To do that, subtract Wholesales price from Retail price and place the answer in the Demo Field in report 1C0– With 1C0 on display enter TOT - and press Enter.– Place a – sign (Subtraction) under the Whole Sale field– Place a + sign (primary field) under the Retail field– Place a = sign under the Demo field to indicate where

the answer is to be placed. Place the cursor on the next line and press Enter.

• Demonstration

MAPPERMAPPER

Totalize Command

Page 91: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

91

TOT Example

TOT 2D0 – Cost = Qty x SaleRound answer to 2 decimal places

Equivalent run statement: @TOT,0,D,2 'r.01' 'Qty','Sale','Cost' ,+,*,= DSP,-0

Page 92: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

92

TOT Example

Results

The BIS Help contains many TOT examples

Page 93: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

93

• Determine how much money we make on our products. (Use the data in 1C0.)– Subtract Wholesale$ price from our Retail$$$

$ price and place the answer in the Demo Results field in report 1C0. (Same as the previous problem.)

– Also calculate the grand total of our revenue. (This part is new.)

• How do we accomplish this?

MAPPERMAPPER

Totalize Problem

Page 94: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

94

• With 1C0 on display enter TOT - and press Enter.• Place a – sign (Subtraction) under the Whole Sale field• Place a + sign (primary field) under the Retail field• Place a = sign under the Demo field to indicate where

the answer is to be placed. Place the cursor on the next line and press Enter.

• Under the = sign place a + sign and move cursor to next line and press Enter.

MAPPERMAPPER

Totalize Problem Answer

Page 95: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

95

TOT Example

TOT 1C0 – Demo Results = Retail – Wholesale Compute grand total of Demo Results

Equivalent run statement: @TOT,0,C,1 '' 'WholeSale$','Retail$$$$','DemoResults' \ ,-,+,=/,,,+ DSP,-0

Page 96: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

96

TOT Example

Results

Page 97: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

97

• The Sort command lets you put data into a specified sort order, either numeric or alphabetic. Within the sort field you can select ascending or descending order.

• Command syntax is SORT RD or SORT –– R = Report number– D = Drawer– - = Sort the report or result on display

• Sort uses the Command Mask

MAPPERMAPPER

Sort Command

Page 98: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

98

• The Sort command has only 2 options. They are:– A Sort on all line types– C(s) Treat data as case-sensitive

MAPPERMAPPER

Sort Options

Page 99: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

99

• The Sort command uses 3 different parameters. They are:– 1 – 5 Specifies the field(s) to sort and the

hierarchy in which to sort them.– D Sort in descending order– N Treat data as numeric

(So that 9 is not greater than 100)

MAPPERMAPPER

Sort Parameters

Page 100: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

100

SORT Example

SORT 2B0 by STCD, CustCode (descending), and ProductType

Equivalent run statement: @SOR,0,C,1 '' 'STCD','ProductType','CustCode' ,1,3,2d @DSP,-0

Page 101: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

101

SORT Example

Results

Page 102: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

102

• Sort the data in report 2B0– ST CD is the primary sort field

– Within ST CD, sort by Cust Code and finally by Product Type.

• How do we accomplish this?

MAPPERMAPPER

Sort Problem

Page 103: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

103

• With 2B0 on display, enter Sort - and press Enter.

• Place a 1 under the ST CD field

• Place a 2 under the Cust Code Field

• Place a 3 under the Product Type field, move cursor to next line and press Enter.

MAPPERMAPPER

Sort Problem Answer

Page 104: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

104

• The Match command compares same-size fields in 2 different reports and optionally copies data from one report to the other.

• You must have a report on display. – This report is called the receiving report.

• The report specified in command is called the issuing report. – They are combined in the double Match command

mask.

MAPPERMAPPER

Match Command

Page 105: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

105

• There are 12 options for the Match command. Some of the more popular ones are:– B The blend option merge both reports

into one result– D Deletes Match information from the

header– M Display only records that match– N Display only records that do not match

MAPPERMAPPER

Match Options

Page 106: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

106

• There are only 2 parameters that are used by the Match command. They are:– 1 – 5 Specifies the field to sort and

the hierarchy in which to sort them.– A-M Specifies the fields to be move

and the sequence in which to move them.

MAPPERMAPPER

Match Parameters

Page 107: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

107

MAPPERMAPPER

Match end user interface (Mask)Options go here

Type of Command

Receiving report headers (2B0)

Issuing report headers (1C0)

Command Parameters

Command Parameters

Page 108: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

108

MATCH Example

Display 2B0 (receiving report)Enter "MA 1C0" (issuing report)

Equivalent run statement: @MCH,0,C,1,0,B,2 'd' 'ProductType','ProducCost' ,1,a \ 'ProductType','ProducCost' ,1,a DSP,-0

Page 109: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

109

MATCH Example

MATCH on ProductType, copy ProducCost from 1C0 to 2B0

Equivalent run statement: @MCH,0,C,1 'd' 'ProductType','ProducCost' ,1,a \ 'ProductType','ProducCost' ,1,a DSP,-0

Page 110: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

110

MATCH Example

Results

This result is a copy of 2B0 with the ProducCost values copied from 1C0 where the two ProductType values are equal.

Page 111: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

111

• Create a single report (result) that contains all of the following information; – Status Date, Serial number, Product Cost, Customer

Code

• We have one report that currently contains all of this information 2B0 except Product Cost. Product Cost is contained in 1C0.

• How do we accomplish this?

MAPPERMAPPER

Match Problem

Page 112: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

112

• Create a single report (result) that contains all of the following information; – Status Date, Serial number, Product Cost, Customer Code

• We have one report that currently contains all of this information 2B0 except Product Cost. Product Cost is contained in 1C0.– With 2B0 on display enter MA 1C and press Enter.– Place a 1 under the Product Type field– Place a A under the Product Cost Field– Repeat the previous two steps under the second header

• Demonstration

MAPPERMAPPER

Match Problem Answer

Page 113: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

113

• There are several commands that combine their operation with the update capability.

• Search, Match, Calculate are three.

• These command will have a new call:– Search update is SU– Match update is MAU– Calculate is CALU

MAPPERMAPPER

Update Commands

Page 114: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

114

• First think of these commands as their original operation. For example, with Search we search for a specific string of information in a specific field or column. The result is a result containing only the lines of information the met the search criteria.

• Search Update works the same way, but now we can make a change to this result and have that change placed back into the original report.

• We could also delete these lines from the original report, or extract them out of the original report and create a new result containing just those lines.

MAPPERMAPPER

Update Commands

Page 115: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

115

• Update (UPD) takes the current result on display and places information back in the original report.

• Delete (DEL) takes the current result and deletes it from the original report.

• Extract (EXT) takes the current result and deletes it from the original report and displays the deleted information as a result.

MAPPERMAPPER

Update Commands

Page 116: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

116

• Demonstration of Update

• Demonstration of Delete

• Demonstration of Extract

MAPPERMAPPER

Update Commands

Page 117: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

117

• Use the Print command to print a report or result on a system printer.– Command syntax PR or PR RD or PR –

with a report on display.• R is the report number

• D is the drawer the report is in.

– If you use the PR syntax you will have several questions to answer.

MAPPERMAPPER

Print Command

Page 118: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

118

• PR Syntax

MAPPERMAPPER

Print Command

Page 119: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

119

• The View command lets you display a subset of the fields in a report or result.

• You must have a report or result on display when you execute VIEW . A mask is displayed.

• The VIEW mask contains all of the headers from the report or result that was on display.

• Place an X under all columns or fields you wish to display, and press Enter (Transmit)

MAPPERMAPPER

View Command

Page 120: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

120

• With 2B0 on display, enter View on the control line and press Enter

MAPPERMAPPER

View Command Demonstration

Page 121: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

121

• The resulting view looks like this:

MAPPERMAPPER

View Command Demonstration

Page 122: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

122

• The Arithmetic command allows you to do computations, much in the same manner as the Windows calculator, except it is not as pretty.

• With the MAPPER calculator you can enter all of the normal operators within your expression or expressions.– Command syntax is: A

• Example

MAPPERMAPPER

Arithmetic Command

Page 123: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

123

Example

Page 124: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

124

• Use the Calculate command to compute, compare, and replace numeric data, character strings, dates, and times in a report.– Command syntax: CAL RD or CAL –

• R = The report number• D = The drawer type• - = Use the report on display

• This is probably the most complex command ever developed for MAPPER. (People have based careers on this command alone.)

MAPPERMAPPER

Calculate Command

Page 125: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

125

• There are 16 options available with the Calculate command. Some of the more popular ones are:– E If a result in a field = 0, fill field with a

space.– J(x) Justify the numeric data according to

(x) – L List all value labels– O Omit all data lines in the result.

MAPPERMAPPER

Calculate Options

Page 126: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

126

• With Calculate you have the all of the various arithmetic labels, expressions, and equations at your fingertips.

• You can string multiple equations together in one calculate command.

• There are many examples in the CAL Help. Read and practice these examples.

MAPPERMAPPER

Calculate Parameters

Page 127: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

127

CALculate Example

Make these changes to 2B0:

• Change BLACKBOX to WHITEBOX andGREENBOX to BrownBOX

• If STCD = IP and CustCode = AMCO then:store line number in SpcCod, add 90 days to StatusDate, store new date & day of week in ShipDate & ShipOrder.

Page 128: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

128

CALculate Example

Equivalent run statement: @CAL,0,B,2 '' 'STCD','StatusDate','ProductType'(1-5), 'CustCode', 'SpcCod','ShipDate','ShipOrder' ,a,b,c,d,e,f,g \ if:c="BLACK";then:C="WHITE";if:c="GREEN";then:C="Brown";\ if:a="IP"&d="AMCO";then:e=LINE;then:f,d(1)=d1(b)+90;\then:g,d(w)=d1(f); DSP,-0

Page 129: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

129

CALculate Example

Results

Page 130: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

130

• Use the Count command to analyze and summarize data. Based on key fields, the command computes subtotals, percentages, averages, entry counts, and more. – Command syntax: CNT RD or CNT –

• R = The report number• D = The drawer type• - = Use the report on display

• This is probably the most efficient command ever developed for MAPPER. It executes operations with one pass through the data.

MAPPERMAPPER

Count Command

Page 131: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

131

• There are a 19 options that can be used by the Count command. Some of the more popular ones are:– Dn Process only the line that occur n or more

times.

– H Extract only the first set of headers

– P Pack the result by removing all non-referenced fields.

– R Execute across the range of reports specified.

MAPPERMAPPER

Count Options

Page 132: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

132

• There are 5 parameters used by the Count command. They are:– 1 – 9 Specifies the field to sort and the hierarchy to

sort them in. These are the KEY fields.– N Specifies this field to be numeric.– DF Specifies this is a date field in the a specific

format.– TF Specifies this is a time field in the a specific

format.– R Specifies a rounding value

• There are many examples in the Count Help. Read and practice these examples.

MAPPERMAPPER

Count Parameters

Page 133: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

133

• Use REP as the key field, subtotal Qty, Sale.

• Make a list of all the different products.

• Scale OrderDate by quarter, use REP and CAT as key fields, subtotal Qty, Sale

MAPPERMAPPER

Count Examples 2D0

Page 134: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

134

COUNT Example

Equivalent run statement: @CNT,0,D,2 'p' 'Rep','Qty','Sale ,1,+,+/r,,,.01 DSP,-0

Subtotal Qty and Sale fields (2 dec. places), for each Rep. Only display fields used.

Page 135: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

135

COUNT Example

Results

Page 136: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

136

COUNT Example

Equivalent run statement: @CNT,0,D,2 'p' 'Rep','Cat' ,=,1 DSP,-0

Show the number of records for each product category.

Page 137: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

137

COUNT Example

Results

Page 138: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

138

COUNT Example

Equivalent run statement: @CNT,0,D,2 'ps1d11(1w)' 'Orderdate','Qty','Sale' ,1,+,+/r,,,.01 @DSP,-0

Subtotal Qty, Sale (2 dec. places) by week (OrderDate)(Dates are all in January, 1997)

Page 139: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

139

COUNT Example

Results

Page 140: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

140

• You should read up on both the Calculate and Count commands to better understand the power they offer.

• Then play with them.

• You will find many different uses for them.

MAPPERMAPPER

Suggestion

Page 141: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

141

• MAPPER color graphics is a set of MAPPER commands that creates color charts that display on the screen or can be printed.

• There are a dozen preformatted types of charts and 6 interactive charts.

MAPPERMAPPER

Graphics

Page 142: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

142

• Preformatted Charts have you fill out a form. A chart is generated from that.

• Interactive Charts all let you use a report or result and generate a chart from it.

MAPPERMAPPER

Graphics

Page 143: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

143

• Preformatted Charts:– Bar Mixed Line Text– Radar Block Pareto 3D Bar– Scatter Timeline Target Pie

• Interactive Charts– Bar Mixed Pie– Line Pareto Scatter

MAPPERMAPPER

Graphics

Page 144: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

144

• Requirements– A graphic enabled terminal.

• MAPPER Presentation Client (MPC)

• PowerClient

• Execute the run CHART,E– Examples

MAPPERMAPPER

Graphics

Page 145: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

145

MAPPERMAPPER

Graphics (CHART,E)

Page 146: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

146

MAPPERMAPPER

Bar Graph

Page 147: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

147

MAPPERMAPPER

Bar Graph

Page 148: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

148

MAPPERMAPPER

Line Graph

Page 149: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

149

MAPPERMAPPER

Line Graph

Page 150: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

150

MAPPERMAPPER

Pie Graph

Page 151: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

151

MAPPERMAPPER

Pie Graph

Page 152: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

152

• Station to Station Message

• Send Report to a Station

• Send Report to a User

• Ok

MAPPERMAPPER

Message CommandsNot used much anymore

Useful primarily in runs. Send diagnostic messages to yourself.

@SNU,-0,JDOE,7

Page 153: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

153

• This command is the response for any of the previous messaging type of commands.

• By typing OK and pressing Enter, the person who sent the message will be informed if the acknowledge sub field was specified.

MAPPERMAPPER

Ok Command

Page 154: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

154

MAPPERMAPPER

PCME

Point and Click MAPPER Environment

Page 155: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

155

• Up to this point we have done every thing in a text or character environment.

• PCME lets you do the same things we have done only in a GUI environment.

• It requires a set of MAPPER programs to be loaded on the host MAPPER system. It can be controlled at a user level.

• It has a GUI representation for most of the MAPPER commands but, not all of the commands.

MAPPERMAPPER

PCME

Page 156: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

156

MAPPERMAPPER

PCME

Page 157: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

157

MAPPERMAPPER

PCME

Page 158: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

158

• At this point you have been exposed to several of the MAPPER commands. This is only a fraction of all of the commands at your fingertips. You should use HELP or the manuals to review and learn about other commands and options to assist you in your usage of MAPPER.

• Once you become proficient in MAPPER commands, you can become a "Run Designer".

MAPPERMAPPER

What’s Next?

Page 159: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

159

• A MAPPER Run lets you take the manual commands that you do frequently to develop a specific result, and create a program that will develop the same result, just by executing it.

• A MAPPER Run is a script, or a sequence of executable commands, stored in a report.– MAPPER runs are stored in the same kind of

reports as MAPPER data.

MAPPERMAPPER

MAPPER Run

Page 160: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

160

• The Run Language or command set is an extension of the manual commands. In almost all cases there are run commands that are equivalent to the manual functions. There are many run command that have no manual equivalent, mainly in the display and formatting of data.

• An example of a MAPPER run is the graphic commands. All of the chart commands are actually MAPPER runs. PCME is another example.

MAPPERMAPPER

Run Language

Page 161: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

161

• Remember our problem dealing with Match?– Create a single report that contains all of the following

information; • Status Date, Serial number, Product Cost, Customer Code

– We have one report that currently contains all of this information 2B0 except Product Cost. Product Cost is contained in 1C0.

MAPPERMAPPER

Run Example

Page 162: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

162

• The run statements below accomplish this

MAPPERMAPPER

Run Example

Page 163: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

163

???? ??????????

MAPPERMAPPER

Questions?

Page 164: 2 Course Content –Overview of MAPPER Database Structure Report Structure Command Structure –How to use the Commands –Commands –Graphics –PCME –Where do

164

Unisys is a registered trademark of Unisys Corporation.

BIS and MAPPER are registered trademarks of Unisys Corporation.

MAPPERMAPPER