What is the Menu and what are the various available menus available on the AS400 system?
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.
What is the Menu and what are the various available menus available on the AS400 system?
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.
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.
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.
Office Task menu
Take option 2 on the MAIN menu screen to access the office task (OFCTSK) menu.
System menu
Take option 3 on the MAIN menu screen to access the system menu.
Some other helpful AS400 menus are available for use.
major menu
Type GO MAJOR on the command line to enter into this menu.
verb menu
Type GO VERB on the command line and press Enter to enter into this menu.
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.
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.
Enter on the Specify Menu Functions display.
Press Enter on the Specify menu functions screen, which will display the below screen with 10 options where you provide commands to every option.
Add some menu options.
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:
This is where you input the commands linked to every choice. Thus, type the commands as follows:
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.
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.
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.