> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of Frank Yaeger
> Sent: Tuesday, March 29, 2011 1:01 PM
> To: [email protected]
> Subject: Re: Why does SORT forbid E15+E35 in COBOL for OPTION COPY?
<Snipped> 
> In the SORT case, the COBOL E15 and COBOL E35 are NEVER active at the
> same time, so the "tricks" we play with the COBOL environment work ok
> and we can allow both exits.  For a SORT, the input (E15) and
> output (E35) phases are performed separately.
> 
> In the COPY case, the COBOL E15 and COBOL E35 are active at the same
> time, so the "tricks" we play with the COBOL environment won't work and
> we don't allow both exits.  For a COPY, the input (E15) and output
> (E35) phases are combined.
> 
> In the MERGE case, the E15 is actually ignored (MERGE uses an E32 for
> input, not an E15).
> 
> That's as much detail as I can give you.  Not being a COBOL guy, I
> couldn't explain the "tricks" even if I was allowed to.

Thanks for the explanation Frank.  <*Sigh*> I kinda figured it would be some 
such reason, even though I wouldn't have done it that way myself, thinking like 
the application programmer that I am.

And thanks for the heads up about MERGE using E32.  I didn't RTFM quite enough 
there and just *assumed* that a MERGE used E15.

Related question:  Can a plain C subroutine (LE-enabled, not MetalC or SP C) be 
used as a DFSORT exit routine?  If so, what would the fourth exit parameter be 
set to?  "C" like for COBOL, or "N" for none?

--

This message and any attachments are intended only for the use of the addressee 
and
may contain information that is privileged and confidential. If the reader of 
the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.


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

Reply via email to