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

PL/1 Error Handling Error


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
goyal.chanchal

New User


Joined: 09 Mar 2011
Posts: 9
Location: India

PostPosted: Fri Aug 05, 2011 11:07 am
Reply with quote

Not only a file close error- any error for that matter.. if it was siganlled in those procs- why did an on error system not stop the program execution.
Back to top
View user's profile Send private message
goyal.chanchal

New User


Joined: 09 Mar 2011
Posts: 9
Location: India

PostPosted: Fri Aug 05, 2011 11:59 am
Reply with quote

Now, I'm forced to think that I must have coded something like the following.

do while (more_records)
Call Read_proc ;
Call Process_proc ;
If (some_var = specific_value) then do;
call proc1; ---> pliretc function was called with value 9 but these procs
call proc2; ---> did not set the value of more_records to '0'B.
end;
Control returns here -->
end ;

I think the read reopened the file and I kept on processing it again and again from the beginning but an error was not signalled. Perhaps, this is what had happened..
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 -> PL/I & Assembler

 


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 Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top