File Status 9/161 when opening a file with CALL 'EXTFH'

[Migrated content. Thread originally posted on 04 February 2011]

In order to bind ISAM data to ADO controls, we have set up a trial project in Visual Cobol R3 that uses the Microfocus File Handler (we also use this in our NetExpress 4.0 projects).
Opening a file with call 'EXTFH' returns a file status 9/161 (something wrong with the file header?).
When running the same code in NetExpress, this returns a file status zero (which is ok).
Does someone know what might be the solution to this problem?
Parents
  • You might want to check you are using the right FCD format.. I can't remember for sure but I think Net Express 4.0 was using FCD2 format for 32bit programs but for 64bit it used FCD3... ie: try adding the NOFCD3 directive.

    Some references anyway for you:
    community.microfocus.com/.../10064_File_and_FCD_Handling
    community.microfocus.com/.../5057_File_and_FCD_Handling
    community.microfocus.com/.../230_Single_Sourcing_and_Dual_FCD_Support
Reply
  • You might want to check you are using the right FCD format.. I can't remember for sure but I think Net Express 4.0 was using FCD2 format for 32bit programs but for 64bit it used FCD3... ie: try adding the NOFCD3 directive.

    Some references anyway for you:
    community.microfocus.com/.../10064_File_and_FCD_Handling
    community.microfocus.com/.../5057_File_and_FCD_Handling
    community.microfocus.com/.../230_Single_Sourcing_and_Dual_FCD_Support
Children
No Data