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 

Problem in Dataset read

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
karavi2000
Beginner


Joined: 17 Aug 2003
Posts: 51
Topics: 26
Location: Chennai

PostPosted: Sat Apr 24, 2004 9:10 am    Post subject: Problem in Dataset read Reply with quote

Hi,

This is my problem. I am allocating a PS in REXX and pushing some values into it thru' EXECIO. After this is done, when I am trying to read the values I entered in the same REXX routine, I am getting an error saying 'List is empty'. But when the REXX is done, I could see the values in the PS. Why is this happening? How can I overcome this problem. Please let me know.

Thanks & Regards,
Ravishankar
Back to top
View user's profile Send private message
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Sun Apr 25, 2004 11:11 pm    Post subject: Reply with quote

Probably it's at end of file so nothing to read. Try to close it before reading the file -

Code:
"EXECIO 0 DISKW filename (FINIS"


It will help if you put here relevant code from your REXX.
Back to top
View user's profile Send private message Send e-mail
karavi2000
Beginner


Joined: 17 Aug 2003
Posts: 51
Topics: 26
Location: Chennai

PostPosted: Mon Apr 26, 2004 1:29 am    Post subject: Reply with quote

Hi Dibakar,

Yeah. You got it. I didnt close the file when I tried reading it.

Now I am able to read the PS after adding your code.

Thanks Dibakar.

Thanks & Regards,
Ravishankar
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF 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