Presentation is loading. Please wait.

Presentation is loading. Please wait.

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.

Similar presentations


Presentation on theme: "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."— Presentation transcript:

1 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 SAM2012 - April 16, 2012 Rory Hewitt – CA Technologies

2 2SAM2012: 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 and karateka − British (hence the strange accent!)

3 3SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. overview of r8.5 new functionality at r8.6 — enhanced array support (EAS) — other 2E features — 1E ("Toolkit") features — Web Option questions agenda

4 4SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. Previous GA release is r8.5 — Available since 2009 — Major release — Significant take-up by customer base — Most common release in use by far release 8.5

5 5SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. Service Program Support — Service program function type — Bind in existing 2E and non-2E modules — Generates as a BND source member — 'Compiles' into a *SRVPGM object — Fully integrated with 2E environment − Impact analysis (where used and how) − Change management release 8.5 – major features

6 6SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. Web Service Support — Ability to create a Web service function — Can be called using a WSDL interface — Entire runtime processing — Multiple commands for use outside 2E to create WS Instance release 8.5 – major features

7 7SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. Released to GA last week! — Consists of one 'marquee' feature + other features — Developed using Agile development methodology — Frequent interim versions available for 'alpha' customers — Continuous customer feedback on works in progress — Long 'alpha + beta' = very stable! release 8.6

8 8SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. Enhanced Array Support — What is Enhanced Array Support? − Ability to return a result set from a function call − Pass multiple records to/from a 2E function − Key to developing web services − Communications bottleneck: fewer calls = better performance − Result set functionality standard in most web languages − Many 2E customers have implemented their own version release 8.6 – marquee feature

9 9SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. Typical use of passing a RCD parameter f PGM 1 calls PGM 2 passing a RCD parameter Single parameter composed of a record format or array Subfields may be combination of Input, Output, Both or Neither existing 'standard' array parameter support PGM 1 PGM 2

10 10SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. — Allows multiple fields to be passed at once — Default passing method for e.g. RTVOBJ — Simple to externalize RTVOBJ inside EXCEXTFUN − RTVOBJ now callable from external (non-2E) programs But.......... Still have to call EXCEXTFUN once per record retrieved existing 'standard' array parameter support PGM 1 PGM 2

11 11SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. Pass multiple instances of an array as a single parameter Multiple-instance array passed as a single parameter Defined as existing 2E array (on *Arrays file) Number of instances defined in array definition enhanced array support PGM 1 PGM 2

12 12SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. — Called program (PGM 2) only called once — Can return/process multiple records (up to 9999) — Currently available for EXCEXTFUN and EXCUSRPGM enhanced array support PGM 1 PGM 2

13 13SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. — Must be defined using an array − Not available directly using a file's record format... −...but can define an array like a record format — Number of instances of array taken from array definition − Defaults to 100 (i.e. 100 records passed in parameter) — All fields in array must be passed (no Dropped fields) − Fields can have mix of usages (Input, Output, Both and None) − Performance improvements if all fields have same usage EAS: criteria and limitations

14 14SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. EAS: array definition (no change) Product Array defined over 'Product file', using same keys

15 15SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. EAS: parameter options Product Array defined as parameter to EXCEXTFUN with 'Pass as Array' flag set to 'Y'

16 16SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. EAS: parameter options Number of elements taken from array definition

17 17SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. — In Action Diagram Editor, appears as single parameter − Don't specify separate fields within array − Specified using new ARR context – similar to WRK context − If also passed in to calling PGM, can be specified using PAR 'Throughput' parameter – passed from PGM1 through PGM2 to PGM3 — Very simple interface − Limited changes to visible interface − Simple to understand EAS: action diagram editor

18 18SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. EAS: action diagram editor Object name is not editable – only context

19 19SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. — New array processing requires new built-in function − WAAAAY too complex for existing *MOVE built-in function − Lots more information required — New ARR context – similar to WRK context — Allows you to do any of the following − Move a field into an array subfield in a specified array element − Move an array subfield in a specified array element into a field − Move an array subfield into an array subfield — Same field validation as *MOVE (numeric to char etc.) EAS: the *MOVE ARRAY function

20 20SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. — Requires 3 bits of information about both 'source' and 'target' − Array subfield name − Array name − Array element number — How do we show a subfield in an element of an array? ctx.array-name(ctx.array-element-number).array-subfield ARR.Product Array(WRK.Line number).Product price — Q: Array subfield has no context specified – why? − A: Because it's a subfield within an array, it uses the same context! EAS: the *MOVE ARRAY function

21 21SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. EAS: *MOVE ARRAY built-in function ARR.Product Array(WRK.Current line).Product price = WRK.Current price

22 22SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. EAS: *MOVE ARRAY built-in function WRK.Current price = ARR.Product Array(WRK.Current line).Product price

23 23SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. EAS: *MOVE ARRAY built-in function ARR.Product Array(WRK.Current line).Product price = ARR.Bulk Items(WRK.Input line).Bulk discount price

24 24SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. — *MOVE ARRAY also allows array subfield value of *ALL − Copies all same-named fields to/from array subfields − Quick method of loading/unloading an array element — Non-matching fields aren't copied − If no matching fields between source and target, no fields are moved — For WRK and LCL, all fields will be moved (since all fields exist in those contexts) — If source or target array is changed, regenerating will use updated array subfields EAS: generation details

25 EAS: *MOVE ARRAY built-in function 25Friday September 9th, 2011 CA 2E r8.6 Sprint 8 Review Copyright © 2011 CA PAR.Product Array(WRK.Line number).*ALL = ARR.Item Array(CON.1).*ALL

26 26SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. — EAS parameters generated in RPG as MODS − Multiple Occurrence Data Structures − Fewest changes to underlying generation programs − Simplest implementation – 2E handles all the low-level stuff — EAS parameters generated in COBOL as proper array − Significantly more complex than RPG − Better/simpler initialization — Source code though – who looks at 2E-generated code? − Note to self: Don't look at code :) EAS: generation details

27 27SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. — Model interaction − YCPYMDLOBJ − YCHKFUNACT − YCHKMDL − Impact analysis − Action diagram scanning − Function wrappering EAS: model areas affected

28 28SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. — Updated Splash Screen − Option to 'pause' model loading to display "What's New" − You can turn off after you've looked at the release docs! − Easy way to ensure users (you!) actually know what we've done release 8.6 – other features

29 29SAM2012: April 16, 2012 Copyright © 2012 CA Technologies.

30 30SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. − New YCHKFUNPAR command − Checks existing functions for parameter mismatches − Looks for invalid duplicate parameters etc. release 8.6 – other features

31 31SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. — 66 bug fixes, including — Long constant generation in RPG — SFLRCDNBR increased from 999 to 9999 (model panels) — Standardized processing for locked objects in model lists — SFLFOLD function key changed — Large model space errors — Assorted Web Service bugs — Trigger server enhancements release 8.6 – other features

32 32SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. — More compile preprocessor enhancements — Service Program Diagnostic Load Utility (SPDLU) — Allows user or CA support to quickly diagnose *SRVPGM errors release 8.6 – 1E (Toolkit) features

33 33SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. — Performance-related changes — Increased number of server jobs allowed, from 30 to 500 — Improved asynchronous auditing — New YSKLCHK control value — Improved performance by not checking for skeleton changes — YGENMLS changed to flush memory — Always uses latest control values from file — New test library options — Simplifies implementation of test fixes — Service Program Diagnostic Load Utility (SPDLU) — Allows user or CA support to quickly diagnose *SRVPGM errors release 8.6 – Web Option features

34 34SAM2012: April 16, 2012 Copyright © 2012 CA Technologies. — You'll all be glad to hear that we have a new Development machine − Bigger – all our stuff takes up about 10% of entire disk space! − Faster – CPU-tastic!! − Better – we're not sharing with other teams!!! — Release 8.6 is available for V5R4 onwards Finally...

35 thank you


Download ppt "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."

Similar presentations


Ads by Google