Presentation is loading. Please wait.

Presentation is loading. Please wait.

Easytrieve 11.6 Compile-and-Go Processing

Similar presentations


Presentation on theme: "Easytrieve 11.6 Compile-and-Go Processing"— Presentation transcript:

1 Easytrieve 11.6 Compile-and-Go Processing
Page based on Title Slide from Slide Layout palette. Design is cacorp 2006. Title text for Title or Divider pages should be either 40 pt for short titles /28 pt for subtitles or 32 pts for longer titles /24 pt for subtitles. DATE text box is not on master and can be deleted. The date should always be 20 pts. Easytrieve 11.6 Compile-and-Go Processing The What, Why, When April 2013

2 Overview What is Compile & Go? Why/Why-not use Compile & Go?
Page based on Title and Text from Slide Layout palette. Design is cacorp 2006. Overview What is Compile & Go? Why/Why-not use Compile & Go? What does a 6.4 Compile & Go look like? What does an r11 Compile & Go look like? Performance Considerations with Compile & Go A couple Miscellaneous Rules with Compile & Go Questions ?? February Easytrieve Compile and Go Copyright © 2013 CA

3 Page based on Title and Text from Slide Layout palette
Page based on Title and Text from Slide Layout palette. Design is cacorp 2006. What is Compile & Go? Easytrieve source is converted to object code by the Compiler, then the object is executed, invoking Runtime. R11 Compiler always writes an object deck to the SYSLIN file, if no PARM LINK is coded the SYSLIN file is read back in and executed. If SYSLIB DD is omitted it is always dynamically allocated 6.4 Compiler keeps the object deck in memory and only writes it to the SYSLIN file if PARM LINK is coded. If SYSLIB DD is omitted “DD STATEMENT MISSING” error only if PARM LINK coded February Easytrieve Compile and Go Copyright © 2013 CA

4 Why/Why-not use Compile & Go?
Page based on Title and Text from Slide Layout palette. Design is cacorp 2006. Why/Why-not use Compile & Go? Easytrieve source treated as a parameter file, (can be changed on every run). Don’t need the Linkedit or Execution JCL steps. Don’t need to keep a load library ready to use. Always gets current Options Table values. Less control of Easytrieve source changes, (problem for “mission critical” jobs). Compilation-phase return code is not retained, the final RC is from the “Go” part of the Compile-and-Go. Options Table values frozen in linked Easytrieve program. February Easytrieve Compile and Go Copyright © 2013 CA

5 Page based on Title and 2-column Text from Slide Layout palette
Page based on Title and 2-column Text from Slide Layout palette. Design is cacorp 2006. What does a 6.4 Compile & Go look like? (. . .from the internal perspective) EZTPA00 calls EZTPA01 EZTPA01 drives the C & G process EZTPBxx programs parse Easytrieve statements and generate pre-outs EZTPCxx programs read pre-outs and generate object code. Also optionally write the SYSLIN file EZTPDxx programs invoke generated code Compiler/Runtime are closely integrated, one process February Easytrieve Compile and Go Copyright © 2013 CA

6 What does an r11 Compile & Go look like. (
What does an r11 Compile & Go look like? (. . .from the internal perspective) EZTPA00 checks for NEWFUNC and LINKs to EZT or continues down 6.4 path EZT does a LINK to EZTCOM. EZTCOM always writes the SYSLIN file Depending on the return code from EZTCOM, EZT ends or does a LINK to EZTGO EZTGO reads the object deck from the SYSLIN file, makes it executable, then invokes it. Generated code then runs as if it was linked Compiler and Runtime are separate processes February Easytrieve Compile and Go Copyright © 2013 CA

7 Performance Considerations with Compile & Go
Page based on Title and 2-column Text from Slide Layout palette. Design is cacorp 2006. Performance Considerations with Compile & Go Add time for Compilation phase Add memory for Compilation phase Object is always loaded into 24-bit storage Object cannot be infinitely large Execution part is no different from Linked execution Longer-running jobs show less difference February Easytrieve Compile and Go Copyright © 2013 CA

8 A couple Miscellaneous Rules with Compile & Go
Page based on Title and Text from Slide Layout palette. Design is cacorp 2006. A couple Miscellaneous Rules with Compile & Go Static program CALLs are not allowed FOR EXAMPLE: DECLARE MCPROGA PROGRAM STATIC . . . CALL MCPROGA Number of different CALLed programs limited to 100 February Easytrieve Compile and Go Copyright © 2013 CA

9 Page based on Title and Text from Slide Layout palette
Page based on Title and Text from Slide Layout palette. Design is cacorp 2006. Questions ?? ? February Easytrieve Compile and Go Copyright © 2013 CA


Download ppt "Easytrieve 11.6 Compile-and-Go Processing"

Similar presentations


Ads by Google