PreviousMigrating from 16-bit Class LibraryNext

Chapter 4: COBOL System Library Routines

This chapter lists differences in the COBOL System Library Routines compared to Object COBOL and Workbench.

For differences between 16-bit and 32-bit, see the chapter Migrating from 16-bit

4.1 Description of Routines

Routines are listed alphabetically. If a routine isn't mentioned, we believe no change is needed. Subheadings used in each entry are:

4.1.1 List of Routines


4.1.1.1 PC_TEST_PRINTER

Library routine to test the status of a printer.

Available in:

Object COBOL V3.4 and Workbench V3.4.

NetExpress:

Not available. This routine can work only on DOS, and therefore is not implemented in NetExpress. A dummy routine of this name is included which always returns a result indicating the printer is unavailable.

Migration:

Recode your program. Remove calls to this routine and check the file status after using a WRITE statement to the printer.


4.1.1.2 x"84", Execute a DOS interrupt

Available in:

Object COBOL V3.4 and Workbench V3.4.

NetExpress:

Not available. This routine can work only on DOS, and therefore is not implemented in NetExpress. Calling it will give RTS error 164 ("Run-time subprogram not found").

Migration:

Windows 95, Windows 98 and Windows NT V4.0 have no facility equivalent to the one that this routine gives access to, so you will need to redesign your application.


4.1.1.3 x"85" Read a byte from memory

Available in:

Object COBOL V3.4 and Workbench V3.4.

NetExpress:

Not available. This routine can work only on DOS, and therefore is not implemented in NetExpress. Calling it will give RTS error 164 ("Run-time subprogram not found").

Migration:

Windows 95, Windows 98 and Windows NT V4.0 have no facility equivalent to the one that this routine gives access to, so you will need to redesign your application.


4.1.1.4 x"86" Write to a byte in memory

Available in:

Object COBOL V3.4 and Workbench V3.4.

NetExpress:

Not available. This routine can work only on DOS, and therefore is not implemented in NetExpress. Calling it will give RTS error 164 ("Run-time subprogram not found").

Migration:

Windows 95, Windows 98 and Windows NT V4.0 have no facility equivalent to the one that this routine gives access to, so you will need to redesign your application.


4.1.1.5 x"87", Read a byte from a hardware port

Available in:

Object COBOL V3.4 and Workbench V3.4.

NetExpress:

Not available. This routine can work only on DOS, and therefore is not implemented in NetExpress. Calling it will give RTS error 164 ("Run-time subprogram not found").

Migration:

Windows 95, Windows 98 and Windows NT V4.0 have no facility equivalent to the one that this routine gives access to, so you will need to redesign your application. You may be able to write a C routine or use a Win32API routine to access the port.


4.1.1.6 x"88", Write a byte to a hardware port

Available in:

Object COBOL V3.4 and Workbench V3.4.

NetExpress:

Not available. This routine can work only on DOS, and therefore is not implemented in NetExpress. Calling it will give RTS error 164 ("Run-time subprogram not found").

Migration:

Windows 95, Windows 98 and Windows NT V4.0 have no facility equivalent to the one that this routine gives access to, so you will need to redesign your application. You may be able to write a C routine or use a Win32API routine to access the port.


4.1.1.7 x"94", Read a word from memory

Available in:

Object COBOL V3.4 and Workbench V3.4.

NetExpress:

Not available. This routine can work only on DOS, and therefore is not implemented in NetExpress. Calling it will give RTS error 164 ("Run-time subprogram not found").

Migration:

Windows 95, Windows 98 and Windows NT V4.0 have no facility equivalent to the one that this routine gives access to, so you will need to redesign your application.


4.1.1.8 x"95", Write to a word in memory

Available in:

Object COBOL V3.4 and Workbench V3.4.

NetExpress:

Not available. This routine can work only on DOS, and therefore is not implemented in NetExpress. Calling it will give RTS error 164 ("Run-time subprogram not found").

Migration:

Windows 95, Windows 98 and Windows NT V4.0 have no facility equivalent to the one that this routine gives access to, so you will need to redesign your application.


4.1.1.9 x"96", Read a word from a hardware port

Available in:

Object COBOL V3.4 and Workbench V3.4.

NetExpress:

Not available. This routine can work only on DOS, and therefore is not implemented in NetExpress. Calling it will give RTS error 164 ("Run-time subprogram not found").

Migration:

Windows 95, Windows 98 and Windows NT V4.0 have no facility equivalent to the one that this routine gives access to, so you will need to redesign your application. You may be able to write a C routine or use a Win32API routine to access the port.


4.1.1.10 x"97", Write a word to a hardware port

Available in:

Object COBOL V3.4 and Workbench V3.4.

NetExpress:

Not available. This routine can work only on DOS, and therefore is not implemented in NetExpress. Calling it will give RTS error 164 ("Run-time subprogram not found").

Migration:

Windows 95, Windows 98 and Windows NT V4.0 have no facility equivalent to the one that this routine gives access to, so you will need to redesign your application. You may be able to write a C routine or use a Win32API routine to access the port.


Copyright © 1998 Micro Focus Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.
PreviousMigrating from 16-bit Class LibraryNext