Skip to main content

Error accessing public catalog with MVSCATPB call

  • September 20, 2016
  • 1 reply
  • 0 views

Has anyone gotten the MVSCATPB api call to work?

I've moved low-values into pubcat-area, the dsn to ws-dsname, and 'GU' to ws-func, and made the 'mvscatpb' call, but am getting back error '22' (Invalid-Function) in the reason code.


#EnterpriseDeveloper

1 reply

  • Author
  • Rocketeer
  • 19312 replies
  • October 16, 2016

Has anyone gotten the MVSCATPB api call to work?

I've moved low-values into pubcat-area, the dsn to ws-dsname, and 'GU' to ws-func, and made the 'mvscatpb' call, but am getting back error '22' (Invalid-Function) in the reason code.


#EnterpriseDeveloper

On my side, MVSCATPB API is working fine and as expected.

Maybe an issue related to the compile settings.
I suggest to use dialect(MF) to be sure that CHARSET(ASCII) is set.