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.
Answers were Sorted based on User's Feedback
Answer / ps
Anyways here is small example
ITEM CHAIN ITEMMAST
C IF %FOUND
C ITEM SETLL ITEMARCH
C IF NOT %EQUAL
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / ps
Do you mean to say Build in functions ?
Dude Instead of writing 10 lines explanation try to
understand question first .
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / guest
By using Indicator IN RPG400 , % found build in function
for RPGLE
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / 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 |
What will be your approach in going either for OPNQRYF or Logical files. Which one to go for?
Suppose my file has 10 fields and I want to make the 2nd field zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation?
how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.
Can we found a record existance in a file w/o reading the file?
6 Answers Traitsys Technologies,
when will come session device error?
Can someone tell me tell me what is meant by message wait...?
How to find d key field of a pf that doesn’t have source physical file?
what is batch debug in as400?
How to identify the object has compiled with the debug view as *source without using STRDBG?
1.Can any body share me about thease opcodes with example please.Im new for AS/400.Could u please tell me in real senario? 1.TESTN, 2.EVAL 3.EVALR, TIME, 4.MONITOR 5. ENDMON 6.ON-ERROR 7.COMMIT ROLLBACK?
what is kids-rpg?
Q1.How we can copy the data of file one session to another session? Q2.how we can execute a loop infinitely in AS/400 coding? Q3.In ALDON tool,multitask is posible on a perticular object by the user?