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: 19243
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 All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Structured Data and Nested Loops via ... COBOL Programming 0
No new posts U0016 error in JCL JCL & VSAM 4
No new posts python on z/OS error no encoding decl... Testing & Performance 0
No new posts IEW2315E 1369 Link error All Other Mainframe Topics 3
No new posts Help on IMS -API URL migrating from P... IMS DB/DC 1
Search our Forums:


Back to Top