PEEKLONG Function: UNIX

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

Syntax

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

Required Arguments

address
specifies the character string that is the memory address.
length
specifies the data length.

Details

CAUTION:
Use the PEEKLONG functions only to access information returned by one of the MODULE functions.
The PEEKLONG function returns a value of length that contains the data that starts at the memory address.
Here are the variations of the PEEKLONG functions:
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 for completeness.