Sorry, you do not have permission to ask a question, You must login to ask a question.

Sorry, you do not have permission to ask a question.

brainchime.com

brainchime.com

brainchime.com Navigation

  • Home
  • About Us
  • Contact Us

Mobile menu

Close
  • Home
  • Categories
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags

brainchime.com Latest Questions

Admin
Admin
Asked: October 13, 20242024-10-13T12:39:51+05:30 2024-10-13T12:39:51+05:30In: IBM i

What are the menus available in AS400?

What is a Menu in AS400? What are the various main menus and their functions on the AS400 system? Any option or command to access these menus.

What are the steps involved in creating a menu in AS400 and how we can call them from the command line in AS400?

as400
  • 0
  • 0
  • 11
  • 11
  • Share
    • Share on Facebook
    • Share on Twitter
    • Share on LinkedIn
    • Share on WhatsApp

Related Questions

  • what is level check error and how to resolve level check error?
  • What are AS400 systems. Please provide a introduction of AS400 systems?
  • Is there any online server available for practicing on AS400 system?
  • What is subsystem in AS400?
  • How to copy a save file from IFS to a library?
  • How to transfer savf from as400 to pc?
  • How to copy ifs file to another directory?
  • How to copy savf from ifs to pc?
  • How to copy ifs file to physical file?
  • How to copy save file to ifs?
  • How to copy spool file to ifs?
  • How to copy physical file to ifs?
  • How to copy file from pc to IFS?
  • How to download spool file from AS400?
  • How do I delete a library in AS400?
  • How do I copy data from AS400 to excel?
  • What is library in AS400?
  • How to find all the source physical file available in AS400?
  • How to find all libraries in AS400?
  • How to change the library list in AS400?
  • What is access path in AS400?
  • What is the difference between source physical file and physical file in as400?
  • how to find the source file of an object in as400?
  • how to change record length of source physical file in as400?
  • What is cpf4174 error in as400?
  • What is the use of varying keyword in rpgle?
  • What is DDS in AS400?
  • What is the difference between PF and LF in as400?
  • Why do we use CHGPF command in AS400?
  • how to create physical file in as400?
  • What are the data types supported by physical files in AS400?
  • how to add data in physical file in as400?
  • how to view journal entries in as400?
  • what is the use of ovrdbf in as400?
  • What is an array in AS400?
  • what is a data queue in as400 and why do we use data queue?
  • How to run stored procedure in AS400?
  • How to resolve session and device error in AS400?
  • how to check as400 system values?
  • How to check triggers on a file in as400?
  • How to find damaged objects in AS400?
  • what is module in as400?
  • How to create binding directory in as400?
  • how to create ifs folder in as400?
  • What is ASP in AS400?
  • What is JOBQ and how to create a JOBQ in AS400?
  • What is PSDS in AS400?
  • What is SEU in AS400 and why do we use it?
  • What is the multi-format logical file in AS400?
  • what is PR and PI in rpgle?
Leave an answer

Leave an answer
Cancel reply

Browse
Browse

Choose from here the video type.

Put Video ID here: https://www.youtube.com/watch?v=sdUUx5FdySs Ex: "sdUUx5FdySs".

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Admin
    Admin
    2024-10-13T12:40:16+05:30Added an answer on October 13, 2024 at 12:40 pm
    This answer was edited.

    Menus provides access to various AS400 commands and the system functionalities. The menu name appears on the top left corner of a menu and can be seen by invoking that menu. Also, each menu provides a command line from where we can select any options provided on the menu. Type GO <menu-name> on the command line and press enter to access any specific menu.

    Display All as400 menu

    Use the GO *ALL command to display a list of all available menus in the AS400 system.

                                     Go To A Menu                                 
                                                                                  
    Type options, press Enter.                                                    
      1=Select menu                                                               
                                                                                  
    Opt  Menu        Library     Text                                             
         AFPU        QSYS        IBM AFP Utilities                                
         ASSIST      QSYS        AS/400 Operational Assistant menu                
         BACKUP      QSYS        Backup menu                                      
         CFG         QSYS        Configuration                                    
         CFGCMN      QSYS        Configure Communications and Remote Hardware     
         CFGDEVCMN   QSYS        Configure Devices and Communications             
         CFGIPS      QSYS        Configure IP over SNA                            
         CFGLCL      QSYS        Configure Local Hardware                         
         CFGLST      QSYS        Configure Address and Location Lists             
         CFGNWS      QSYS        Configure Network Servers                        
         CFGPCS      QSYS        Configure PC Connections                         
         CFGSM       QSYS        Configure IBM System Manager for i5/OS           
                                                                           More...

    main menu

    After logging in to the IBM i machine, the MAIN menu appears on the first screen. We can also type GO MAIN on the command line to enter the MAIN menu.

    MAIN                           IBM i Main Menu
                                                  
    Select one of the following:                  
                                                  
         1. User tasks                            
         2. Office tasks                          
         3. General system tasks                  
         4. Files, libraries, and folders         
         5. Programming                           
         6. Communications                        
         7. Define or change the system           
         8. Problem handling                      
         9. Display a menu                        
        10. Information Assistant options         
        11. IBM i Access tasks                    
                                                  
        90. Sign off                              
                                                  
    Selection or command                          

    Option ranges 1 through 11 are available on the MIAN menu, including option 90, which allows you to sign off from IBM i. There is a menu option from 1 to 11, and finally 90 for SIGN OFF. You can select any available option.

    user menu

    Take option 1 on the MAIN menu screen to access the USER menu.

    USER                              User Tasks  
                                                  
    Select one of the following:                  
                                                  
         1. Display or change your job            
         2. Display messages                      
         3. Send a message                        
         4. Submit a job                          
         5. Work with your spooled output files   
         6. Work with your batch jobs             
         7. Display or change your library list   
         8. Change your password                  
         9. Change your user profile              
                                                  
        60. More user task options                
                                                  
        90. Sign off                              

    Office Task menu

    Take option 2 on the MAIN menu screen to access the office task (OFCTSK) menu.

    OFCTSK                           Office Tasks 
                                                  
    Select one of the following:                  
                                                  
         2. IBM i Access tasks                    
         3. Decision support                      
         4. Office security                       
         5. Work with directory entries           
         6. Documents                             
         7. Folders                               

    System menu

    Take option 3 on the MAIN menu screen to access the system menu.

    SYSTEM                       General System Tasks
                                                     
    Select one of the following:                     
                                                     
         1. Jobs                                     
         2. Status                                   
         3. Display system operator messages         
         4. Messages                                 
         5. Files, libraries, and folders            
         6. Save                                     
         7. Restore                                  
         8. Device operations                        
         9. Communications                           
        10. Security                                 
                                                     
        60. More system task options                 

    Some other helpful AS400 menus are available for use.

    major menu

    Type GO MAJOR on the command line to enter into this menu.

    MAJOR                        Major Command Groups                             
                                                                System:   PUB400  
    Select one of the following:                                                  
                                                                                  
         1. Select Command by Name                                      SLTCMD    
         2. Verb Commands                                               VERB      
         3. Subject Commands                                            SUBJECT   
         4. Object Management Commands                                  CMDOBJMGT 
         5. File Commands                                               CMDFILE   
         6. Save and Restore Commands                                   CMDSAVRST 
         7. Work Management Commands                                    CMDWRKMGT 
         8. Data Management Commands                                    CMDDTAMGT 
         9. Security Commands                                           CMDSEC    
        10. Print Commands                                              CMDPRT    
        11. Spooling Commands                                           CMDSPL    
        12. System Control Commands                                     CMDSYSCTL 
        13. Program Commands                                            CMDPGM    
                                                                           More...

    verb menu

    Type GO VERB on the command line and press Enter to enter into this menu.

    VERB                            Verb Commands                                 
                                                                                  
    Select one of the following:                                                  
                                                                                  
         1. Add Commands                                                CMDADD    
         2. Allocate Commands                                           CMDALC    
         3. Answer Commands                                             CMDANS    
         4. Analyze Commands                                            CMDANZ    
         5. Apply Commands                                              CMDAPY    
         6. Ask Commands                                                CMDASK    
         7. Auditing Commands                                           CMDAUD    
         8. Call Commands                                               CMDCALL   
         9. Configuration Commands                                      CMDCFG    
        10. Change Commands                                             CMDCHG    
        11. Check Commands                                              CMDCHK    
        12. Close Commands                                              CMDCLO    
        13. Clear Commands                                              CMDCLR    
        14. Compare Commands                                            CMDCMP    
                                                                           More...

    Create a menu in as400

    STRSDA utility invokes SDA(screen design aid) and creates a menu. Type STRSDA on the command line and press Enter. On the next screen, take option 2 (design menu) to create a menu. You can do this for practicing purposes on the accessible online public as400 server; for more details about the Menu, visit here.

                               Screen Design Aid (SDA)
                                                      
    Select one of the following:                      
                                                      
         1. Design screens                            
         2. Design menus                              
         3. Test display files                        

    You must specify the menu name, source file, and library on the Design menu screen. It checks for the menu’s existence; if no menu exists with specified details, a menu gets created.

                                    Design Menus                     
                                                                     
    Type choices, press Enter.                                       
                                                                     
      Source file . . . . . . . .                Name, F4 for list   
                                                                     
        Library . . . . . . . . .                Name, *LIBL, *CURLIB
                                                                     
      Menu  . . . . . . . . . . .                Name, F4 for list   

    Enter on the Specify Menu Functions display.

                               Specify Menu Functions                        
                                                                             
    File  . . . . . . :   QDDSSRC                Menu . . . . . . . :   MENU1
      Library . . . . :     USER9999                                       
                                                                             
    Type choices, press Enter.                                               
                                                                             
      Work with menu image and commands  . . . . . .   Y   Y=Yes, N=No       
                                                                             
      Work with menu help  . . . . . . . . . . . . .   N   Y=Yes, N=No       

    Press Enter on the Specify menu functions screen, which will display the below screen with 10 options where you provide commands to every option.

    MENU1                           MENU1 Menu                              
                                                                            
    Select one of the following:                                            
                                                                            
         1.                                                                 
         2.                                                                 
         3.                                                                 
         4.                                                                 
         5.                                                                 
         6.                                                                 
         7.                                                                 
         8.                                                                 
         9.                                                                 
        10.                                                                 
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
    Selection or command                                                    
    F3=Exit                     F10=Work with commands         F12=Cancel   
    F13=Command area            F20=Reverse                    F24=More keys
    Press Help for a list of valid operations.                              

    Add some menu options.

    MENU1                           MENU1 Menu                              
                                                                            
    Select one of the following:                                            
                                                                            
         1. Create Physical File                                            
         2. Create Logical File                                             
         3. Create DSPF                                                     
         4. Create PRTF                                                     
         5. Create Program                                                
         6. Create Service Program                                                  
         7. Sign Off                                                 
         8.                                           
         9.                                                   
        10.                                                         
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
                                                                            
    Selection or command                                                    
    F3=Exit                     F10=Work with commands         F12=Cancel   
    F13=Command area            F20=Reverse                    F24=More keys
    Press Help for a list of valid operations.                              

    SDA inserts the code in the backend DSPF source member from the inputs provided on the menu screen. The display attribute for each text string is contained in a hidden character that appears before each text block. SDA will display white or high-intensity text if you type an “H” directly before a text block and in reverse image when “R” and “D” will make the text disappear.
    Define the commands for every selection after that. To input the commands, press F10 which is displayed below screen:

                                 Define Menu Commands                              
                                                                                   
     Menu . . . . . . :   MENU1              Position to menu option . . . . .     
                                                                                   
     Type commands, press Enter.                                                   
                                                                                   
     Option   Command                                                              
       01                                                                          
                                                                                   
       02                                                                          
                                                                                   
       03                                                                          
                                                                                   
       04                                                                          
                                                                                   
       05                                                                          
                                                                                   
       06                                                                          
                                                                                   
       07                                                                          
                                                                                   
                                                                            More...
     F3=Exit       F11=Defined only options      F12=Cancel         F24=More keys  

    This is where you input the commands linked to every choice. Thus, type the commands as follows:

                                 Define Menu Commands                              
                                                                                   
     Menu . . . . . . :   MENU1              Position to menu option . . . . .     
                                                                                   
     Type commands, press Enter.                                                   
                                                                                   
     Option   Command                                                              
       01     CRTPF                                                                
                                                                                   
       02     CRTLF                                                                
                                                                                   
       03     CRTDSPF                                                              
                                                                                   
       04     CRTPRTF                                                              
                                                                                   
       05     CRTPGM                                                               
                                                                                   
       06     CRTSRVPGM                                                            
                                                                                   
       07     SIGNOFF                                                              
                                                                                   
                                                                            More...
     F3=Exit       F11=Defined only options      F12=Cancel         F24=More keys  

    To escape, press F3 a few times. Check the name of the “object library” after you quit SDA. Your compiled menu objects will be placed here.

                                    Exit SDA Menus                                
                                                                                  
    File  . . . . . . :   QDDSSRC             DDS member  . . . . . :   MENU1     
      Library . . . . :     USER9999          Commands member . . . :   MENU1QQ   
                                                                                  
    Type choices, press Enter.                                                    
                                                                                  
      Save new or updated menu source  . . . .   Y            Y=Yes, N=No         
        For choice Y=Yes:                                                         
          Source file  . . . . . . . . . . . .   QDDSSRC      Name,               
                                                              F4 for list         
            Library  . . . . . . . . . . . . .   USER9999     Name, *LIBL, *CURLIB
          Text . . . . . . . . . . . . . . . .                                    
                                                                                  
          Replace menu members . . . . . . . .   Y            Y=Yes, N=No         
                                                                                  
      Create menu objects  . . . . . . . . . .   Y            Y=Yes, N=No         
        For choice Y=Yes:                                                         
          Prompt for parameters  . . . . . . .   N            Y=Yes, N=No         
          Object library . . . . . . . . . . .   USER9999     Name, *CURLIB       
          Replace menu objects . . . . . . . .   Y            Y=Yes, N=No         

    Once you press Enter, the menu source gets compiled, and SDA will create three objects of the same name as the menu name but of type *MSGF, *FILE attribute DSPF, and *MENU attribute DSPF.

                                  Work with Objects        
                                                           
    Type options, press Enter.                             
      2=Edit authority        3=Copy   4=Delete   5=Display
      8=Display description   13=Change description        
                                                           
    Opt  Object      Type      Library     Attribute   Text
         MENU1       *MSGF     USER9999
         MENU1       *FILE     USER9999    DSPF            
         MENU1       *MENU     USER9999    DSPF            

    as400 call menu

    After the menu gets created, you can call that menu by typing GO <menu-name> on the command line and pressing Enter.

    MENU1                           MENU1 Menu       
                                                     
    Select one of the following:                     
                                                     
         1. Create Physical File                     
         2. Create Logical File                      
         3. Create DSPF                              
         4. Create PRTF                              
         5. Create Prorgam                           
         6. Create Service Program                   
         7. Sign Off                                 
         8.                                          
         9.                                          
        10.                                          
                                                     
                                                     
                                                     
                                                     
    Selection or command                             
    ===>                                             

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp

Sidebar

Statistics

  • Questions 143
  • Answers 177
  • Comments 0
  • Popular
  • Answers
  • Admin

    Why do we use OVERLAY keyword in data structure subfields ...

    • 12 Answers
  • Admin

    How to call sql stored procedure with output parameter from ...

    • 6 Answers
  • Admin

    How to use declare global temporary table statement in RPGLE?

    • 5 Answers
  • Admin
    Admin added an answer CPF4131 is a record format level check error. This indicates… October 18, 2024 at 1:58 am
  • Admin
    Admin added an answer To open the command prompt with administrator rights you can… October 17, 2024 at 12:27 am
  • Admin
    Admin added an answer In AS400, "AS" stands for Application system. This article discusses… October 13, 2024 at 12:49 pm

Related Questions

  • Admin

    what is level check error and how to resolve level ...

    • 1 Answer
  • Admin

    What are AS400 systems. Please provide a introduction of AS400 ...

    • 1 Answer
  • Admin

    Is there any online server available for practicing on AS400 ...

    • 1 Answer
  • Admin

    What is subsystem in AS400?

    • 1 Answer
  • Admin

    How to copy a save file from IFS to a ...

    • 3 Answers

Trending Tags

.htaccess (1) as400 (123) bing-webmaster (2) control-language (12) db2 (33) ftp (8) google-adsense (1) google-search-console (3) https-redirect (1) iasp (4) ifs (22) jar (4) operations (3) php-my-admin (1) qshell (3) robots.txt (4) rpg (26) stored-procedure (3) stroed procedure (1) triggers (1) yoast (4)

Explore

  • Home
  • Categories
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags

Footer

BrainChime

BrainChime is a blog that posts question-and-answer-based format articles on diverse topics and engages in discussions by allowing people to provide answers/comments without the need to register and log in.

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Terms of Use
  • Privacy Policy
  • Cookie Policy

Help

  • FAQs
  • Categories
  • Tags

© 2024 BrainChime. All Rights Reserved
by BrainChime.

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.