ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Hex values of Function keys

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Hex values of Function keys

    Hi,

    Could anybody tell me how to find the Hex value of the Function keys in AS400.Is there any list of Hex values for the Function keys

    Kind regards,
    Rupam
    I got blocked cause I dont know proper
    forum manners!!!!!!!!!!!

  • #2
    Re: Hex values of Function keys

    Some super cool guy posted this tutorial on subfiles



    DDS
    Code:
         A*%%TS  SD  20070331  132959  FLANARY     REL-V5R3M0  5722-WDS
         A*%%EC
         A                                      DSPSIZ(24 80 *DS3)
         A                                      REF(*LIBL/LBAFREF)
         A                                      PRINT
         A                                      INDARA
         A                                      CF01
         A                                      CF02
         A                                      CF03
         A                                      CF04
         A                                      CF05
         A                                      CF06
         A                                      CF07
         A                                      CF08
         A                                      CF09
         A                                      CF10
         A                                      CF11
         A                                      CF12
         A                                      CF13
         A                                      CF14
         A                                      CF15
         A                                      CF16
         A                                      CF17
         A                                      CF18
         A                                      CF19
         A                                      CF20
         A                                      CF21
         A                                      CF22
         A                                      CF23
         A                                      CF24
         A                                      ROLLUP
         A                                      ROLLDOWN

    RPG
    Code:
         fDROPAD    cf   e             workstn INFDS(INFDS) 
         f                                     SFILE(SUB01:RRN1) 
          // Data Structures 
         d Infds           ds                                                       INFDS data structure 
         d Choice                369    369 
         d Currec                378    379B 0 
         // Command Keys 
         d Cmd01           c                   const(x'31')                         Cmd-1 
         d Cmd02           c                   const(x'32')                         Cmd-2 
         d LeaveProgram    c                   const(x'33')                         Cmd-3 
         d Cmd04           c                   const(x'34')                         Cmd-4 
         d Cmd05           c                   const(x'35')                         Cmd-5 
         d Cmd06           c                   const(x'36')                         Cmd-6 
         d Cmd07           c                   const(x'37')                         Cmd-7 
         d Cmd08           c                   const(x'38')                         Cmd-8 
         d Cmd09           c                   const(x'39')                         Cmd-9 
         d Cmd10           c                   const(x'3A')                         Cmd-10 
         d Cmd11           c                   const(x'3B')                         Cmd-11 
         d Cmd12           c                   const(x'3C')                         Cmd-12 
         d Cmd13           c                   const(x'B1')                         Cmd-13 
         d Cmd14           c                   const(x'B2') 
         d Cmd15           c                   const(x'B3')                         Cmd-15 
         d Cmd16           c                   const(x'B4')                         Cmd-16 
         d Cmd17           c                   const(x'B5')                         Cmd-17 
         d Cmd18           c                   const(x'B6')                         Cmd-18 
         d Cmd19           c                   const(x'B7')                         Cmd-19 
         d Cmd20           c                   const(x'B8')                         Cmd-20 
         d Cmd21           c                   const(x'B9')                         Cmd-21 
         d Cmd22           c                   const(x'BA')                         Cmd-22 
         d Cmd23           c                   const(x'BB')                         Cmd-23 
         d Cmd24           c                   const(x'BC')                         Cmd-24 
         d EnterKey        c                   const(x'F1') 
         d RollUp          c                   const(x'F5')                         Roll Up 
         d RollDown        c                   const(x'F4')                         Roll Down
    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

    Comment


    • #3
      Re: Hex values of Function keys

      Thank you so much Jamief
      I got blocked cause I dont know proper
      forum manners!!!!!!!!!!!

      Comment

      Working...
      X