CICS/MAPR II
Transcription
CICS/MAPR II
MacKinney Systems, Inc. CICS/MAPR II Create, test, and prototype CICS maps fast MAPM001 CICS/MAPR MAIN MENU RELEASE X.X MacKinney Systems Type in the requested information,then press ENTER or a PF key to continue MAPSET NAME SAMPLES MAP NAME SAMPLEM FUNCTION CODE C TERMINAL MODEL 2 COPY FROM MAPSET _______ COPY FROM MAP _______ Valid Function Codes: A=Add M=Demo C=Change O=Copy D=Delete T=Test PF1-Help PF2-Paint PF3-Exit PF4-Parm PF5-D SAMP ** QUANTITIES IN WAREHOUSE ** PART NO. XXXXXXXX 00000000 PAGE ZZ 00000000000000000000000000000000 UNIT OF MEASURE CODE 00 TOTAL QTY. ZZZZZZ9 LOCATION QTY ON HAND QTY ON ORDER DUE DATE ISSUE DATE COUNT DATE BY XXXXXXX ZZ,ZZ9- ZZ,ZZ9 99B99B99 99B99B99 99B99B99 000 00000000000000000000000000000000000000000000000000 NEXT PAGE - PF1 PREVIOUS PAGE - PF2 MAIN MENU - PF4 LOGOFF - PF11 How CICS/MAPR II works: The online facility is initiated by entering the transaction code 'MAPR' on a blank screen. The Map Definition Screen is displayed. It asks for mapset name, map name, function (add, change, delete, etc.), terminal model, and if you are copying from another map, the 'copy from' information. (add) was selected and no 'copy from' screen was entered, a blank screen is displayed. At this point you paint the screen (titles, literals, and data fields). When you are ready to paint the map, press PF2. You paint the screen using 'X's for input fields, 'O's for output fields, '9's for input numeric fields, and 'Z's for output numeric fields. Enter constants just as you want them to appear. After pressing PF2 on the Main Menu the Map Image screen is displayed. If function code 'A' If you are modifying an existing map, simply modify the painted screen image. Telephone: (417) 882-8012 Fax: (417) 882-7569 www.mackinney.com Field definition MAPSET NAME SAMPLES CICS/MAPR FIELD DEFINITION MacKinney Systems MAP NAME SAMPLEM MAP ROW 03 ...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 XXXXXXXX FIELD NAME = PART-NO______________ ATTRB = A A=ASKIP,P=PROT,Blank=UNPROT B B=BRT,D=DRK,Blank=NORM _ N=NUM _ D=DET _ I I=IC _ F=FSET PICIN PICOUT = ___________________ = ___________________ COLOR _ D=Default,B=Blue,G=Green,N=Neutral P=Pink,R=Red,T=Turquoise,Y=Yellow _ E=Mustenter,F=Mustfill,T=Trigger _ B=Base,psid char HILIGHT = _ B=Blink,R=Reverse O=Off,U=Underline = L L=Left,R=Right _ B=Blank,Z=Zero = VALIDN = PS = ROW 03 Column 012 JUSTIFY LENGTH = 008 OTHER: PF1-Help PF2-Paint PF3-End PF4-Parm PF7-Prev PF8-Next PF9-Array PF12-Cancel Pressing ENTER on the painted screen displays the Field Definition screen. This allows defining field names and attributes for all fields painted beginning with the first field on the screen. To define or change field information without beginning with the first field, place the cursor under the field to be modified and press PF6. The Field Definition screen will be displayed for the selected field. In this case the cursor was under the variable part number field when PF6 was pressed. Specification of field attributes, color, PICIN/ PICOUT, hilight, etc. for this field are specified on this screen. Define a repeated row or array MAPM007 CICS/MAPR ARRAY DEFINITION MacKinney Systems MAPSET: SAMPLES MAP: SAMPLEM REPEAT ROW -----10 __ __ __ __ __ __ __ __ __ COLUMN START -----003 ___ ___ ___ ___ ___ ___ ___ ___ ___ COLUMN END -----070 ___ ___ ___ ___ ___ ___ ___ ___ ___ ROWS TO REPEAT ------01 __ __ __ __ __ __ __ __ __ REPEAT OCCURS -----12 __ __ __ __ __ __ __ __ __ INDEX NAME ------_______ _______ _______ _______ _______ _______ _______ _______ _______ _______ GROUP FIELD NAME ------------------------_________________________ _________________________ _________________________ _________________________ _________________________ _________________________ _________________________ _________________________ _________________________ _________________________ PF1-Help PF2-Paint PF3-End PF4-Parm PF6-Fields PF12-Cancel Enter-Upd Clear-Exit Telephone: (417) 882-8012 Fax: (417) 882-7569 To define a repeated row or array, the fields in the array only need to have the individual field names and attributes defined once for the first occurrence of each. Then the ARRAY DEFINITION screen is used to describe what repeats and how many times it repeats. Here we have said that row 10 on map SAMPLEM beginning with column 003 and ending with column 070 is to be repeated 12 times. Multiple rows can also be repeated. To do this ROWS TO REPEAT would define the number of rows being repeated. Up to ten groups of repeated rows can be defined. www.mackinney.com Screen generation reports **********1*********2*********3*********4*********5*********6*********7*********8* * SAMP ** QUANTITIES IN WAREHOUSE ** 00000000 PAGE ZZ * * * * PART NO. XXXXXXXX 00000000000000000000000000000000000 * * * * UNIT OF MEASURE CODE 00 TOTAL QTY. 9999999 * * * * LOCATION QTY ON QTY ON DUE ISSUE COUNT BY * * HAND ORDER DATE DATE DATE * * * * XXXXXXX ZZ,ZZ9- ZZ,ZZ9 99B99B99 99B99B99 99B99B99 000 * * XXXXXXX ZZ,ZZ9- ZZ,ZZ9 99B99B99 99B99B99 99B99B99 000 * * XXXXXXX ZZ,ZZ9- ZZ,ZZ9 99B99B99 99B99B99 99B99B99 000 * * XXXXXXX ZZ,ZZ9- ZZ,ZZ9 99B99B99 99B99B99 99B99B99 000 * * XXXXXXX ZZ,ZZ9- ZZ,ZZ9 99B99B99 99B99B99 99B99B99 000 * * XXXXXXX ZZ,ZZ9- ZZ,ZZ9 99B99B99 99B99B99 99B99B99 000 * * XXXXXXX ZZ,ZZ9- ZZ,ZZ9 99B99B99 99B99B99 99B99B99 000 * * XXXXXXX ZZ,ZZ9- ZZ,ZZ9 99B99B99 99B99B99 99B99B99 000 * * XXXXXXX ZZ,ZZ9- ZZ,ZZ9 99B99B99 99B99B99 99B99B99 000 * * XXXXXXX ZZ,ZZ9- ZZ,ZZ9 99B99B99 99B99B99 99B99B99 000 * * XXXXXXX ZZ,ZZ9- ZZ,ZZ9 99B99B99 99B99B99 99B99B99 000 * * XXXXXXX ZZ,ZZ9- ZZ,ZZ9 99B99B99 99B99B99 99B99B99 000 * * 00000000000000000000000000000000000000000000000 * * NEXT PAGE - PF1 PREVIOUS PAGE - PF2 * * MAIN MENU - PF4 LOGOFF - PF11 * **********1*********2*********3*********4*********5*********6*********7*********8* MAPP020 X.X 02/26/98 The report to the left is produced by the map print program. Note lines 10-21 are all the same. Line 10 was entered and defined on the ARRAY DEFINITION screen as a row to be repeated 12 times. CICS/MAPR - MAP UTILITY PROGRAM PRINT SELECTED MAPS PAGE 2 MAPSET: SAMPLES MAP:SAMPLEM ROWS:24 COLUMNS:80 CREATION DATE: 01/12/98 LAST UPDATE: 02/26/98 COPYBOOK PREFIX: NONE -----FIELD NAME------- ROW COL LEN OCCR -------ATTRIBUTES------- EXTENDED ATTRIBUTES ----PICOUT------- -----PICIN---TRAN-CODE 1 3 4 ASKIP CURRENT-DATE PAGE-NUMBER 1 1 57 77 8 2 ASKIP ASKIP PART-NUMBER 3 12 8 PART-DESCRIPTION UNIT-OF-MEASURE TOTAL-ON-HAND LOCATION QTY-THIS-LOCATION QTY-ORDERED DUE-DATE ISSUE-DATE COUNT-DATE INITIALS ERROR-MSG 000390 000400 000410 000420 000430 000440 000450 000460 000470 000480 000490 000500 000510 000520 000530 000540 3 5 5 10 10 10 10 10 10 10 22 25 33 25 2 45 7 3 7 15 7 25 6 34 8 46 8 58 8 68 3 20 50 FSET NUM BRT IC FSET NUM ASKIP ASKIP 12 12 12 12 12 12 12 NUM NUM NUM NUM NUM ASKIP ASKIP 05 LOCATIONDI 10 LOCATIONL PIC S9(04) COMP. 10 LOCATIONF PIC X(001). 10 LOCATIONA REDEFINES LOCATIONF 10 LOCATIONI PIC X(007). 10 QTY-THIS-LOCATIONL 10 QTY-THIS-LOCATIONF 10 QTY-THIS-LOCATIONA QTY-THIS-LOCATIONF 10 QTY-THIS-LOCATIONI 10 QTY-ORDEREDL 10 QTY-ORDEREDF 10 QTY-ORDEREDA QTY-ORDEREDF 10 QTY-ORDEREDI Telephone: (417) 882-8012 COLOR=TURQUOISE HILIGHT=UNDERLINE COLOR=RED COLOR=DEFAULT JUSTIFY= RIGHT ZERO COLOR=GREEN VALIDN=MUSTENTER COLOR=GREEN COLOR=GREEN COLOR=BLUE COLOR=GREEN COLOR=TURQUOISE COLOR=TURQUOISE COLOR=TURQUOISE COLOR=TURQUOISE COLOR=TURQUOISE This report provides good documentation, saving the programmer/analyst from manually documenting screens. ZZ,ZZ9ZZ,ZZ9 99B99B99 99B99B99 99B99B99 COLOR=YELLOW HILIGHT=BLINK OCCURS 12 TIMES. PIC X(001). PIC S9(04) COMP. PIC X(001). REDEFINES PIC X(001). PIC X(007). PIC S9(04) COMP. PIC X(001). REDEFINES PIC X(001). PIC X(006). Fax: (417) 882-7569 This is a partial print of the COBOL Copybook generated by MAPR II. It shows how the repeated lines generate an OCCURS clause. This makes programming much easier. www.mackinney.com Screen generation reports * 'LOCATION' ARRAY 01 OCCURRENCE 01 OF 12 F000079 DFHMDF POS=(10,002),LENGTH=007, ATTRB=(NORM) DFHMDF POS=(10,010),LENGTH=001,ATTRB=(ASKIP,DRK) * 'QTY-THIS-LOCATION' ARRAY 01 OCCURRENCE 01 OF 12 F000083 DFHMDF POS=(10,014),LENGTH=007, ATTRB=(NORM,NUM), PICOUT='ZZ,ZZ9-' DFHMDF POS=(10,022),LENGTH=001,ATTRB=(ASKIP,DRK) * 'QTY-ORDERED' ARRAY 01 OCCURRENCE 01 OF 12 F000088 DFHMDF POS=(10,024),LENGTH=006, ATTRB=(NORM,NUM), PICOUT='ZZ,ZZ9' DFHMDF POS=(10,031),LENGTH=001,ATTRB=(ASKIP,DRK) * 'DUE-DATE' ARRAY 01 OCCURRENCE 01 OF 12 F000093 DFHMDF POS=(10,033),LENGTH=008, ATTRB=(NORM,NUM), PICOUT='99B99B99' DFHMDF POS=(10,042),LENGTH=001,ATTRB=(ASKIP,DRK) * 'ISSUE-DATE' ARRAY 01 OCCURRENCE 01 of 12 F00009B DFHMDF POS=(10,045),LENGTH=008, (cont.) X X X This report shows the BMS source produced by MAPR II. Here again we have shown only part of the report (part of the array). X X X X X CICS/MAPR II features 1. Runs under CICS. 9. HELP screens for all functions. 10. ASKIP fields are automatically generated following each unprotected field to skip the 3. Allows for full length COBOL cursor to the next field when the and PL1 data names. previous field has been entered. 4. Repeated rows need only be 11. Both lower and upper case entered once. A group-level characters can be painted on data name with an OCCURS the screen. clause is generated for the 12. MAPS are saved on a VSAM DSECT to allow use of a file for easy maintenance. subscript when referencing the repeated fields. 13. Existing MAPS may be copied 2. Generates BMS Macros and DSECTS. 5. Supports extended attributes and various screen sizes. 6. Prints a screen image and a list of variables showing row, column, and length. 7. Demo facility allows users to prototype screens in sequence to simulate production use. 8. Test facility allows sending a test version of a map to a terminal without requiring a batch run to generate and assemble BMS source macros. to a new MAP, then modified to create new screens. 14. Old MAPS may be loaded into the CICS/MAPR II dataset by reading the BMS Macros with a utility program we provide. Price Call or Email for price Operating systems VSE and MVS Installation Takes 1-2 hours to catalog the MAPS and programs, modify the CICS tables, load VSAM file, customize JCL, and test using the supplied sample screen. Free 30 day trial For a trial, mail in the license agreement or give us a call. 15. Conversion facility including conversion from SDF, SDF/II, BMS/GT, MAPGEN, and others. 16. On line directory of mapsets and maps. Telephone: (417) 882-8012 Fax: (417) 882-7569 www.mackinney.com