View previous topic :: View next topic
|
Author |
Message |
lakshmibala
New User
Joined: 16 Jun 2004 Posts: 47
|
|
|
|
Hi
this question asked in hexaware
In my file is Index, i wanna append a record, if i access the file is random , is it possible? |
|
Back to top |
|
|
sandip_datta
Active User
Joined: 02 Dec 2003 Posts: 150 Location: Tokyo, Japan
|
|
|
|
Please state your questions properly and clearly. Append means what? You need to add records at the end of the file?...or something else?...
In an indexed file, if you populate the key properly then it will create any problem if you access it randomly or in any other way.
Admin,
Now the interview asked questions are taking major part of this forum. And all those questions are very basic questions and can be found in any standard book. Better you open a new forum called Interview.
Regards,
Sandip. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Sandip, I agree with your comment.
Personally, I find this whole business of sharing interview questions a bit sleezy, if not downright unethical. As I have posted before, the poster of the question should at least supply an appropriate answer. Otherwise, what is being gained? |
|
Back to top |
|
|
badri
New User
Joined: 03 Sep 2004 Posts: 9
|
|
|
|
you can append a record for index organization and random access, but that record will be inserted based on the record key. |
|
Back to top |
|
|
thunder
New User
Joined: 03 Sep 2004 Posts: 3
|
|
|
|
hi,
we know pretty well that we can append random file using index.
But what we want to know is in which mode we should open the file.
plz try to answer correctly without bluffing.
because it is a very useful website where hundreds of mainframe students are learning thru. pl correct yourself in futre.
Thanx u,
bye |
|
Back to top |
|
|
sandip_datta
Active User
Joined: 02 Dec 2003 Posts: 150 Location: Tokyo, Japan
|
|
|
|
thunder,
Probably you didn't read the first post of thid topic. No where it is asked which mode the file has to be opened....right?
And if you know (pretty well) that the file can be accessed in random mode, you should also know in which mode you should open the file...
If you don't know then I should say that you don't know what random access means...
It seems that you are bluffing not others...
Sandip. |
|
Back to top |
|
|
muthukumarapandian
New User
Joined: 08 Oct 2004 Posts: 42 Location: chennai, india
|
|
|
|
In index file ur records are stored on the basis of ur file's primary key value what ever may be ur need it will insert the records , if ur key values are increment or decrement continously then it looks like appending |
|
Back to top |
|
|
|