KPG1_QUOTE

Quote a supplied string

Description:

This routine returns a new string holding a copy of the supplied string within single quotes. Any single quotes within the supplied string are escaped using a backslash.

Invocation

CALL KPG1_QUOTE( IN, OUT, STATUS )

Arguments

IN = CHARACTER() (Given)
The input string. Any trailing spaces are included in the returned quoted string.
OUT = CHARACTER() (Returned)
The quoted string.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: