Learn More
Search site for:
News »
Scroll Up for Recent News
Nov 2008
Appx 5.0 Beta is Ready!
Appx Release 5.0 Beta is ready. This Release includes ...

[Read Full Article]


June 2008
Caylx Retires from Distribution
Following 33 years of working with the SPEED I, SPEED II and APPX...

[Read Full Article]


April 2008
Appx Blog Online
ASI has started a blog! This is an excellent way...

[Read Full Article]


December 2007
Appx Conference 2007
We're pleased to report that our first European APPX Conference proved to be...

[Read Full Article]


August 2007
Appx Conference 2007
Still haven't decided if the Appx Conference is for you? First of all, it's a great way...

[Read Full Article]


June 2007
CWI Hosts European Conference
For some years now, ASI has been hosting tremendously successful APPX conferences in the USA...

[Read Full Article]


January 2007
ASI announces the APPX 4.2.a Patch Release is now available for download ...

[Read Full Article]


August 2006
ASI provides a new format for emailed APPX registrations. Registrations are now being sent as text file attachments to...

[Read Full Article]


May 2006
Another conference is over, and once again it provided an excellent opportunity to network, learn and socialize with VARs and customers from around the world...

[Read Full Article]


February 2006
You are cordially invited to join your APPX colleagues and friends at the newest "episode" of the bi-annual conference, called "APPX EX-ZOO-BERATION 2006"!...

[Read Full Article]


July 2005
CWI is delighted to welcome Minicom Software House Ltda, located in Brazil, to its reseller network!

For over 25 years, Minicom's team of consultants has been involved in the development and...

[Read Full Article]


March 2005
Sadeen Computerized Systems is an integrated solutions provider which has been offering management control software, security systems and access control software to SMEs for a number of years. Now, however...

[Read Full Article]


January 2005
CWI is pleased to welcome SWS Software Service in Austria to its reseller network! SWS has been a very successful SPEED II reseller since 1983 and has been working with APPX since...

[Read Full Article]


December 2004
CWI is pleased to welcome Sintec, S.A. de C.V. from Mexico to its reseller network!

[Read Full Article]


Scroll Down for Archived News


A | B | C | D | E |F | G | H | I | J | K | L | M | N | O | P
Q | R | S | T | U | V | W | X | Y | Z


Java Client Environment

There is a subroutine that you can use to find out more information about the user's environment, if they are running the Java Client. Consider the following code:

SET    --- TEMP 80                =        client.version
SET    --- TEMP 79                =
PASS   --- TEMP 80                FIELD                SHARE? N
PASS   --- TEMP 79                FIELD                SHARE? Y
SUBR   --- GET CLIENT CONSTANT    DETACHED         END? N   FAIL 0
Following execution of the GET CLIENT CONSTANT subroutine, TEMP 79 will contain a string that identifies the version of the Java Client that the user is running (e.g., 4.2.4a). If they are not running the Java Client, or are running a version prior to 4.2.4, then TEMP 79 will be blank. The GET CLIENT CONSTANT subroutine allows us to check more than just the client version, we can also PASS it the following:

file.separator ­- returns the current string used to separate file names in a path. This would normally be a `\' for Windows platforms and `/' for everything else.

path.separator ­- returns the string used to separate the path names in the PATH environment variable. This is usually a `;' in Windows, ':' in Unix/Linux.

os.name ­- returns a string identifying the name of the O/S under which the Java Client is running. This could be `Windows XP' or `Linux' for example.

os.version ­- returns a string identifying the version of the O/S under which the Java Client is running. For a Windows XP machine, this returns `5.1', and for a Linux machine this would return the Kernel version string, such as `2.4.21-243-default'

These calls allow us to get all the information we need to deal with the end user's environment. For example, if we have to create a file & upload it to the user, we know whether to use backslashes in file names or not, based on `file.separator' and we know whether to use LF or CR/LF delimiters,based on the `os.name'.

Java Client ILF Editor Shortcuts

You can double click a file name, field name, LABEL or GOSUB statement in the ILF editor. In the case of fields and fields, APPX will take you to the Data Dictionary for that field or file. In the case of a GOSUB statement, it will take you to the subroutine. In the case of a LABEL statement, it will take you to the GOSUB that refers to that LABEL.




For additional information, contact tips@cwi-appx.com

[back to top]