On Mon, 14 Sep 2015 11:06:42 -0500, John McKown wrote:
>
>On Mon, Sep 14, 2015 at 11:01 AM, Paul Gilmartin <
>[email protected]> wrote:
>
>​That's in interesting, if scary, thought. I was thinking more along the
>lines of giving a better error message by printing something like:
>
>RECORD NUMBER 27 IN FILE 3 OF THE INPUT IN MYINPUT IS IN ERROR.
>THE ACCOUNT NUMBER BUBBAJOHNSON DOES NOT EXIST.​
>
Yup.  However: "FILE 3" is underreaching.  Should also show DSNAME/pathname.
HLASM, at least, does this pretty well with its ASMA435I message.  Too many
other utilities cop out with "PATH NAME ... SPECIFIED."  Allocation ought to be
enhanced to load that field with (the last?) 44 characters of the path name,
and the volser with "UNIXfs".

My suggestion was influenced by "awk" where I read everything in the main
data-driven loop and case out filenames.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to