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

On condition in PL/1


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

New User


Joined: 01 Jun 2005
Posts: 28
Location: Chennai

PostPosted: Thu Jun 23, 2005 4:43 pm
Reply with quote

Please tell me whether there is a chance of getting two on condition errors simultaneously. Up to my knowledge, I hope when the first On condition error occurs itself, the program gets abend unless and otherwise the On condition is handled. Please tell me whether i am correct or wrong.

For example:

On Fixedoverflow
begin;
----
end;
On Sizecondition
begin;
----
end;
----
----

Will I get the both the errors simultaneously. If it is so then anyone please tell me which On condition will be handled first. If the On condition is not handled what will happen?
Back to top
View user's profile Send private message
PLPro

New User


Joined: 19 Jul 2005
Posts: 2

PostPosted: Tue Jul 19, 2005 2:05 am
Reply with quote

<I>Will I get the both the errors simultaneously. </I>

No. The first interrupt will suspend further execution until it's processed. Afterwards anything is possible, though.
Back to top
View user's profile Send private message
villan

New User


Joined: 15 Oct 2008
Posts: 1
Location: Pune

PostPosted: Wed Nov 05, 2008 12:17 pm
Reply with quote

Hi,

First you have to understand that On Size condition is different from fixed overflow. so Obviously before overflow size condition will raise....

Regards,

Villan
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 How to give complex condition in JCL . CLIST & REXX 30
No new posts selectively copy based on condition DFSORT/ICETOOL 3
This topic is locked: you cannot edit posts or make replies. Control-m JOB executing even when the... Compuware & Other Tools 6
No new posts Dynamic condition checks COBOL Programming 5
No new posts Extract 2 more lines below line that ... DFSORT/ICETOOL 2
Search our Forums:

Back to Top