RTPA for IBM z Systems Enterprise COBOL

4
T H E P O W E R O F K N O W I N G TRIPLE ADDED VALUE, CAPABILITY, AND PRODUCTIVITY. Real-time understanding of your technology and business data, right now. Unlock the mysteries of the entire crucial corporate software asset to executive management Simplify and speed information technology development; dramatically reduces effort, time and IT costs Provide “Just give me the answer, now” real-time focused answers without human research and presence Protect the company from critical knowledge loss when your best people leave or retire Enable rapid application development, testing, QA, support, maintenance, auditing and greatly reduce errors RTPA for IBM z Systems Enterprise COBOL RTPA is currently available on the IBM i System for COBOL, RPG, and CL (JCL), and is being bridged to the IBM System z to achieve the same benefits. RTPA provides real-time analytics and a permanent audit log, and provides irrefutable answers to what is actually happening inside the computer. Like a video recording, RTPA records all programs executing inside the computer, including the contents of variables and a timestamp, without human presence or intervention. RTPA documents source programs to simplify and enhance developer and management understanding, protecting the crucial corporate software asset. RTPA audits both in-house and vendor-supplied source programs. RTPA Query provides analytics of executing programs and can sequence all program audit output by the moment-in-time the computer actually executed the statement. I wish IBM would make this product part of the base OS.Don Rima, Editor iSeries Magazine 3.835 out of 4

Transcript of RTPA for IBM z Systems Enterprise COBOL

T H E P O W E R O F K N O W I N G

TRIPLE ADDED VALUE, CAPABILITY, AND PRODUCTIVITY.

Real-time understanding of your technologyand business data, right now.

Unlock the mysteries of the entire crucial corporate software asset to executive management

Simplify and speed information technology development; dramatically reduces effort, time and IT costs

Provide “Just giveme the answer, now” real-time focused answers without human research and presence

Protect the company from critical knowledge loss when your best people leave or retire

Enable rapid application development, testing, QA, support, maintenance, auditing and greatly reduce errors

RTPA for IBM z Systems Enterprise COBOLRTPA is currently available on the IBM i System for COBOL, RPG, and CL (JCL), and is being bridged to the IBM System z to achieve the same benefits.

RTPA provides real-time analytics and a permanent audit log, and provides irrefutable answersto what is actually happening inside the computer.

Like a video recording, RTPA records all programs executing inside the computer, including the contentsof variables and a timestamp, without human presence or intervention.

RTPA documents source programs to simplify and enhance developer and management understanding, protecting the crucial corporate software asset.

RTPA audits both in-house and vendor-supplied source programs.

RTPA Query provides analytics of executing programs and can sequence all program audit output by the moment-in-time the computer actually executed the statement.

“I wish IBM would make this product part of the base OS.”

Don Rima, EditoriSeries Magazine

3.835 out of 4

Minimum IBM z System RequirementsIBM z System with IBM Enterprise COBOL for z/OS and JCL

Pricing and Ordering InformationPricing for licensing Harkins & Associates, Inc.’s intellectualproperty and consulting services will be determined asagreed.

More information on the RTPA IBM i products is available on the IBM i Global Solutions Directory, from Harkins & Associates, Inc.

@ 2018 by Harkins & Associates, Inc. All rights reserved

1. Enhanced Productivity and Reduced Operating CostsThe use of RTPA will enable cost savings by greatly speeding the mastery and utilization of large and complex programs and reducing programmer orientation and training time. IT developers, QA, testers, and others can expect to simplify their jobs and reduce errors thereby quickly tripling their capability and productivity. RTPA also greatly reduces the need for complex coding skills and knowledge of the source program and applications, as RTPA logs exactly what is actually executing in the program. It eliminates catastrophic guessing and speculation of what is executing inside the computer, and virtually eliminates the need to recreate error conditions and use developer interactive debugging, all of which cost time and money.

2. Advanced Real-Time Analytics and InsightsRTPA enables unattended real-time source program auditing, recording, and data analytics by providing a video camera like recording of exactly what is happening inside the computer, in real time. The ability to see exactly what is happening inside large and complex source programs reduces stress on developers, executive and IT management, users, and dramatically increases IT staff and system productivity. RTPA demysti�es complex source code and complex applications for all who utilize it, in all stages of program development, testing and maintenance.

3. Supports InnovationRTPA dramatically improves the speed and quality of programming and DevOps activities such as program development, testing, QA, and related implementation, support, and operations using its unique and patented real-time analytics functionality. This radically simpli�es program development while reducing or eliminating complex time consuming and now needless work like using interactive debug and guessing.

4. Positive Customer ExperienceAn enterprise’s customer base will immediately bene�t from the use of RTPA as real-time system errors and problems can be resolved with enhanced speed. RTPA provides the exact problem issue audit, and provides for real-time analytics and correction. Developers become smarter and more capable by enabling them to identify and address issues affecting customers in real-time, leading to greater customer satisfaction.

5. Enhanced Security and Enterprise StabilityRTPA creates a secure recording of all source program output, providing an immutable source program activity log. This security-camera like functionality produces a backup of all source program activity, protecting your enterprise from system failures, and providing stability and program-knowledge protection in the case of staff turnover.

CONTACT:

Harkins & Associates, Inc. 816 Daisy Lane, West Chester PA 19382 USA

www.realtimeprogramaudit.com

Dr. Suzanne A. Harkins, CEO: [email protected] Phone (London, UK): +44 747 341 9768

Paul H. Harkins: [email protected] Phone (Philadelphia, USA): +1 610 431 1755

BENEFITS

THE POWER OF KNOWING

HOW THE REAL-TIME PROGRAM AUDIT (RTPA) WORKS

Select the IBM i ILE COBOL source program to be enhanced with RTPA auditing

Figure 1 – Select ILE COBOL source program GETXPSH in file QCBLLESRC in Library Z$AUDIT

Press command 10 to submit COBOL program GETEXPSH for expansion with RTPA auditing statements

The IBM i developer enters the RTPA command RTPACO to enable the COBOL source program with RTPA auditing capability (Figure 1).

The input COBOL source program is compiled (Figure 2) and checked for successful compilation, and the COBOL input program compile listing is used, with RTPA expansion options, like audit statement comments and timestamp statements, and RTPA audit statements are added to a COPY of the input source program in file QCBLLESRC in library Z$AUDITE.

Figure 2 – Input COBOL source program GETEXPSH compile listing

COBOL source statements 530 through 546 are illustrated

THE POWER OF KNOWING

Z$COB01R Real-Time Program Audit for COBOL (V5R1) Date 2/15/18 PHH Select Program to Audit Time 16:55:36 Type choices, press F10. Serial 1034F0C Model 525 Input Source Member Name. . . GETEXPSH Name, generic*, *ALL, F4=List File Name . . . . . . . . . QCBLLESRC Name Library Name. . . . . . . . Z$AUDIT Name Object to Library . . . . . . Z$AUDITE Name Create As . . . . . . . . . . *PGM *PGM, *MOD Audit comments Y Audit File Outq . . . . . . . *SAME Name, *SAME Audit copybooks N JOBD for pgm compile libl . . *LIBL *LIBL, JOBD Audit Timestamp N Library Name. . . . . . . . Name Document Only N Audit Compile Listing Stmts . to 1-99999 (Only) to Audit to Disk N to CBL and CBLLE source programs are to compiled as CBLLE with expanded to source in QCBLLESRC in Z$AUDITE F2=Watch Variables F3=Exit F5=Refresh F6=Auditing Options F7=Compile Options F8=Conditional Auditing F9=Maintenance Menu F10=Submit Expand F24=More Keys (C) 2016 Harkins & Associates, Inc.

Display Spooled File File . . . . . : GETEXPSH Page/Line 21/59 Control . . . . . Columns 1 - 78 Find . . . . . . TORDER *...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+... * TEST ARITHMETICS 530 COMPUTE TORDER = 1500. 531 COMPUTE IORDER = 78.543. * value of iorder has now been computed 532 COMPUTE XORDER = TORDER + 13.45 + 28.2 + IORDER. 533 ADD 123.45 TO FIELD-AAA. 534 ADD 7689 TO FIELD-BBB. 535 ADD 543.21 TO FIELD-III. 536 ADD 123.45 TO AA. -------- ------- 542 SUBTRACT FIELD-BBB FROM FIELD-AAA GIVING FIELD-CCC. 543 MULTIPLY FIELD-AAA BY FIELD-BBB GIVING FIELD-FFF. * 544 MULTIPLY FIELD-AAA BY FIELD-BBB GIVING FIELD-FFF ROUNDED. * 545 DIVIDE FIELD-III BY FIELD-AAA GIVING FIELD-EEE. * * TEST REMAINDER 546 DIVIDE FIELD-III BY FIELD-AAA GIVING FIELD-EEE REMAINDER FIELD-FFF.

CONTACT:

Harkins & Associates, Inc. 816 Daisy Lane, West Chester PA 19382 USA

www.realtimeprogramaudit.com

Dr. Suzanne A. Harkins, CEO [email protected] Phone (London, UK): +44 747 341 9768

Paul H. [email protected] Phone (Philadelphia, USA): +1 610 431 1755

Pricing and Ordering Information

The Real-Time Program Audit (RTPA) is a patented software utility productivity tool. See the www.realtimeprogramaudit.com web site for additional information, pricing, terms and conditions, and to license the Real-Time Program Audit software.

More information available in the IBM Global Solutions Directory, from Harkins & Associates, Inc.

@ 2018 by Harkins & Associates, Inc. All rights reserved

HOW THE REAL-TIME PROGRAM AUDIT (RTPA) WORKS

Figure 3 – Input IBM i ILE COBOL source program GETEXPSH compile listing file and variable information (Data Division Map) needed for RTPA expansion with auditing statements

The RTPA expanded source program (Figure 3) is created in file QCBLLESRC in library Z$AUDITE (developer work library) and the RTPA audit enabled object program is created in library Z$AUDITE (work library), ready for testing.The RTPA enabled COBOL program GETEXPSH object program is created in library Z$AUDITE. (Note: RTPA does not change the input source program or the production object program.)

Test COBOL expanded source program GETEXPSH with RTPA audit logging.Test the RTPA enabled COBOL object program GETEXPSH in library Z$AUDITE.

CALL Z$TEST1 (CLP Z$TEST1 CALLS COBOL OBJECT PROGRAM GETEXPSH (Figure 4).

THE POWER OF KNOWING

Display Spooled File File . . . . . : GETEXPSH Page/Line 40/39 Control . . . . . Columns 1 - 78 Find . . . . . . *...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+... 065100* END OF PROGRAM GETEXPSH * 065200******************************************************** * * * * * E N D O F S O U R C E * * * * * 5722WDS V5R4M0 060210 LN IBM ILE COBOL QTEMP/GETEXPSH D a t a D i v i s i o n M a p STMT LVL SOURCE NAME SECTION DISP LENGTH TYPE A 35 FD DISPLAY-FILE FS D T C 36 01 DISPLAY-REC FS 00000000 69 GROUP 37 05 GETEXPDSC-RECORD FS 00000000 69 AN 38 05 GETEXPD1-I FS 00000000 12 GROUP R 39 06 KORDER FS 00000000 7 ZONED 40 06 KLINE FS 00000007 5 ZONED 41 05 GETEXPD1-O FS 00000000 24 GROUP R 42 06 KORDER FS 00000000 7 ZONED

First statement executed 509 PERFORM 100000-INIT-PARA THRU 100099-INIT-PARA-EXIT Last statement executed 514 STOP RUN

Figure 4 – RTPA Audit recording of IBM i ILE COBOL program GETEXPSH auditing of every program statement actually executed execution including contents of all variables in executing statements (and optional timestamp of the moment-in-time the statement was executed

Display Spooled File File . . . . . : ZZAUDITP Page/Line 1/2 Control . . . . . Columns 1 - 78 Find . . . . . . *...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+... Program-GETEXPSH Get Expected Ship Date (Order Detail) ILE COBOL Obj Lib Job: 684827 User Profile: PHH Source Type: CBLLE STMT SEQNBR -A 1 B..+....2....+....3....+....4....+....5....+....6....+....7 000000-START SECTION. 000000-STARTUP. 509 PERFORM 100000-INIT-PARA THRU 100099-INIT-PARA-EXIT. 100000-INIT-PARA. *** INITIALIZE W-S & OPEN FILES *** 515 MOVE SPACES TO WS-FLAG-AREA WS-DSPLAY-FORMAT-NAME. 516 MOVE "GETEXPSH" TO FATLERR-PROGID. GETEXPSH 517 MOVE "OPEN" TO FATLERR-OPERATION. OPEN ------------- ------------ * TEST ARITHMETICS 530 COMPUTE TORDER = 1500. 1500 531 COMPUTE IORDER = 78.543. 78.543 * value of iorder has now been computed 532 COMPUTE XORDER = TORDER + 13.45 + 28.2 + IORDER. 1620.19 1500 78.543 533 ADD 123.45 TO FIELD-AAA. 123.45 534 ADD 7689 TO FIELD-BBB. 7689 535 ADD 543.21 TO FIELD-III. 543.21 536 ADD 123.45 TO AA. 123.45 ----------- ------------ 542 SUBTRACT FIELD-BBB FROM FIELD-AAA GIVING FIELD-CCC. 7689 123.45 7565.55- 543 MULTIPLY FIELD-AAA BY FIELD-BBB GIVING FIELD-FFF. 123.45 7689 949207.05 544 MULTIPLY FIELD-AAA BY FIELD-BBB 123.45 7689 ---------- ------------- *** TEMPLATE SCREEN *** 512 MOVE "CLOSE" TO FATLERR-OPERATION. CLOSE 513 CLOSE ORDERDE CUSTMAST

PRTFILE DISPLAY-FILE. * EXIT PROGRAM. 514 STOP RUN.