How can I retrieve multi-members List to physical files

5 pts.
Tags:
AS/400 command functions
AS/400 commands
Physical Files
How can i retrive the Mutli members list to a Physcial file.i tried the below command. i got the error code 
 DSPFD      FILE(AMLIB/DEMOPF) TYPE(*MBRLIST) + 
              OUTPUT(*OUTFILE) FILEATR(*PF) +  
              OUTFILE(AMLIB/DEMOPF2)            
                                                            
 Message ID . . . . . . . . . :   CPF3061                                       
 Message file . . . . . . . . :   QCPFMSG                                       
   Library  . . . . . . . . . :     QSYS                                        
                                                                                
 Message . . . . :   Record format &3 not found for outfile &1.                 
 Cause . . . . . :   Record format &3 was not found in outfile &1 in library    
   &2.                                                                          
 Recovery  . . . :   Change the name on the OUTFILE parameter.  Then try the    
   request again.  
Please  advice me                                              


Software/Hardware used:
CL ,AS400

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    Most likely, the AMLIB/DEMOPF2 file already existed when you ran the command. If it was created earlier, it could have been created by using DSPFD but with a different TYPE() specified. Each TYPE() has a different format. You can't use the same outfile for different types of requests. Either use a different outfile or delete AMLIB/DEMOPF2 and let it be recreated with the appropriate record format. Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following