Posted on 2004-11-17
Last Modified: 2010-05-18
I have a file it is not a multiple member.  

I am using the monmsg CPF3141 and I am trying to ADDPFM and then CLRPFM but it is not clearing.  When I use the CLRPFM, it says that a *MBR is required and this is true for the ADDPFM as well.

 I think that I am monitoring for the wrong message, have the wrong value in the MBR parm (I put the name of the member that I see in DBU), or something else.

I want the file to clear and do not know how to get around this problem.  Am I using the wrong command, wrong syntax or what???????

Please advise,

Question by:jjjjjjj
    LVL 14

    Accepted Solution

    if you only have the 1 member then you can simply use
    you do not need to specify a member.

    You can used the dspfd myfile TYPE(*MBRLIST)  
    to list the members in the file

    You do not need the addpfm a file is created with the member name the same as the file name.

    Take out the monmsg and see what the cl fails with

    LVL 1

    Expert Comment

    Why are you trying to add a member and then clear it? Do you require more than one member?

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    It can often be challenging to stay relevant in the rapidly evolving world of technology. This can make recruiting talent difficult for companies of all sizes.
    These days socially coordinated efforts have turned into a critical requirement for enterprises.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    731 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now