|
On 27-Oct-2011 11:55 , fbocch2595@xxxxxxx wrote:
Hi Folks, when I run this code;
<<SNIPped CLP source>>
I'm getting this after the code goes to DLY again;
3200 - DLTSPLF FILE(QPDSPMSG) SPLNBR(*LAST)
3400 - RCVF DEV(*FILE) RCDFMT(*FILE) WAIT(*YES) OPNID(*NONE)
File name is T2853PF. */
2400 - DLTF FILE(QTEMP/T2853PF)
Cannot do operation on file T2853PF in QTEMP.
What do I have to do to be able to DLTF the file?
Close the file. A database file can not be deleted while a database
file member is open. For a CLP, that means ensuring the CPF0864 gets
signaled.
As to the code... Ugh! Best to eliminate the indirection, and code
directly to what is desired; i.e. using RCVMSG MSGQ(QSYSOPR) to locate
the message-of-interest in the queue. Perhaps instead of trying to get
this CLP to function as expected, describe what task is intended to be
accomplished, and ask how best to code to automate that task.
Regards, Chuck
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
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.