Page 1 of 1

Abend a job from cobol

PostPosted: Fri Aug 03, 2007 12:46 pm
by coder
hii...

How can i make a job abend from a cobol source.?
Please help me by providing the details if it is achievable.

:ugeek:

Re: Abend a job from cobol

PostPosted: Fri Aug 03, 2007 3:07 pm
by William Thompson
Do you want to cause an executing job to abend when some condition occurs in the program?

Re: Abend a job from cobol

PostPosted: Sun Aug 05, 2007 8:07 pm
by marso
Most sites have a small routine for that. Very often, the routine name is ABEND, like in:
CALL 'ABEND' USING ABEND-CODE

Can you have a look at existing programs on your site to see how they behave ??

Re: Abend a job from cobol

PostPosted: Mon Aug 06, 2007 5:06 pm
by coder
Thanks all..I got the Assembler routine.. :idea: