Abend a job from cobol

Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS
coder
Posts: 4
Joined: Tue Jul 31, 2007 12:01 am

Abend a job from cobol

Postby coder » Fri Aug 03, 2007 12:46 pm

hii...

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

:ugeek:

William Thompson
Posts: 81
Joined: Sat Jun 09, 2007 4:24 am
Skillset: Some?
Referer: mcmillan
Location: Tucson AZ

Re: Abend a job from cobol

Postby William Thompson » Fri Aug 03, 2007 3:07 pm

Do you want to cause an executing job to abend when some condition occurs in the program?

User avatar
marso
Posts: 12
Joined: Mon Jul 30, 2007 5:04 pm

Re: Abend a job from cobol

Postby marso » Sun Aug 05, 2007 8:07 pm

Most sites have a small routine for that. Very often, the routine name is ABEND, like in:

Code: Select all

CALL 'ABEND' USING ABEND-CODE

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

coder
Posts: 4
Joined: Tue Jul 31, 2007 12:01 am

Re: Abend a job from cobol

Postby coder » Mon Aug 06, 2007 5:06 pm

Thanks all..I got the Assembler routine.. :idea:


  • Similar Topics
    Replies
    Views
    Last post