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



what procedure should we use to find whether the following operations are successful or not setll..

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

what procedure should we use to find whether the following operations are successful or not setll..

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

what procedure should we use to find whether the following operations are successful or not setll..

Answer / deepak

Other way is thru result indicator..

Is This Answer Correct ?    1 Yes 0 No

what procedure should we use to find whether the following operations are successful or not setll..

Answer / guest

By using Indicator IN RPG400 , % found build in function
for RPGLE

Is This Answer Correct ?    1 Yes 0 No

what procedure should we use to find whether the following operations are successful or not setll..

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

Post New Answer

More RPG400 Interview Questions

What is file identifier where we can use?

0 Answers  


i want to perform uniqness on db file bt my db file nt hving key by useing rpgle.

3 Answers   HSBC,


Have a join logical file with more than one members with different record formats. So how can we read the different members from this file and also how we can read the different record format from the join logical?

3 Answers  


how do I do concatenation in rpg iv, like I do in cl?

1 Answers   IBM,


What does Implicit Open means with respect to a file ? What about the Explicit Open?..what are the major differences between these two?

1 Answers   IBM,






A rpg or clp command to find if the file field is defined as a character or numeric field.

1 Answers   IBM,


i hav 2 logical files(L1,L2) both r derived from one physical file(P1). how can i use both the logical files in one RPG program? if yes what i have to d.

5 Answers   TCS,


I want to declare the number of elements of an array dynamically in RPGLE ? Is it possible? If yes, then how do I do it ?

2 Answers  


How do you find whether a record is locked or not?

2 Answers  


1..Write an sql query to find the employee name who is having 2 phone numebr? 2.Write an sql query to the the second highest salary of the employee?

4 Answers  


Anyone help me for the below question:- If problem/error occur in *PSSR subroutine,how should I handel it in RPG program.

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

0 Answers  


Categories