20 pts.
 AS/400 MENU contain message
I am new in as/400 . I want to know how can I create menu and when I run the menu show me message like : -------------------------------------------------------------------------- Enter the queue name : _____ -------------------------------------------------------------------------- -------------------------------------------------------------------------- -------------------------------------------------------------------------- Enter the Printer name: _____ -------------------------------------------------------------------------- -------------------------------------------------------------------------- --------------------------------------------------------------------------

Software/Hardware used:
software
ASKED: November 16, 2012  6:41 AM
UPDATED: November 16, 2012  6:50 AM

Answer Wiki:
Sorry, my friends I erred in clarifying the question I will explain clearly for example if i write program called "example" and when i call this program in command line "call example " I want see new screen contain two Question Enter the OUTQ name : _____ (4 digits) Enter the Printer name: __ (2 digits) after that if I filled  those fields and press ENTER it will send the reports from OUTQ to the printer the Question how I design this screen I hope you understand what i mean Sorry also english not my native language thank for all
Last Wiki Answer Submitted:  December 13, 2012  8:33 am  by  mosta7   20 pts.
All Answer Wiki Contributors:  mosta7   20 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Are you clear that what you showed in your question was not a “menu” (nor a “message”)? — Tom

 107,845 pts.

 

You can use Strsda, then Option 2 to design menu. U can also use CRTMNU  command with typeMNUDS.

 1,880 pts.

 

What you’re showing us doesn’t look like a menu but a screen with a program to process the request. 
However, you might make do with a menu since the option will use some command where this value will be used. 
If your menu issues the command as commandname ??keyword()
Something like this: 
 wrkoutq ??outq() 
The user will be prompted to enter an outq.
 
Phil

 44,070 pts.

 

There are three types of menus. The three are created in different ways, and they provide significantly different capabilities. Further, the ways that they can be created might depend on what OS version you are working on and the tools that were installed for you.
 
Even further, you haven’t told us anything about what you do know; you’ve only said something about what you don’t know. We can’t tell if you know anything about programming at all, so we don’t know what we can say that might make sense to you. Do you program in RPG? COBOL? C? CL? Anything else?
 
Are you a programmer? An operator? A student who is trying to learn? Taking a class? There is nothing in your profile that gives us a clue about how to communicate with you. How technical can we get?
 
You haven’t described a problem that you are having. Did you try to create it and ran into some difficulty? Is this a work assignment? A school assignment? Are you only wanting to learn how to create a display, or do you really need a menu with an option to display those prompts? Do you know what to do with the prompts? Since those values would normally be a maximum of only ten characters long, is there a reason you need such large input areas?
 
Please describe the actual problem so we know what we need to cover.
 
Tom

 107,845 pts.

 

Sorry about misunderstanding the lengths. Now I see that the input areas are short and they are separated by dashed lines. The question displays in a browser in a confusing way. — Tom

 107,845 pts.

 

You create a display file with DDS source. You can also create the screen as a panel with UIM source. (There are a couple other ways to control the screen, but they get more detailed and complicated, e.g., the DSM APIs.) Usually, display file source is generated by using SDA, the Screen Design Aid utility. The STRSDA command is used to start SDA. — Tom

 107,845 pts.

 

And there is no need to apologize for your English. It only means that you speak at least two languages, and you’re doing it fairly well. — Tom

 107,845 pts.