Ken
Active Member
Hi All,
I've created a program that writes a file to a networked directory using B0500025 ( Export to flat file), I then copy that file to another directory and then delete the original using B4700230(Delete or Copy Flat File.)
All is well, Life is good, everything is working... until I run it on Citrix.
The first business function works (creating the file in the networked directory,) the problem is the B4700230 fails when copying the file. However, it does correctly delete the original file during the second call to it.
Here is what my debug log has during the call to B4700230:
Jun 23 14:20:13 ** 555/476 On MERP1, calling Business function
DeleteOrCopyFlatFile for KEN. (BSFNLevel = 1)
Jun 23 14:20:13 ** 555/476 Entering JDB_InitUser with commit mode 0
Jun 23 14:20:13 ** 555/476 Entering JDB_BeginTransaction
Jun 23 14:20:13 ** 555/476 Entering JDB_FreeUser
Jun 23 14:20:13 ** 555/476 Entering JDB_InitUser with commit mode 0
Jun 23 14:20:13 ** 555/476 Entering JDB_BeginTransaction
Jun 23 14:20:13 ** 555/476 Entering GetUserProfileCache
Jun 23 14:20:13 ** 555/476 GetUserProfileCache returns the value from ghEnv
Jun 23 14:20:13 ** 555/476 Entering JDB_FreeUser
Jun 23 14:20:13 ** 555/476 Return value is 2 for
DeleteOrCopyFlatFile. (BSFNLevel = 1)
Jun 23 14:20:13 ** 555/476 RT: BSFN: Returned 2:
DeleteOrCopyFlatFile App: P58003 Form: W58003A [T:ldc F:\b7\system\jdeuser\JDECGRT\RT_BSFN.cpp Ln:1481 Lv:BUSINESS FUNCTION]
Jun 23 14:20:13 ** 555/476 RT: BSFN DID NOT RETURN SUCCESS
After this line it goes on to note that the next call to the Business function (The delete) completed successfully.
Any ideas?
TIA
Ken
OneWorldXe B7333 SP13
Windows NT, AS400
I've created a program that writes a file to a networked directory using B0500025 ( Export to flat file), I then copy that file to another directory and then delete the original using B4700230(Delete or Copy Flat File.)
All is well, Life is good, everything is working... until I run it on Citrix.
The first business function works (creating the file in the networked directory,) the problem is the B4700230 fails when copying the file. However, it does correctly delete the original file during the second call to it.
Here is what my debug log has during the call to B4700230:
Jun 23 14:20:13 ** 555/476 On MERP1, calling Business function
DeleteOrCopyFlatFile for KEN. (BSFNLevel = 1)
Jun 23 14:20:13 ** 555/476 Entering JDB_InitUser with commit mode 0
Jun 23 14:20:13 ** 555/476 Entering JDB_BeginTransaction
Jun 23 14:20:13 ** 555/476 Entering JDB_FreeUser
Jun 23 14:20:13 ** 555/476 Entering JDB_InitUser with commit mode 0
Jun 23 14:20:13 ** 555/476 Entering JDB_BeginTransaction
Jun 23 14:20:13 ** 555/476 Entering GetUserProfileCache
Jun 23 14:20:13 ** 555/476 GetUserProfileCache returns the value from ghEnv
Jun 23 14:20:13 ** 555/476 Entering JDB_FreeUser
Jun 23 14:20:13 ** 555/476 Return value is 2 for
DeleteOrCopyFlatFile. (BSFNLevel = 1)
Jun 23 14:20:13 ** 555/476 RT: BSFN: Returned 2:
DeleteOrCopyFlatFile App: P58003 Form: W58003A [T:ldc F:\b7\system\jdeuser\JDECGRT\RT_BSFN.cpp Ln:1481 Lv:BUSINESS FUNCTION]
Jun 23 14:20:13 ** 555/476 RT: BSFN DID NOT RETURN SUCCESS
After this line it goes on to note that the next call to the Business function (The delete) completed successfully.
Any ideas?
TIA
Ken
OneWorldXe B7333 SP13
Windows NT, AS400