If I know the lengths of an input string and the length of a buffer, I can 
specify a pad character and copy it with MVCL. If I know that it is  delimited 
by, e.g., a blank, I can use MVST but I run the risk of a buffer overrun. Is 
there a quick way to copy a delimited string without overrunning either the 
input or output buffer and without resorting to TRT?

-- 
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to