Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
fetching record

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
bandi

New User


Joined: 21 Jul 2005
Posts: 12

PostPosted: Tue Aug 09, 2005 10:25 am    Post subject: fetching record
Reply with quote

How to fetch the last record in VSAM file without any sequential manner?After that I want to insert a record?

note: I don't know how many records in VSAM file?
Back to top
View user's profile Send private message

rssomm

New User


Joined: 05 Jun 2005
Posts: 41
Location: Hyderabad

PostPosted: Tue Aug 09, 2005 11:33 am    Post subject:
Reply with quote

Bandi....What do umean by VSAM file? Is it KSDS,ESDS or RRDS. Please be clear.

Regards
Madhu
Back to top
View user's profile Send private message
vijayamadhuri

Active User


Joined: 06 Apr 2005
Posts: 180

PostPosted: Tue Aug 09, 2005 12:08 pm    Post subject: Hi
Reply with quote

assuming the file is KSDS

as we know the records can be accessed randomly .
move the key value into keyfield
chek if end of file if it is it is the last record.
In ksds u really cannot tell whether the record can be stored in the last position as the records are organized by the unique key field.I think that could be possible in esds.

if anything wrong please feel free to coment.
Back to top
View user's profile Send private message
shivashunmugam Muthu

Active User


Joined: 22 Jul 2005
Posts: 114
Location: Chennai

PostPosted: Tue Aug 09, 2005 2:01 pm    Post subject: Re: fetching record
Reply with quote

Yes.. You are right... You can append records in ESDS.. But am nt sure with KSDS..

Experts...Please tell your views...
Back to top
View user's profile Send private message
thanooz

New User


Joined: 28 Jun 2005
Posts: 99

PostPosted: Tue Aug 09, 2005 5:22 pm    Post subject:
Reply with quote

HI

ONE THING YOU CAN DO YOU WANT INSERT RECORD AT END MEANS

YOU CAN OPEN THAT FILE IN EXTEND MODE

OR IF IT IS KSDS VIJAYAMADHURI SAY THE PROCEDURE YOU CAN FALLOW THAT MANNER.

THANKS,
THANOOZ.
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts query to fetch record which has only ... maxsubrat DB2 9 Mon Dec 11, 2017 5:03 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm
No new posts Extract Record using range of Data scorp_rahul23 DFSORT/ICETOOL 3 Wed Nov 15, 2017 11:54 pm
No new posts Squeeze record left so that zeroes ar... Vignesh Sid SYNCSORT 5 Fri Nov 10, 2017 1:40 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us