Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
handling user defined error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & ASSEMBLER
Author Message
Biswa ranjan sahoo

New User


Joined: 07 Jul 2008
Posts: 4
Location: chennai

PostPosted: Mon Jul 07, 2008 3:54 pm    Post subject: handling user defined error
Reply with quote

Hi,
Suppose I want to store records for the employees more than 21 age.
if some body enter the value of the age i.e 18,then it will trigger a error message.

How to implement this in pl/i.can some send a piece of code for it
Back to top
View user's profile Send private message
References
PostPosted: Mon Jul 07, 2008 3:54 pm    Post subject: Re: handling user defined error Reply with quote

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 2565
Location: italy

PostPosted: Mon Jul 07, 2008 4:58 pm    Post subject: Reply to: handling user defined error
Reply with quote

what about an IF and a PUT icon_question.gif
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & ASSEMBLER All times are GMT + 6 Hours
Page 1 of 1