Prompt Line Command in SEU AS400

Prompt Line Command in SEU AS400
Prompt Line Command in SEU AS400,Prompt line command for New Records in SEU,IP? prompt in SEU,Promt line command(IPH,IPF,IPD,IPI,IPC,IPO)
Prompt Line Command in SEU AS400

Prompt line command

We will use the following command to prompt line command in SEU.

IP?

Type the command IP? and press ENTER will show the Select prompt.

 Columns . . . :    6 100                                       Edit                                              EASYCLASS1/ILERPG
 SEU==>                                                                                                                     ILEPGM1
 FMT H  HKeywords++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Comments++++++++++++                            
        *************** Beginning of data ***************************************************************************************  
IP?1.00 H                                                                                                   200616                 
0002.00  * Global variables (accessible to all sub procedures local to this program)                        200811                 
0003.00 D Sum             S              4P 0                                                               200811                 

Select prompt open and fill the prompt type.

                               Select Prompt                            
                                                                        
Type choice, press Enter.                                               
                                                                        
 Prompt type . . . . . . . . . . . .  F      Values listed below        
                                                                        
   ILE RPG:        H,F,FX,I,IX,J (I cont),JX,D,DX,C,CX,OD,P (O cont),PR,
                   PX,* (Comment),**                                    
   ILE COBOL:      CB,C*                                                
   REFORMAT/SORT:  RH,RR,RF,RC                                          
   DDS:            LF (Logical file),PF (Physical file),                
                   BC (Interactive Communications Feature file),        
                   DP (Display and Printer file),                       
                   A* (Comment)                                         
   MNU:            MS,MH,MD,MC (MD cont),CC (Comment)                   
   FORTRAN:        FT, F*                                               
   Other:          NC (No syntax checking),** (Free format)             
                                                                        
                                                                        
                                                                        
                                                                        
                                                                        
F12=Cancel   F23=Select user prompt                                     
 Columns . . . :    6 100                                       Edit                                              EASYCLASS1/ILERPG
 SEU==>                                                                                                                     ILEPGM1
 FMT H  HKeywords++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Comments++++++++++++                            
        *************** Beginning of data ***************************************************************************************  
0001.00 H                                                                                                   211204                 
'''''''                                                                                                                            
0002.00  * Global variables (accessible to all sub procedures local to this program)                        200811                 
0003.00 D Sum             S              4P 0                                                               200811                 
0004.00                                                                                                     200811                 
                          Prompt type . . .    F      Sequence number . . .  '''''''                                               
                                                                                                                                   
                                        File        File          End of        File                                               
                          Filename      Type     Designation       File       Addition       Sequence                              
                                                                                                                                   
                          File      Record      Limits        Length of          Record                                            
                          Format    Length    Processing      Key Field       Address Type                                         
                                                                                                                                   
                              File                                                                                                 
                          Organization        Device     Keywords                                                                  
                                                                                                                                   
                          Comment                                                                                                  
                                                                                                                                   
                                                                                                                                   

Here we can use the IPF command for the above prompt for F specs instead of IP?

 Columns . . . :    6 100                                       Edit                                              EASYCLASS1/ILERPG
 SEU==>                                                                                                                     ILEPGM1
 FMT H  HKeywords++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Comments++++++++++++                            
        *************** Beginning of data ***************************************************************************************  
IPF1.00 H                                                                                                   211204                 
0002.00 F                                                                                                   211204                 
 Columns . . . :    6 100                                       Edit                                              EASYCLASS1/ILERPG
 SEU==>                                                                                                                     ILEPGM1
 FMT H  HKeywords++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Comments++++++++++++                            
        *************** Beginning of data ***************************************************************************************  
0001.00 H                                                                                                   211204                 
'''''''                                                                                                                            
0002.00 F                                                                                                   211204                 
0003.00  * Global variables (accessible to all sub procedures local to this program)                        200811                 
0004.00 D Sum             S              4P 0                                                               200811                 
                          Prompt type . . .    F      Sequence number . . .  '''''''                                               
                                                                                                                                   
                                        File        File          End of        File                                               
                          Filename      Type     Designation       File       Addition       Sequence                              
                                                                                                                                   
                          File      Record      Limits        Length of          Record                                            
                          Format    Length    Processing      Key Field       Address Type                                         
                                                                                                                                   
                              File                                                                                                 
                          Organization        Device     Keywords                                                                  
                                                                                                                                   
                          Comment                                                                                                  
                                                                                                                                   

Line commands for several other insert prompts are as follows such as IPF, IPH, IPD, IPI, IPC, IPO, IPPR, IPPI, IPDP, IPPF, IPLF, etc.

 Prompt type . . . . . . . . . . . .        Values listed below        
                                                                        
   ILE RPG:        H,F,FX,I,IX,J (I cont),JX,D,DX,C,CX,OD,P (O cont),PR,
                   PX,* (Comment),**                                    
   ILE COBOL:      CB,C*                                                
   REFORMAT/SORT:  RH,RR,RF,RC                                          
   DDS:            LF (Logical file),PF (Physical file),                
                   BC (Interactive Communications Feature file),        
                   DP (Display and Printer file),                       
                   A* (Comment)                                         
   MNU:            MS,MH,MD,MC (MD cont),CC (Comment)                   
   FORTRAN:        FT, F*                                               
   Other:          NC (No syntax checking),** (Free format)             
                                                                        
                                                                        
                                                                        
                                                                        
                                                                        
F12=Cancel   F23=Select user prompt                                     

Related Post

Post a Comment

© AS400 and SQL Tricks. All rights reserved. Developed by Jago Desain