Regarding Disp parameter



Software AG's platform-independent programming language with full support for open-source and Internet applications

Regarding Disp parameter

Postby diptisaini » Mon Sep 20, 2010 10:14 am

Hi,

I just need to know if i am giving disp=(new,catlg) then what would be the abnormal disp parameter ?

is it disp=(new,catlg,catlg) or (new,catlg,delete)?
diptisaini
 
Posts: 90
Joined: Sun Mar 14, 2010 5:12 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Regarding Disp parameter

Postby ats » Mon Sep 20, 2010 10:21 am

Dipti,

To me it's JCL question, please raise it in the appropriate forum next time.

Answer to your question see here:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA1B640/12.19.3?SHELF=&DT=20000718114500&CASE=

Regards,
Ats
ats
 
Posts: 14
Joined: Mon Sep 06, 2010 12:27 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Regarding Disp parameter

Postby diptisaini » Mon Sep 20, 2010 11:07 am

Thanks a alott....
diptisaini
 
Posts: 90
Joined: Sun Mar 14, 2010 5:12 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Regarding Disp parameter

Postby RGZbrog » Mon Sep 20, 2010 12:51 pm

For Natural, it doesn't matter what the default value is, because a Natural step will (almost) never terminate abnormally.

When one of your Natural application modules ABENDs, it's Natural that generates the error message, not the operating system. That means that Natural's run-time is still active after the error occurs, and he terminates the job step cleanly. So, the operating system sees a normal termination. There's no point coding DISP=(NEW,CATLG, DELETE), because the DELETE is never invoked by the operating system.

That said, it is possible to tell Natural to actually ABEND a step when an application error occurs, but this requires effort on the part of the Natural Administrator and application developers. It really helps to simplify your JCL, but I've seen this set-up in only one shop, and that was many years ago.
User avatar
RGZbrog
 
Posts: 101
Joined: Mon Nov 23, 2009 1:34 pm
Location: California, USA
Has thanked: 0 time
Been thanked: 0 time


Return to Natural