ibm midrange - RPGLE changing the output of a field -
i have field called fname contains first name of employee. output want show first letter of name.
for example, if name "frederic" want output "f" first name.
how manipulate first letter? do edtwrd in prtf file?
edtwrd , edtcde matter work on numeric fields.
you'd need substring value.
fname = %subst(fname:1:1);
Comments
Post a Comment