Sorry al the cee3abd worked like a champ
thanks to all
Mace

On Fri, Jan 29, 2010 at 11:23 AM, Lizette Koehler
<stars...@mindspring.com>wrote:

> I am not sure but I think the LE might be getting into your way if you are
> trying to create a different return code if it something like an S0C4 or
> S0C7.
>
> Let me know if I do not understand.
>
> Currently your assembler program may get an S0C7 but it will produce a
> different return code?  Is that correct?
>
> If so, in COBOL you may need to use the LE USER HANDLE conditions.  This
> function in LE allows the user to get in behind LE (LE is still going to
> capture the abend), but let you do other actions.  This may be what you
> need
> to look at.  You may even be able to correct the fields and then go on with
> the program without having to quit.  I have not tried this, but I was told
> that it could work that way.
>
> It would help to know the z/OS you are running (z/OS V1.9??) and what
> version of COBOL.
>
> Lizette
>
>
> >larry macioce wrote:
> >
> > We are trying to move aways from assembler to cobol in batch.
> > One of the programmers has a question. He asked me if there is a cobol
> > equivalent to assemblers 'abend'
> > He has done some reading and tried what was given but is having no luck
> > getting the return code he wants into it
> > He can get it to abend but the s0c7 overrides the value he wants to put
> > in
> > the field.
> > I've looked around but havent been able to help him
> > Can and how is this done??
> > TiA
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to