On Thu, 31 May 2012 19:31:04 -0600, Steve Comstock wrote:
>>>>>
>> Something has to specify the UNIT. Does "LIKE" establish the
>> UNIT but not the VOL? Strange.
>
>LIKE establishes neither; UNIT comes from the system default
>unit, usually SYSALLDA; VOL is chosen from available storage
>volumes.
>
Humph! I tried your DD statement on 1.12, without "LIKE":
3 //STEP EXEC PGM=IEFBR14
4 //NEWMAST DD DISP=(NEW,CATLG),DSN=&SYSUID..WORK.NEW.ZINPUTA
IEF210I JOBCARD STEP NEWMAST - UNIT FIELD SPECIFIES INCORRECT DEVICE NAME
IEF272I JOBCARD STEP - STEP WAS NOT EXECUTED.
... so our system default is either not specified or misspecified.
M&C says:
#2.121 "z/OS V1R12.0 MVS System Messages, Vol 8 (IEF-IGD)" IBM Libra.. (p1 of
3)
Library View Topics Framed Contents Revised Topics Previous Topic Next
Topic Search Search Results Previous Topic Match Next Topic Match Notes
List Notes Print Download Download PDF Handheld Disconnected Handheld
Connected Help
___________________________________________________________________
2.121 IEF210I
Explanation: In a DD statement, the unit name subparameter in the UNIT
parameter was incorrect:
* The unit is not defined to the current system configuration, or a
demand request for a unit being added to the configuration occurred
prior to the dynamic configuration change completing.
* If the DD statement specified a cataloged data set, the unit field
in the catalog entry is incorrect.
* The DD statement did not contain a UNIT parameter for a
non-cataloged, non-passed data set.
* The DD statement did not contain a DISP parameter, indicating a new
data set, and did not contain a UNIT parameter, indicating an old
data set.
It would be helpful if the message identified the incorrect unit name
and its provenance, and distinguished among the 4 cases (5, actually:
the first represents 2) in the bullets. But that would be a step toward
self-explanatory messages, and I know the modal view on this forum
is that messages should _not_ be self-explanatory.
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN