Author |
Message
|
jeevan |
Posted: Mon Apr 30, 2007 8:12 am Post subject: probl in transering file from win to as400 in PM4DATA |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
I am having problem in transferring file from windows to as400. The destination file type is library( PFSRC). The library name is , let say XYZ and file TESTFILE. The destination file is given as:
XYZ/TESTFILE
The library already has the file name. I do not know exactly how the file sytems work but if it is in windows, if the file exist, it does not work.
The errror I am getting is file lock error.
Any suggestion/insight would be appreciated.
thanks |
|
Back to top |
|
 |
ms_mq |
Posted: Tue May 01, 2007 3:01 am Post subject: |
|
|
Acolyte
Joined: 23 Feb 2007 Posts: 69
|
Hi,
Is PM4DATA running on the AS400 ? ie Are you using a direct Node-to-Node transfer or do you use any User exits to transfer the file from Windows to AS400 ? Which stage is it failing ? (Send/Receive). _________________ Regards,
MS |
|
Back to top |
|
 |
jeevan |
Posted: Tue May 01, 2007 3:48 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
Yes, PM4DATA is running in as400 as node. the enterprise server installed somewhere in windows machine.
dirmon process picks up the file but does not go the destination, rather to recovery queue. |
|
Back to top |
|
 |
ADV |
Posted: Tue May 01, 2007 7:47 am Post subject: |
|
|
Apprentice
Joined: 24 Apr 2007 Posts: 44 Location: Boston, MA
|
can you try LIb/FILE(MEMBER) syntax....XYZ/TESTFILE(TESTFILE) ? |
|
Back to top |
|
 |
jeevan |
Posted: Tue May 01, 2007 11:56 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
ADV wrote: |
can you try LIb/FILE(MEMBER) syntax....XYZ/TESTFILE(TESTFILE) ? |
I will test and let this group know.
I am also thinking to test library/$xmdo_original_name$. In windows, this is necessary. I am not sure about as400 file systems.
Anyway, I will test and let you know. |
|
Back to top |
|
 |
jeevan |
Posted: Wed May 02, 2007 11:10 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
ADV wrote: |
can you try LIb/FILE(MEMBER) syntax....XYZ/TESTFILE(TESTFILE) ? |
I tried this too. But got the following errors
rcTxt>XMOFTS_FILE_OPEN_FAILURE</rcTxt>
<activity>Receive</activity>
<locationCode>FTF::openFileWrite():100</locationCode>
<message>An error occurred trying to open a file. Possible causes are: 1) There may be a problem with the directory name. 2) The file may not exist. 3) The file may be locked. 4) Permissions may be preventing access to the file. 5) The directory may not exist. See 'message2' for more details.</message>
<message2>Unable to open file: /CQTEST/TESTDATA(New Text Document.txt) Exception: Failed to create source physical file /CQTEST/TESTDATA(New Text Document.txt): CRTSRCPF FILE(/CQTEST/TES) SIZE(*NOMAX) MBR(*NONE) ALLOCATE(*NO) MAXMBRS(*NOMAX) RCDLEN(92)</message2>
<userAction>Verify that the file exists and that it can be accessed</userAction>
<sysAdminAction>Check permissions of the file and all
Any idea?
thanks |
|
Back to top |
|
 |
jeevan |
Posted: Sun May 06, 2007 5:59 pm Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
ADV wrote: |
can you try LIb/FILE(MEMBER) syntax....XYZ/TESTFILE(TESTFILE) ? |
Yes, this worked. My problme was on data type now this one. lib/file(menmber works perfectly.
Thanks |
|
Back to top |
|
 |
|