WHEN TITLE IS NOT A QUESTION N O ‘WE CAN’ WHEN TITLE IS NOT A QUESTION N O ‘WE CAN’ WHEN TITLE IS NOT A QUESTION N O ‘WE CAN’ CA 2E r8.5 – An Overview.

Slides:



Advertisements
Similar presentations
AllFusion ® 2E r8.1 in Action Rory Hewitt Computer Associates San Francisco, CA Session: 2L (10:00am Friday April 29 th 2005)
Advertisements

DIGIDOC A web based tool to Manage Documents. System Overview DigiDoc is a web-based customizable, integrated solution for Business Process Management.
Overview and Demonstration of declarative workflows in SharePoint using Microsoft SharePoint Designer 2007 Kevin Hughes MCT, MCITP, MCSA, MCTS, MCP, Network+,
Paperless Online Payroll, Integrated HR & Report Generating System.
Tutorial 8: Developing an Excel Application
Chapter 5 Data Management. – The Best & Most Convenient Way to Learn Salesforce.com 2 Objectives By the end of the module, you.
Lecture 1 Introduction to the ABAP Workbench
DESIGNING A PUBLIC KEY INFRASTRUCTURE
Fundamentals, Design, and Implementation, 9/e Chapter 11 Managing Databases with SQL Server 2000.
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
 2006 Pearson Education, Inc. All rights reserved Introduction to Classes and Objects.
Guide To UNIX Using Linux Third Edition
Microsoft Visual Source Safe 6.01 Microsoft Visual Source Safe (MVSS) Presented By: Rachel Espinoza.
Tutorial 11: Connecting to External Data
5 Copyright © 2009, Oracle. All rights reserved. Defining ETL Mappings for Staging Data.
Microsoft Office Word 2013 Expert Microsoft Office Word 2013 Expert Courseware # 3251 Lesson 4: Working with Forms.
Professional Informatics & Quality Assurance Software Lifecycle Manager „Tools that are more a help than a hindrance”
Module 3: Table Selection
SMART Agency Tipsheet Staff List This document focuses on setting up and maintaining program staff. Total Pages: 14 Staff Profile Staff Address Staff Assignment.
Denise Luther Senior IT Consultant Practical Technology Enablement with Enterprise Integrator.
Product Enhancements. PDF Converter new! The WERCS PDF Converter is a new tool that makes publishing to PDF possible without the need for Adobe Distiller,
Open source administration software for education research administration Awards Module Susan Mundt, University of Arizona KCC Award Subcommittee Co-Lead.
Presented by: Katie Milanowski. 2  Formed in 1982  Bruce Barrington (HBO & Company)  Apply RAD technology to IBM PC  1986: Clarion Version 1.0, Atlanta,
What is Sure BDCs? BDC stands for Batch Data Communication and is also known as Batch Input. It is a technique for mass input of data into SAP by simulating.
Eric Westfall – Indiana University Jeremy Hanson – Iowa State University Building Applications with the KNS.
Summary Data Modeling SDLC What is Data Modeling Application Audience and Services Entities Attributes Relationships Entity Relationship Diagrams Conceptual,Logical.
WHEN TITLE IS NOT A QUESTION N O ‘WE CAN’ WHEN TITLE IS NOT A QUESTION N O ‘WE CAN’ WHEN TITLE IS NOT A QUESTION N O ‘WE CAN’ CA 2E r8.6 Technical Update.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Word Lesson 17 Customizing Settings Microsoft Office 2010 Advanced Cable / Morrison 1.
ICONICS ActiveX ToolWorX V 6.1.
Design and Programming Chapter 7 Applied Software Project Management, Stellman & Greene See also:
© Logicalis Group Using DB2/400 effectively. Data integrity facilities Traditional iSeries database usage Applications are responsible for data integrity.
Triggers A Quick Reference and Summary BIT 275. Triggers SQL code permits you to access only one table for an INSERT, UPDATE, or DELETE statement. The.
Microsoft ® Business Solutions–Navision ® 4.0 Development II - C/SIDE Solution Development Day 5.
Copyright © 2007 Vulcan Software LLC Introduction to Apex 9.5 Presented by Phil Kramer Vulcan Software LLC.
37 Copyright © 2007, Oracle. All rights reserved. Module 37: Executing Workflow Processes Siebel 8.0 Essentials.
Copyright © 2012 UNICOM Systems, Inc. Confidential Information z/Ware Product Overview illustro Systems International A Division of UNICOM Global.
What is a Package? A package is an Oracle object, which holds other objects within it. Objects commonly held within a package are procedures, functions,
© All rights reserved. U.S International Tech Support
DBT544. DB2/400 Advanced Features Level Check Considerations Database Constraints File Overrides Object and Record Locks Trigger Programs.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Master Data Management & Microsoft Master Data Services Presented By: Jeff Prom Data Architect MCTS - Business Intelligence (2008), Admin (2008), Developer.
LINCPlus Overview Complete binding preparation module includes features such as security, titles database, reports and job costing options. Integrated.
1 MSTE Visual SourceSafe For more information, see:
Differences Training BAAN IVc-BaanERP 5.0c: Application Administration, Customization and Exchange BaanERP 5.0c Tools / Exchange.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Chapter 11 Enhancing an Online Form and Using Macros Microsoft Word 2013.
Visual Basic for Application - Microsoft Access 2003 Finishing the application.
NSF DUE ; Wen M. Andrews J. Sargeant Reynolds Community College Richmond, Virginia.
1 Intro stored procedures Declaring parameters Using in a sproc Intro to transactions Concurrency control & recovery States of transactions Desirable.
Learningcomputer.com SQL Server 2008 –Views, Functions and Stored Procedures.
Oracle 10g Database Administrator: Implementation and Administration Chapter 10 Basic Data Management.
TEAM FOUNDATION VERSION CONTROL AN OVERVIEW AND WALKTHROUGH By: Michael Mallar.
Retele de senzori Curs 2 - 1st edition UNIVERSITATEA „ TRANSILVANIA ” DIN BRAŞOV FACULTATEA DE INGINERIE ELECTRICĂ ŞI ŞTIINŢA CALCULATOARELOR.
E Copyright © 2006, Oracle. All rights reserved. Using SQL Developer.
7.5 Using Stored-Procedure and Triggers NAME MATRIC NUM GROUP Muhammad Azwan Bin Khairul Anwar CS2305A Muhammad Faiz Bin Badrol Shah CS2305B.
C Copyright © 2009, Oracle. All rights reserved. Using SQL Developer.
Web Content And Customer Relationship Management Solution. Transforming web sites into a customer-focused, revenue generating channel with less stress.
Windows Communication Foundation and Web Services
SCC P2P – Collaboration Made Easy Contract Management training
SharePoint 101 – An Overview of SharePoint 2010, 2013 and Office 365
What’s New in ProMonitor 9
SharePoint Site Admin Training
Windows Communication Foundation and Web Services
James Blankenship March , 2018
5 Tips for Upgrading Reports to v 6.3
Automating and Validating Edits
Developing and testing enterprise Java applications
Chapter 11 Managing Databases with SQL Server 2000
Summary Data Modeling SDLC What is Data Modeling
Presentation transcript:

WHEN TITLE IS NOT A QUESTION N O ‘WE CAN’ WHEN TITLE IS NOT A QUESTION N O ‘WE CAN’ WHEN TITLE IS NOT A QUESTION N O ‘WE CAN’ CA 2E r8.5 – An Overview SAM April 16, 2012 Rory Hewitt – CA Technologies

SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. About the Speaker — Rory Hewitt − Software Architect for 2E team − Software developer for 17 years (14 with 2E development team) − Helped design some of the largest features in recent 2E history RPGIV generator, function wrappering & duplicate parameters, triggers − Competition-level snowboarder, boxer and karateka 2

SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. overview of r8.5 new functionality at r8.5 — Default templating — Trigger functions — Service program support questions agenda 3

SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. — Available since 2009 — Major release — Significant take-up by customer base — Most common release in use by far — 1 service pack available (8.5 SP1) plus multiple fixes overview of release 8.5 4

Default templating 5SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.

— Allows automatic use of a *Template function − New functions copied from *Template function — Include standard functionality on a function-type basis − Standard *MOVE ALL's in RTVOBJ (DB1.*ALL->PAR.*ALL) etc. − Common initialization functionality — Standardize parameters for function types − Include extra parameters by default − Use RCD instead of KEY for DBF functions (CHG/CRT/DLT/RTV) − Call another function within a CHGOBJ to load a field default templating 6

SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. Default RTVOBJ parameters – where are the non-key fields? 7

SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. Default RTVOBJ parameters - have to be changed for every RTVOBJ :( 8

SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. Create a RTVOBJ over the *Template file 9

Create some 'sensible' parameters (like the whole record format)... SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.10

...and return the non- key fields SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.11

Add in the standard *MOVE ALL's for 'record not found'... SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.12

...and 'record found' SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.13

...and set the 'Default prototype function' flag to 'Y'... SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.14

...(not forgetting to read what it does, of course!)... SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.15

Now create a new RTVOBJ function over your file... SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.16

...and note the new completion message (same as if F21 was used)... SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.17

...and see that the parameters are more useful... SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.18

...and correctly return the fields you want... SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.19

Trigger functions 20 SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.

— External 2E functions of type TRGFUN − Predefined parameters based on owning file − No default Action diagram code (like EXCEXTFUN) — 'Endpoint' for CA 2E trigger framework − Invoked when owning database file is updated by application Called directly in updating job (synchronous) Called via data queue server (asynchronous) — Can contain any processing (except updating owning file) trigger functions 21

...Create a trigger function (TRGFUN) over any file... SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.22

...and view the parameters (which are all read-only)... SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.23

1. *Trigger control data SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.24

SAM2012: April 16, 2012 Copyright © 2012 CA Technologies 'Old' record format

SAM2012: April 16, 2012 Copyright © 2012 CA Technologies 'New' record format

...and add some code to the function itself

SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. — Define triggering conditions for each Trigger function − Event (Insert, Delete, Update) − Time (After or before record update) − Commitment level — Use YCVTTRGDTA command to convert − Trigger control information converted to external (non-2E) format − Triggers added to *FILE object − Specify CA 2E Trigger Router (YTRIGGER) as trigger program — External trigger-related objects exist outside 2E model − Either *GENLIB or separate library trigger functions 28

Specify triggering conditions for each Trigger function... SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.29

...then convert trigger data to external format... SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.30

...then edit converted external trigger data and add triggers to PF(s) automatically SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.31

All 2E triggers call same 'trigger program', called YTRIGGER... SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.32

SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. — At runtime, file is updated by application program — OS Database Manager calls YTRIGGER (Trigger Router) — Trigger Router determines 2E Trigger function(s) to call — Either − Trigger Router calls 2E Trigger function(s) directly (synchronous) — Or − Trigger Router sends transaction information to Trigger Server − Trigger Server calls 2E Trigger function(s) (asynchronous) trigger functions 33

trigger functions – synchronous processing SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. Application Program Trigger Router TRGFUN *FILE File 1.Application program updates file 2.Database Manager (operating system) calls Trigger Router 3.Trigger Router calls 2E Trigger function(s)

SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. — Synchronous processing − Default option — Benefits − Can be used where application program should know about errors − Easy to debug (in same job as application program) − Simplest way to add functionality − Program-to-program call – less likelihood of problems — Drawbacks − Long-running processing will 'lock' application program trigger functions – synchronous processing 35

trigger functions – asynchronous processing SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. TRGUN Trigger Server 1.Application program updates file 2.DBM (OS) calls Trigger Router 3.Trigger Router sends data to Trigger Server (in different job) 4.Trigger Server calls 2E TRGFUN(s) Application Program Trigger Router *FILE File

SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. — Asynchronous processing − Non-default option – must be specifically chosen — Benefits − Can 'offload' long-running processing to separate job − Allows application program to continue − Least chance of problems showing up in application program − Can 'save' trigger processing for later time/date — Drawbacks − Errors in trigger function don't signal application program − Complex to test trigger functions – asynchronous processing 37

Service program support 38 SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.

Existing ILE Support ILE support prior to r8.5 — Some ILE support prior to r8.5 — Generation of ILE languages − RPGLE (introduced in Release 7.0) − CBLLE (introduced in Release 8.0) — Can define functions as PGM (*PGM) or MOD (*MODULE) — Modules not directly 'callable' − Must be 'bound' into calling program SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.39

PGM Function MOD Function calls *PGM objects gives us EditCustomerEditAccountEditVendor PromptDataValidateData ILE support prior to r8.5 EditCustomer PromptData ValidateData EditVendor PromptData ValidateData EditAccount PromptData SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.40

— Each *PGM contains a copy of each *MODULE it needs − Bind-by-copy — Benefits − Fewer runtime *PGM objects − Bound calls are quicker than program calls — Drawbacks − Large stand-alone multi-*MODULE *PGM objects − Change to bound module requires program update ILE support prior to r8.5 SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.41

— Ability to create service programs (*SRVPGM) − Consist of one or more modules − Accessed at runtime by programs — Programs no longer 'contain' modules − Bind-by-reference — Bound calls still faster than program calls — Module change only requires service program update − No change required to calling programs service program functionality at r8.5 SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. 42

PGM Function MOD Function calls gives us *PGM objects EditCustomerEditVendorEditAccount *SRVPGM object EditCustomerEditAccountEditVendor PromptDataValidateData DataFunctions PromptData ValidateData service program functionality at r8.5 SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.43

SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. Enhanced ILE Support — New "Service program" function type − Can be created over any model file — Fully integrated with existing model functionality − Impact Analysis − Change Management − Model Documentation — Uses same 2E 'look and feel' − Intuitive and easy for long-time 2E developers 44

SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. Service Program Creation — *SRVPGM's are not 'typical' source-based objects… — …but we found a way to do it − One source member per *SRVPGM Generation control information Creation options (used by Toolkit compile preprocessor) Export list − Allows full integration with change management tools Source control, security, promotion, rollback etc. − Same *DSNR/*PGMR/*USER authority as elsewhere 45

Service Program Creation — Multiple signature options − System-generated, hard-coded or *SRVPGM name − Allows better control of runtime objects — Can also bind modules created outside CA 2E model − Use 2E model as 'placeholder' for external *SRVPGM's − Puts under source control, versioning etc. − Stores complex CRTSRVPGM command etc. 46SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.

New 'Service program' (SRVPGM) function type 47

Object type is 'SPG' Object attribute is 'BND' New 'M' and 'P' selection options Service program signature SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.48

Use F9 to change signature SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.49

SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. SERVICE PROGRAM MODULES lists modules that comprise the service program Standard options can be used against any modules from the CA 2E model 50

SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. SELECT MODULE screen allows user to add modules from the CA 2E model to the service program 51

Option G generates source into member in QSRVSRC source file SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.52 Generated source consists of two 'sections'…

Compilation instructions Z* and Y* lines used by the CA 2E Toolkit compile preprocessor to create the service program SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.53

Export definition list List of procedures and data exported by the service program, along with the signature definition SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.54

Impact Analysis New *BNDMOD reason code for bound modules SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.55

SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. Summary — Simplifies application development process — Uses new 1E compile preprocessor functionality — Allows users to move fully to an ILE environment 56

questions ?