Highlighted
Trusted Contributor.
Trusted Contributor.
1954 views

EXTFH : Unexpected file status 9/-95

Jump to solution

[Migrated content. Thread originally posted on 07 June 2012]

Hi All,

I'm trying to call the EXTFH opcode 0xFA06 to retrieve file information but my program abort with code 9/-95.

What does this code mean?

Is there, somewhere, a list of all status code?

Thanks in advance.
Fly.
0 Likes
1 Solution

Accepted Solutions
Highlighted
Trusted Contributor.
Trusted Contributor.

RE: EXTFH : Unexpected file status 9/-95

Jump to solution
Hi all,
My problem is resolved.
I've forgotten to use a simple cobget_x1_compx on status2 of the FCD structure.

So now, -95 is 161...

Thanks a lot.
Fly.

View solution in original post

0 Likes
5 Replies
Highlighted
Trusted Contributor.
Trusted Contributor.

RE: EXTFH : Unexpected file status 9/-95

Jump to solution
Oups,

The problem is resolved...
Special operation codes are like 0x00nn and not 0xFAnn...

So sorry and have a good day.
Fly.
0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: EXTFH : Unexpected file status 9/-95

Jump to solution
I am glad that you figured out the source of the problem you were having.

In response to your question regarding the list of error codes, when the first byte of a file status is a "9" this means that the second byte is a binary value which represents a run-time system error code.

A list of these run-time system codes can be found here.
0 Likes
Highlighted
Trusted Contributor.
Trusted Contributor.

RE: EXTFH : Unexpected file status 9/-95

Jump to solution
Thanks for your answer Chris, but 2 problems:

- the links in your page don't work for me,
- i'm just looking for explanations about the negative's status2.

Thanks.
0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: EXTFH : Unexpected file status 9/-95

Jump to solution
You are correct there does appear to be a problem with the documentation links on the community site.
Here is a different link to Run-time error codes.

The -95 must be in error as there is no such code.

Do you happen to know the actual hex value of the byte being returned?
0 Likes
Highlighted
Trusted Contributor.
Trusted Contributor.

RE: EXTFH : Unexpected file status 9/-95

Jump to solution
Hi all,
My problem is resolved.
I've forgotten to use a simple cobget_x1_compx on status2 of the FCD structure.

So now, -95 is 161...

Thanks a lot.
Fly.

View solution in original post

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.