C BSFN Issue on AS/400 - Works on NTSRV and LOCAL

cdawes

VIP Member
I've got an issue with a C function not working on the AS/400 even though it works on an NT App server and locally. We're currently just running a test report to see why it's not working on the AS/400.

The package builds are all 100% successful on all platforms.

I get a MCH3601 Escape message on the AS/400 with the following details:

Message . . . . : Pointer not set for location referenced.
Cause . . . . . : A pointer was used, either directly or as a basing pointer, that has not been set to an address.

I've attached the logs, error messages and source file if anyone has a moment to take a look.

We're pretty close to being at the latest CUME, GROUP & HYPER PTF's.

System is:

ERP 8.0, Update 1, SP23_C1, iSeries 570 9600 CPW, Citrix Metaframe XP FR3

Thanks,

Colin
 

Attachments

  • 94318-BSFN Error on AS400.zip
    14.9 KB · Views: 228
Hi Colin,

Is your BSFN trying to manipulate files?
Be careful with paths delimiters...

LOCAL and NTSRV paths are like

x:\myfolder\myfile.ext, and their hardcoding looks like
like x:\\myfolder\\myfile.ext

while AS400 IFS and UNIX paths are like

/myfolder/myfile.ext

My 0.01 generic copper coin,
 
Your problem is in RIPCacheInit.

The Line is...
jdeCacheCode = jdeCacheInit (hUser, (HCACHE *) &lpDS->idCACHEHANDLE, "DSD5501CACHE", Index);
the fourth argument needs to be a pointer to an Cache Index Structure. You passed the Struture. (Just add a & in front)

Windows and Unix will take the first 4 or 8 bytes and "convert" it to a pointer OS400 will not.

Hope this helps.
 
Back
Top