Vous êtes sur la page 1sur 11

Define KSDS

How will you define a KSDS of avg length-100 and max length-150 and key length 10
Latest Answer: We can define the KSDS cluster by two ways by using the file-aid

or by using the IDCAMS Utlity..By using the IDCAMS utility we can define the record with average length 100 and maximum length 150 with keylength 10 starting at 0 as follows//step01 ...
Read Answers (1) | Asked by : ravtej556 Answer Question
VSAM Data Sets

Subscribe

How will you access the VSAM data sets?


Latest Answer: print ch ids(/) ... Read Answers (3) | Asked by : gpandu007 Answer Question
VSAM Virtual Memory

Subscribe

What is the Virtual Memory Size for VSAM?


Latest Answer: Virtual Memory deals with Operating System and VSAM deals with

access method.Virtual memory depends on the addressing mode of the operating system. ...
Read Answers (1) | Asked by : levisauxie Answer Question
VASM Share Options

Subscribe

What are the share options in VSAM, CA, CI? What is the syntax? How does it work?

Latest Answer: SHAREOPTIONS(region system) -> deals with the cross region and

cross system sharing of the VSAM dataset.For region 1,2,3,4 are the valid optionFor syste 1&2 are reserved 3&4 are valid option ...
Read Answers (1) | Asked by : vijaysimha Answer Question
Access the Last Record

Subscribe

How we can access the last record from KSDS file?


Latest Answer: Move high value to the key, start browse the file and readprev the

file. ...
Read Answers (1) | Asked by : satyanarayanachary Answer Question
What is the default size of the record

Subscribe

Latest Answer: If the record size parameter is not specified when the cluster is

created, then the size is determined by the size of the Control Interval. ...
Read Answers (1) | Asked by : bvenkat002 Answer Question
VSAM-ESDS-AIX

Subscribe

When its not possible to read ESDS file randomly through COBOL program then what is the use of creating AIX for that file? If reading that file randomly is possible then plz give me the details. I tried
Latest Answer: Basically the previous answers have all hit around the issue. My

understanding is that you should use IMPORT and EXPORT if you want to take a dataset that is in one catalog and get it into another catalog. REPRO is fine for creating a backup copy. ...
Read Answers (3) | Asked by : kishoremain Answer Question Subscribe

Explain the VSAM error code 118

Latest Answer: The data set name is ineligible for RACF definition. User does not

have authority (reason code0) or RACF inactive (reason code 12). ...
Read Answers (1) | Asked by : R.vivek Anand Answer Question Subscribe

What is the difference between vsam & data base tables?what is flat file ? difference between flat files,vsam,ps

What is the difference between vsam & data base tables?what is flat file ? difference between flat files,vsam,ps files?what is the difference between esds,ksds?what is rrds in vasm ? difference between rrds & ksds?application areas of rrds files in mainframe area?
Read Answers (3) | Asked by : latha Answer Question
What is the disadvantages of VSAM file?

Subscribe

Latest Answer: The primary disadvantage of VSAM is that it cannot be stored on

TAPE Volume. In case you are handling huge amount of data, many cyclinders will have to be allocated which is not cost-effective compared to flat files which can be saved in tapes.. Make ...
Read Answers (1) | Asked by : suresh_gop Answer Question View page [1] 2 Subscribe

How we can access the last record from KSDS file ?

Latest Answer: I dont think moving HIGH-VALUES will take you to the last record ,

as you need to access the record for which the key value is
Read Answers (3) | Asked by : Samir Gupta

Answer Question
Explain the concept behind spanned records & SHAREOPTS ?

Subscribe

Latest Answer: These options are not corrolated!Spanned record : If a CI has not

enough freespace to fit in a new record, then the record is spanned to the next CI. If the next CI does not have enought freespace to hold the spanned record then VSAM split happens.Share ...
Read Answers (4) | Asked by : kanchhana Answer Question
How can we check the amount of free space available for a VSAM dataset?

Subscribe

Latest Answer: For any information related to VSAM dataset, we can code

LC(LISTCAT) before the name of dataset. then it will display the entire information about that particular VSAM dataset.for space used....it will give like...Total spce used : 45 tracksTotal Space ...
Read Answers (3) | Asked by : kanchhana Answer Question
What is the record size for alternate index if alternate key is unique

Subscribe

- whether record size is (5+alternate key length+n*pmy key length ) or (5+pmy key length + n*alternate key length) where 'n' is the no. of duplicate alternate keys.
Latest Answer: what i have come across,it is always 5 + alternate key length +

n*primary Key lengththe key for alternate index is the alternate key and in the data part we have all the related primary keys populated.But i still do not understand how this data part ...
Read Answers (1) | Asked by : kanchhana Answer Question
What is the difference between vsam files and non-vsam files?

Subscribe

Latest Answer: VSAM files are used when we want to store data based on some

key fields(Eg: KSDS)access method is indexed.NON VSAM files like PS are used when we want to store data which is not unique and also the access is sequential. ...
Read Answers (1) | Asked by : elango s Answer Question
How to find corrupted record in lengthy vsam file

Subscribe

Latest Answer: Corruption can happen in many ways. The dataset itself may be

dirty, which can cause S0C7 abends in poorly written programs.CA/CI's can be corrupted, which may lead to S0C4 or Sx13 abends.Can you be more specific? The remedy is very different depending ...
Read Answers (1) | Asked by : Suresh Answer Question
How to retrieve record from a flat file?

Subscribe

Latest Answer: We can directly read a record from a flat file using Cobol READ

command!If you want to load the flat file into a PS file use REPRO command in IDCAMS Util.If you want to load a flat file which was obtained by exporting a VSAM file using EXPORT command ...
Read Answers (3) | Asked by : jamirahmad mulla Answer Question
Explain the differences between VSAM and Non-VSAM files

Subscribe

(i) The ISPF panel or a standard JCL is used for creation of a NON VSAM dataset. The AMS program is used to create the VSAM files. (ii) The information about the Non-VSAM files is stored as dataset labels
View Question | Asked by : irinak Answer Question Subscribe

For accessing a VSAM cluster sequentially, STARTBR, READNEXT, ENDBR commands are used. Suppose the VSAM

For accessing a VSAM cluster sequentially, STARTBR, READNEXT, ENDBR commands are used. Suppose the VSAM cluster is sorted on the basis of a field (lets say age) and using STARTBR pointer is positioned on the record with name 'brijesh'. By using READNEXT that record is read. Now if i again use READNEXT, next record will be read(which could be the record with name other than 'brijesh'). If I want to read the next record with the same name (i.e. brijesh), whether RESETBR will be
Read Answers (1) | Asked by : Brijesh Tags : Pointer Answer Question
Can i search in a vsam cluster? Let's say I have a vsam cluster in which I am storing information

Subscribe

Can i search in a vsam cluster? Let's say I have a vsam cluster in which I am storing information of employees (first name, last name, address, etc.) which the employee has entered. Now I want to search using first or last name so that the information of the employees with the entered name (last or first) is displayed. Can I do this and if yes, how to do ?
Read Answers (2) | Asked by : Brijesh Answer Question View page << Previo Subscribe

VSAM Interview Questions Sorting Options :


Can we use AIX in ESDS? If yes,explain?

Latest Answer: YES!AIX for ESDS RECSZ = 5 + AIXKL + (n x 4) Where: AIXKL is the

alternate-key length n = 1 when UNIQUEKEY is specified n = the number of data records in the base cluster that contain the same alternate-key value, when NONUNIQUEKEY is specified. ...
Read Answers (4) | Asked by : Lakshmi Answer Question
Why VSAM concept came into existence ?

Subscribe

Latest Answer: VSAM was written as a replacement for ISAM. The main problem

with ISAM was that if there were many insertions and deletions the way he chained the entries was horribly inefficient. VSAM through the use of splitting CIs was a hugh improvement. ...
Read Answers (3) | Asked by : Shashank Answer Question
How to create a vsam file from a flat file?

Subscribe

Latest Answer: No Jayakumar is right, that is the way of conversion of flat file to

KSDS. First sort, then copy to KSDS. ...


Read Answers (4) | Asked by : james Answer Question Subscribe

What is an Alternate Index? How to give the Max Record Length and Avg. Record Length?

Latest Answer: aix is nothing but a file by which we can featch a records by using

a key other than primary key. ...


Read Answers (2) | Asked by : Baskar Answer Question
What is the vsam mode in which spanned records must be accessed?

Subscribe

Latest Answer: we can access the spanned records in the MOVE Mode ... Read Answers (1) | Asked by : padmanaban

Answer Question

Subscribe

What is the difference between CI( CONTROL INTERVAL)and CA(CONTROL AREA). I refereed SAB A ZAMIR JCL

What is the difference between CI( CONTROL INTERVAL)and CA(CONTROL AREA). I refereed SAB A ZAMIR JCL book in that he said collection of CI is called CA but in next page (286) he explained this with showing one CI as a CA. Can you please let me know the difference?
Read Answers (9) | Asked by : shameer007 Answer Question
What is average record length in KSDS?

Subscribe

Latest Answer: Average record length is the sub parameter of record size, which

need to be defined while defining the vsamfile. This sub parameter has a value which is less than or equal to another sub parameter of record size, the maximum record length. For a ...
Read Answers (2) | Asked by : javid Answer Question
How vsam datasets are cataloged?

Subscribe

Latest Answer: VSAM datasets must be cataloged! ... Read Answers (3) | Asked by : dsrcbalaji Answer Question
What is the procedure for running the batch job in mainframe?

Subscribe

Latest Answer: Friends, let me explain with an example:--EG:-Adding two

numbersStep-1:- We need to compile that program and that compiled program(i.e Error free code) we need to keep in one Load Library (EG:ABCD.GEEK.LOADLIB)Step-2:- Now we need to execute this ...
Read Answers (2) | Asked by : chinni

Answer Question
How do you convert flat files to VSAM files?

Subscribe

Latest Answer: Following steps will convert a sequential file to VSAM file.1. Sort

the sequential fille, with SORT FIELD=NONE, to remove the duplicate key records.2. Define a VSAM file3. Use REPRO to copy the sequential file to VSAM file. ...
Read Answers (5) | Asked by : Rajee Answer Question Subscribe

How do you compile a program in Endevor?

Latest Answer: I think the question is how to compile an existing program in unit

test or SIT or any region by Endeavor. If the question is just to complie the existing program but not to add the changes to Endeavor, the following option can be used in Endeavor.a. Use ...
Read Answers (6) | Asked by : srinivas Answer Question Subscribe

While designing vsam files,what's the best way to choose control interval size for the data and

While designing vsam files,what's the best way to choose control interval size for the data and the index?
Read Answers (6) | Asked by : vinay Answer Question
What is the maximum no. of records that can be allowed in VSAM?

Subscribe

Latest Answer: VSAM now can have 255 EXTENDS. ... Read Answers (5) | Asked by : raghu Answer Question
What is the maximum record length for the VSAM dataset?

Subscribe

Latest Answer: What do you mean by record size? Are you asking about physical

terms or logical? I can't say about current vsam but at one time the records were 512,1024,2048, and 4096. CIs which are the logical record could read multiple records and present them ...
Read Answers (11) | Asked by : Ranjit Answer Question
In vsam why we use export-import utility?

Subscribe

Latest Answer: EXPORT-IMPORT UTILITY is used to take a back along with the

attributes of the VSAM file and restore the back with the same attributes respectively.We can use REPRO to take back up it will not copy the attributes of the file, it will only copy data ...
Read Answers (5) | Asked by : soni sinha Answer Question
What do you mean by RDW in VSAM?

Subscribe

Latest Answer: Guys,As you are aware, RDW stands for Record Descriptor

Award.This is the first 4 bytes in a VSAM - Variable Record Length file that stores the actual length of the record. This is hidden if you browse a VSAM file. In a VB file, realistically the record ...
Read Answers (5) Answer Question
What do you mean by dirty read

Subscribe

Latest Answer: Where are we using Dirty read ... Read Answers (2) Answer Question View page Subscribe

Vous aimerez peut-être aussi