Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Reseting the control in ULtim error: "ILLOGICAL INSTRUC

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Reseting the control in ULtim error: "ILLOGICAL INSTRUC
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

Site Director


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

PostPosted: Tue Mar 20, 2007 11:08 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Changeman get multiple "Browse C... elixir1986 Compuware & Other Tools 4 Fri Jul 14, 2017 1:48 am
No new posts Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us