Hi All,
I'm coding PL/I - MQ program, for error handling, i would like to Abend the program if I get unexpected errors during Get message call. that is i want to abend the program intentionally. Please let me know if there are any Abend routines for PL/I.
Thanks In Advance,
Gokul
Abending PL/I intentionally.
- gokulNmf
- Posts: 118
- Joined: Sat Mar 28, 2009 6:41 pm
- Skillset: JCL;COBOL;CICS;DB2
- Referer: internet
- Location: India
Abending PL/I intentionally.
Cheers,
Gokul
Gokul
-
- Global moderator
- Posts: 3720
- Joined: Sat Dec 19, 2009 8:32 pm
- Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
- Referer: other forum
- Location: Dubuque, Iowa, USA
Re: Abending PL/I intentionally.
LE has CEE3ABD and CEE3AB2 that a PL/I program can call. Either should provide what you need. Check the manual z/OS Language Environment Programming Reference for details.
- prino
- Posts: 641
- Joined: Wed Mar 11, 2009 12:22 am
- Skillset: PL/I - CICS - DB2 - IDMS - REXX - JCL, most in excess of three decades
- Referer: Google
- Location: Vilnius, Lithuania
- Contact:
Re: Abending PL/I intentionally.
Code: Select all
signal error;
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
robert.ah.prins @ the.17+Gb.Google thingy
- gokulNmf
- Posts: 118
- Joined: Sat Mar 28, 2009 6:41 pm
- Skillset: JCL;COBOL;CICS;DB2
- Referer: internet
- Location: India
Re: Abending PL/I intentionally.
Hi All,
Thank you! Used lang environment's CEE3ABD.
Thanks,
Gokul
Thank you! Used lang environment's CEE3ABD.
Thanks,
Gokul
Cheers,
Gokul
Gokul