IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

handling user defined error

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> PL/I & ASSEMBLER
View previous topic :: View next topic  
Author Message
Biswa ranjan sahoo



Joined: 07 Jul 2008
Posts: 4
Location: chennai

Posted: Mon Jul 07, 2008 3:54 pm    Post subject: handling user defined error  

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  
enrico-sorichetti



Joined: 14 Mar 2007
Posts: 3168
Location: italy

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

what about an IF and a PUT :?:
Back to top  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> PL/I & ASSEMBLER
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM