On 15-Sep-2011 03:03 , jerome.domont@xxxxxx wrote:
I'm trying to clear msgq using ftp rcmd in a bash script but I always
get CPF2357 message.

I tried to call a CL containing with my bash script>> it failed
I tried to call clrmsgq directly from bash script and it also failed

Has anyone an idea about this ?

The lower level text for CPF2357 can be illuminating:
"Recovery . . . : Display the job log (DSPJOBLOG command) or press F10 (Display messages in job log). Correct the errors and try the request again." A common origin for that error with both user and workstation message queues is diagnosed by CPF2451 "Message queue &1 is allocated to another job."; typically that the message queue is allocated in *BREAK delivery mode by a different [usually interactive] job.

Regards, Chuck

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.