SoftCode Applications Continued

Working with Panel Entries

WRKPNLKEY

The command, WRKPNLKEY, provides an easy maintenance mechanism for viewing, or editing a program’s function keys. It lists all program panels defined to the soft function editor and allows the user to work with an entire panel, or a single panel entry.

 SCROYA1    SC0300RP       iSoftwerks Incorporated          BLUGRND   4/02/10   
 SCROY      634042         Work with function keys          SC0300C2 08:52:24   
                                                                                
   Type in option, press enter.  Program.: SC0320RP   Panel...: *BLANK          
           2=Edit              4=Delete            9=Edit Panel                 
                                                                                
                                                                                
 Op Key         Panel              Macro           Act      Text           Lvl  
 __ F21                   &CALL QUSCMDLN              Command line         000  
 __ F23                   MOREOPTS                    More options         000  
 __ F24                   MOREKEYS                    More keys            000  
 __ F3                    EXIT                        Exit                 000  
 __ F4                    PROMPT                      Prompt               000  
 __ F5                    RESET                       Refresh              000  
 __ F9                    CALL SC0335RP  PLIST1     A Add item             000  
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                         Bottom 
          F3=Exit             F5=Refresh                                        
                                                                                
 Copyright (c) iSoftwerks, Inc.                                                 

Fig. 5

WRKPNLOPT

The command, WRKPNLOPT, is designed to allow the maintenance of a group of panel options, or individual program options.

SCROYA1    SC0310RP        iSoftwerks Incorporated         SYSNAME   4/02/10
SCROY      634042           Work with panel options        SC0310C2 08:54:22
                                                                                
   Type in option, press enter.  Program.: SC0320RP   Panel...: *BLANK          
           2=Edit              4=Delete            9=Edit panel                 
                                                                                
                                                                                
  Op  Option    Panel            Macro            Act        Text         Lvl
  __ DM                  &DSPMSG                     Messages             000   
  __ 14                  CALL SC0380CL  WORKOBJECT C Create               000   
  __ 15                  PROCESS                     Activate             000   
  __ 17                  RESET                       Reset                000   
  __ 19                  EXCEPTION                   Review               000   
  __ 2                   CALL SC0335RP  PLIST1     C Edit                 000   
  __ 21                  CALL SC0345CL  WORKSOURCE E Edit source          000   
  __ 33                  OBSOLETE                    Obsolete             800   
  __ 35                  EXTEND                      Extended             000   
  __ 4                   CALL SC0335RP  PLIST1     D Delete               000   
  __ 5                   CALL SC0335RP  PLIST1     V View                 000   
  __ 71                  CALL SC0370CL  WORKSOURCE E STRSDA               000   
                                                                        More... 
          F3=Exit             F5=Refresh                                        
                                                                                
Fig. 6

Editing a Panel Entry

The option to edit a panel invokes and RPG program for the Command Processing Program (CPP). The program and display work in similar fashion to the EDTPNLKEY CPP. See the section titled Editing Macro Instructions for a more detailed explanation of the soft function editor processes. (See page 4.)

 SCROYA1    SC0310RP        iSoftwerks Incorporated         SYSNAME    4/02/10   
 SCROY      634042           Work with panel options        SC0310C2 08:57:41   
                                                                                
   Type  ....................................................................   
         : SC0315RP      Work with program option                 SC031501  :   
         :                                                        Change    :   
         : Program ID.......: SC0320RP     Panel ID.........:               :   
  Op  Op : Function ID......: 33           Authority level..: 800           :   
     DM  : Panel text.......: Obsolete                                      :   
     14  : Macro instruction: OBSOLETE                                      :   
     15  :            Format  ∓<op><---Pgm--><--Plist-><----undefined---->A :   
     17  :                                                                  :   
     19  :                                                                  :   
     2   :                                                                  :   
     21  :   F10=Enter           F12=Previous                               :   
     33  :                                                                  :   
     35  :                                                                  :   
     4   :                                                                  :   
     5   :..................................................................:   
     71                  CALL SC0370CL  WORKSOURCE E STRSDA               000   
                                                                        More... 
          F3=Exit             F5=Refresh                                        

Fig. 7