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
How Chain operation copies the record's data to the input buffer for the program?
How can we know running job is batch or interactive?
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.
How to declare the pull button in AS/400..
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
What is a record lock error?
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
When it is desirable to describe files Internally?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
What is the purpose of record level identifier?
what is the rpg system?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.