what procedure should we use to find whether the following
operations are successful or not
setll
setgt
chain
read
reade
readp
pls tell with example
i'm not lazy to read the manual or not lazy to do
anything.but sometimes i cannot understand the things given
in manual in high level english its little bit complicated
for me,i can't understand their way of writing thats why i
ask these questions here and find the solution in simple
words that i can understand thats the real reason sir.sorry
if i had hurt you or disturbed you.please understand my
situation.
Answer Posted / sreedhar reddy
C ITEM CHAIN ITEMMAST
C IF %FOUND
C ITEM SETLL ITEMARCH
C IF NOT %EQUAL
Little more for READ*
C Read ItemMast
C If Not %EOF
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
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...
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?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
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.
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
can I touch the array during treatments?
what is the procedure and explain about real time scenario.
what is kids-rpg?
How many program bind in one module....
How to declare the pull button in AS/400..
What is the difference between iter and do?
how do you use commitment control in rpg?
What is file identifier where we can use?
What is the purpose of record level identifier?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.