User Exit Conversions

This topic contains a list of user exits which can be used in an ICONV or OCONV intrinsic function to perform special processing. The need for most of these user exits has been eliminated by the addition of elements to the SYSTEM intrinsic function and ASSIGN statement.

User Exit Conversions

User Exit Purpose Alternative
U307A Causes terminal to sleep until the specified time (in 24-hour format) is reached. RQM or SLEEP statement.
U407A Causes terminal to sleep until the specified number of seconds has elapsed. RQM or SLEEP statement.
U50BB Returns the port number and account name. (Similar to TCL WHO command. SYSTEM(18) returns the port number. SYSTEM(19) returns the account name.
U00E0 Returns 0 if executing a noncataloged program or 1 if the program is cataloged. SYSTEM(20)
U10DD Get system serial number. SYSTEM(22)<1>
U10E0 Returns the options specified on the input line at run-time in alphabetic order with commas removed. Numeric options are excluded. SYSTEM(15)
U20E0 Returns the TCL input statement. The verb, redundant blanks, and options are removed. The remaining blanks are replaced with attribute marks. Not valid if the program is run from a Proc. SYSTEM(60) is directly equivalent to this user exit. However, the SENTENCE function provides greater flexibility and should be preferred.
U30E0 Returns 1 if there is an active select list; otherwise, returns 0. SYSTEM(11)
U40E0 Toggles printing of warning messages at run-time (toggles the S option of the RUN command).  
U60E0 Returns current setting of the terminal page width. SYSTEM(2)
U70E0 Sets the terminal echo ON (similar to the TCL NOHUSH command). ECHO ON
U80E0 Sets the terminal echo OFF (similar to the TCL HUSH command). ECHO OFF
U90E0 Converts dollars to RAND; that is, converts dollar signs ($) to ‘R’ or to a specified character, commas to full stops and full stops to commas.
CONVERT(value,"$,.","R.,")

Go to top button