Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

I had ruestion in one of the interview.....
If 1 file has more than 1 member and i want to use the 2nd
member in the RPG pgm (in RPG400),how can I use this....
I know the possible answers i.e. useing API 'QCMDEXE' or
Before calling the pgm I can use OVRDBF for that member...

but I dont' want to use both the tips in above scenarion.

Does any body tell me how can i use this ....?

Answer Posted / ankush chaudhary

Hi Paul,
In order to ignore say first member of a file and use the
2nd member we can 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.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what does vldcmdkey means?

1424


which are the figurative constants used in rpg?

1406


1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?

1159


how to write *pssr ?

1115


what is meant by object lock requests,held locks and locks waiting to be applied(wrkobjlck) why should we apply for locks.Please explain sir.

7033


What is diff between EVAL & MOVE?

1622


what are dds required for subfile?

1099


when should I use method get, and when should I use method post in my cgis?

1182


define the purpose of the *bcat function?

1657


In Which Specs Arrays, Tables & Constants Are Defined?

1221


when are the unique constraints executed?

1177


What is RETURN CURSER LOCATION in subfile?

1632


what is subfile?

1669


what is a join logical file?

1262


What Is The Object Type Of Pf, Lf, Printer File & Display File?

1200