View previous topic :: View next topic
|
Author |
Message |
rambabu Currently Banned New User
Joined: 18 Apr 2005 Posts: 67
|
|
|
|
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 |
|
|
mdtendulkar
Active User
Joined: 29 Jul 2003 Posts: 237 Location: USA
|
|
|
|
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 |
|
|
Kandasamy
New User
Joined: 21 May 2005 Posts: 3
|
|
|
|
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 |
|
|
|