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

define the purpose of the iter operation?

1841


how to write *pssr ?

1067


why is as/400 called object oriented machine?

1680


what is the clp command to access a query/400?

2134


What is RETURN CURSER LOCATION in subfile?

1567


what keyword must be used with protect keyword ?

1757


how can u check no of records in a file?

1136


which are the figurative constants used in rpg?

1326


what is rpg ?

1643


define data structure?

1754


what is *iso date format?

1049


Apart from opening of a file do we have any other use of USROPN?

1380


can you specify a display file to be used in the following modes input,output, or combined modes ?

1555


what is a keyed physical file?

1811


all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?

2871