In RPG or RPGLE but not RPGLE-free you could use the MOVEA (move array command)
MOVEA '0000' *in80
would move *zeros to *in80, *in81, *in82, *in83
But I find it's better to do it in 4 discreate commands perhaps in a Subroutine.
Maintenance programmers might not catch the meaning as quickly as the four statements.
Phil
/////////////////////////////////
Hi,
In RPGLE-Free you can use it to turn off indicators 80 to 83.
%SubArr(*IN : 80 : 4) = *Off
Regards,
Wilson
Last Wiki Answer Submitted: May 15, 2009 2:10 pm by philpl1jb44,630 pts.
All Answer Wiki Contributors: philpl1jb44,630 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
There is a good discussion and sample code on this topic at
http://archive.midrange.com/rpg400-l/200402/msg00198.html
The site requires membership which is free.