Define the purpose of the following code (If you know, how would this be written in RPG ILE)
HI LO EQ
C *IN66 DOUEQ *OFF
C KEY1 CHAIN
FILEA 90 66
C 66 CALL
PGM1 PRM
C ENDDO
Answer / sanjeet kumar
Whenever the indicator *IN66 becomes *OFF, the control transfers after ENDDO statement. Otherwise, it reads the records from the data base file based on indicator specified on HI position. If the specified indicator on LO position becomes *OFF, then only CALL statement will execute.
Is This Answer Correct ? | 0 Yes | 0 No |
give three main purposes of file specification ?
how can u check no of records in a file?
How to reverse the string in rpg
How can the user implicitly open and close the files in RPG program ?
How to reverse a string using RPG?
what are the different types of keys in AS400
What is array in as400? What are the types of array?
1.what are the builtin funtions in cl pgg?Explain with example 2.what is meant by left outer join?where we can use this?
What Is Ddm ?
define a output queue?
What Does Lokup Does In Tables & Arrays?
what is the main use of OPNQRYF ?? in that query why we can use OVERDBF and in that OVERDBY why should we use SHARE(*YES)