Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

QHFOPNDR & QHFRDDR APIs problems

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • QHFOPNDR & QHFRDDR APIs problems

    Try changing the parameter 02 QHFOPNDR-Path-Length Pic S9(4) Binary Value 8. to 02 QHFOPNDR-Path-Length Pic S9(9) Binary Value 8. Trevor

  • #2
    QHFOPNDR & QHFRDDR APIs problems

    Can anyone please provide a code snippet (COBOL or RPGIV) or suggestions on using the QHFOPNDR and QHFRDDR API's. I cannot get either one of them to work. I keep getting a CPF1F41(Severe error occurred while addressing parameter list.) return error. I've triple check all parameter values(paying special attention to HSF Attribute Selection Table), coded it in COBOL ILE and RPGIV and read all of the documentation on this APIs. I even tried just requesting the QNAME attribute but no matter how simple I keep it I still get the same error!!! (by the way, I have full access to IFS). See test code for opening the directory. Thanks in advance to anyone that can help.
    Code

    Comment


    • #3
      QHFOPNDR & QHFRDDR APIs problems

      Thanks Trevor, That's the downside of copy/paste

      Comment


      • #4
        QHFOPNDR & QHFRDDR APIs problems

        The RPG correction will be similar to the COBOL one. If you've defined a parameter or subfield as 4b 0 (2-byte RPG-binary), change it to 10i 0 (4-byte true-binary).

        Comment

        Working...
        X