Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

what are the different ACCESS MODEs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: what are the different ACCESS MODEs
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: 1452
Location: Chicago, IL

PostPosted: Mon Jan 30, 2006 10:26 pm    Post subject: Re: what are the different ACCESS MODEs
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    Post subject:
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    Post subject: Re: what are the different ACCESS MODEs
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS DC screen Access sivasaras IMS DB/DC 3 Fri Nov 18, 2016 6:38 pm
No new posts Access SQLCA fields inside a stored p... gangapd DB2 4 Thu Oct 27, 2016 10:20 am
No new posts RACF profile access vasanthz All Other Mainframe Topics 11 Fri Sep 23, 2016 5:51 am
No new posts How to perform Digest Access Authenti... vasanthz All Other Mainframe Topics 0 Tue Mar 15, 2016 4:47 pm
No new posts Database access from COBOL amitmahalkar DB2 1 Wed Jan 27, 2016 11:33 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us