1 / 51

The Easy Way to Faultless JCL

Table of Contents . Edit Macro. Check File Allocations. Introduction. REXX Interface. Reformat. Scheduler Interfaces. Remote Check. Change Facility. Rule Dialog. Why checking JCL? . 1% - 10% of production errors are still caused by incorrect JCLProduction JCL cannot be tested 100% without a JCL che

clint
Download Presentation

The Easy Way to Faultless JCL

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


    2. Table of Contents

    3. Why checking JCL? 1% - 10% of production errors are still caused by incorrect JCL Production JCL cannot be tested 100% without a JCL checker It is much more cheaper to fix problems in advance than during production!

    4. Benefits of SmartJCL SmartJCL checks JCL SmartJCL formats JCL SmartJCL has many additional functions like REXX interface Scheduler interface Remote check

    5. JCL Validation SmartJCL checks JCL syntax SmartJCL checks dataset allocations SmartJCL checks if DB2 subsystems are available SmartJCL checks if program, dataset or proc exists SmartJCL checks syntax of most common utility programs SmartJCL substitutes scheduler variables before the check

    6. Edit Macro Interface

    7. Edit Macro Interface

    8. Check File Allocations, Example

    9. GDG processing

    10. Utilities

    11. DB2 Programs

    12. Recall Commands

    13. Reformat

    14. Reformat

    15. Reformat The positions of keyword, value and continuation line can be specified individually for each JCL parameter Flexible handling of comments Reformats IF/ELSE statements

    16. SRI – SmartJCL REXX Interface SRI allows to access all JCL statements for verification and modification by writing simple REXX code SRI contains special functions to access JCL constructs easily, e.g. if qualifier("USER.PROD.CNTL",LAST)="CNTL"... SRI contains functions to delete, insert or modify all statements, even complete steps can be inserted automatically! SRI is a powerful tool to simplify JCL handling, e.g. to implement a “JCL quality insurance system”, or to migrate your complete JCL.

    17. REXX Interface

    18. REXX Interface

    19. Rule Dialog Every site has individual rules, e.g. „UNIT must be SYSDA in SORT step“ Up to now such checks required usage of SmartJCL‘s REXX interface The dialog enables non-programmers to specify complex rules by using a simple ISPF dialog See dialog on next slides

    20. List of Rules

    21. Modify Rule

    22. Rule Dialog Workflow Admin creates rule by using ISPF dialog Admin saves rules to a file (XML) Admin invokes code generator Code generator reads rules Code generator generates SmartJCL REXX code The REXX code can be used “as it is”

    23. Rule Dialog vs. “hand written” REXX Rule Dialog is good for anybody that cannot write REXX Rule Dialog is good if only “simple” rules should be checked “hand written” REXX is better for complex checks, e.g. : Complex AND/OR constructions Access ISPF- or even DB2 tables from SRI REXX

    24. Change Facility CHANGE PARM=DSN,VALUE=PROD*,NEWVAL=TEST* DELETE PARM=UNIT DELETE JOB=ABC%,PGM=IDCAMS,PARM=UNIT,VALUE=TAPE4

    25. Remote Check Simplifies checking JCL from the test system against the production libraries on the production system. Errors can be corrected easily because they are found before the JCL is transferred to the production system. It also avoids to transfer JCL manually to the remote system, logon to that system and check it locally at this system. Uses standard TCP/IP architecture Simple TCP/IP protocol (no Framework, no APPC, no VTAM, no SNA) Easy to install

    26. Remote Check The ISPF dialog The ISPF dialog allows you to select jobs by name, by range or by JOBLIST. Edit macro This option is useful for checking new or modified jobs immediately before a manual submit.

    27. Remote Check via ISPF dialog

    28. Remote Check via Edit Macro

    29. Remote Check - Result

    30. Remote Check Overview

    31. Scheduler Interfaces

    32. TWS Interface Select jobs to be checked by Application Id, Owner Id, Input Arrival etc. Display TWS info in JCL, e.g. Application id, Predecessors, Successors, and Special Resources Simulate variable substitution Check JCL in production sequence to simulate catalog actions Several check modes allow to check the complete production in advance without any impact to TWS

    33. TWS Interface - ISPF Dialog

    34. Display TWS Information in JCL

    35. TWS Interface - ISPF Dialog

    36. TWS Variables

    37. TWS Variables

    38. TWS Variables

    39. TWS Variables

    40. TWS Variables

    41. TWS Variables in Scripts

    42. TWS Variables in Scripts

    43. Checking Jobs in Production Sequence

    44. Control-M Interface Simulate Control-M variable substitution (AUTO-Edit Funktion) Select the jobs to be checked by Table, Group, Application etc.

    45. Control-M ISPF Dialog

    46. Control-M ISPF Dialog

    47. Control-M ISPF Dialog

    48. Control-M Variables

    49. Control-M Variables

    50. Control-M Variables

    51. Any Questions about SmartJCL?

More Related