× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Given a list of *JRNRCV object names as rows in a database *FILE named QTEMP/ODJRNRCVLST, where the journal receiver name is column ODOBNM & the journal receiver library name is column ODLBNM, the following CLP source for example:

<code>

dclf QTEMP/ODJRNRCVS
NextJrnRcv:
rcvf
monmsg cpf0864 /* no more *jrnrcv */ exec(do)
rcvmsg (*SAME (*)) *PGMQ *EXCP rmv(*YES))
goto AllDone:
dltjrnrcv &odlbnm/&odobnm dltopt(*igninqmsg)
goto NextJrnRcv
AllDone:
return

</code>

How that list or rows as *JRNRCV qualified names is obtained\generated, is left as an exercise for the reader. It could be as simple as DSPOBJD *ALLUSR/*ALL *JRNRCV *FULL OUTPUT(*OUTFILE) OUTFILE(QTEMP/ODJRNRCVS) OUTMBR(*FIRST *REPLACE) /* optionally rows previously deleted or omitted; e.g. by a logical view */

Regards, Chuck

Sneha Verma wrote:
I have 250-300 journal receivers in different library which are to be deleted. Please can anyone tell me the CL Source Program
which can help me delete these receivers from each of the
libraries.

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.