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


Please Help Members By Posting Answers For Below Questions

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...?

1464


what is the difference between do while and do until?

710


what was the robotech rpg?

686


What is file identifier where we can use?

652


How to call one program from another program in RPG? please help me with the code

1261






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

1971


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.

2054


can I touch the array during treatments?

759


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.

5423


how does the rpg element work?

718


How many program bind in one module....

2125


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...

1314


What is a record lock error?

1270


How can we override a file during runtime in rpg?

690


What is ment by record level identifier?

657