Re: Using DATACLASS



Paul Gilmartin wrote:

On Mon, 7 Sep 2009 09:39:20 -0600, Steve Comstock wrote:



Miklos Szigetvari wrote:


It is not so, I get the stupid C/C++ default DCB attributes .
How is wrong ? me (propably) C/C++ LE (maybe) SMS - allocation ?


I imagine if you don't supply values, the compiler
inserts its defaults. DATACLAS will only override
non-supplied values, so you get the compiler supplied
values. You need to explicitly code zeros in your
code to override the compiler defaults; then ACS
routines have a chance.



At what point in processing does SMS insert the values obtained
from DATACLASS? If it's prior to entering the DCB OPEN exit,
SMS values should be as good as values coded on the JCL DD
statement. Are those effective? Or does the CRTL do something
really unorthodox such as examining the JFCB to decide whether
to supply its own values?

Is the behavior the same if you allocate the file, either with
JCL DD or with BPXWDYN, and open with the DD:ddname construct?



Via JCL(DD:ddname) the DCB is taken from DATACLASS

I know that IBM has modified programs (IEBGENER, Rexx), perhaps by
APAR, to eliminate their thwarting the operation of SDB, which
comes in after the DCB OPEN exit. Perhaps this, also, is APARable.

-- gil

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





--
Miklos Szigetvari

Development Team
ISIS Information Systems Gmbh tel: (+43) 2236 27551 570
Fax: (+43) 2236 21081

E-mail: miklos.szigetvari@xxxxxxxxxxxxxxxx

Info: info@xxxxxxxxxxxxxxxx Hotline: +43-2236-27551-111

Visit our Website: http://www.isis-papyrus.com ---------------------------------------------------------------
This e-mail is only intended for the recipient and not legally
binding. Unauthorised use, publication, reproduction or
disclosure of the content of this e-mail is not permitted.
This email has been checked for known viruses, but ISIS accepts
no responsibility for malicious or inappropriate content.
---------------------------------------------------------------

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



Relevant Pages

  • Fw: Enterprise COBOL code generation question
    ... IBM does make some "odd" ... Enterprise COBOL compiler performs. ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: Where is the metal.h include file for z/OS Metal C?
    ... Farley, Peter x23353 wrote: ... But I get this error from the compiler: ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: CORRUPT PDS - I/O ERROR
    ... Which is exactly what the override in OPEN does. ... We don't have to care, ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: COBOL Group moves
    ... :>404,040,404 (unless the compiler generates real nutty code). ... I very rarely bother responding to challenge/response systems, ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)
  • Re: Date & Time in JCL
    ... Why does the C compiler run as "a POSIXapplication"? ... I should know better than to take FIN, but I sensed that was the best I'd ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)