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 Fail to change physical VSAM filename... jacobdng CICS 6 Fri Jan 20, 2017 12:36 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
No new posts Viewing executing process in NDM .. q... Debb.Brant IBM Tools 0 Wed Dec 14, 2016 10:55 pm
No new posts BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am


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