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

Answer Posted / prabahar

MOVEA '00000' *IN(41)

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1563


what is *place and *auto keyword in prtf ?plz explain

2730


How to write record if no field or the field are different in physical file in rpgle ?

490


what is program status data structure?

1391


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

1884






What is difference between bind by copy and bind by reference?

1732


What is a record lock error?

1270


Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

517


How to handle duplicate error handling in RPG?

1683


How many program bind in one module....

2125


Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.

2053


what is the necessary keyword needed to scroll subfile records?

704


How can we know running job is batch or interactive?

658


When it is desirable to describe files Internally?

1190


give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........

3288