3rd Annual Plex/2E Worldwide Users Conference Title text for Title or Divider pages should be either...
-
Upload
cole-conley -
Category
Documents
-
view
219 -
download
1
Transcript of 3rd Annual Plex/2E Worldwide Users Conference Title text for Title or Divider pages should be either...
3rd Annual Plex/2E Worldwide Users Conference
4A CA 2E Release 8.1 SP1 and SP2 in ActionLaura Houchin, ADC Austin
September 20, 2007
2 September 20, 2007 4A CA 2E Release 8.1 SP1 and SP2 in Action Copyright © 2007 CA
Bio Slide
> Laura Houchin
> ADC Austin, Senior Consultant
> 2E user/consultant since 1991 joined Synon/Sterling/CA in 1996
joined ADC in 2006
> St Louis, Missouri ([email protected])
CA 2E Release 8.1 SP1 and SP2 in Action
SP1 New Features and Enhancements
5 September 20, 2007 4A CA 2E Release 8.1 SP1 and SP2 in Action Copyright © 2007 CA
SP1 New Features and Enhancements
> Subfile fold/drop Automated within model
Available for all multi-line subfile functions
6 September 20, 2007 4A CA 2E Release 8.1 SP1 and SP2 in Action Copyright © 2007 CA
SP1 New Features and Enhancements
> Subfile fold/drop implementation Make sure your subfile is two lines or more!
Add the command key text to the device design
Use the new PGM.*Subfile mode shipped field in the action diagram (optional)
– Set initial display to Truncated
– USER: Initialize subfile record (new record) Don’t forget to set it to CND.Folded if used in EDTxxx function!
Remember to remove EXCUSRSRC if previously used to activate this feature
7 September 20, 2007 4A CA 2E Release 8.1 SP1 and SP2 in Action Copyright © 2007 CA
SP1 New Features and Enhancements
> Subfile fold/drop example
F11 is Truncated
F11 is Folded
8 September 20, 2007 4A CA 2E Release 8.1 SP1 and SP2 in Action Copyright © 2007 CA
SP1 New Features and Enhancements
> *RTVFLDINF built-in-function Retrieve meta-information
about a field
Uses:
– Build tools to interrogate model
– Use with EXCUSRSRC to build SQL queries
9 September 20, 2007 4A CA 2E Release 8.1 SP1 and SP2 in Action Copyright © 2007 CA
SP1 New Features and Enhancements
> *RTVFLDINF built-in-function
> Many parameters!! 1 input parm (25 character field name)
16 output parms (Name, DDS name, Text, Surrogate, Attribute, External and Internal data information)
See Notes in SP1 Release Summary for full details on parameters returned
10
September 20, 2007 4A CA 2E Release 8.1 SP1 and SP2 in Action Copyright © 2007 CA
SP1 New Features and Enhancements
> Trigger functionality Deleting a Trigger Function is now a soft delete from
the model
– New field in YFILTRGRFP file for Trigger Status
– YCVTTRGDTA command checks for run-time record and deletes
Trigger is removed from the PF it’s attached to and then deleted from YFILTRGRFP
Database changes are now automatically reflected in TRGFUN parameters (sort of!)
– Edit the parameters and the new fields will be added
– *Trigger old record format and *Trigger new record format
11
September 20, 2007 4A CA 2E Release 8.1 SP1 and SP2 in Action Copyright © 2007 CA
SP1 New Features and Enhancements
> Miscellaneous Enhancements Save Action Diagram bookmarks
– F8 in A/D to log a bookmark
– Save bookmarks option on the Exit Function panel
Display Message Implementation name
– F21 in Action Diagram Editor
– Send error message - 'Select To File Firs *M:USR0140’
Allow ImpName in Open Functions
– Use *I for File
– Enter in the full Implementation name (ie: NSAPDFR)
– Press Enter to jump right into the action diagram
12
September 20, 2007 4A CA 2E Release 8.1 SP1 and SP2 in Action Copyright © 2007 CA
SP1 New Features and Enhancements
>Miscellaneous Enhancements Edit Action – Function Details panel allows
you to change the default context for undefined parms prior to pressing F10
Display All Functions panel from the Services Menu now has more options
– C=Copy, Y=Y2CALL, U=Usages, R=References, O=Open (function)
13
September 20, 2007 4A CA 2E Release 8.1 SP1 and SP2 in Action Copyright © 2007 CA
SP1 New Features and Enhancements
>Miscellaneous Enhancements A/D Services menu allows searching for
fields being updated– U = fields being used either as Ouput or Both
form in one search
14
September 20, 2007 4A CA 2E Release 8.1 SP1 and SP2 in Action Copyright © 2007 CA
SP1 New Features and Enhancements
> Toolkit Enhancements - YWRKF New option ‘EX’ when using F7 to select
records does exact matching on character fields
Parameter for COLHDG now allows *NONE to suppress column headings
– Multi-format LF will still display a single heading line for each record format
KEYOPT parameter value displayed– use F11 to toggle between values: *NONE,
*PROTECT, *HIGHLIGHT, *BOTH
15
September 20, 2007 4A CA 2E Release 8.1 SP1 and SP2 in Action Copyright © 2007 CA
SP1 New Features and Enhancements
> Toolkit Enhancements - YWRKF Display File/Format Details (F14) key
numbers of key fields are displayed– Prompt format (F5) no longer requires F3 to exit
if subfile control selector doesn’t have a specific format
SP2 New Features and Enhancements
17
September 20, 2007 4A CA 2E Release 8.1 SP1 and SP2 in Action Copyright © 2007 CA
SP2 New Features and Enhancements
Default Template Prototypes
> Previously had to use F21 to manually create a function from a *Template function
> Can now set a *Template function to be the default template used when any function of that type is created
> Can have one *Template prototype function for each 2E function type
> Need *DSNR authority to set a *Template function to be a prototype.
18
September 20, 2007 4A CA 2E Release 8.1 SP1 and SP2 in Action Copyright © 2007 CA
SP2 New Features and Enhancements
Default Template Prototypes
19
September 20, 2007 4A CA 2E Release 8.1 SP1 and SP2 in Action Copyright © 2007 CA
SP2 New Features and Enhancements
Default Template Prototypes
20
September 20, 2007 4A CA 2E Release 8.1 SP1 and SP2 in Action Copyright © 2007 CA
SP2 New Features and Enhancements
YRUNSQL command
> Run any SQL statement (SELECT, UPDATE, etc)
> Option to override file to a specified source member
> Used internally within 2E to copy records between files from a CL program
21
September 20, 2007 4A CA 2E Release 8.1 SP1 and SP2 in Action Copyright © 2007 CA
SP2 New Features and Enhancements
> 1E compile preprocessor rewrite Allow compilation 'scripts'
Exit program functionality
Dependent object compilation
More substitution variables
• &A—Source member attribute, e.g. RPGLE
• &B—*OBJ (hard coded for backwards compatibility)
• &C—Compilation command, e.g. CRTBNDRPG
• &D—Source change date in MDY format, e.g. 032105
• &E—Current source member (may be external X* member)
• &F—Source file name, e.g. QRPGLESRC
…..many more!
22
September 20, 2007 4A CA 2E Release 8.1 SP1 and SP2 in Action Copyright © 2007 CA
SP2 New Features and Enhancements
> Miscellaneous 2E Trigger integration/runtime functionality
– New model value YTRGLIB
– Parm value on YDUPAPPOBJ for DUPOBJ(*TRG)
23
September 20, 2007 4A CA 2E Release 8.1 SP1 and SP2 in Action Copyright © 2007 CA
SP2 New Features and Enhancements
Questions?