Download presentation
Presentation is loading. Please wait.
Published byBenedict Goodman Modified over 9 years ago
2
RRT RAPID RESEARCH TOOL
3
Major product lines Life Insurance (several versions) Property and Casualty (several versions) Auto Insurance (several states, several versions) Accounting ( in house) Human Resources ( in house ) Fantasy Football ( personal product)
4
Each product line has several migration paths Maintenance > Quality Assurance > Model office > Production Quality Assurance > Model office > Production Model office > Production Emergency > Production Special projects > Quality Assurance > Model office > IProd This represents hundreds of libraries, several DB2 subsystems, DB2 Versions, pre-compilers, compilers, translators, etc
5
Enlist RRT to remember key information about each product line Switch easily between product lines and migration paths
6
Set up the current RRT working environment
7
Set Product line TSO QACCESS 12:55 © Rapid Research Tool Row 1 to 14 of 30 Command ==> Scroll ===> 0012 Division Access Control S=Select, D=Detach, V=Verify, C=Create, L=List, Z=Compress Row S Enter Work PDS Division ST 001 S SPF.RRT.WORK.AUTO AUTO << 002 SPF.RRT.WORK.LIFE LIFE___________ 003 SPF.RRT.WORK.PROP PROP___________ 004 SPF.RRT.WORK.ADM AdminService___ 005 SPF.RRT.WORK.HRES Human Resrcs___ 006 SPF.RRT.WORK.PAYR Payroll________ 007 ____________________________________________________ 008 ____________________________________________________ 009 ____________________________________________________ 010 ____________________________________________________ 011 ____________________________________________________ 012 ____________________________________________________ 013 ____________________________________________________ 014 ____________________________________________________ Most employees will support a single product only. Up to 30 separate products or sub-products are supported. Use whenever a higher level definition is needed. Note: TSO QACCESS 2 MT will switch divisions as well as environments, with no panel display. “2” is the row number.
8
Set a search/migration path. TSO SETENV (QRRT) -- 13:06 ---------- © R a p i d R e s e a r c h T o o l Row 1 to 5 of 5 Command ===> Scroll ===> CSR AUTO S e t E n v i r o n m e n t Standard PF keys Set RRTID : MT Show Settings: N Edit Config File: N (Y/N/T) Fetch all : N Search all : N Audit Config : N S=Set, D=Display S ID Environment Name Search Path DB2: Subsys Owner _ PR PRODUCTION PR SSNQ QTRN............. _ MT MAINTENANCE MT ST PR SSNT PRJ1............. _ ST MAINTENANCE STGE ST PR SSNT QTRN............. _ EM EMERGENCY EM PR SSNF QTRN............. _ DV DEVELOPMENT DV PR SSND DQTRN............ ******************************* Bottom of data ******************************** *All RRT features are driven by a two byte RRTID Set the RRTID to MT, Maintenance. RRT will then use the MT search path and DB2 definitions for all of its functions. Note: TSO QACCESS 2 MT will switch divisions as well as environments, with no panel display. See user guide
9
Synoptic PF4 Menu Utilities Options Status Help ------------------------------------------------------------------------------ SY2 ISPF Development Primary Option Menu Option ===> DIVISION=Auto,RRTID=MT,PATH=MT ST PR,MAINTENANCE,DB2:SSNT,PRJ1,UPDT=Y 0 Settings Terminal and user parameters 1 View Display source data or listings September 2012 2 Edit Create or change source data Su Mo Tu We Th Fr Sa 3 Utilities Perform utility functions 1 2 3 4 5 6 Command Enter TSO or Workstation commands 6 7 8 9 10 11 12 7 Dialog Test Perform dialog testing 13 14 15 16 17 18 19 J (E)JES (E)JES JES3 Spool Mgnt Facility 20 21 22 23 24 25 26 27 28 29 30 Time.... : 10:34 Enter PF4, with no parameters and no value at the cursor position. This will display a synopsis of the current RRT working environment: DIVISION=Auto,RRTID=MT,PATH=MT ST PR,MAINTENANCE,DB2:SSNT,PRJ1,UPDT=Y Product is Auto Insurance, Maintenance environment, search path is set from MT to ST to PR, DB2 subsystem is SSNT, OWNER is PRJ1, DB2 update allowed See user’s Guide to see how several different RRT environments are used in this demo.
10
Cursor select or enter member ZSCROLL, PF4 Menu Utilities Options Status Help ------------------------------------------------------------------------------ LP3 ISPF Development Primary Option Menu Option ===> ZSCROLL 0 Settings Terminal and user parameters 1 View Display source data or listings January 2012 2 Edit Create or change source data Su Mo Tu We Th Fr Sa 3 Utilities Perform utility functions 1 2 3 6 Command Enter TSO or Workstation commands 4 5 6 7 8 9 10 7 Dialog Test Perform dialog testing 11 12 13 14 15 16 17 J (E)JES (E)JES JES3 Spool Mgnt Facility 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Time.... : 11:04 All that is needed is the member name. RRT will find the data set(s) ( See user’s guide for ZSCROLL S, ZSCROLL A, ZSCROLL PR, ZSCROLL PRS)
11
ZSCROLL retrieved. Cursor select or enter member ZSTIMER, PF4 EDIT TEST.MVS.MNTCE.PRJ11.PRGMSRCE(ZSCROLL) - 0 RRTID=MT Command ===> ZSTIMER Scroll ===> CSR ****** ***************************** Top of Data ****************************** 000001 IDENTIFICATION DIVISION. 000002 PROGRAM-ID. ZSCROLL. 000003 ENVIRONMENT DIVISION. 000004 INPUT-OUTPUT SECTION. 000005 DATA DIVISION. 000006 FILE SECTION. 000007 WORKING-STORAGE SECTION. 000008 000009 01 WS-WORK-AREAS. 000010 05 PAGENO PIC X(04). 000011 05 WS-MT PIC X(08). 000012 05 WS-MD PIC X(08). 000013 05 WS-Q1 PIC X(03). 000014 05 WS-SUB PIC S9(04) COMP. 000015 05 WS-ONE PIC S9(04) COMP VALUE +1. 000016 05 WS-ABS PIC S9(04) COMP VALUE +1. 000017 05 WS-CTR PIC S9(09) COMP VALUE +1. 000018 05 WS-PAGENO-C PIC X(04). 000019 05 WS-PAGENO REDEFINES WS-PAGENO-C 000020 PIC 9(04). 000021 01 WS-MULTI-DEPT. 000022 05 WSD-DEPARTMENT PIC X(03) OCCURS 10 TIMES. The first occurrence along the search path is retrieved. ZSCROLL A will return all occurrences along the search path. PF1 will indicate which libraries were searched for ZSCROLL.
12
ZSTIMER retrieved. Place cursor on SYS1.IBM.CEE.SCEELPA, PF4 EDIT TSOUSER.PRJ.SRC(ZSTIMER) - 01.27 Columns 00001 00072 Command ===> Scroll ===> CSR ****** ***************************** Top of Data ****************************** 000001 ************************************************************ 000002 * RUN IN A JCL STREAM TO DELAY THE EXECUTION * 000003 * OF THE NEXT STEP FOR A SPECIFIED AMOUNT OF TIME * 000004 * * 000005 * //* PARM MUST BE EIGHT BYTES * 000006 * //* * 000007 * //* HHMMSSTT * 000008 * //STGO EXEC PGM=ZSTIMER,COND=(4,LT),PARM='00020000' * 000009 * HHMMSSTT * 000010 * * 000011 * DEFAULTS TO 3 MINUTES FOR NO PARM OR AN INVALID PARM * 000012 * SYS1.IBM.CEE.SCEELPA * 000013 ************************************************************ 000014 ZSTIMER CSECT 000015 ZSTIMER AMODE 31 000016 ZSTIMER RMODE ANY 000017 R0 EQU 0 000018 R1 EQU 1 000019 R2 EQU 2 000020 R3 EQU 3 000021 R4 EQU 4 Note: QASM will assemble this program. See User Guide
13
Directory list returned. Cursor select or enter a DB2 TABLE, PF4 Menu Functions Utilities Help ______________________________________________________________________________ BROWSE SYS1.IBM.CEE.SCEELPA Browse substituted Command ===> SYSIBM.SYSTABLES Scroll ===> CSR Name Prompt Alias-of Size TTR AC AM RM. CEECOPP 00010970 00A61C 00 31 ANY. CEEEV003 00483248 00DB05 00 31 ANY. CEEPLPKA 001E8728 00A820 00 31 ANY. CEL4CTBL 00001A28 00A808 00 31 ANY. EDC$LCNM EDC40004 00000C50 00A818 00 31 ANY. EDCHDEST 00005978 00A511 00 31 ANY. EDCUCSNM EDC4019E 000011A8 00A810 00 31 ANY. EDCZV CEEEV003 00483248 00DB05 00 31 ANY. EDC40004 00000C50 00A818 00 31 ANY. EDC4019E 000011A8 00A810 00 31 ANY Note: If no member is specified, a directory list is returned. A wild card (*) will display a list of libraries. A member, data set or DB2 table can be cursor-selected from any place on most any screen, with PF4.
14
**********© R a p i d R e s e a r c h T o o l*********** SCROLL ===> CSR Write Records thru Member: DB2OUT Auto 55 columns. An '*' indicates column can be null Go to Rec 0001 Enter=Next, PF7=BWD, PF8=FWD, PF3=Exit LNG SYSIBM.SYSTABLES RECORD NUMBER 1,SSNT,RRTID=MT 128 NAME..................... = ADM_HEARING -VARCHAR 128 CREATOR.................. = A1ERR -VARCHAR 1 TYPE..................... = T -CHAR 24 DBNAME................... = A1ERR -VARCHAR 24 TSNAME................... = ADMRHEAR -VARCHAR 2 DBID..................... = 290 -SMALLINT 2 OBID..................... = 3 -SMALLINT 2 COLCOUNT................. = 15 -SMALLINT 24 EDPROC................... = -VARCHAR 24 VALPROC.................. = -VARCHAR 1 CLUSTERTYPE.............. = -CHAR 4 CLUSTERRID............... = 0 -INTEGER... more Note: For more details see user’s guide. In later versions, the first row displays the field types. PF7/PF8 will scroll through the record RRT had the SYSIBM owner defined as “owner level access” in the DB2 configuration tables. See User Guide Chapter 4.5 Configuration DB2 Tables DB2 Table accessed Use PF7/PF8 to scroll through the record.
15
Cursor select a file, DB2 table, member, copy book from any location on a panel Resolve GDG name Resolve a JCL symbolic Too many examples to include here. One example:
16
Place cursor on line 31, PF4 EDIT SYS1.MVS.CPROD.PROCLIB(PRJ7RPOS) - 01.00 Columns 00001 00072 Command ===> Scroll ===> CSR ****** ***************************** Top of Data ****************************** 000001 //PRJ7RPOS PROC SYSTEM=‘CPRD', 000002 // LEVLQUAL='PR',PGDG=‘+1’, 000003 // STEPLIB='CPRD.GAM.SWAT.M5.BATCH.LOAD', 000004 // SCEPLIB='SYS1.SYS7.SCEERUN', 000005 // RUNCTL='CPRD.GAM.SWAT.M5.RUNCTLP.CNTL', 000006 // DB2LIB='DSNFSTPD', 000007 // UNIT=',8', 000008 // SRBPPOS='SRBPPOSP' - - - - - - - - - - - - - - - - - - - 22 Line(s) not Displayed 000031 //CENTRAL DD DSN=&SYSTEM..GMC.&LEVLQUAL..RESOLVE.CENTRAL(&PGDG), 000032 // DISP=(NEW,CATLG,DELETE), 000033 // DCB=(LRECL=246,BLKSIZE=0,RECFM=FB), 000034 // UNIT=(&UNIT),SPACE=(CYL,(30,5),RLSE) 000035 //SYSDBOUT DD SYSOUT=* 000036 //SYSUDUMP DD SYSOUT=* 000037 //SYSOUT DD SYSOUT=* 000038 //SYSOUX DD SYSOUT=* 000039 //SYSOUZ DD SYSOUT=* 000040 //SYS002 DD SYSOUT=* 000041 //* 000042 //STEP001A EXEC PGM=ABND1146,COND=(8,GT,STEP001) 000043 //*
17
JCL symbolic(s) resolved, GDG resolved, data set accessed EDIT CPRD.GMC.PR.RESOLVE.CENTRAL.G1416V00 Columns 00001 00072 Command ===> Scroll ===> CSR ****** ***************************** Top of Data ****************************** 000001 A0010113910017FLH1013910000000000007104QP9200001301000N0002623950 000002 A0010115000020FLH1011500000000000007109QE9200001301000N0000600000 000003 A0010115000065FLH1011500000000000007109QE9200001301000N0000600000 000004 A0010115000130FLH1011500000000000007109QE9200001201000N0000600000 000005 A0010115000140FLH1011500000000000007109QE9200001201000N0000600000 000006 A0010115000145FLH1011500000000000007109QE9200001301000N0000600000 000007 A0010115000150FLH1011500000000000007109QE9200001201000N0000600000 000008 A0010115000165FLH1011500000000000007109QE9200001301000N0000600000 000009 A0010115000170FLH1011500000000000007109QE9200001201000N0000600000 000010 A0010115000175FLH1011500000000000007109QE9200001301000N0000600000 000011 A0010115000190FLH1011500000000000007109QE9200001201000N0000600000 000012 AA001011500021FLH1011500000000000007109QE9200001201000N0000600000 000013 A0A01011500025FLH1011500000000000007109QE9200001201000N0000600000 000014 A0010115000265FLH1011500000000000007109QE9200001301000N0000600000 Note: Cursor selection is supported from any panel where user defined PF keys is allowed: from a COBOL program, from JES, from Endevor; any panel any location on a panel. (JCL symbolic resolution requires edit mode)
18
Enter a Library or a member with a wildcard, PF4 Menu Utilities Options Status Help ------------------------------------------------------------------------------ SY2 ISPF Development Primary Option Menu Option ===> TSOUSER.* 0 Settings Terminal and user parameters 1 View Display source data or listings February 2012 2 Edit Create or change source data Su Mo Tu We Th Fr Sa 3 Utilities Perform utility functions 1 2 3 4 5 6 7 6 Command Enter TSO or Workstation commands 8 9 10 11 12 13 14 7 Dialog Test Perform dialog testing 15 16 17 18 19 20 21 J (E)JES (E)JES JES3 Spool Mgnt Facility 22 23 24 25 26 27 28 Note: A member name with a wild card (*) will display multiple directory lists. (See User Guide)
19
Data Set List _____ © R A P I D R E S E A R C H T O O L ________ COMMAND ===> SCROLL ===> CSR SY2 PF7/PF8/PF3 FIRST 73 LIBRARY NAMES FOR: "TSOUSER.*" TSOUSER.FRANK.FORM *MIGRATED* TSOUSER.FRANK.QUERY *MIGRATED* TSOUSER.TSO.#LIJST PS FBA 133 TSOUSER.TSO.PDQSLIB PO FB 80 TSOUSER.TSO.PDQ17408 PO-E FB 80 TSOUSER.TSO.PDQ17473 PO-E FB 80 TSOUSER.TSO.PDQ17776 PO-E FB 80 TSOUSER.TSO.PDQ18096 PO-E FB 80 TSOUSER.TSO.PDQ18430 PO-E FB 80 TSOUSER.TSO.PDQ18439 PO-E FB 80 TSOUSER.TSO.PDQ18651 PO-E FB 80 TSOUSER.TSO.PDQ18719 PO-E FB 80 TSOUSER.TSO.PDQ20493 PO-E FB 80 TSOUSER.TSO.PDQ21415 PO-E FB 80 TSOUSER.TSO.PDQ23122 PO-E FB 80 TSOUSER.TSO.PDQ23694 PO-E FB 80 Note: Cursor select any library with PF4
20
Quick Compile Discover syntax errors and unit test SQL statements before placing a program into a source manager Compile whatever program or copy book is in the edit buffer-- without JCL, without waiting for an initiator An easy way to expand copy books for fast research. Results are returned immediately to the current TSO session The copy book compile produces a report to show the type, length and offset of each COBOL field. (Verify a print line, LRECL, cut and paste offsets for Syncsort control cards, etc.) DB2 pre-compile and CICS translate functions are supported An “In-house” source code pre-processor is supported (See user Guide) Easily test a COBOL routine or an LE service
21
Place ZSCROLL in edit and enter QCOMPILE EDIT TSOUSER.PRJ.SRC(ZSCROLL) - 01.10 Columns 00001 00072 Command ===> QCOMPILE Scroll ===> CSR ****** ***************************** Top of Data ****************************** 000001 IDENTIFICATION DIVISION. 000002 PROGRAM-ID. ZSCROLL. 000003 ENVIRONMENT DIVISION. 000004 INPUT-OUTPUT SECTION. 000005 DATA DIVISION. 000006 FILE SECTION. 000007 WORKING-STORAGE SECTION. 000008 000009 01 WS-WORK-AREAS. 000010 05 PAGENO PIC X(04). 000011 05 WS-MT PIC X(08). 000012 05 WS-MD PIC X(08). 000013 05 WS-AC PIC X(03). 000014 05 WS-SUB PIC S9(04) COMP. 000015 05 WS-ONE PIC S9(04) COMP VALUE +1. 000016 05 WS-ABS PIC S9(04) COMP VALUE +1. 000017 05 WS-CTR PIC S9(09) COMP VALUE +1. 000018 05 WS-PAGENO-C PIC X(04). 000019 05 WS-PAGENO REDEFINES WS-PAGENO-C PIC 9(04). Note: QCOMPILE uses the current environment to resolve copy books and SQL INCLUDE(s). This can be overridden: Supply a different RRTID. Enter “QCOMPILE PR” if only production copy books are desired. For more options see Users guide
22
QCOMPILE with no parms will display this panel © R a p i d R e s e a r c h T o o l Command ===> USAS Execute the Pre-compile and/or Translate processors MT Select RRTID from the list below ( PR MT MH AC DV AS FR SP PY TN FH AA WP PF AR ) ZSCROLL CICS Translation ===> Y (Y/N) Call CICS translation DB2 Pre-compile ===> Y (Y/N) Call DB2 pre-compiler Assembler listing ===> N (Y/N) Show assembler PMAP CICS translate only ===> N (Y/N) Halt after CICS Translation SUNDAY OCT 31, 2010 16:33:51 PRESS: ENTER to process PF3 to exit
23
Copybooks, DB2 and CICS are resolved BROWSE TSOUSER.#CMP.MT.LST3041.ZSCROLL Line 00000000 Col 001 080 Command ===> Scroll ===> CSR ********************************* Top of Data ********************************** PP 5655-G53 IBM Enterprise COBOL for z/OS 3.4.0 Date 01 Invocation parameters: NOXREF,NOOPT,MAP,NOSEQ,NOOBJECT,LIB,LIST,FLAG(W) PROCESS(CBL) statements: Process rent,nodynam,lib... DB2 resolved 000630 *****EXEC SQL 000631 ***** DECLARE CR_070A ASENSITIVE SCROLL CURSOR 000632 ***** WITH ROWSET POSITIONING FOR 000633 ***** SELECT 000634 ***** DEPARTMENT 000635 *****, NAME 000636 * FROM DEPARTMENT 000637 ***** ORDER BY DEPARTMENT 000638 *****END-EXEC. 000639 DISPLAY 'DECLARE SQLCODE = ' SQLCODE 000640 000641 *****EXEC SQL OPEN CR_070A END-EXEC. 000642 PERFORM SQL-INITIAL UNTIL SQL-INGA-DONE 000643 CALL 'DSNHLI' USING SQL-PLIST2.... CICS resolved 000730 000731 *EXEC CICS RETURN END-EXEC. 000732 Call 'DFHEI1' using by content x'0e0800000700001000f 000733 - '404040' end-call....
24
Edit a copybook, then enter QCCOPY EDIT TEST.GAM.RRT.MAIN(TSTCPY) - 01.03 Columns 00001 00072 Command ===> QCCOPY Scroll ===> CSR ****** ***************************** Top of Data ****************************** 000001 01 GW-IO-RESPONSE-AREA. 000002 05 GW-IO-COMP PIC S9(9) COMP. 000003 05 GW-IO-COMP5 PIC S9(9) COMP-5. 000004 05 GW-IO-COMP3 PIC S9(9) COMP-3. 000005 05 GW-IO-ZONE-DISPLAY PIC S9(9). 000006 05 GW-IO-EDIT PIC ZZZZZ.ZZ. 000007 05 GW-IO-DISPLAY PIC X(9). 000008 05 GW-IO-FLOAT COMP-2. 000009 05 WS-ERROR-CODE-TABLE. 000010 10 WS-EC-CODE-MESSAGES OCCURS 3 TIMES. 000011 15 WS-EC-ERROR-CODE PIC X(03). 000012 15 FILLER PIC X(01). 000013 15 WS-EC-ERROR-MESSAGE PIC X(20). 000014 15 FILLER PIC X(01). 000015 05 FILLER REDEFINES WS-ERROR-CODE-TABLE. 000016 15 WS-CODES-AND-MESSAGES-1 PIC X(75). 000017 15 WS-CODES-AND-MESSAGES-2 PIC X(75). 000018 01 ARCHIVE-RECORD. 000019 05 AR-REC-TYPE PIC X(03). 000020 05 AR-ARCHIVE-DATE PIC X(08). 000021 05 AR-REC-LENGTH PIC S9(4) COMP. 000022 05 AR-REC-IMAGE. 000023 10 AR-REC-CHAR PIC X(01) OCCURS 1 TO 2000 000030 DEPENDING ON AR-REC-LENGTH. 000100 05 ARCHIVE-RECORD-EXT1 PIC X. 000200 05 ARCHIVE-RECORD-EXT2 PIC X. 000300 05 ARCHIVE-RECORD-EXT2 PIC X. 000400 05 ARCHIVE-RECORD-EXT3 PIC X. 000500 05 ARCHIVE-RECORD-EXT4 PIC X. 000600 01 ARCHIVE-RECORD-END PIC X. Note: Rarely used BLV area occurs after an occurs depending on clause. Also a rarely used COMP-2 is included to show functionality.
25
Copybook was compiled Line ID Message code Message text 20 IGYDS1154-W "FILLER" redefined a smaller item. The program w -Messages Total Informational Warning Error Severe Ter Printed: 1 1 -* Statistics for COBOL program COLUMNS: * Source records = 35 * Data Division statements = 26 * Procedure Division statements = 0 End of compilation 1, program COLUMNS, highest severity 4. Return code 4 Note: COBOL working-storage can also be compiled. Useful for verifying a length for a print line or LRECL. Select a portion of it with TSO LINE command “CC” and enter QCCOPY. TSO QEZCOB (member) will create an Easytrieve layout for a COBOL copybook. See Users guide for more options
26
VIEW TSOUSER.COLS.OFF8847.TSTCPY Columns 00001 00072 Command ===> Scroll ===> CSR 000001 TEST.GAM.RRT.MAIN(TSTCPY) 000002 000003 @ = 01 LEVEL D = OBJECT OF OCCURS DEPENDING 000004 O = HAS OCCURS CLAUSE R = REDEFINES * = EXACT MATCH 000005 OG= GRP HAS LNGTH DEF E = EXTERNAL G = GLOBAL V=BLV CELL 000006 TSTCPY LENGTH: 2225 BYTES, RRTID=AA 000007 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 000008 LEN TYPE BEG END FIELD-NAME 000009 COL C0L 000010 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 000011 @00197 GROUP....... 00001 00197 1..GW-IO-RESPONSE-AREA 000012 00004 BINARY...... 00001 00004..2..GW-IO-COMP 000013 00004 BINARY...... 00005 00008..2..GW-IO-COMP5 000014 00005 PACKED-DEC.. 00009 00013..2..GW-IO-COMP3 000015 00009 DISP-NUM.... 00014 00022..2..GW-IO-ZONE-DISPLAY 000016 00008 DISP-NUM-EDI 00023 00030..2..GW-IO-EDIT 000017 00009 DISPLAY..... 00031 00039..2..GW-IO-DISPLAY 000018 00008 COMP-2...... 00040 00047..2..GW-IO-FLOAT 000019 00075 GROUP....... 00048 00122..2..WS-ERROR-CODE-TABLE 000020 O 00025 GROUP....... 00048 00072....3..WS-EC-CODE-MESSAGES 000021 00003 DISPLAY..... 00048 00050......4..WS-EC-ERROR-CODE 000022 00001 DISPLAY..... 00051 00051......4..FILLER 000023 00020 DISPLAY..... 00052 00071......4..WS-EC-ERROR-MESSAGE 000024 00001 DISPLAY..... 00072 00072......4..FILLER 000025 R 00150 GROUP....... 00048 00197..2..FILLER 000026 00075 DISPLAY..... 00048 00122....3..WS-CODES-AND-MESSAGES-1 000027 00075 DISPLAY..... 00123 00197....3..WS-CODES-AND-MESSAGES-2 000028 OG@02018 GRP-VARLEN.. 00201 02218 1..ARCHIVE-RECORD 000029 00003 DISPLAY..... 00201 00203..2..AR-REC-TYPE 000030 00008 DISPLAY..... 00204 00211..2..AR-ARCHIVE-DATE 000031 D 00002 BINARY...... 00212 00213..2..AR-REC-LENGTH 000032 02000 GRP-VARLEN.. 00214 02213..2..AR-REC-IMAGE 000033 O 00001 DISPLAY..... 00214 00214....3..AR-REC-CHAR 000034 V00001 DISPLAY..... 00001 00001..2..ARCHIVE-RECORD-EXT1 000035 V00001 DISPLAY..... 00002 00002..2..ARCHIVE-RECORD-EXT2 000036 V00001 DISPLAY..... 00003 00003..2..ARCHIVE-RECORD-EXT2 000037 V00001 DISPLAY..... 00004 00004..2..ARCHIVE-RECORD-EXT3 000038 V00001 DISPLAY..... 00005 00005..2..ARCHIVE-RECORD-EXT4 000039 @00001 DISPLAY..... 02225 02225 1..ARCHIVE-RECORD-END Note: The displacement of BLV cells (rarely used) is determined at execution time, not at compile time. Included here to show functionality Field length, offset and type Report follows
27
TSO QCOLS Another way to create Field and Offset report © R a p i d R e s e a r c h T o o l Command ===> QTRN Copybook Field Length and Offset Report Select RRTID from the list below, or enter a full data set name ( PR MT MH AC DV AS FR SP PY TN FH AA ) RRTID ===> DV_______________________________________ Blank to default Member===> YEHXCV__ Mask ===> _________________________________________ Display Settings for RRTID: __ Show slack/occurs bytes: N (Y) SATURDAY SEP 26, 2012 16:39:00 Mask: use a ~ for a trailing space PRESS: ENTER to process PF3 to exit NOTE: TSO QCOLS will bypass this panel when a parameter is sent. See user guide for more options.
28
Field and length and offset report VIEW TSOUSER.COLS.OFF8198.YEHXCV Columns 00001 00072 Command ===> Scroll ===> CSR ****** ***************************** Top of Data ****************************** 000001 PARMS SENT: YEHXCV DV 000002 DSN=QTST.QA1.DEVELOP.HAIP1.BASE.COPY.SRC(YEHXCV) 000003 @ = 01 LEVEL D = OBJECT OF OCCURS DEPENDING 000004 O = HAS OCCURS CLAUSE R = REDEFINES * = EXACT MATCH 000005 OG= GRP HAS LNGTH DEF G = GLOBAL 000006 MEMBER LENGTH: 2200 BYTES, RRTID=DV 000007 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 000008 LEN TYPE BEG END FIELD-NAME 000009 COL COL 000010 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 000011 @02200 GROUP....... 00001 02200 1..CVT-RECORD-01 000012 02200 GROUP....... 00001 02200..2..CVT-RECORD 000013 00020 GROUP....... 00001 00020....3..CVT-CONTROL-KEY 000014 00020 GROUP....... 00001 00020......4..CVT-TRANSACTION-ID 000015 00015 GROUP....... 00001 00015........5..CVT-BATCH-ID 000016 00003 DISPLAY..... 00001 00003..........6..CVT-BATCH-DEPARTMENT 000017 00008 DISPLAY..... 00004 00011..........6..CVT-BATCH-DATE 000018 R 00008 GROUP....... 00004 00011..........6..FILLER 000019 00004 DISPLAY..... 00004 00007..........7..CVT-BATCH-YR 000020 00002 DISPLAY..... 00008 00009..........7..CVT-BATCH-MO 000021 00002 DISPLAY..... 00010 00011..........7..CVT-BATCH-DAY... more
29
QCOMPGO Test a COBOL routine, an LE service, or a COBOL setting EDIT TEST.GAM.RRT.MAIN(ZTSTCMP5) - 01.00 Columns 00001 00072 Command ===> QCOMPGO Scroll ===> CSR 000001 IDENTIFICATION DIVISION. 000002 PROGRAM-ID. ZTSTBUF. 000003 ENVIRONMENT DIVISION. 000004 INPUT-OUTPUT SECTION. 000005 DATA DIVISION. 000006 FILE SECTION. 000007 WORKING-STORAGE SECTION. 000008 01 WS-TEST. 000009 05 WS-A OCCURS 300 TIMES PIC X(99). 000010 05 WS-C PIC S9(04) COMP. 000011 05 WS-C5 PIC S9(04) COMP-5. 000012 LINKAGE SECTION. 000013 01 JCL-PARM. 000014 05 JCL-L PIC S9(04) COMP. 000015 05 JCL-ADDENDA PIC X(80). 000016 05 FILLER PIC X(16). 000017 PROCEDURE DIVISION USING JCL-PARM. 000018 *******TEST COMP-5 FOR GREATER LENGTH IN A BINARY FIELD THAN 9999 000019 *******PIC S9(04) - FIX A TRUNCATION ABEND 000020 MOVE LENGTH OF WS-TEST TO WS-C WS-C5. 000021 DISPLAY 'WS-C = ' WS-C 000030 DISPLAY 'WS-C5 = ' WS-C5 Test COMP-5 processing. See Users Guide, as several examples are included.
30
Compile listing – Last Page BROWSE TSOUSER.#CMP.MT.LST6218.ZTSTCMP5 Line 00000411 Col 001 080 Command ===> Scroll ===> CSR 000000D8 VARIABLE-LENGTH CELLS 000000E0 VARIABLE NAME (VN) CELLS FOR PERFORM 000000E4 PERFORM SAVE CELLS 000000E8 TEMPORARY STORAGE-2 TGT WILL BE ALLOCATED FOR 00000168 BYTES SPEC-REG WILL BE ALLOCATED FOR 0000007E BYTES WRK-STOR WILL BE ALLOCATED FOR 00007408 BYTES DSA WILL BE ALLOCATED FOR 000000F8 BYTES CONSTANT GLOBAL TABLE FOR DYNAMIC STORAGE INITIALIZATION AT LOCATION 0003E0 INITD CODE FOR DYNAMIC STORAGE INITIALIZATION BEGINS AT LOCATION 00051C FOR LENG Messages Total Informational Warning Error Severe Terminating Suppressed: 1 1 * Statistics for COBOL program ZTSTBUF: * Source records = 23 * Data Division statements = 7 * Procedure Division statements = 4 End of compilation 1, program ZTSTBUF, highest severity 0. Return code 4
31
Binder Listing BROWSE TSOUSER.#LNK.MT.LST6218.ZTSTCMP5 Line 00000000 Col 001 080 Command ===> Scroll ===> CSR ********************************* Top of Data ********************************** z/OS V1 R8 BINDER 10:05:23 SATURDAY JANUARY 10, 2012 BATCH EMULATOR JOB(TSOUSER ) STEP(LOGON ) PGM= HEWL PROCEDURELOGON ) IEW2278I B352 INVOCATION PARAMETERS - XREF,MAP=YES *** M O D U L E M A P *** --------------- CLASS B_TEXT LENGTH = 1210 ATTRIBUTES = CAT, LOAD, RMODE=ANY OFFSET = 0 IN SEGMENT 001 ALIGN = DBLWORD --------------- SECTION CLASS ------- SOURCE -------- OFFSET OFFSET NAME TYPE LENGTH DDNAME SEQ MEMBER 0 ZTSTBUF CSECT 5BA SYSLIN 01 **NULL** 5C0 CEESG005 * CSECT 18 SYSLIB 02 CEESG005
32
“Display” Statements are returned in a file BROWSE TSOUSER.#SYS.MT.OUT6218.ZTSTCMP5 Line 00000000 Col 001 080 Command ===> Scroll ===> CSR ********************************* Top of Data ********************************** WS-C = 9704 WS-C5 = 29704 ******************************** Bottom of Data ******************************** Note: COMP-5 will hold the full value of a half word COMP will truncate to the length of the PIC clause. Ccmplex routines can be quickly tested and re-tested in this manner, as long they do not include additional files, DB2 or CICS requirements. JCL Parameters can be passed in. See users guide.
33
QBMS Assemble a BMS MAP EDIT FHUS111.SPF.SRC(FLHSD26) - 01.00 Columns 00001 00072 Command ===> QBMS Scroll ===> CSR ****** ***************************** Top of Data ****************************** 000001 FLHSD26 DFHMSD TYPE=&SYSPARM, X 000002 DATA=FIELD, X 000003 TIOAPFX=YES, X 000004 STORAGE=AUTO, X 000005 TERM=3270, X 000006 LANG=COBOL, X 000007 MAPATTS=HILIGHT, X 000008 MODE=INOUT 000009 FLHD26M DFHMDI SIZE=(24,80), X 000010 CTRL=(FREEKB), X 000011 COLUMN=0001, X 000012 LINE=0001 000013 DFHMDF POS=(01,01), X 000014 LENGTH=13, X 000015 ATTRB=(ASKIP), X 000016 INITIAL='TEXAS SW REGN' 000017 DFHMDF POS=(01,23), X 000018 LENGTH=35, X 000019 ATTRB=(ASKIP,BRT), X 000020 INITIAL='BOWLING BACKERS ACCOUNTING SYSTEM ' 000021 DTETIME DFHMDF POS=(01,62), X
34
Assembler Listing BROWSE FHUS111.#ASM.LST8243.FLHSD26 Line 00000554 Col 001 080 Command ===> Scroll ===> CSR 1 Statement Flagged in this Assembly 4 was Highest Severity Code HIGH LEVEL ASSEMBLER, 5696-234, RELEASE 5.0, PTF UK47098 SYSTEM: z/OS 01.09.00 JOBNAME: FHUS111 STEPNAME: $$LOGON PRO Data Sets Allocated for this Assembly Con DDname Data Set Name Volume Member P1 SYSIN SYS09328.T203555.RA000.FHUS111.R0250703 L1 SYSLIB SYS1.MACLIB A2S190 L2 UTIL.MACLIB A01N00 L3 PROD.Z84.CICS.COPYLIB A01M2E L4 UTIL.CIC.R13.SDFHMAC ASA185 SYSPRINT FHUS111.#ASM.LST8243.FLHSD26 A01YF9 SYSPUNCH FHUS111.#ASM.COB8243.FLHSD26 A01M02 29832K allocated to Buffer Pool Storage required 1116K 260 Primary Input Records Read 6685 Library Records Read 0 ASMAOPT Records Read 572 Primary Print Records Written 186 Object Records Written 0 ADATA Records Written Assembly Start Time: 20.35.55 Stop Time: 20.35.55 Processor Time: 00.00.00.0343 Return Code 004
35
Generated COBOL copy book EDIT FHUS111.#ASM.COB8243.FLHSD26 Columns 00001 00072 Command ===> Scroll ===> CSR ****** ***************************** Top of Data ****************************** 000001 01 FLHD26MI. 000002 02 FILLER PIC X(12). 000003 02 DTETIMEL COMP PIC S9(4). 000004 02 DTETIMEF PIC X. 000005 02 FILLER REDEFINES DTETIMEF. 000006 03 DTETIMEA PIC X. 000007 02 DTETIMEI PIC X(17). 000008 02 INTDSTL COMP PIC S9(4). 000009 02 INTDSTF PIC X. 000010 02 FILLER REDEFINES INTDSTF. 000011 03 INTDSTA PIC X. 000012 02 INTDSTI PIC X(4). 000013 02 FILLER PIC X. 000014 02 SYSIDL COMP PIC S9(4). 000015 02 SYSIDF PIC X. 000016 02 FILLER REDEFINES SYSIDF. 000017 03 SYSIDA PIC X. 000018 02 SYSIDI PIC X(4). 000019 02 FILLER PIC X. 000020 02 FLD01L COMP PIC S9(4). 000021 02 FLD01F PIC X. QBMS, QASM > Limited Assembler support - SEE USER GUIDE
36
Direct DB2 Access Execute SQL directly from the source Fill in host variable data Modify SQL and re-execute Write results to a file
37
Select the SQL to be executed, enter QSQL or PF4 Command ===> QSQL Scroll ===> CSR 000099 * P R O C E D U R E D I V I S O N 000100 **************************************************************** 000101 PROCEDURE DIVISION USING JCL-PARM. 000102 000103 MOVE JCL-START TO WS-ABS. 000104 000105 INITIALIZE WS-MULTI-DEPT. 000106 CC EXEC SQL 000108 DECLARE CR_070A ASENSITIVE SCROLL CURSOR 000109 WITH ROWSET POSITIONING FOR 000110 SELECT 000111 DEPARTMENT 000112, NAME CC FROM DEPARTMENT 000114 ORDER BY DEPARTMENT 000115 END-EXEC. * P R O C E D U R E D I V I S O N Note: TSO line commands “CC” are used to select the SQL to be executed DB2 functions SELECT, WITH, UPDATE, DELETE, INSERT and MERGE are supported. A DB2 Error help screen and a Confirmation screen (used for updates),are not shown here(See user’s guide) Note: Any data appearing within quotes is case sensitive!
38
This screen will appear if a supporting clause is absent Enter an additional clause or a new SQL statement (optional ) SELECT DEPARTMENT, NAME FROM DEPARTMENT ENTER "WHERE/GROUP/HAVING/ORDER" CLAUSES OR AN SQL STATEMENT (optional) /WHERE AGY > “233”_________________________________________________________ ___________________________________________________________________________ CASE SENSITIVE(Y/N) N RRTID.......... MT DIVISION …......... Accounting DB2 SUBSYSTEM.. SSNT DB2 OWNER......... PRJ1 PRESS: ENTER TO PROCESS PF3 TO EXIT Clauses entered here are saved for the next access. A ‘/’ in the first position treats the line as a comment.
39
Scroll through the record, retrieve the next record or write records to a file ________ **********© R a p i d R e s e a r c h T o o l*********** _________ SCROLL ===> CSR Write Records thru Member: DB2OUT Accounting 02 columns. An '*' indicates column can be null Go to Rec 0020 Enter=Next, PF7=BWD, PF8=FWD, PF3=Exit LNG PRJ1.DEPARTMENT RECORD NUMBER 20,SSNT,RRRTID=MT,Maintenance 3 DEPARTMENT............ = G21 50 NAME................. = TRANSMUTATION |
40
Process host variables (QSQL or PF4) Command ===> QSQL Scroll ===> CSR 000099 * P R O C E D U R E D I V I S O N 000100 **************************************************************** 000101 PROCEDURE DIVISION USING JCL-PARM. 000102 000103 MOVE JCL-START TO WS-ABS. 000104 000105 INITIALIZE WS-MULTI-DEPT. 000106 C55 EXEC SQL 000108 DECLARE CR_070A ASENSITIVE SCROLL CURSOR 000109 WITH ROWSET POSITIONING FOR 000110 SELECT 000111 DEPARTMENT 000112, NAME 000113 FROM DEPARTMENT 000114 WHERE DEPARTMENT IN (:WS-DEPT1,:WS-DEPT2,:WS-DEPT3) 000117 ORDER BY DEPARTMENT 000118 END-EXEC. Note: RRT will not read beyond an END-EXEC so “C55” will stop at line 118 Full output listings can be used also as long as they are in edit mode. See Users guide for more options TSO QSQLB (not supported) will often work in browse mode. Place the Cursor right on the “EXEC SQL”. The full SQL statement must be visible.
41
Enter Host Variable Values R a p i d R e s e a r c h T o o l Host Variable Name Enter Host Variable Value :WS-DEPT1 __________________ ‘A55’________________________________________ :WS-DEPT2 __________________ ‘A09’________________________________________ :WS-DEPT3 __________________ ‘A66’________________________________________ _____________________________ ____________________________________________.... NOTE: 32 host variable limit. The last set of host variables are saved for the next access. See Users Guide
42
First part of the next three screens _______ **********© R a p i d R e s e a r c h T o o l*********** ________ SCROLL ===> CSR Write Records thru Member: DB2OUT Accounting 02 columns. An '*' indicates column can be null Go to Rec 0001 * PRJ1.DEPARTMENT RECORD NUMBER 1,SSNT,RRTID=MT, Maintenance 3 DEPARTMENT............ = A09 50 NAME................. = ELFRANKBEAU...Enter _______ **********© R a p i d R e s e a r c h T o o l*********** ________ SCROLL ===> CSR Write Records thru Member: DB2OUT Accounting 02 columns. An '*' indicates column can be null Go to Rec 0002 * PRJ1.DEPARTMENT RECORD NUMBER 2,SSNT,RRTID=MT, Maintenance 3 DEPARTMENT............ = A55 50 NAME................. = ALSEK/TATSHENSHINI RIVERS...Enter _______ **********© R a p i d R e s e a r c h T o o l*********** ________ SCROLL ===> CSR Write Records thru Member: DB2OUT Accounting 02 columns. An '*' indicates column can be null Go to Rec 0003 * PRJ1.DEPARTMENT RECORD NUMBER 3,SSNT,RRTID=MT, Maintenance 3 DEPARTMENT............ = A66 50 NAME................. = Frank’s Hot Dogs
43
Select SQL to Execute, QSQL or PF4 Command ===> QSQL Scroll ===> CSR 000101 PROCEDURE DIVISION USING JCL-PARM. 000102 000103 MOVE JCL-START TO WS-ABS. 000104 000105 INITIALIZE WS-MULTI-DEPT. 000106 CC EXEC SQL 000108 DECLARE CR_070A ASENSITIVE SCROLL CURSOR 000109 WITH ROWSET POSITIONING FOR 000110 SELECT * - - - - - - - - - - - - - - - - - - - 2 Line(s) not Displayed 000113 FROM DEPARTMENT 000114 ORDER BY DEPARTMENT CC END-EXEC. Note: SQL was modified. The 2 lines not displayed are not sent to DB2 The changes do not need to be saved before issuing QSQL or PF4
44
Save records 22 and 23 **********© R a p i d R e s e a r c h T o o l*********** SCROLL ===> CSR Write Records 22 thru 23 Member: DB2OUT Accounting 02 columns. An '*' indicates column can be null Go to Rec 0001 Enter=Next, PF7=BWD, PF8=FWD, PF3=Exit * PRJ1.DEPARTMENT RECORD NUMBER 1,SSNT,RRTID=MT, Maintenance 3 DEPARTMENT............ = A01 40 ADDRESS_LINE_1........ = PRJ1 BATCH CLIENT 40 ADDRESS_LINE_2........ = RRT BUILDING 40 ADDRESS_LINE_3........ = 20 CITY.................. = DEKALB 2 STATE................. = AK 5 ZIP_CODE.............. = 44444 4 ZIP_PLUS4............. = 3 COUNTY................ = 10 PHONE................. = 4154633868
45
Records saved to member DB2OUT EDIT TSOUSER.PRJ.RRT.WORK.PRJ1(DB2OUT) - 01.00 Columns 00001 00072 Command ===> Scroll ===> CSR ****** ***************************** Top of Data ****************************** 000001 LNG NAME -- Accounting,SSNT,MT PRJ1.DEPARTMENT Record number 22 000002 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 000003 3 DEPARTMENT............ = A04 000004 40 ADDRESS_LINE_1........ = 1112 CHILKOOT #115 000005 40 ADDRESS_LINE_2........ = 000006 40 ADDRESS_LINE_3........ = 000007 20 CITY.................. = DEKALB 000008 2 STATE................. = AK 000009 5 ZIP_CODE.............. = 97899 000010 4 ZIP_PLUS4............. = 000011 3 COUNTY................ = 000012 10 PHONE................. = 9162413816... 000053 LNG NAME -- Accounting,SSNT,MT PRJ1.DEPARTMENT Record number 23 000054 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 000055 3 DEPARTMENT............ = A05 000056 40 ADDRESS_LINE_1........ = 3211 ALSEK REVERE 000057 40 ADDRESS_LINE_2........ = ROOM 207-B 000058 40 ADDRESS_LINE_3........ = 000059 20 CITY.................. = DEKALB 000060 2 STATE................. = AK 000061 5 ZIP_CODE.............. = 97899 000062 4 ZIP_PLUS4............. = 000063 3 COUNTY................ = 000064 10 PHONE................. = 9164766252... ~~~~~~~~~~~~~~~~~~~~~~~~~ SQL SENT TO DB2 ~~~~~~~~~~~~~~~~~~~~~~~~~ SELECT * FROM PRJ1.DEPARTMENT ORDER BY DEPARTMENT ~~~~~~~~~~~~~~~~~~~~~~~~~~~ END OF SQL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ REC REQUEST: 22-23
46
Mapping Map a column position to a COBOL field name
47
Edit a flat file, position cursor, enter QMAP EDIT TEST.PRJ1.MAIN.ENT.G5848V00 Columns 00001 00072 Command ===> QMAP Scroll ===> CSR COL #45 000001 QUICKENED12WW76XX000SOTRBALLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 000002 QUICKENED12WW76XX097HOTRBALLOON2525141414 PHD A17 04101130351535 000003 QUICKENED12WW76XX155HOTRBALLOON2525141414 PHD A17 04202130415495 000004 QUICKENED12WW76XX163HOTRBALLOON2525141414 PHD A17 03741130420015 000005 QUICKENED12WW76XX196HOTRBALLOON2525141414 PHD A17 04561130434680 000006 QUICKENED12WW76XX197HOTRBALLOON2525141414 PHD A17 04561130434680 000007 QUICKENED12WW76XX214HOTRBALLOON2525141414 PHD A17 00518130446550 000008 QUICKENED12WW76XX215HOTRBALLOON2525141414 PHD A17 00518130446550 000009 QUICKENED12WW76XX216HOTRBALLOON2525141414 PHD A17 00518130446550 000010 QUICKENED12WW76XX217HOTRBALLOON2525141414 PHD A17 00518130446550 000011 QUICKENED12WW76XX218HOTRBALLOON2525141414 PHD A17 00518130446550 000012 QUICKENED12WW76XX219HOTRBALLOON2525141414 PHD A17 00518130446550 000013 QUICKENED12WW76XX220HOTRBALLOON2525141414 PHD A17 00518130446550 000014 QUICKENED12WW76XX221HOTRBALLOON2525141414 PHD A17 00518130446550 000015 QUICKENED12WW76XX222HOTRBALLOON2525141414 PHD A17 00518130446550 000016 QUICKENED12WW76XX223HOTRBALLOON2525141414 PHD A17 00518130446550 000017 QUICKENED12WW76XX224HOTRBALLOON2525141414 PHD A17 00518130446550 Note: QMAP with no parameters displays the cursor position column number
48
Map the cursor position to a COBOL field EDIT TEST.PRJ1.MAIN.ENT.G5848V00 Columns 00001 00072 Command ===> QMAP GAMRIT Scroll ===> CSR ****** ***************************** Top of Data ****************************** 000001 QUICKENED12WW76XX000SOTRBALLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 000002 QUICKENED12WW76XX097HOTRBALLOON2525141414 PHD A17 04101130351535 000003 QUICKENED12WW76XX155HOTRBALLOON2525141414 PHD A17 04202130415495 000004 QUICKENED12WW76XX163HOTRBALLOON2525141414 PHD A17 03741130420015 000005 QUICKENED12WW76XX196HOTRBALLOON2525141414 PHD A17 04561130434680 000006 QUICKENED12WW76XX197HOTRBALLOON2525141414 PHD A17 04561130434680 000007 QUICKENED12WW76XX214HOTRBALLOON2525141414 PHD A17 00518130446550 000008 QUICKENED12WW76XX215HOTRBALLOON2525141414 PHD A17 00518130446550 000009 QUICKENED12WW76XX216HOTRBALLOON2525141414 PHD A17 00518130446550 000010 QUICKENED12WW76XX217HOTRBALLOON2525141414 PHD A17 00518130446550 000011 QUICKENED12WW76XX218HOTRBALLOON2525141414 PHD A17 00518130446550 Usage: This flat file reflects copy book GAMRIT. The current RRTID,”MT”, and the column number at the cursor position will be passed to QMAP. “QMAP GAMRIT MT 50” will be sent QMAP GAMRIT PR would be entered if the Production version (PR) of the copybook was desired (See user Guide)
49
Show length, type, offsets and name of all COBOL fields that touch that column VIEW TSOUSER.COLS.OFF7406.GAMRIT Columns 00001 00072 Command ===> Scroll ===> CSR ****** ***************************** Top of Data ****************************** 000001 PARMS SENT: GAMRIT MT 50 000002 DSN=TEST.MVS.MAINT.PRJ11.BASE.COPYSRCE(GAMRIT) 000003 @ = 01 LEVEL D = OBJECT OF OCCURS DEPENDING 000004 O = HAS OCCURS CLAUSE R = REDEFINES * = EXACT MATCH 000005 OG= GRP HAS LNGTH DEF E = EXTERNAL G = GLOBAL V=BLV CELL 000006 MEMBER LENGTH: 2200 BYTES, RRTID=AA 000007 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 000008 LEN TYPE BEG END FIELD-NAME 000009 COL COL 000010 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 000011 00003 DISPLAY.....*00050 00052 GA-DEPARTMENT 000012 00002 DISPLAY..... 00049 00050 GA-FUEL-CLASS 000013 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 000014 **$_$_$_$_ END OF REPORT _$_$_$_$** GA_DEPARTMENT was at the cursor position on column 50 An asterisk denotes an exact match of cursor position and beginning column number Usage: QMAP GAMRIT with no cursor positioning will produce a COBOL field offset Report. See User guide for more options
50
Intelligent Compare RRT remembers libraries and migration paths. Now it can: Compare the first two occurrences of a member along an migration path Compare first occurrence in two separate paths. Compare using specific library overrides
51
TSO QCMPR © R a p i d R e s e a r c h T o o l Command ===> LP3 C o m p a r e M e m b e r s Enter the following: WEDNESDAY JAN 7, 2007 05:46:44 Member name old....... ===> YEMD501 Member Member name new....... ===> Use if different member name Old RRTID....... ===> MT ( PR MT Q1 DV FR SP New RRTID....... ===> TN FH AA BB ) SRC/COPY/JCL/PROC/CNTL.. ===> S/C/J/P/N Compare type....... ===> D C/D Change, Delta Override LIB old:_________________________________________ Override LIB new:_________________________________________ Display Settings for RRTID: __ ( PR MT Q1 DV FR SP TN FH AA BB ) PRESS: ENTER to process PF3 to exit Compare the first two occurrences of member YEMD501 along the MT migration/search path. The type, SRC/COPY/JCL/PROC/CNTL, can usually be determined unless the same name exists for two different types.
52
Compare member changes along migration path EDIT TSOUSER.PRJ.#LIJST Columns 00001 00072 Command ===> Scroll ===> CSR ****** ***************************** Top of Data ****************************** 000001 1 ISRSUPC - MVS/PDF FILE/LINE/WORD/BYTE/SFOR COMPARE UTILITY- ISPF 000002 NEW: TEST.MVS.QUALTY.PRJ11.PRGMSRCE(YEMD501) OLD: CPRD. 000003 000004 LISTING OUTPUT SECTION (LINE COMPARE) 000005 000006 ID SOURCE LINES 000007 ----+----1----+----2----+----3----+----4----+----5----+----6----+-- 000008 000009 I - * 000010 I - * AC5966 05/08/2008 000011 I - * MODIFY LATENT FUEL CONSUMPTION ALGORITHMS FOR QUATERNION AXIS 000012 PRECESSION 000013 ____________________________________________________________________ NEW RRTID IS BLANK; OR EQUAL TO OLD RRTID.-- COMPARE THE FIRST TWO | OCCURENCES ALONG THE RRTID 'MT' PATH: MT Q1 PR | -EOM- | ____________________________________________________________________
53
TSO QCMPR © R a p i d R e s e a r c h T o o l Command ===> LP3 C o m p a r e M e m b e r s Enter the following: WEDNESDAY JAN 7, 2012 05:46:44 Member name old....... ===> YEMD501 Member Member name new....... ===> Use if different member name Old RRTID....... ===> MT ( PR MT Q1 DV AS FR SP PY New RRTID....... ===> TN FH AA BB ) SRC/COPY/JCL/PROC/CNTL.. ===> N S/C/J/P/N Compare type....... ===> D C/D Change, Delta Override LIB old: TEST.OLD.LIB____________________________ Override LIB new: /yyy.yyyy.yyyyy.yyyy____________________ Display Settings for RRTID: _ ( PR MT Q1 DV AS FR SP PY TN FH AA BB ) PRESS: ENTER to process PF3 to exit Compare CNTL type A slash (/) de-activates the override. When a full library is used the type is required SRC/COPY/JCL/PROC/CNTL. See Users Guide
54
TSO QCMPR © R a p i d R e s e a r c h T o o l Command ===> LP3 C o m p a r e M e m b e r s Enter the following: WEDNESDAY JAN 7, 2012 05:46:44 Member name old....... ===> YEMD501 Member Member name new....... ===> Use if different member name Old RRTID....... ===> MT ( PR MT Q1 DV AS FR SP PY New RRTID....... ===> TN FH AA BB ) SRC/COPY/JCL/PROC/CNTL.. ===> S/C/J/P/N Compare type....... ===> D C/D Change, Delta Override LIB old:_________________________________________ Override LIB new:_________________________________________ Display Settings for RRTID: MT ( PR MT Q1 DV AS FR SP PY TN FH AA BB ) PRESS: ENTER to process PF3 to exit List settings for the MT
55
“MT” Settings © R a p i d R e s e a r c h T o o l COMMAND ===> SCROLL ===> CSR LP3 PF7/PF8/PF3 MAINTENANCE: SETTINGS RRTID=MT,SEARCH PATH=MT Q1 PR TSOUSER.PRJ.RRT.WORK.PRJ1(@@CONFIG) PROGRAM CONCATENATIONS TEST.MVS.MNTCE.PRJ11.PRGMSRCE TEST.MVS.MNTCESTG.PRJ11.PRGMSRCE TEST.MVS.QUALTY.PRJ11.PRGMSRCE PROD.MVS.PROD.PRJ11.PRGMSRCE SYS7.T96.CIC.R410.PRD.SOURCE COPYBOOK CONCATENATIONS TEST.MVS.MNTCE.PRJ11.BASE.COPYSRCE TEST.MVS.MNTCESTG.PRJ11.BASE.COPYSRCE TEST.MVS.QUALTY.PRJ11.BASE.COPYSRCE PROD.MVS.PROD.PRJ11.BASE.COPYSRCE JCL PROCLIB CONCATENATIONS SYS1.MVS.MMNTCE.PROCLIB TEST.MVS.MNTCESTG.PRJ11.PROC.JCL Several pages follow that will show compilers, pre-compilers, DB2 info, Parms overrides, etc. There are at least four different ways to produce this report. See User Guide
56
Intelligent Search Specify a library RRT environment Full migration path Search up to four strings Supports cursor positioning
57
TSO QFIND The RRT Search Facility knows the library names and the migration paths © R a p i d R e s e a r c h T o o l Command ===> Assets S e a r c h F a c i l i t y RRTID ===> __ Select RRTID from the list below: Case Sensitive N ( PR MT MH AC DV ) Search Source Libraries........ =====> N Y/N Programs, maps Search Copy Libraries........ =====> N Y/N Copybooks Search PROC Libraries........ =====> N Y/N JCL PROCS Search JCL Libraries........ =====> N Y/N Other JCL Search Misc Libraries........ =====> N Y/N Misc/Cntl Search complete migration path. =====> N Columns: ________ (1:80) Preview inferred libraries..... =====> N Y/N Search String 1: ____________________________________________________ Search String 2: ____________________________________________________ Search String 3: ____________________________________________________ Search String 4: ____________________________________________________ Library Override: ____________________________________________________ PRESS: ENTER to process PF3 to exit *Preview inferred libraries supports de-selection of libraries Concatenation of up to 20 libraries only (See user’s guide) Product is Assets and the project levels are PR MT MH AC DV. This is a highly used feature of RRT.
58
The main search panel can be bypassed. Command ===> TSO QFIND SPPJSCN SBGH501 ISRSUPC - MVS/PDF FILE/LINE/WORD/BYTE/SFOR COMPARE UTILITY LINES-FOUND LINES-PROC MEMBERS-W/LNS MEMBERS-WO/LNS COMPARE-COLS 67 356844 21 946 1:80 PROCESS OPTIONS USED: ANYC NOSEQ SDUPM STATEMENTS (USING COLUMNS 1:72) WERE PROCESSED: SRCHFOR 'SBGH501' THE FOLLOWING "SRH" FILE CONCATENATED DATA SETS WERE SPECIFIED: (1) SYS0.AGY.SPSTAGE.PROCLIB (2) BTST.CLN.SPSTAGE.FOOT1.JCL (3) BTST.CLN.SPSTAGE.FOOT1.PRGMSRCE (4) BTST.CLN.SPSTAGE.FOOT1.BASE.COPYSRCE (5) BTST.CLN.SPSTAGE.FOOT1.CNTL Usage: SPPJSCN is an compressed first parameter that is needed to conserve space. SP=RRTID, P=PROCLIB, J=JCL libs, S=Source libs, C=Copy libs, N=Cntl/Misc libs The single character library references (P, J, S, C, N) can be specified in any order, any of them can be omitted. The word at the cursor is used when no search string is sent ( See User’s Guide)
59
Search a specific PDS LP3 ISPF Development Primary Option Menu Option ===> TSO QFIND TSOUSER.PRJ.SRC PARSE 0 Settings Terminal and user parameters 1 View Display source data or listings January 2012 2 Edit Create or change source data Su Mo Tu We Th Fr Sa 3 Utilities Perform utility functions 1 2 3 6 Command Enter TSO or Workstation commands 4 5 6 7 8 9 10 7 Dialog Test Perform dialog testing 11 12 13 14 15 16 17 J (E)JES (E)JES JES3 Spool Maint Facility 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Note: Search TSOUSER.PRJ.SRC for the word “PARSE” If no search string is sent, QFIND will use the word at the cursor position as the search string. (See Users Guide)
60
TSO HELPRRT or HELPRRT from an edit session =======================R R T F u n c t i o n s=========================== COMMAND ===> SCROLL ===> CSR More... PF7/PF8/PF3 Place cursor under the desired command and hit 'ENTER' Alias Command Description QACCESS @RRUSER Division Access Control QRRT @RRCNFG Set/Display Division environments QENV QENV QUERY Environments QCOLS @COBCOLS Show copybook field displacements QFIND @RRFIND Intelligent Search QCMPR @RRCMPR Intelligent Compare QEZCOB @RREZCOB Create EZtrieve layout HELPRRT from edit mode(no TSO prefix). QCOMPILE can be cursor selected. Alias Macro Description QCOMPILE @RRCOMP Compile a program QCCOPY @RRCMPCP Compile a copybook or Selected WS QCOMPGO @RRCMPGO Compile, Execute (small test program) QSQL @COB2DB2 Execute SQL from COBOL source QMAP @DSPCOL Map a file column to a copybook For a quick reference, display the list of RRT commands
61
End of Overview
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.