Ü  Multi-member Physical File 

 

·         Whenever we create a PF, a member with the same name as that of PF is created by default.

 

 

¤  TO CHECK THE MEMBER OF A PHYSICAL FILE:

We give the source physical file name as the physical file for which we want to see the member.

 

                                                                             
                     Work with Members Using PDM                 SYSTEM09
 
 File  . . . . . .   ACCOUNT
  Library . . . .     AMINEM                        Position to  . . . . .
 
 Type options, press Enter.
 3=Copy    4=Delete         5=Display   7=Rename    8=Display description
 9=Save    13=Change text   18=Change using DFU     25=Find string ...
 
 Opt  Member      Date        Text
 __   ACCOUNT        05/21/12  >>>> ACCOUNT member inside ACCOUNT physical file
 
 
 
 Bottom
 Parameters or command
 ===> _________________________________________________________________________
 _______________________________________________________________________________
 
 F3=Exit          F4=Prompt             F5=Refresh            F6=Create
 F9=Retrieve      F10=Command entry     F23=More options      F24=More keys

 

Below if the data in the ACCOUNT member of file ACCOUNT.

 

ACCOUNT/ACCOUNT

              ACLEVELID  ACORGCOD       ACCOUNTNUM   ACCURRENCY  ACNAME           
000001      7        190    100,000,000,001      EUR      SURESH           
000002      7        190    100,000,000,002      EUR      SHRI             
000003      7        190    100,000,000,003      EUR      UPI              
000004      7        190    100,000,000,004      EUR      ABHI             
000005      7        190    100,000,000,005      EUR      AMI              
000006      7        190    200,000,000,002      EUR      JAPY             
000007      7        190    200,000,000,003      USD      KAPIL            
000008      7        190    200,000,000,004      USD      TQNGO  

 


 

¤  TO ADD A NEW MEMBER TO THE FILE USING ADDPFM

 

 

PRESS F6

                        Add Physical File Member (ADDPFM)                       
                                                                                
 Type choices, press Enter.                                                     
                                                                                
 Physical file  . . . . . . . . . > ACCOUNT          Name                          
   Library  . . . . . . . . . . . >   AMINEM        Name, *LIBL, *CURLIB          
 Member . . . . . . . . . . . . .   ________      Name                          
 Text description . . . . . . .   *BLANK                                      
                                                                                
                                                         
                                                                                
                                                                         Bottom 
 F3=Exit   F4=Prompt   F5=Refresh   F10=Additional parameters   F12=Cancel      
 F13=How to use this display        F24=More keys                               


ADDPFM FILE(AMINEM/ACCOUNT) MBR(MBR2)             
Member MBR2 added to file ACCOUNT in AMINEM.                
STRDFU => SELECT member as MBR2 to add record in the new member.


                           Work with Members Using PDM                 SYSTEM09 
                                                                         
 File  . . . . . .   ACCOUNT                                               
   Library . . . .     AMINEM                 Position to  . . . . .         
                                                                                
 Type options, press Enter.                                                     
   3=Copy    4=Delete         5=Display   7=Rename    8=Display description     
   9=Save    13=Change text   18=Change using DFU     25=Find string ...        
                                                                                
 Opt  Member      Date        Text                                              
      ACCOUNT        05/21/12                                           
      MBR2        07/23/12      >>>>>>> New member MBR2 added to the file ACCOUNT
                                                                   
                                                                                
                                                                         Bottom 
 Parameters or command                                                          
 ===> ____________________________________________________________________________
__________________________________________________________________________________
                                                                          
 F3=Exit          F4=Prompt             F5=Refresh            F6=Create         
 F9=Retrieve      F10=Command entry     F23=More options      F24=More keys 

                           

 

 

ACCOUNT/MBR2

       ACLEVELID  ACORGCOD       ACCOUNTNUM   ACCURRENCY  ACNAME
000001      7        190    200,000,000,001      EUR      HIMESH
000002      7        190    200,000,000,002      USD      SUKIN
000003      7        190    200,000,000,004      USD      SANKY
000004      7        190    200,000,000,005      CHF      PAINK

             

 


 

¤  TO ADD A NEW MEMBER TO THE FILE USING CPYF

 

 

CPYF FROMFILE(AMINEM/ACCOUNT) TOFILE(AMINEM/ACCOUNT) FROMMBR(ACCOUNT) TOMBR

(MBR3) MBROPT(*ADD) CRTFILE(*NO) FROMRCD(1) NBRRCDS(3)

                  

Member MBR3 added to file ACCOUNT in AMINEM.                              

3 records copied from member ACCOUNT.                                    

 

 

MEMBER WILL BE CREATED AND RECORD WILL BE ADDED TO THIS MBR.

                           Work with Members Using PDM                 SYSTEM09 
                                                                                
 File  . . . . . .   ACCOUNT                                                       
   Library . . . .     AMINEM                 Position to  . . . . .              
                                                                                
 Type options, press Enter.                                                     
   3=Copy    4=Delete         5=Display   7=Rename    8=Display description     
   9=Save    13=Change text   18=Change using DFU     25=Find string ...        
                                                                                
 Opt  Member      Date        Text                                              
      ACCOUNT     05/21/12                                                      
      MBR2        07/23/12         
      MBR3        07/23/12    >>>>>>> New member MBR3 added to the file ACCOUNT
                                                                                
                                                                                
                                                                                
                                                                         Bottom 
 Parameters or command                                                          
 ===>                                                                           
 F3=Exit          F4=Prompt             F5=Refresh            F6=Create         
 F9=Retrieve      F10=Command entry     F23=More options      F24=More keys     

 

 

  

 

¤ Copy member

 
                           Work with Members Using PDM                 NLAAB441 
                                                                                
 File  . . . . . .   PRJ1                                                       
   Library . . . .     AMINEM               Position to  . . . . .              
                                                                                
 Type options, press Enter.                                                     
  2=Edit         3=Copy  4=Delete 5=Display       6=Print     7=Rename          
  8=Display description  9=Save  13=Change text  14=Compile  15=Create module...
                                                                                
 Opt  Member      Type        Text                                              
 _3_  MASTER      PF          ACCOUNT RELATED INFORMATION                       
      MENUC       CLP         TO CALL MENU                                      
      MNU0        MNUDDS                                                        
      MNU0QQ      MNUCMD                                                        
      OPT1_PGM    RPG         entry pgm to be called for option-1               
      OPT2_PGM    RPG         entry pgm to be called for option-2               
      OPT3_PGM    RPGLE       entry pgm to be called for option-3               
      OPT4_PGM    SQLRPGLE    entry pgm to be called for option-4               
                                                                        More... 
 Parameters or command                                                          
 ===>                                                                           
 F3=Exit          F4=Prompt             F5=Refresh            F6=Create         
 F9=Retrieve      F10=Command entry     F23=More options      F24=More keys    

 

 

 

 

                                 Copy Members                                   
                                                                                
 From file . . . . . . . :   PRJ1                                               
   From library  . . . . :     AMINEM                                           
                                                                                
 Type the file name and library name to receive the copied members.             
                                                                                
   To file . . . . . . . .   PRJ1         Name, F4 for list                     
     To library  . . . . .     AMINEM                                           
                                                                                
 To rename copied member, type New Name, press Enter.                           
                                                                                
 Member         New Name                                                        
 MASTER         MASTER                                                          
                                                                                 
                                                                                
                                                                                
                                                                         Bottom 
 F3=Exit             F4=Prompt     F5=Refresh     F12=Cancel                    
 F19=Submit to batch                                                            

                        











User Comments:



Subscribe

.  


Copyright © www.go4as400.com, 2013-2023. Copyright notice   Terms of services   Privacy policy