SPC 2008: A Must-Attend to Keep Up With Today’s Technology.  Synergex  |  Synergy/DE  | Resource Center  |  Contact Us
Friendly man using PDA callout boxes for what's new feature and quote
 
Synergy/DE 9
Synergy/DE blog
Synergy/DE and O/S versions
Subscribe to Synergy-e-News
Request the text version
March 27, 2008
In this Issue:

SPC 2008: A Must-Attend to Keep Up With Today’s Technology
Learn how new features in xfServerPlus, Workbench, and Synergy Language will help you boost productivity and extend your applications

Spotlight on Synergy/DE 9.1.3
New data types give .NET applications added capabilities and help streamline development

Customer Success Story
Second largest provider of dialysis services in the United States upgrades to Synergy/DE 9 and OpenVMS Integrity

Support Tech Tip
Why don’t FTP ASCII file transfers between Linux and Windows seem to work?

Synergy-e-Quiz
The Synergy-e-Quiz is coming to an end! This is your last chance to submit your answers and be in the running for the final $100 gift check, to be awarded in April

Platform News
“Interoperability is the Focus of IE 8”; “Red Hat Beta-Tests Latest Enterprise Linux Version”; “Update: McBride Ousted at SCO, Lawsuits to Continue”; and more

Synergex Events and Education


ARROWSSPC 2008: A Must-Attend to Keep Up With Today’s Technology
Learn how new features in xfServerPlus, Workbench, and Synergy Language will help you boost productivity and extend your applications

The latest releases of Synergy/DE include numerous capabilities that will enable you to work more efficiently and to create more powerful business applications for your users. At SPC 2008, you will learn first-hand how you can put these new features to work. Topics include

  • New xfServerPlus features that make it easier for you to write Synergy methods
  • New Workbench features to make you even more productive
  • New ways of handling error situations in code with structured exception handling
  • Ways to leverage .NET classes with the new Synergy .NET assembly API
  • New Synergy Language features to help you create better code and keep pace with evolving technologies
  • Ability to deploy on 64-bit Windows

Attend SPC 2008 to learn about all of these technologies available to you now, as well as those that are coming soon. Visit the SPC Web site for complete conference details and to register.

Be sure to register before April 11 to take advantage of special early bird pricing and to be entered to win an iPod Touch!

^ top


ARROWSSpotlight on Synergy/DE 9.1.3
New data types give .NET applications added capabilities and help streamline development

By Mark Cooper, Lead Systems Programmer, Synergy/DE

Synergy/DE 9.1.3 introduces new capabilities and added flexibility for xfNetLink .NET developers. You can now use the System.String data type and System.Collections.ArrayList parameters (features that were added to Synergy Language in version 9.1.1). You can also create DataTables on the client side, and you can coerce parameters and return values to non-default data types. These new features will give your .NET applications some added capabilities, and they will make some programming tasks much easier for you.

You can now use the System.String data type as either a method return type or a parameter type for the xfNetLink .NET client. The String parameter can be an in, out, or in/out parameter. You can declare a System.String of any size in your Synergy routine, send it to the .NET client, change its value, and then send it back to Synergy without having to be concerned with the length of the string data. Just declare a variable in Synergy as @System.String and then in the MDU, define the return type or parameter data type as a System.String; the length in the MDU will default to 0. In the generated C# class, the parameter will be a string. The following is an example of a Synergy function that returns a System.String and has one System.String parameter.

.function UseString,    @System.String
;       Arguments
        required a_s   ,@System.String
.align
record
        s1       ,@System.String
        s2       ,@System.String
.proc
        s1 = new System.String("Hello")
        s2 = new System.String("How are you?")
        a_s = s2
        freturn (s1)
.end

Support for System.Collections.ArrayList is also new in version 9.1.3. You can declare an ArrayList for any of the existing parameter types of alpha, decimal, implied decimal, integer, structure, or System.String. Note that ArrayLists can only be passed as in or out parameters; in/out parameters are not allowed. Also, mixed-type ArrayLists are not supported; all of the elements must be the same data type. For example, an ArrayList of structures must contain only Synergy structure elements.

You can now use DataTables as parameters.

Click here to read the full article.

^ top


ARROWSCustomer Success Story
Second largest provider of dialysis services in the United States upgrades to Synergy/DE 9 and OpenVMS Integrity

DaVita Laboratory Services, Inc. is a wholly owned subsidiary of DaVita, Inc., the second largest provider of dialysis services in the United States for patients suffering from chronic kidney failure. Running on OpenVMS, DaVita’s Synergy/DE-based laboratory system, Ref-Lab, manages all of their day-to-day operations.

Recently, DaVita expanded Ref-Lab into another location and as a result needed new hardware for both the new location and to replace the aging Alpha systems at the home office. The obvious choice was the Integrity server, but their current version of Synergy/DE didn’t support it.

“Migrating to version 9 wasn’t on our roadmap yet, as we weren’t quite ready to take advantage of all the new features,” states DaVita’s IT director Ken Peck. “But when we were faced with the need for new hardware, it became apparent how important it is to stay current.”

Peck describes the Synergy/DE 9 portion of the migration as “the smallest part of the equation.” The upgrade enabled them to replace the Alphas with Integrity servers, and to add a newly supported SAN from HP.

“The speed improvements on Integrity have been tremendous,” comments Peck. “Nightly processes that used to take 2-3 hours now take 45 minutes.”

Peck’s advice to other Synergy/DE developers: “Even if you’re not ready to use all of the new functionality in version 9, it’s important to upgrade. Whether it’s based on user demand or technical necessity, there will come a day that you need to upgrade your hardware, and you want to make sure you are ready when that day comes.”

^ top


arrowsSupport Tech Tip
Why don’t FTP ASCII file transfers between Linux and Windows seem to work?

Problem:
A Synergy developer tried to transfer a text file (created by his Synergy application) from Linux to Windows using FTP in ASCII mode, but after the transfer, the file did not have the correct line terminators. The same problem occurs when transferring in the other direction, from Windows to Linux. This problem does not occur when transferring the same file between Windows and other UNIX systems. Why do file transfers involving Linux (either Red Hat or SUSE) have this issue?

Solution:
By default, the FTP server on Linux only allows binary file transfers when the mode has been explicitly set to ASCII. (Transferring in binary mode is what causes the problem with the line terminators.)

To enable ASCII FTP file transfers, edit the vsftpd.conf file, located in either /etc/vsftpd or /etc on your Linux system, as follows.

1. Uncomment or add these lines:

       ascii_upload_enable=YES
       ascii_download_enable=YES

2. Restart the vsftpd service so that the changes take effect.

The vsftpd.conf file describes a potential security risk when ASCII file transfers are enabled. Be sure to review this and consult your system administrator before enabling ASCII file transfers.

Reference:
Red Hat Knowledgebase Article ID: 5777
http://kbase.redhat.com/faq/FAQ_85_5777.shtm

^ top


arrowsSynergy-e-Quiz

The Synergy-e-Quiz is coming to an end! This is your last chance to submit your answers and be in the running for the final $100 gift check, to be awarded in April.

Play now.

Curious about the answers to the last round of questions? Click here to learn which answers were correct, and why.

^ top


ARROWSPlatform News

Microsoft

Interoperability is the Focus of IE 8
March 10, 2008

How to Prevent Windows Vista's 'Green Ribbon of Death'
February 17, 2008

Microsoft Offers Free Support for Vista SP1 Installs
March 24, 2008

Windows XP SP3 Due Next Month, Says Report
March 24, 2008

UNIX

Red Hat Beta-Tests Latest Enterprise Linux Version
March 13, 2008

SCO

Update: McBride Ousted at SCO, Lawsuits to Continue
March 5, 2008

OpenVMS

OpenVMS Roadmap Updated
March 3, 2008

HPUG UK Events in April
March 14, 2008

^ top


ARROWSSynergex Events and Education

SPC Boston, MA
May 20-22, 2008

SPC Birmingham, UK
June 10-12, 2008

Synergy/DE 9.1 Highlights
Anytime online

UI Toolkit Composite Windows
Anytime online

Synergy Objects Parts 1, 2 and 3
Anytime online

^ top



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 © 2008 Synergex International Corporation. All rights reserved.

Synergy-e-News 03272008