Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Where to get sample for processing RM... vice_versa PL/I & Assembler 2 Tue Jan 16, 2018 2:03 pm
No new posts VSAM dataset not found abdulrafi JCL & VSAM 5 Fri Jan 12, 2018 11:19 am
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us