how to write scaled-down rpg (as/400) programs to fit the size of handheld screens?

Posted on 2004-10-22
Last Modified: 2012-06-27
I'm working on a project now to put some of our data collection programs onto handheld wireless terminals. I'm used to writing applications for normal 24x80 screens viewed with client access. One intermec handheld I'm testing now always keeps the cursor centered on the screen when I log on and has a 16x20 screen leaving me to move the cursor around to view menu options, ect.  Is there any way to format/resize the screen to fit the handheld display or do I need to just write a menu program (and data collection programs) that are confined to a 16x20 area? Even if I do this the way the termianl works now by following the cursor makes me think that the top/bottom/sides of the screen could be cut off depending on where the cursor is and if the screen always centers on the cursor.

I'm just trying to figure out the best way to approach this so I dont' have to waste my time with trial and error. Thanks in advance.
Question by:billymcqueary
    LVL 14

    Accepted Solution

    the way I have found best for these type of applications is to have a 20x80 screen and use the CSRINPONLY key work.
    This limits the cursor movement to input cable fields the you can place in the area of the screen that you define.

    LVL 3

    Expert Comment

    We are using OS/400 menu's created with SDA on our intermec scanners, when viewing them on a normal PC the buttom left part contains all options and the input field to select menuoption. Change the created menu with CHGMNU CMDLIN(*NONE) this will only give you a 2 character long input field where the user can input an option from the menu. Hope this helps! If you need more help let me know, we are using quite a few handhelds here with direct AS/400 connection.
    LVL 4

    Expert Comment

    <normal 24x80 screens>

    my handhelds (teklogix)
    shows 80x24 (80 cols X 24 rows)
    (that's what your're saying, right?)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    Title # Comments Views Activity
    Map Windows Share to iSeries 9 1,254
    Find out which object is not saved 2 153
    V7R2 Virtual Tape to an iASP 1 56
    adodb sql multi tables 1 715
    SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
    With the shift in today’s hiring climate (, many companies are choosing to hire freelancers to get projects completed efficiently and inexpensively…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    913 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now