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

What is KSDS and what it is used for


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
abel
Warnings : 1

New User


Joined: 31 May 2006
Posts: 5

PostPosted: Fri Jun 02, 2006 5:50 pm
Reply with quote

I have a question on JCL KSDS files - how to work with them.

abel
Back to top
View user's profile Send private message
balajiofcrrcoe

New User


Joined: 07 Jul 2005
Posts: 41
Location: chennai

PostPosted: Fri Jun 02, 2006 7:17 pm
Reply with quote

Hi,
for indexed file organization we use KSDS files, The prime key consists
of one or more consecutive characters within the records. The prime key
uniquely identifies the record and determines the sequence in which it is accessed with respect to other records.

how to use ksds:-

you need to define the key in record description part of Data Division.

"RECORD KEY IS data-name"

and to read a record with the key,you need to move the key value to data-name in the procedure division and then you can read the file.
Back to top
View user's profile Send private message
abel
Warnings : 1

New User


Joined: 31 May 2006
Posts: 5

PostPosted: Fri Jun 02, 2006 11:18 pm
Reply with quote

hi
I have an another doubt about how to use them.actually i want to know about ESDS file .
I am getting soc4 errors while compling the jcl run program but i didnt get any error while compiling the esds cobol program
and also for its cluster creation program.can u please give me the coding for jcl run program and abt how it works and also for other files
if u don't mind can u mail to me
email id - ***EMail ID REMOVED... Read Forum Rules***

with thanks
abel
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts VSAM KSDS CREATION AND LOAD WITH RAND... JCL & VSAM 1
No new posts FILE STATUS - 39 ON VARIABLE LENGTH V... COBOL Programming 2
No new posts Error Creating KSDS file, REASON CODE... JCL & VSAM 8
No new posts KSDS direct READ clause after READ NEXT JCL & VSAM 0
Search our Forums:

Back to Top