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

Reseting the control in ULtim error: "ILLOGICAL INSTRUC


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sreelek

New User


Joined: 29 Jan 2007
Posts: 6
Location: Bangalore

PostPosted: Tue Mar 20, 2007 12:30 pm
Reply with quote

Hi,
I have a doubt regarding ULTIM.
I need to bring the control back to beggining of a file. How to do that.
Suppose if my pointer is in the fifth record, I need to bring it to the beginning of the file. I tried it by reading the file and then closing it before each read. But it is showing an error in Ultim as "ILLOGICAL INSTRUCTION".
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Mar 20, 2007 11:08 pm
Reply with quote

Hello,

In many languages, closing a sequential file and opening it causes the pointer to be placed at the beginning of the file.

Please clarify "reading the file and then closing it before each read".

I would expect there would be problems trying to read a closed file in any language. . . icon_confused.gif
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
Search our Forums:

Back to Top