ADDPFM in CL and CLRPFM

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,

jjjjjjj
LVL 1
jjjjjjjAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

daveslaterCommented:
Hi
if you only have the 1 member then you can simply use
CLRPFM MYFILE
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

Dave
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
odumbruceCommented:
Why are you trying to add a member and then clear it? Do you require more than one member?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
IBM System i

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.