MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

VSAM- Reading ESDS file

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
Maximus
Beginner


Joined: 17 Nov 2005
Posts: 21
Topics: 11

PostPosted: Tue Nov 22, 2005 1:26 am    Post subject: VSAM- Reading ESDS file Reply with quote

Hi all,

Could any one tell me the logic in cobol to read the last record in ESDS file?
Back to top
View user's profile Send private message
ANIL SARATHY
Beginner


Joined: 30 Aug 2005
Posts: 88
Topics: 3
Location: Syracuse,New york

PostPosted: Tue Nov 22, 2005 3:11 am    Post subject: Reply with quote

it is possible in CICS.

move -1 into the length of key and read the file.

I guess it is RBA into which -1 needs to be moved. You can try this in CECI.
_________________
Anil Sarathy
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Maximus
Beginner


Joined: 17 Nov 2005
Posts: 21
Topics: 11

PostPosted: Tue Nov 22, 2005 4:14 am    Post subject: Reply with quote

Thanks Anil,

I need the logic in COBOL not in CICS, We can read by using RBA in CICS but we cannot use RBA in cobol.

Waiting for the reply...
Back to top
View user's profile Send private message
ANIL SARATHY
Beginner


Joined: 30 Aug 2005
Posts: 88
Topics: 3
Location: Syracuse,New york

PostPosted: Tue Nov 22, 2005 4:55 am    Post subject: Reply with quote

i think it is not possible in batch
_________________
Anil Sarathy
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12380
Topics: 75
Location: San Jose

PostPosted: Tue Nov 22, 2005 5:18 am    Post subject: Reply with quote

Maximus,

Check this link

http://www.xephon.com/arcinframe.php/a012a02

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group