Correlatives and Conversions Reference

Correlatives are used to correlate and process raw data either within a file or between files; conversions are used to convert the format of raw or correlated data before it is output. Correlatives are located in Attribute 8 of an Attribute Definition item, conversions are located in Attribute 7.

The table below summarizes all the correlative and conversion processing codes.

Code

Usual Use

Description

A

Corr

Performs arithmetic calculations.

B

Corr

Allows mvBASIC subroutines to process data from within an Attribute Definition item.

C

Corr

Concatenates attribute values.

D

Conv

Converts dates to output format.

F

Corr

Performs mathematical functions using the stack.

G

Corr

Extracts groups of characters from an attribute.

L

Corr

Extracts data that falls within a specified length.

MC

Conv

Extracts alphabetic or numeric characters, or converts character cases.

MCDX

Conv

Converts decimal numbers to hexadecimal equivalents.

MCXD

Conv

Converts hexadecimal numbers to decimal equivalents.

ML

Conv

Formats and left-justifies numbers and dollar amounts.

MR

Conv

Formats and right-justifies numbers and dollar amounts.

MT

Conv

Converts times to output format.

MX

Conv

Converts ASCII character strings to hexadecimal equivalents.

MY

Conv

Converts hexadecimal character strings to ASCII equivalents.

P

Corr

Extracts data that matches a specified pattern.

R

Corr

Extracts data that falls within a specified range.

S

Corr

Substitutes data from another attribute, or a character string, for the data in the referenced attribute.

T

Corr

Extracts characters from the data in an attribute.

TFILE

Corr

Translates data stored in another file.

See Also

Using INFO/ACCESS Correlatives and Conversions

Introduction to Correlatives and Conversions

Performing Arithmetic Operations

Deriving Data from Attributes

TFILE Code

Formatting Data

Advanced Topics