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

vsam interview questions


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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: 237
Location: USA

PostPosted: Wed Jun 29, 2005 9:02 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts CVDA value for RRDS VSAM dataset. CICS 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts Open VSAM File in IMS DC Region - DFS... IMS DB/DC 0
Search our Forums:

Back to Top