ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » probl in transering file from win to as400 in PM4DATA

Post new topic  Reply to topic
 probl in transering file from win to as400 in PM4DATA « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Mon Apr 30, 2007 8:12 am    Post subject: probl in transering file from win to as400 in PM4DATA Reply with quote

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
View user's profile Send private message
ms_mq
PostPosted: Tue May 01, 2007 3:01 am    Post subject: Reply with quote

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
View user's profile Send private message
jeevan
PostPosted: Tue May 01, 2007 3:48 am    Post subject: Reply with quote

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
View user's profile Send private message
ADV
PostPosted: Tue May 01, 2007 7:47 am    Post subject: Reply with quote

Apprentice

Joined: 24 Apr 2007
Posts: 44
Location: Boston, MA

can you try LIb/FILE(MEMBER) syntax....XYZ/TESTFILE(TESTFILE) ?
Back to top
View user's profile Send private message
jeevan
PostPosted: Tue May 01, 2007 11:56 am    Post subject: Reply with quote

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
View user's profile Send private message
jeevan
PostPosted: Wed May 02, 2007 11:10 am    Post subject: Reply with quote

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
View user's profile Send private message
jeevan
PostPosted: Sun May 06, 2007 5:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » probl in transering file from win to as400 in PM4DATA
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.