Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: Wanna append a record,if I access the file is in RANDOM
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: 151
Location: Tokyo, Japan

PostPosted: Thu Aug 26, 2004 1:52 pm    Post subject:
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

Moderator Team Head


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

PostPosted: Fri Aug 27, 2004 11:00 pm    Post subject:
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    Post subject:
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    Post subject: index random
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: 151
Location: Tokyo, Japan

PostPosted: Fri Sep 03, 2004 3:41 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us