PreviousNew Features in Server Express 1.1 COBOL System Library RoutinesNext

Chapter 4: New Features in Server Express 2.0

This chapter introduces you to the new features in Server Express 2.0.

4.1 Introduction

Server Express enables you to develop 64-bit applications. If you install Server Express 2.0 on a 64-bit UNIX system, you can choose whether to develop programs using a 32-bit or 64-bit development system. The tools available to you are the same whichever development system you are using, and are the same as those supplied with Server Express 1.x. Server Express 2.0 includes the new features introduced with Server Express 1.1; see the chapter New Features in Server Express 1.1 for information.

4.2 Working Modes

When you install Server Express 2.0 on a 64-bit UNIX system, you will be asked to select a default working mode. A working mode defines whether you use the 32-bit or 64-bit development system. You can change the working mode, either on a system-wide basis or on a user basis. For details on setting and changing working modes, see the chapter Working in 32-bit and 64-bit Modes in your Server Express User's Guide.

4.3 Migrating Applications to 64-bit Systems

You can migrate a program from a 32-bit development system to the 64-bit development system. If a program does not use pointers or a user-defined File Control Description (FCD), you can create a 64-bit version of the program by using the P64 Compiler directive and recompiling it using the 64-bit development system. For information on the P64 Compiler directive, see the chapter Directives for Compiler in your Server Express User's Guide.

If a program does contain pointers, and/or user-defined FCDs, you might have to make changes to your program. For information see the chapter Creating 64-bit Programs in your Programmer's Guide to Writing Programs. You can locate pointers in your programs using the Scan64 utility, which is described in the chapter Scan64 in your Utilities Handbook.

4.4 Library Routine Prototypes

Server Express 2.0 provides prototypes for the Server Express library routines. Prototypes help to ensure that the library routines run correctly on a 64-bit system. See the chapter Creating 64-bit Programs in your Programmer's Guide to Writing Programs, for an introduction to the library routine prototypes. The documentation of the system library routines in all Server Express books now shows the prototyped data items. For information on the use of prototypes with the library routines, see the section Using the Library Routine TYPEDEFs and CALL Prototypes in the chapter Library Routines in your Programmer's Guide to Writing Programs.

If the use of prototypes is new to you, there is a discussion of CALL prototyping in the section CALL Prototypes in the chapter Calling Programs in your Programmer's Guide to Writing Programs.

4.5 Header-to-Copy Utility

The Header-to-Copy utility provides the new command line option (-G) that enables you to group command line options as a named group. The -a and -e command line options provide new parameters to enable working in 64-bit mode.

See the chapter Header-to-Copy Utility in your Programmer's Guide to Writing Programs for more information.


Copyright © 2000 MERANT International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.

PreviousNew Features in Server Express 1.1 COBOL System Library RoutinesNext