How to set on/off a group of indicators in a single statement?

Answer Posted / sulthan

I cannot recollect completely. I will explain with an example.

C MOVE '00000' *IN(21).

this will set indicators from 21 to 25( total 5 zeroes from
21) to 0's.

Note: It is MOVEA or MOVE, not sure.

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between copybooks and subprocedures in as400?

801


what is a rpg?

696


what is data area and how it is used in rpg program ?

750


How many program bind in one module....

2115


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

1304






How to declare the pull button in AS/400..

1872


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1011


what is kids-rpg?

661


What is ment by record level identifier?

647


what is the difference between do while and do until?

697


When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?

496


what is the procedure and explain about real time scenario.

1473


How would display prime numbers using CL program?

5672


write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen

824


what is the rpg system?

660