IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

what are the different ACCESS MODEs


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pjnithin

Active User


Joined: 22 Dec 2005
Posts: 116

PostPosted: Mon Jan 30, 2006 9:54 pm
Reply with quote

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
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Mon Jan 30, 2006 10:26 pm
Reply with quote

Manuals Please....

Regards,

Priyesh.
Back to top
View user's profile Send private message
vinodmaanju

New User


Joined: 10 May 2005
Posts: 28
Location: Pune

PostPosted: Mon Jan 30, 2006 10:37 pm
Reply with quote

The different access modes are avaiable in COBOL is Dynamic, Sequential, and Random.

Different Organizations are Relative, Indexed and Sequential
Back to top
View user's profile Send private message
elonics

New User


Joined: 05 Jul 2005
Posts: 49
Location: India

PostPosted: Tue Jan 31, 2006 2:14 pm
Reply with quote

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
View user's profile Send private message
nuthan

Active User


Joined: 26 Sep 2005
Posts: 146
Location: Bangalore

PostPosted: Tue Jan 31, 2006 3:20 pm
Reply with quote

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
View user's profile Send private message
pa1chandak
Currently Banned

New User


Joined: 31 Jan 2006
Posts: 55

PostPosted: Wed Feb 01, 2006 5:58 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts How to access web services/website? Mainframe Interview Questions 4
No new posts access the last host command CLIST & REXX 2
No new posts CICS Access to RACF CICS 2
No new posts Access library name in REXX CLIST & REXX 6
Search our Forums:

Back to Top