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   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  MainFrame  >>  IBM AS400  >>  IBM AS400 AllOther
 
 


 

 
 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 to get no of records in file in rpg with out cl cmd
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how to get no of records in file in rpg with out cl cmd
Answer
# 1
Read the file from beginning and increase the counter by 
one till end of file. At the last the counter value will be 
the no of records in file.
 
Is This Answer Correct ?    1 Yes 1 No
Shobhit
 
  Re: how to get no of records in file in rpg with out cl cmd
Answer
# 2
With the help of INFDS(File information data structure) we 
can know the no of records in file.

Ex.
D NUM_RCDS   156    159I O     * Num of records
 
Is This Answer Correct ?    4 Yes 0 No
Shobhit
 
 
 

 
 
 
Other IBM AS400 AllOther Interview Questions
 
  Question Asked @ Answers
 
How to write a password mask program in as400? like the password which i type should be displayed as '*****' r ###### which the user wishes to dispaly if u could help me with url r the solution in written code this will help me Accenture2
CAN WE INSERT FIELD IN PHYSICAL FILE BY USING OPNQRYF?  1
Good morning my experts.Im kuppi.im working as a software trainee on AS/400 technology.i have also joined with ibmi5 team.im trying to convert date with cl/400 coding.I have taken 2 parameters(like date and date types). A. If suppose date type is j,Now i want to convert date to *MDY format B. if date type is M,now i want to convert date to *JUL format C. sending a Program message with the value of converted date.  1
What is the purpose of USROPN keyword? CTS1
What controls which printer a report goes to?  3
In there is 100 no. of recordsin PF, if i delete all the records. Then what is the Size of the PF?  6
how can we view the entire objects and its types in a pgm? Mind-Tree6
Where would you use Override Data Base File?  4
why we use binding directory and service pgm TCS2
An rpg program is processing an openquery file.The file is declared in update mode in F spec.Can we update this file? Please explain?  1
WHICH COMMAND WE CAN USE TO UPDATE A PHYSICAL FILE USING C.L PGM? Ocwen10
OVRDBF FILE(xxx) TOFILE(libl/filename) share(*yes) In which scenario is share(*yes) used? could any one explain with an example? IBM2
what is the correct about QTEMP library(below mention)? a.it is Unique to a job b.it can be shared between different job c.it can only be deleted by QSECOFR d.Non Please give me the answer for this?  2
Diff B/w ref and reffld?  1
how can i convert hexadecimal value to packed value? CGI1
Which is better LF or OPNQRYF ? When should we use LF and when should we use OPNQRYF ? HCL2
What is the difference between a Physical File & a Logical? ACS13
Please give me the code for A=A+1 in cl program?  1
A phisical file has two fields like 1) Account No(10,0) 2)Phone No(15,0)Unique on both fields?Please give me the answer for this?  2
Hey, What is the difference between SCAN,CHECK,XLATE OPCODES? please give me the answeres with example in real time senario?  1
 
For more IBM AS400 AllOther 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