check existence of one record without using chain or read?



check existence of one record without using chain or read?..

Answer / amit

Use setll with %equal to check if the record exists or not.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More RPG400 Interview Questions

How we will read call stack?

4 Answers  


without logical file we cannot access the data in physical file.but we specify physical file in the program(ie:- Ffile IF E k disk).how can it be accessed?

3 Answers   HSBC, TCS,


how can we can we the data decimal error?how can we open such file in support

1 Answers  


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

0 Answers   iGate,


In a particular program one file is used where override command is applied to a file, now this program calls another program where we want to use the same file but without override.How it can be done?

6 Answers   Hexaware,






how can i retrieve the field name from display file at run time? Devendra Singh Tomar

3 Answers  


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

0 Answers  


What will be the value of STRING after line 0106 is executed in the code below? 0101 E* Fromfiletofile..tabnameprnentlenpdatabnamlenpda 0102 E ARR 8 1 0103 ISTRING DS 0104 I 1 8 ARR 0105 C MOVE *BLANK STRING 0106 C MOVEA'ABC' ARR A) 'AAAAAAAA' B) 'BBBBBBBB' C) 'CCCCCCCC' D) 'ABC ' E) ' ABC'

2 Answers  


how do u find whether a record is locked or not??

4 Answers   CTS,


are there any useful c runtime apis that I can call from rpg iv?

0 Answers   IBM,


Assume my file has 100 records and I want to see only first 10 records. Is this possible through lf?

1 Answers  


Write a program to display prime numbers between 1 to 100 using RPGLE.

1 Answers  


Categories