On 2/21/2011 3:00 PM, Binyamin Dissen wrote:
On Mon, 21 Feb 2011 14:20:04 -0700 Paul Gilmartin<[email protected]>
wrote:

:>On 2/21/2011 11:17 AM, Mike Shaw wrote:
:>>  Shouldn't the assembler check the DCB attributes for an existing SYSADATA
:>>  output file, particularly a PDS or PDSE, and use those attributes, rather
:>>  than CHANGING the DCB attributes without a warning? If he's not happy 
'cause
:>>  the LRECL is too short, give me an error message, don't just change things
:>>  without telling me!

:>It's not the assembler, it's Data Manglement.

Not at all. The assembler can check in a DCB open exit and report on the
mismatch.

That burden shouldn't be placed on every utility, language processor,
or program.  Simply, the check should be coded in OPEN, and any attempt
to modify the attributes of a nonempty existing data set should ABEND.

Similar considerations should apply to inadvertent overwriting of
PDS directories.

:>>  ...or am I asking too much here?

:>Consider the vendor's reputation, and answer your own question.

Nasty.

Realistic.

-- gil

Reply via email to