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

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

accessing more than one Member

View previous topic View next topic Go down

accessing more than one Member

Post  rajkumar400 on Sat Dec 25, 2010 9:40 pm

How do I access more than one member thru RPG III?

Thanks.
Raj

rajkumar400

Posts : 59
Join date : 2010-12-25

View user profile

Back to top Go down

how to use required membernusing RPG400

Post  kushaalrathi on Sun Dec 26, 2010 2:40 pm

In order to access other members of a file we use IGNORE and INCLUDE keywords on the F
specs.
IGNORE is used in case we do not want to use a particular
member of a file.
INCLUDE helps in using a particular record format for the
file.
Hope this clarify your doubt.

kushaalrathi

Posts : 12
Join date : 2010-12-26

View user profile

Back to top Go down

Re: accessing more than one Member

Post  rajkumar400 on Sun Dec 26, 2010 3:30 pm

I think IGNORE and INCLUDE are to remove and add the record formats respectively not related to member.

rajkumar400

Posts : 59
Join date : 2010-12-25

View user profile

Back to top Go down

Re: accessing more than one Member

Post  soundhar on Sat Jan 01, 2011 10:38 pm

Yes U can use File Declare Keywords - EXTMBR('MEMBER NAME')
U can access using,
EXTMBR(*FIRST) - to access first member
EXTMBR(*LAST) - to access last member
EXTMBR(*ALL) - to access ALL member(MORE THAN ONE MEMBER)

soundhar

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

View user profile

Back to top Go down

Re: accessing more than one Member

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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