U@STRINGLIT

U@STRINGLIT strings the input area, character by character, to the output area for whichever is shorter: input length, maximum input length, or maximum output length.

Module STRRTNS
Input

E@FLDIN

E@FLDINLITLEN

Output

E@FLDINGRP (all input control fields are reinitialized)

E@FLDOUT (with input data added)

E@FLDPNTR (set to next available character position in output)

Programming Example

     EVAL      RG3@WHDQNT     = DWHDQNTTY 
     CALLP     U@STRINGSTRING                   
     EVAL      E@FLDIN        = PWSBLK#STIN18   
     EVAL      E@FLDINLITLEN  = 18              
     CALLP     U@STRINGLIT