IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Wanna append a record,if I access the file is in RANDOM


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
lakshmibala

New User


Joined: 16 Jun 2004
Posts: 47

PostPosted: Thu Aug 26, 2004 12:46 pm
Reply with quote

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
View user's profile Send private message
sandip_datta

Active User


Joined: 02 Dec 2003
Posts: 150
Location: Tokyo, Japan

PostPosted: Thu Aug 26, 2004 1:52 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Aug 27, 2004 11:00 pm
Reply with quote

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
View user's profile Send private message
badri

New User


Joined: 03 Sep 2004
Posts: 9

PostPosted: Fri Sep 03, 2004 12:42 pm
Reply with quote

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
View user's profile Send private message
thunder

New User


Joined: 03 Sep 2004
Posts: 3

PostPosted: Fri Sep 03, 2004 2:57 pm
Reply with quote

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
View user's profile Send private message
sandip_datta

Active User


Joined: 02 Dec 2003
Posts: 150
Location: Tokyo, Japan

PostPosted: Fri Sep 03, 2004 3:41 pm
Reply with quote

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
View user's profile Send private message
muthukumarapandian

New User


Joined: 08 Oct 2004
Posts: 42
Location: chennai, india

PostPosted: Thu Feb 24, 2005 7:23 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 0
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top