Abend a job from cobol



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

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:
coder
 
Posts: 4
Joined: Tue Jul 31, 2007 12:01 am
Has thanked: 0 time
Been thanked: 0 time

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?
William Thompson
 
Posts: 81
Joined: Sat Jun 09, 2007 4:24 am
Location: Tucson AZ
Has thanked: 0 time
Been thanked: 1 time

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:
CALL 'ABEND' USING ABEND-CODE

Can you have a look at existing programs on your site to see how they behave ??
User avatar
marso
 
Posts: 12
Joined: Mon Jul 30, 2007 5:04 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Abend a job from cobol

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

Thanks all..I got the Assembler routine.. :idea:
coder
 
Posts: 4
Joined: Tue Jul 31, 2007 12:01 am
Has thanked: 0 time
Been thanked: 0 time


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post