Subject: | |
From: | |
Reply To: | |
Date: | Thu, 1 Jun 1995 11:19:36 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On May 25, 10:46am, Rick Gilligan wrote:
> Subject: 5.0 Diff CIERROR for missing prog file (622 vs. 625)
> There is a difference in the setting of CIERROR between 4.0 and 5.0 when
> the program file does not exist due to non-existent group or account.
>
> On 4.0, missing file, group or account all give CIERROR 622.
>
> On 5.0, missing file still gives CIERROR 622 when the group and account
> exist; gives 625 when group or account doesn't.
>
> If you have commands which attempt to run a program, check cierror and
> then run a program in a different group or account, beware.
>
> Here's what a 4.0 system does:
>
> :SHOWVAR HPVERSION
> HPVERSION = B.40.00
> :ERRCLEAR
> :RUN Z.Z.Z
> ^
> PROGRAM FILE Z.Z.Z NOT FOUND. (CIERR 622)
> :SHOWVAR CIERROR
> CIERROR = 622
> :
> :ERRCLEAR
> :RUN Z.Z.SYS
> ^
> PROGRAM FILE Z.Z.SYS NOT FOUND. (CIERR 622)
> :SHOWVAR CIERROR
> CIERROR = 622
> :
> :ERRCLEAR
> :RUN Z.PUB.SYS
> ^
> PROGRAM FILE Z.PUB.SYS NOT FOUND. (CIERR 622)
> :SHOWVAR CIERROR
> CIERROR = 622
> :
>
>
> Here's what a 5.0 system does:
>
> :SHOWVAR HPVERSION
> HPVERSION = C.50.00
> :ERRCLEAR
> :RUN Z.Z.Z
> Intrinsic layer; the operation could not be completed because a nonexistent
> account was specified.
> File System message 37
> The loader failed to get file info from FLABELINFO. (LDRERR 51)
> Native mode loader message 51
> Unable to load program to be run. (CIERR 625)
> :SHOWVAR CIERROR
> CIERROR = 625
> :
> :ERRCLEAR
> :RUN Z.Z.SYS
> Intrinsic layer; the operation was not completed because a nonexistent group
> was specified.
> File System message 36
> The loader failed to get file info from FLABELINFO. (LDRERR 51)
> Native mode loader message 51
> Unable to load program to be run. (CIERR 625)
> :SHOWVAR CIERROR
> CIERROR = 625
> :
> :ERRCLEAR
> :RUN Z.PUB.SYS
> ^
> Program file "X1.PUB.SYS" not found. (CIERR 622)
> MLA:SHOWVAR CIERROR
> CIERROR = 622
> :
>
This appears to be a bug in the CREATEPROCESS intrinsic. It returns a different
error for case 1 and 2 above than it did on 4.0. It is supposed to return
error code 6 for all 3 cases, but for cases 1 and 2 it returns an error of 16.
There needs to be an SR for this.
Thanks,
Jeff Vance, MPE Lab
--
Jeff Vance
|
|
|