Spotlight on Synergy/DE 9: Take advantage of new Synergy Language features 
Trouble viewing the newsletter? Read the online version.

 
SEN Logo
 
New for professional Developers
   

Synergy/DE | Synergex | News | Classes | Contact

 

October 9, 2007
  In this Issue  

Spotlight on Synergy/DE 9
Take advantage of new Synergy Language features

Synergy/DE 9 released on OpenVMS
Synergy/DE 9.1.1c has been released on OpenVMS with support for Synergy objects

HP OpenVMS celebrates 30th anniversary
Submit your OpenVMS story and be part of the celebration

Coming soon: VisualSmart 2007c
A message from VisualSmart, Synergex’s business intelligence division

Support tech tip
Scrolling in Workbench with line numbers enabled causes them to display as -1

Synergy-e-Quiz
Submit your answers and be in the running for the next $100 gift check, plus view the correct answers from the last round of question

Platform news

Synergex education

Synergy/DE HelpDesk Support survey winner

blank
   
   
     
 
   
  Spotlight on Synergy/DE 9
 

Take advantage of new Synergy Language features

Synergy/DE 9 contains important and useful new language features. Some of the major additions that have not yet been covered in Synergy-e-News are INIT, DATA, several new data types, and unsigned integer operators.

The INIT statement is an improvement over the CLEAR statement in that it will initialize each individual field in a named data structure with its initial value (either the declared default value or the default for the specified type if no value is declared), whereas CLEAR initializes the whole area based on the default value for the variable’s data type. In addition, you can use INIT on structure parameters. (It also works automatically with the new int data type, while some casting is required to make CLEAR work with int.) Use INIT whenever at least one variable in a record has a default value.

For example,

structure struct1
      fld1  ,d4   ,7
enstructure

record
      svar  ,struct1

record vars
      alp1  ,a5
      alp2  ,a11, “Hello World”
      alp3  ,a25

proc
; Difference between CLEAR and INIT

clear svar  ;Sets svar.fld1 to 0
init svar   ;Sets svar.fld1 to 7

; Insert values into the variables in record vars

init vars   ;Restores default values (spaces) for
            ; alpha variables alp1 and alp3 and
            ; restores the variable alp2’s initial
            ; value (in this case, “Hello World”)

The DATA statement allows data to be defined inside the procedure division. The scope of the data defined exists only inside the BEGIN-END block in which it is defined. The new DATA statement is very useful for variables that do not need to exist beyond the scope of the block of code in which they are created.

For example,

proc
if var
  begin
    data datetime ,a20   ;Variable that will exist only
                         ; in this BEGIN-END block
    .
    .
    .
    writes(chan, “Variable var true at ”+ datetime)
  end

For future compatibility with .NET, we added the following new data types in version 9: decimal, string, byte, short, int, and long. These types are automatically mapped to compatible Synergy types. The table below lists the new data types with the existing Synergy types they are mapped to and their default values.

New data type

Mapped to existing Synergy type

Default value

Decimal

Equivalent to d28.10

Array of character “0” (zero) of size 28

String
(@System.String)

String class

^NULL

Byte

i1 (signed 8-bit integer)

0

Short

i2 (signed 16-bit integer)

0

Int

i4 (signed 32-bit integer)

0

Long

i8 (signed 64-bit integer)

0

For example,

myint ,i4

is equivalent to

myint ,int

Version 9 also includes the following unsigned integer operators, which can be used in comparison operations between unsigned integer values:

Operator

Description

.EQU.

Unsigned integer equal to

.NEU.

Unsigned integer not equal to

.GTU.

Unsigned integer greater than

.LTU.

Unsigned integer less than

.GEU.

Unsigned integer greater than or equal to

.LEU.

Unsigned integer less than or equal to

For example,

record
int1  ,i4   ,1
int2  ,i4   ,2
proc
if %unsigned(int1) .NEU. %unsigned(int2)
    writes(chan,”Unsigned integers not equal”)

The addition of INIT, DATA, the new .NET-compatible data types, and unsigned integer operators to Synergy Language allows for more creative, efficient, and modern code. We encourage you to become familiar with the use and purpose of these new features. See the Synergy/DE 9 Web site for more information about Synergy/DE 9.

 
top
 

 

Synergy/DE 9 released on OpenVMS
Synergy/DE 9.1.1c has been released on OpenVMS with support for Synergy objects

When we originally released Synergy/DE 9 in April, it was a pre-release on OpenVMS Alpha and Integrity server. It included all the features of Synergy/DE 9 on Windows and Unix with the exception of Synergy objects. The pre-release was fully supported, and we recommended that customers upgrade to it as long as they did not require support for objects.

Synergy/DE 9.1.1c has now been released on OpenVMS. It supports Synergy objects, and we now recommend that all OpenVMS customers upgrade to it. For more information about Synergy/DE 9, see our Web site.

 
top
 

 
HP OpenVMS celebrates 30th anniversary

Submit your OpenVMS story and be part of the celebration

HP and its customers are celebrating the 30th anniversary of OpenVMS this year, and HP wants YOUR best VMS stories. If you have a funny story, a story about VMS’s reliability or longevity, or a story describing your migration efforts (including any mistakes you made and what you did about them), visit HP’s celebration Web site and submit your story.

 
top
 

 
  Just Released! VisualSmart 2007c
A message from VisualSmart, Synergex’s Business Intelligence division

VisualSmart 2007c was released on October 3. Since VisualSmart is a hosted service, the new version upgrade required no effort on the customers' part, and there was no disruption of service.

The new version contains some much-anticipated features, including:

  • Automatic report distribution. The Reports Module features an intuitive user interface that assists users in setting up report delivery to a list of e-mail addresses on a set schedule.

  • Single sign-on. VisualSmart can now be integrated with another hosted application without the user having to re-enter login and password credentials. Accessing the tools in the VisualSmart application is simply one click, tab, or module away.

  • Mashups. Single sign-on clients can ‘embed’ charts, gauges, top-n list components, and expansive analytics with their advanced measure and dimension capabilities in any of their own Web application pages.

Many other features and enhancements are also included in the VisualSmart 2007c release. If you would like a personal demo of VisualSmart, please call Synergex at 1.800.366.3472 and ask for Marty Henderson.

 
   
top
   
 

 
Support tech tip

Scrolling in Workbench with line numbers enabled causes them to display as -1

I'm using Professional Series Workbench with line numbers enabled. When I scroll down, all of my line numbers show up as -1. What's going on, and what can I do about it?

This happens because, by default, Workbench turns off the line numbering option and enables the partial file loading option to improve performance while loading large files. Loading a large project with many large files requires a lot of CPU, so every little bit helps.

The easiest solution is to scroll down and click in the editor window to force Workbench to load the rest of your current file and display the correct line numbers. However, if you're confident that your machine is fast enough, you can follow the steps below to always load the entire file at once:

1. Select Tools > Options > File Options and click the Load tab.

2. Make sure "Load entire file" is checked.

3. Check "Count number of lines".

4. Uncheck "Load partial if larger than ___ K".
           
With the above settings, Workbench will load every file completely, every time.

 
top
 

 
Synergy-e-Quiz    
 


Submit your answers and be in the running for the next $100 gift check. Test your Synergy/DE and trivia knowledge. Play now.

Curious about the answers to the last round of questions?
Find out which answers were correct, and why.

top

 
   
 
 
 
 
 
   
 
 

 
  Platform news  
 


Microsoft

FIX: A memory leak may occur when you create and then delete Windows form control objects in an application that is built on the .NET Framework 2.0
September 7, 2007

FIX: The # Induced GC performance counter value increases quickly and CPU usage becomes high when you run an ASP.NET 2.0 Web application that is built on the .NET Framework 2.0
September 11, 2007

FIX: Error message when you run a client application that is built on the .NET Framework 2.0: "The request was cancelled. An underlying connection that was expected to be open was closed"
September 11, 2007

Microsoft extends Windows XP's stay
September 27, 2007

Inside Windows Vista Service Pack 1
October 1, 2007

OpenVMS

OpenVMS Roadmap September 2007
September 19, 2007

SCO

SCO's McBride: We're not dead yet
October 1, 2007

SCO gets reprieve from Nasdaq
September 28, 2007

Sun Solaris
Sun Solaris with ease?
September 24, 2007

 
     
top
 

 
 
Synergex education    


November 20, 2007 - 8AM PDT - Workbench Highlights* - At your desk
*All attendees receive a free t-shirt!

   


  top
 

 
Joe West is the winner of this quarter’s HelpDeskSupport survey
 

Congratulations, Joe West! You are the winner of the HelpDesk Support survey, and the recipient of this quarter’s $100 gift check.

All customers who return a HelpDesk Support Survey throughout the fourth quarter will be entered into the next drawing.

 

 
top
 
 
 

Subscribe to Synergy-e-News.

To view past issues of Synergy-e-News, see the Synergy-e-News Archive.
To remove yourself from the Synergy-e-News mailing list, please click here.

Trademarks: Synergex, Synergy, Synergy Development Environment, Synergy/DE, and all other Synergy/DE product names are trademarks of Synergex. All other product and company names in this newsletter are trademarks of their respective holders.

Synergex International · 2330 Gold Meadow Way · Gold River, CA 95670
+1 916.635.7300 | 800.366.3472 (North America) | 0800.898.368 (United Kingdom)

Copyright © 2007 Synergex International Corporation. All rights reserved.

Synergy-e-News 1092007