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
 

 

vsam interview questions

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
rambabu
Currently Banned

New User


Joined: 18 Apr 2005
Posts: 67

PostPosted: Fri Jun 24, 2005 2:06 pm    Post subject: vsam interview questions
Reply with quote

helllo ,
can any body pls answer this questiions?
!

1) Difference between delete , purge erase force?

2)How do u check how many records are there in vsam cluster and the fspc availabillity for future insertion?

3)
If the key is from 10th byte to 13th byte, how will u code key parameter?
4)

How dou rename set of files in one shot?
5)
what is vsam re organization and how frequently we need do that?

6) after the vsam is created , first operation we should do is , initializing it with dummy record.(TRUE/FALSE).if if iam not initializing , what operation would give me problem?
Back to top
View user's profile Send private message

mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 238
Location: USA

PostPosted: Wed Jun 29, 2005 9:02 am    Post subject:
Reply with quote

rambabu

2) Go to File aid option for VSAM Processing and in that go to 3.5
give the VSAM file name and press ENTER, (command line option should be BLANK - to get the details of file).

this will give you the number of records present in the file

you can not check Free space in a VSAM file.

3) KEYS(4,9) --> KEYS(LENGHT, OFFSET)
VSAM offset starts from 0 so 10th char would come at 9th offset

4) Using IDCAMS ALTER command
see the syntax to check how NAME is changed

5) VSAM REORG --> Delete Define Repro
This is done when there is no space to insert any more records

6) opening for read will give the problem

Hope this helps

Regards
Mayuresh
Back to top
View user's profile Send private message
Kandasamy

New User


Joined: 21 May 2005
Posts: 3

PostPosted: Wed Jun 29, 2005 4:20 pm    Post subject: Re: vsam interview questions
Reply with quote

Difference between delete , purge erase force:
Delete: This command is used to delete the VSAM, GDG and PS Files.
Purge: This will delete the Generation of a GDG , even though it's retention period is not completed.
Force: This will delete GDG Index, all generations and Modal of the GDG even though it's retention period is not completed.
Erase : Normally this command is used with VSAM data sets. This will ensure that after the deletion of the data set , no one can read it from the DASD. using the utility like IEHDASDR . This Erase command will replace BINARY zero with Dataset. (It is prefered for sensitive datasets)


The remaining are already answered by mdtendulkar
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 VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts The Last Two Question For You To Ask ... CaptBill Mainframe Interview Questions 0 Fri Apr 14, 2017 5:42 am
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts VSAM RLS=NRI while doing IDCAMS sheersh JCL & VSAM 1 Tue Mar 07, 2017 1:55 pm


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