Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts Reply MQ open error Vignesh Sid COBOL Programming 6 Thu Sep 07, 2017 6:02 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us