ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  MainFrame  >>  IBM AS400  >>  RPG400
 
 


 

 
 RPG400 interview questions  RPG400 Interview Questions
 COBOL400 interview questions  COBOL400 Interview Questions
 DB400 interview questions  DB400 Interview Questions
 COOLPLEX interview questions  COOLPLEX Interview Questions
 IBM AS400 AllOther interview questions  IBM AS400 AllOther Interview Questions
Question
How do you find out whether a record is present in the 
physical file without reading the file? 
for Example Employee No: 100 in an Employee master.How do 
we find out whther 100 is present in Employee master 
without reading the file?
 Question Submitted By :: Sweta
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How do you find out whether a record is present in the physical file without reading the file? for Example Employee No: 100 in an Employee master.How do we find out whther 100 is present in Employee master without reading the file?
Answer
# 1
upto my knowledge i can use CHAIN .coz i am not reading the
file using chain key word
 
Is This Answer Correct ?    2 Yes 5 No
Rakesh
 
  Re: How do you find out whether a record is present in the physical file without reading the file? for Example Employee No: 100 in an Employee master.How do we find out whther 100 is present in Employee master without reading the file?
Answer
# 2
You can do SETLL and then use %found to check whether the 
record exist in the file.

Chain itself does the SETLL operation on the file and reads 
the subsequent record if match is found.
 
Is This Answer Correct ?    4 Yes 2 No
Rashmimalpani
 
 
 
  Re: How do you find out whether a record is present in the physical file without reading the file? for Example Employee No: 100 in an Employee master.How do we find out whther 100 is present in Employee master without reading the file?
Answer
# 3
With the help of  SETLL using EQ indi,we can check the 
existance of record wihtout reading the file.
 
Is This Answer Correct ?    4 Yes 0 No
Samul Paul
 
  Re: How do you find out whether a record is present in the physical file without reading the file? for Example Employee No: 100 in an Employee master.How do we find out whther 100 is present in Employee master without reading the file?
Answer
# 4
hi....
 do setll and then use %found if there are record
 exit  in file then it will display recrd
 
Is This Answer Correct ?    1 Yes 0 No
Dinesh
 

 
 
 
Other RPG400 Interview Questions
 
  Question Asked @ Answers
 
What is the OPEN and CLOSE accesspath? CTS1
wat is the difference between array and multiple occurence data structure? Four-soft2
what is plat file?  4
Can somebody tell me that, Is it possible to read all the member of PF without OVRDBF?  2
how to display all the members records in a physical file without using ovrdbf?  5
what is the difference between SETON RT & RETURN?  3
1) How to declare a file? 2) How to define a display file? 3) How to monitor error messages in RPG? 4) How to find the attributes for subfiles? and what is the DDS for subfiles? TCS1
What is the compilation option that has to he specified while compiling an RPC program which uses a file having date data type field? IBM1
Can we create 300 logical files based on a single physical file using the CRTLF command only once?.  3
If the last record of a file has been read, and the next operation on that file is a READ operation, what will be the values of the input fields for that file? A. They will be blank and/or zero. B. They will be null. C. They will equal the values of the first record in the file. D. They will equal the values of the last record read.  2
please help me answer to this question what is the difference between the binding and srvpgm in ilerpg? HCL3
The PGMA calls PGMB.PGMB generates a report.The report should contain the called program name(PGMA).How do i get the called program name in PGMB to print it on the spool file?(calling program name should NOT be hard coded or passed as parameter to called program?  1
there is any limit to display the members in rpg400?  2
What is the RPG cycle? CSC1
WHERE DO WE USE COMIT KEYWORD IN AN RPG PROGRAM? YOU MADE SOME CHANGES TO DATABASE BUT YOU DON'T WANT TO SAVE THOSE CHANGES NOW? HOW DO YOU HANDLE THIS ONE?  1
what is the difference between the cpyf command crtdupobj command?  7
where we give the MSGSFL in rpg400?  1
IN RLU what are the record level keyword is used? TCS2
How we will read call stack?  2
i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL program  3
 
For more RPG400 Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com