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
Unconfigured Ad Widget
Collapse
Announcement
Collapse
No announcement yet.
QHFOPNDR & QHFRDDR APIs problems
Collapse
X
-
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