P. 1
COBOL - Programming Guide

COBOL - Programming Guide

|Views: 968|Likes:
Publicado pormukesh

More info:

Published by: mukesh on Jul 01, 2011
Direitos Autorais:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
See more
See less

01/08/2015

─,─────────────────────────

─┬

─EXIT(

──

─INEXIT(

─┬


────── mod1)─

)

─────────────────────

str1

─NOINEXIT────────────────

─LIBEXIT(

─┬


────── mod2)

str2

─NOLIBEXIT───────────────

─PRTEXIT(

─┬


────── mod3)

str3

─NOPRTEXIT───────────────

─ADEXIT(

─┬


────── mod4)─

str4

─NOADEXIT────────────────

─NOEXIT────────────────────────────────

Default is:NOEXIT

Abbreviations are:EX(INX,LIBX,PRTX,ADX)

Negative abbreviations are:EX(NOINX,NOLIBX,NOPRTX,NOADX)

For the EXIT option, the suboptions INEXIT, LIBEXIT, PRTEXIT, and ADEXIT also
have a negative form with associated abbreviations.They are:

NOINEXIT(NOINX)
NOLIBEXIT(NOLIBX)
NOPRTEXIT(NOPRTX)
NOADEXIT(NOADX)

Use the EXIT option to allow the compiler to accept user-supplied phases in place
of SYSIPT, copy sublibraries, and SYSLST, and a user-supplied phase to inspect
ADATA records.Any combination of exits may be specified.

Note: The EXIT option cannot be specified in a PROCESS (CBL) statement.It
can only be specified at invocation in the PARM field of JCL, or at installation time.

INEXIT(['str1',]mod1)

The compiler obtains source code from a user-supplied phase (where “mod1” is
the phase name), instead of SYSIPT.

© Copyright IBM Corp. 1983,1998

413

EXIT Compiler Option

LIBEXIT(['str2',]mod2)

The compiler obtains copy code from a user-supplied phase (where “mod2” is
the phase name), instead of a VSE Librarian sublibrary.For use with either
COPY or BASIS statements.

PRTEXIT(['str3',]mod3)

The compiler passes printer destined output to the user-supplied phase (where
“mod3” is the phase name), instead of SYSLST.

ADEXIT(['str4',]mod4)

Specifies that a user-supplied associated-data (SYSADAT) exit is to be used
for the compilation, (where mod4 is the phase name).

The phase names mod1,mod2,mod3,andmod4, can refer to the same phase.

Thesuboptions 'str1', 'str2', 'str3', and 'str4',areoptional.Theyare
character strings up to 64 characters in length and enclosed in apostrophes, that
are passed to the exit phase.Any character is allowed, but included apostrophes
must be doubled, and lowercase characters are folded to uppercase.

You're Reading a Free Preview

Descarregar
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->