48 lines
1.6 KiB
Plaintext
48 lines
1.6 KiB
Plaintext
|
subroutine U0196( ans, status, data, type )
|
||
|
*******************************************************************************
|
||
|
*
|
||
|
* Replace all system delimiters in the "data" with tildes
|
||
|
*
|
||
|
* Module %M% Version %I% Date %H%
|
||
|
*
|
||
|
* (c) Copyright 1998 Ardent Software Inc. - All Rights Reserved
|
||
|
* This is unpublished proprietary source code of Ardent Software Inc.
|
||
|
* The copyright notice above does not evidence any actual or intended
|
||
|
* publication of such source code.
|
||
|
*
|
||
|
*******************************************************************************
|
||
|
*
|
||
|
* Maintenence log - insert most recent change descriptions at top
|
||
|
*
|
||
|
* Date.... GTAR# WHO Description.........................................
|
||
|
* 10/14/98 23801 SAP Change copyrights.
|
||
|
* 07/25/88 - - Maintenence log purged at 5.2.1, see release 5.1.10.
|
||
|
*
|
||
|
*******************************************************************************
|
||
|
*
|
||
|
* This "user-exit", called from a BASIC program, takes the "data"
|
||
|
* string and replaces system delimiters with tildes.
|
||
|
*
|
||
|
*
|
||
|
* Usage: x = OCONV( y, "U0196 )
|
||
|
*
|
||
|
* Arguments to this subroutine are:
|
||
|
* ans - the returned string containing tildes in place of
|
||
|
* system delimiters
|
||
|
* data - the input string containing system delimiters
|
||
|
* status - 0 if the "conversion" succeeds
|
||
|
* type - 0 if ICONVerting, 1 if OCONVerting
|
||
|
* irrelevant in the case of 0196
|
||
|
*
|
||
|
*******************************************************************************
|
||
|
*
|
||
|
$options DEFAULT
|
||
|
|
||
|
ans = data
|
||
|
CONVERT @AM to "~" in ans
|
||
|
CONVERT @VM to "~" in ans
|
||
|
CONVERT @SVM to "~" in ans
|
||
|
status = 0
|
||
|
RETURN
|
||
|
END
|