View previous topic :: View next topic |
Author |
Message |
karavi2000 Beginner
Joined: 17 Aug 2003 Posts: 51 Topics: 26 Location: Chennai
|
Posted: Sat Apr 24, 2004 9:10 am Post subject: Problem in Dataset read |
|
|
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 |
|
 |
Dibakar Advanced

Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Sun Apr 25, 2004 11:11 pm Post subject: |
|
|
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 |
|
 |
karavi2000 Beginner
Joined: 17 Aug 2003 Posts: 51 Topics: 26 Location: Chennai
|
Posted: Mon Apr 26, 2004 1:29 am Post subject: |
|
|
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 |
|
 |
|
|