The mqftrcvc command is available with the File Transfer Application on WebSphere MQ for Windows, and WebSphere MQ for Linux (x86 platform) clients only.
Use the mqftrcvc command to do one of the following:
>>-mqftrcvc-- -q QueueName--+--------------+--------------------> '- -m QMgrName-' >--+--------------+--+-----------+--+--------------+------------> '- -c CorrelId-' '- -u MsgId-' '- -s UserData-' .- -a -----------. >--+------+--+----------------+--+--------------+---------------> '- -v -' +- -l -----------+ '- -r FileName-' +- -i -----------+ +- -o -----------+ +- -d -----------+ +- -g --+------+-+ | '- -y -' | '- -e --+------+-' '- -y -' >--+--------------+-------------------------------------------->< '- -f FileName-'
Selection can be combined with -c CorrelId, and -f FileName.
Used to rename, or to relocate a file. The file is assigned the name specified in FileName. A fully qualified file name can be specified to relocate the file. If the file name, or path, contains embedded spaces, it must be specified in double quotes. One file can be specified only, and you cannot use wildcard characters.
Selection can be combined with -c CorrelId, and -s UserData.
0 | Successful operation |
36 | Invalid arguments supplied |
40 | Queue manager not available |
69 | Storage not available |
71 | Unexpected error |
163 | Queue name required |
164 | Cannot open queue |
165 | Cannot open file |
166 | Cannot put to queue |
167 | No file name specified (Send) |
168 | Message length is too small to send data |
169 | Sending file has changed |
170 | Cannot get from queue |
171 | Cannot write to file |
172 | CorrelId is invalid |
173 | MsgId is invalid |
174 | No messages to receive |
175 | File for delete is not unique |
This command lists all files and messages on the queue, MY.QUEUE, located on the default queue manager:
mqftrcvc -q MY.QUEUE -a
This command gets the first complete file on the queue, MY.QUEUE, located on queue manager QM1:
mqftrcvc -q MY.QUEUE -m QM1 -g
This command gets the complete file, named My document.txt, on the queue, MY.QUEUE, located on the default queue manager:
mqftrcvc -q MY.QUEUE -g -f "My document.txt"
This command gets the complete file, named My document.txt, also marked URGENT, on the queue, MY.QUEUE, located on queue manager QM1 :
mqftrcvc -q MY.QUEUE -m QM1 -g -f "My document.txt" -s "URGENT"
mqftapp | Run File Transfer Application |
mqftrcv | Receive file on server |
mqftsnd | Send file from server |
mqftsndc | Send file from client |
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
mqftrcvc |