PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).

Join the forum, it's quick and easy

PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).
PMS Information Systems
Would you like to react to this message? Create an account in a few clicks or log in to continue.

get the no.of records

3 posters

Go down

get the no.of records Empty get the no.of records

Post  muthuraman Tue Oct 27, 2009 1:44 am

how to get no of records in file in rpg with out cl cmd?

Regards,
Muthuraman.

muthuraman

Posts : 42
Join date : 2009-08-28

Back to top Go down

get the no.of records Empty ONE WAY TO GET THE RECORDS

Post  soundhar Tue Dec 14, 2010 7:12 pm

DECLARE FILE AND HAVE A VARIABLE AS "I" AND MAKE IT AS ZERO...
READ FILE 30
*IN30 DOWEQ *OFF
ADD 1 I
READ FILE 30


I CONTAINS THE NUMBER OF RECORDS

soundhar

Posts : 67
Join date : 2010-07-14
Location : Vridhachalam/chennai

Back to top Go down

get the no.of records Empty Re: get the no.of records

Post  arifg2005 Fri Mar 16, 2012 1:51 pm

For this another way to we know the number of records in a file using file information data structure..

arifg2005

Posts : 3
Join date : 2012-03-15
Age : 40
Location : Chennai

Back to top Go down

get the no.of records Empty Re: get the no.of records

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum