how can we find setll setgt chain read reade readp
operations are successfull or not,give example.explain in
detail.
Answer Posted / adhar246
%FOUND will give the record is found or not. Not the operation was successful. To check an opcode is successful you have to use opcode extender (E) with opcode. and use %error BIF to check the opcode was successful.
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
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...?
what is the difference between do while and do until?
what was the robotech rpg?
What is file identifier where we can use?
How to call one program from another program in RPG? please help me with the code
can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com
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.
can I touch the array during treatments?
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.
how does the rpg element work?
How many program bind in one module....
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...
What is a record lock error?
How can we override a file during runtime in rpg?
What is ment by record level identifier?