Surround Technologies, LLC

Surround Newsletter - Winter 2003

A newsletter from Surround Technologies, LLC

  IN THIS ISSUE

 

  EVLA - Many Visual LANSA shops are demanding it! Why aren't you?

Back to Top

OK, here is the scoop: The Envision Visual LANSA Accelerator (EVLA) is doing very well in rapidly advancing the development of many applications, however many shops, and perhaps yours, are still not using it.

Why not? Simple. They haven't seen it yet....They don't know what it is...They are not sure what the difference is between EVLA and LANSA's VL Frameworks. There are hundreds of Visual LANSA development shops out there and only 11 of them have discovered EVLA. This is about to change!

What is it? THE VL Accelerator (EVLA) is a set of base components that form a customizable framework that can be used to develop any Visual LANSA application. The framework allows developers to quickly generate shell systems with a standard Windows user interface that requires virtually no programming.

New Features! The VL Accelerator is progressing and growing very rapidly now. New features, enhancements, and modules are being added daily. It is, in a word AMAZING!

There is absolutely no question that if the VL shops out there knew what could be accomplished with EVLA, then they would demand to have it. The ones that are using it now did. You will too!

What are we doing to increase awareness about EVLA?
First: We are offering a FREE WEBINAR on Wednesday, March 26th... Don't Miss it! Register now to save your spot!
Second: If you need it NOW or if your curiosity can't wait, we will provide a FREE Personal Demonstration of EVLA. To request a personal demonstration of EVLA, please click Here.
Third: The Promotion - We are sweetening the deal with FREE Education and FREE Software! Purchase EVLA before March 31, 2003 and get 1 Week of EVLA Training for 1 person FREE. Plus, get our Zip/Postal Code Module FREE.

EVLA has hundreds of features that will let you produce a full Windows client application in hours. Not Years, Not months, Not even weeks or days, but HOURS! You will learn more faster. You will get instant satisfaction from your users from the first demo on. Plus EVLA will save many thousands of dollars in on-going maintenance costs. Take a look at it TODAY!

For a full listing of features and more information about Envision Visual LANSA Accelerator, please visit the EVLA Website.
 

  UFTP is Editors' Choice finalists for iSeries APEX Awards

Back to Top

UFTP is APEX Award Finalist Surround Technologies is proud to announce that iSeries NEWS has chosen its Universal FTP Interface System as a finalist for a 2003 Apex Award. These awards are issued annually at COMMON, and they recognize industry leaders that have made valuable contributions to their and customers and the market.

Do you transfer files? If Yes. Then, you need to get with the program and find out why hundreds of UFTP users will never transfer another file without it. Click here for more information about UFTP.

  General LANSA Tips and Techniques

Back to Top

Standard Conditions (DEF_COND)

Using the DEF_COND Command to "Pre-define" expressions to be used in other conditioning commands such as IF, DOWHILE, DOUNTIL, or CONDCHECK can be very useful to establish standards and improve code maintainability. There are a number of basic conditions that are used to control code execution and program flow that may get used in many programs. The conditions are typically exactly the same. Therefore standardizing on these may be helpful for future development as well.  Below are a number of the conditions that we use at Surround Technologies.

     DEF_COND NAME(*AS400)     COND('(*CPUTYPE = AS400)')

     DEF_COND NAME(*NOTAS400)  COND('(*CPUTYPE *NE AS400)')

     DEF_COND NAME(*STNDALONE) COND('(*SSERVER_TYPE = NONE)')

     DEF_COND NAME(*CLIENT)    COND('(*ON_CLIENT_SYSTEM = Y)')

     DEF_COND NAME(*SERVER)    COND('(*ON_SERVER_SYSTEM = Y)')

     DEF_COND NAME(*WEB)       COND('(*WEBMODE = Y)')

     DEF_COND NAME(*BATCH)     COND('(*JOBMODE = B)')

     DEF_COND NAME(*INTERACTV) COND('(*JOBMODE = I)')

     DEF_COND NAME(*NEVERTRUE) COND('(NEVER = TRUE)')

Do you have any Standard Conditions that you have found useful? Others may as well. Please send them to us at support@surroundtech.com and we can post them in the next newsletter for everyone to benefit.
 

  Visual LANSA Tips and Techniques

Back to Top

Retrieving the date & time from the server.

When running client-server software, most often the client machine time is different than that of the server. This is particularly apparent if users are spread across different time zones and can even result in different dates. It is often necessary for the client side processing to be dependant on the time that the server reflects and not the time that the client is at.

The VL Accelerator provides a Server-Side Function that returns the Server Data and Time as well other Server information to the Calling function. The Server-side Function is FWBI01 - Server Information Interface and is listed below for your reference and use.

Client and Server Job Information InterfaceWhen using the VL Accelerator, this information can be easily retrieved using the Client and Server Job Information Interface. However, this function can also be called directly from a client-side program using the code shown below. If you decide to use a function like this in your Visual LANSA development, and you do not have the VL Accelerator, it is recommended that you create a re-usable part to interface with the Server-Side function.

USE BUILTIN(CALL_SERVER_FUNCTION) WITH_ARGS(*SSERVER_SSN FWBI01 N Y) TO_GET(#W_RTNCODE)

IF COND('(#W_RTNCODE *EQ OK)')

CHANGE FIELD(#W_DATE8) TO(#DATE8)

CHANGE FIELD(#W_TIME) TO(#TIME)

ELSE

* Error retrieving Server information from the server

MESSAGE MSGID(SBR0010) MSGF(FWMSG01)

ENDIF

 

CODE: FWBI01 - Server Information Interface

* Created using the STBBPGM Template

* =======================================================

* Copyright .....: (C) Surround Technologies, LLC, 2001

* Process .......: FW_BP01

* Function ......: FWBI01

* Type ..........: Server-side Function

*

* Created by ....: LEE

* Created on ....: 09/13/01 at 21:48:32

* Description ...: Server Information interface

* =======================================================

* . Purpose

* Tag: fill in the purpose of this component below

* This is used to ...

*

* =======================================================

* . Notes

* Tag: add any notes for other developer that may need to

* . work with this component below

* When editing or working with this program, ...

*

* =======================================================

* . Amendment Details

*

* Date Programr Description

* -------- -------- -------------------------------------

*

* =======================================================

* Function Summary:

* Methods:

*

* Incoming Exchange Fields:

* . Field Name - Field Description

*

* Outgoing Exchange Fields:

* . Field Name - Field Description

*

* =======================================================

* <<<<<<<<<<<<<<<< Definitions >>>>>>>>>>>>>>>>

*

* Function Control Options

*

FUNCTION OPTIONS(*DIRECT *HEAVYUSAGE)

*

* Working field definitions

*

*

* Condition definitions

* >> Standard Conditions

DEF_COND NAME(*AS400) COND('(*CPUTYPE = AS400)')

DEF_COND NAME(*CLIENT) COND('(*On_Client_System = Y)')

DEF_COND NAME(*STNDALONE) COND('*SSERVER_TYPE = NONE')

DEF_COND NAME(*BATCH) COND('(*JOBMODE *EQ B)')

DEF_COND NAME(*INTERACTV) COND('(*JOBMODE *EQ I)')

*

* Group By definitions

*

*

* List definitions

*

*

* Report line definitions

*

*

* =======================================================

* Tag: Program Mainline : FWBI01

* =======================================================

* <<<< Check for user authority to this function >>>>

*

* <<<<<<<<<<<<<<<< Initializations >>>>>>>>>>>>>>>>

*

* Tag: <<<<<<<<<<<<<< Main Logic >>>>>>>>>>>>>>>>

CHANGE FIELD(#JOBNAME) TO(*JOBNAME)

CHANGE FIELD(#USER) TO(*USER)

CHANGE FIELD(#JOBNBR) TO(*JOBNBR)

* Using *DATE because it changes dynamically,

* *MMDDYYYY does not.

CHANGE FIELD(#DATE8) TO(*DATE8)

USE BUILTIN(CONVERTDATE_NUMERIC) WITH_ARGS(#DATE8 V L) TO_GET(#DATE8)

CHANGE FIELD(#TIME) TO(*TIME)

CHANGE FIELD(#FW_SRNON) TO(*CPU_NUMBER)

CHANGE FIELD(#CPUTYPE) TO(*CPUTYPE)

CHANGE FIELD(#FW_CPFREL) TO(*CPFREL)

CHANGE FIELD(#FW_PART) TO(*PARTITION)

HANGE FIELD(#FW_PARDSC) TO(*PARTITION_DESC)

CHANGE FIELD(#FW_SRNO) TO(*UD_FW_SERIAL_NUMBER)

CHANGE FIELD(#FW_MDNO) TO(*UD_FW_MODEL_NUMBER)

*

IF COND(*INTERACTV)

DISPLAY FIELDS(#JOBNAME #USER #JOBNBR #DATE8 #TIME #FW_SRNON #FW_SRNO #FW_MDNO #CPUTYPE #FW_CPFREL #FW_PART #FW_PARDSC)

ENDIF

*

EXCHANGE FIELDS(#JOBNAME #USER #JOBNBR #DATE8 #TIME #FW_SRNON #FW_SRNO #FW_MDNO #CPUTYPE #FW_CPFREL #FW_PART #FW_PARDSC)

RETURN

*

* =======================================================

* Tag: End Program Mainline : FWBI01

* =======================================================

*

* <<<<<<<< End of Program RDML : FWBI01 >>>>>>>>

 

  Surround certifies EVLA for use with LANSA 10.0 release.

Back to Top

Surround Technologies has recently certified that its Envision Visual LANSA Accelerator system, as well as all of its LANSA-based software, is now compatible with the new version 10.0 LANSA software release.

This means that all current EVLA users may potentially save months of development time and money, as well as quickly taking advantage of the new v 10.0 features, when they move their applications into the new LANSA release. All worry free!
 

  Customer Success Story ...

Back to Top

Today's Business Computers is hooked on the VL Accelerator!

".....We probably wouldn't have attempted rewriting our casino package without the VL Accelerator because it would have taken so long," Vilardo said. "The Visual LANSA Accelerator makes this challenge more cost effective by drastically reducing the amount of time and number of programmers required. I believe that we probably will realize a savings of hundreds of thousands of dollars in programming thanks to the VL Accelerator. What we can now do in about half a day versus weeks, it's like a 25 to 1 ratio of increased productivity."

For the rest of the story, please click here.
 

  Windows Tips!

Back to Top

Adding a Command Prompt to any Folder.

Yes, DOS is still not dead!!! I sometimes choose to access that persistent command prompt for a variety of reasons. However, I never liked going to the Command Prompt icon in the Start > Programs > Applications Folder on the Start Bar. So I started going to the Start > Run option and typing in CMD. That would give me a Command Prompt. Still, those mouse Click and drags plus the 3 keystrokes seemed to take so much unnecessary effort. I was never one for tedious or mundane exercises, so I went on a pursuit to make it even easier. I am a big fan of using the shortcut (right mouse click) menu and wished I could have the Command Prompt right in there right on the Folder I wanted to be in. Well hey, you can - and its easy!

Open Explorer and click Tools > Folder Options.... Click on the File Types Tab. Locate Folder and click Advanced. Click New to open the New Action dialog box. Type Command Prompt in the Action box, and type cmd.exe in the Application Used to Perform Action box. Now you can right-click a folder and click Command Prompt to open a Command Prompt window at the folder's path. What's more, simply right click on the Start button itself, and voila - there is the Command Prompt again. Easy. Fast. Efficient.

Other options: I also added a shortcut to the Command Prompt to my Desktop, but quickly removed it because the only time I see my Desktop is when I am starting up or shutting down. A better method is to add the shortcut to the Quick Launch tool bar down in the Taskbar. I put a ton of stuff down in the Taskbar and would consider it one of the best most powerful features in Windows. But that I will save that for the next Newsletter.
 

  Company Information

Back to Top

Established in 1997, Surround Technologies, LLC is an information technology firm dedicated to providing efficient and cost-effective solutions to the corporate community by delivering high-quality software applications and consulting services.

For further information on anything that you have read in this issue of the Surround Newsletter, contact Surround Technologies at (908) 490-1235, or research their products and services on the World Wide Web at www.surroundtech.com.

Surround Technologies, LLC
324 Belleville Ave, Suite 31
Bloomfield, NJ 07003
Phone: 973-743-1277

Email: sales@surroundtech.com
Web: http://www.surroundtech.com

  eNewsletter Subscription Maintenance:

Back to Top

If you wish to Sign up or discontinue the receipt of Surround Newsletters, please use our Newsletter Request Form or send an email to surround_info@surroundtech.com

Surround Technologies, LLC