Chapter Contents

Previous

Next
COLLATE

COLLATE



Generates an EBCDIC collating sequence character string

CMS specifics: EBCDIC collating sequence


Syntax
Details
See Also

Syntax

COLLATE (start-character <,end-character> <,length>)

start-character
is an integer that corresponds to the beginning character in a sequence.

end-character
is an integer that corresponds to the last character in a sequence. If you omit end-character, you must mark its place with a comma.

length
is the number of characters specified in a string.


Details

Under CMS, the COLLATE function returns a string of characters from the EBCDIC collating sequence. Some operating environments return the corresponding character in the ASCII collating sequence for this function.

If neither the end character nor the length is specified, COLLATE returns a character string up to 200 characters long. If both the end character and the length are specified, the length is ignored.

See Also


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.