Previous Page | Next Page

Functions and CALL Routines under OpenVMS

PEEKLONG Function: OpenVMS



Stores the contents of a memory address in a numeric variable on 32-bit and 64-bit platforms.
Category: Special
OpenVMS specifics: All
See: PEEKLONG Function in SAS Language Reference: Dictionary

Syntax
Details

Syntax

PEEKCLONG(address,length);
PEEKLONG(address,length);

address

specifies the string that is the memory address.

length

specifies the length of the data.


Details

CAUTION:
Use the PEEKLONG functions only to access information returned by one of the MODULE functions.   [cautionend]

The PEEKLONG function returns a value of length length that contains the data that starts at memory address address.

The variations of the PEEKLONG functions are:

PEEKCLONG

accesses character strings.

PEEKLONG

accesses numeric values.

Usually, when you need to use one of the PEEKLONG functions, you will use PEEKCLONG to access a character string. The PEEKLONG function is mentioned here for completeness.

Previous Page | Next Page | Top of Page