View previous topic :: View next topic
|
Author |
Message |
pjnithin
Active User
Joined: 22 Dec 2005 Posts: 116
|
|
|
|
For all kind of files.
What does the stmt 'ORGANIZATION IS INDEXED' do. What are the options other than 'INDEXED'.
And what are the different 'ACCESS MODEs'. |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Manuals Please....
Regards,
Priyesh. |
|
Back to top |
|
|
vinodmaanju
New User
Joined: 10 May 2005 Posts: 28 Location: Pune
|
|
|
|
The different access modes are avaiable in COBOL is Dynamic, Sequential, and Random.
Different Organizations are Relative, Indexed and Sequential |
|
Back to top |
|
|
elonics
New User
Joined: 05 Jul 2005 Posts: 49 Location: India
|
|
|
|
Hai Friend,
We mention organsation based on their nature i.e. for
Sequential - Sequential
KSDS - Indexed
RRDS - Relative
ESDS - Sequential
Correct me if i am wrong.
Elonics.
----------------------------------------------------------
"I may be the best or atleast better than many but never worst" |
|
Back to top |
|
|
nuthan
Active User
Joined: 26 Sep 2005 Posts: 146 Location: Bangalore
|
|
|
|
Hai,
Organisation is Indexed means for VSAM it specifies KSDS. U have to mention a Record key also. so that it will fetch the records based on this key.
Other than this we have Sequential and Relative organisations.
And the diffenrent Accessing modes are Sequential, Random and Dyanamic |
|
Back to top |
|
|
pa1chandak Currently Banned New User
Joined: 31 Jan 2006 Posts: 55
|
|
|
|
The stmt 'ORGANIZATION IS INDEXED' SPECIFIES THAT IT IS A KSDS FILE
FOR PS organisation is Sequential
for KSDS - Indexed
RRDS - Relative
ESDS - Sequential
here we are specifing Sequential for both PS and ESDS , but the difference is for ESDS we will also specify ASSIGN TO AS_DD.
DIFFERENT 'ACCESS MODEs'. ARE
1. SEQUENTIAL
2. RANDOM
3. DYNAMIC (A COMBINATION OF BOTH SEQ AND RANDOM)
IN DYNAMIC SEARCH FOR THE PERTICULAR RECORD RANDOMLY AND THEN
READ SEQUENTIALLY.
PAWAN |
|
Back to top |
|
|
|