Date Edit Types: M MM/DD/YY or MM/DD/CCYY (2 or 4-digit years). D DD/MM/YY or DD/MM/CCYY (2 or 4-digit year). Y YY/MM/DD or CCYY/MM/DD (2 or 4-digit year). # Appendix C -- Most Used Online Functions ## Developer's Functions These are some of the most frequently used online MAGEC functions for application developers. | ALGLST | mmm | Directory of custom. algs. for mask mmm | ALGxxx | mmm/pppppppp/etc. | Inquiry & maintenance for custom algorithms | BCHPGM | nnnB | Create batch report program | BCHLOC | nnnB | Locate batch report headers | DBDITO | Character/hex record display/update | DBUTIL | Character/hex record display only | DOCxxx | topic name | Inquiry/maintenance for documentation | ERRxxx | eee | Inquiry/maintenance for error msgs | LBRxxx | member/modifier | Inquiry/maintenance for lib member | LBRLST | 1 | List directory of library members | MMPxxx | nnn | Inquiry/maintenance for MMP headers | MSKDEF | mmm | Manual screen painting | MSKDEL | mmm | Delete mask detail | MSKDUP | mmm | Duplicate mask detail | MSKSEE | mmm | Display generated mask | PAINT1 | mmm (thru PAINT7) | Automatic Screen Painter | RPTDEF | nnnB | Report Painter | RPTDEL | nnnB | Delete report detail | RPTDUP | nnnB | Duplicate report | SCDLST | mmm | List locate headings for mask mmm | SCDCHG | mmm/row/col | Change locate heading for field | SCDTBL | ttt | Where-Used for Table number | TBLLST | ttt | List lookup table entries | TBLxxx | ttt/cccc | Inquiry/maintenance for table entry | TOCLOC | ttt | List table of contents for lookup tables | TSKLST | mmm | Developer's task list | VERZUN | MSKmmm | Version verification for application | **LEGEND:** | mmm | Mask number | xxx | Standard nine suffixes (ADD, CHG, etc.) | ttt | Table number | nnn | MMP/MBP number (pattern: 9xx) | pppppppp | Insertion point name | cccc | 1 thru 16-character code | eee | Error number ## Program Function Keys used in Developer's Functions PF Keys (general) PF15 Exit MAGEC PF9 Swap Windows PF12 Return to TSKLST (from a development function) PF1 HELP key PF2 Field-level HELP PF16 Copy data to Copy/Paste buffer PF17 Paste date from Copy/Paste buffer PF24 Pop-Up short list from prior browse/query PF11 Help Index PF13 Hardcopy (if Spooler installed) PF8 Page Forward/Next PF7 Page Backward/Previous PF Keys in Pop-Up Window PF16 Copy data to Copy/Paste buffer, remove Pop-Up PF24 Cursor-select from short list, remove Pop-Up PF Keys in MSKDEF PF18 Change field PF19 Delete field PF20 Duplicate field PF4 Duplicate line PF5 Erase all fields on a line PF6 Move line PF21 Move field PF10 Go to Auto-Paint sequence (if no screen fields exist) Execute online MSKCRE (if screen fields exist) PF13 Delete a blank line PF14 Insert a blank line PF24 Pop-Up help window PF Keys in PAINT2 and BCHPG2 PF7 Scroll Backwards PF3 Return to PAINT1 or BCHPGM ENTER Select item PF4 un-select item PF6 Done selecting data items PF10 un-select all items PF Keys in DBDITO and DBUTIL PF23 Display next 280 bytes of this record PF22 Display previous 280 bytes of this record PF8 Read next record (forward) PF7 Read prior record (backward) PF Keys in LBRxx and ALGxxx PF8 Page forward thru member PF7 Page backwards thru member PF20 Insert after line where cursor is positioned PF5 Bypass warning-level errors and update PF16 Copy a line (or many lines using CC - CC) PF17 Paste line or lines from Copy/Paste buffer PF Keys in PAINT1 and BCHPGM PF5 Bypass warning-level errors and continue PF Keys in RPTDEF PF18 Change field PF19 Delete field PF6 Return to BCHPGM screen PF21 Move a field PF22 Display next 80 columns of report (shift right) PF23 Display previous 80 columns of report (shift left) PF20 Add a field to the right of cursor PF10 Toggle between SORT-KEY display/REPORT display PF4 Line Duplicate PF5 Line Erase PF6 Line Move PF13 Line Delete PF14 Line Insert (ADD) PF24 Toggle between display/non display fields PF12 Escape to BCHPGM screen # Appendix D -- Universal Functions ## Logical Application 00's Functions The following functions are part of logical application 00. They appear on the menu for every other logical application and can be done by anyone using MAGEC. | OPTION | Set session option for CLEAR and PA1 key | **HELP | Menu-driven review of help text | **SWAP | Swap windows (same as pressing PF9) | **EXIT | Exit MAGEC (same as pressing PF15) | **PF01 thru **PF24 | Simulate PF key entry | **PA01 thru **PA03 | Simulate PA key entry | **ERR1 | HELP (same as pressing PF1) | **MENU | High level menu | ++MENU | Intermediate level menu | $$MENU | Low level menu | MSGSEE | Display broadcast message | BROWSE BACKWARD | Set browse direction to backwards for LOC, SCN, and FND functions | BROWSE FORWARD | Set browse direction to forward for LOC, SCN, and FND functions | CLEARS | Display MAGEC logo screen | SYSLOG ON | Log on to MAGEC | SYSLOG OFF | Log off of MAGEC # Appendix E -- Modifying Specifications ## BCHPGM Screen The specifications you enter on the BCHPGM screen (first screen in the batch report program development process) (cont.) control how the report fields are generated. These report fields are displayed to you in a graphical format on the (cont.) RPTDEF screen. RPTDEF is the "report painter" screen. If you wish to alter some of these specifications after you have generated the report, you might need to delete the (cont.) report detail fields from RPTDEF in order to re-generate them. This is true for those specifications which affect the (cont.) layout of a report (spacing between fields, centering, etc.). To delete the report detail field definitions you should (cont.) use the RPTDEL function, as: RPTDEL nnnB This is similar to RPTDEF, in that it shows you a graphic image of your report layout It does this, however, so you can confirm that you indeed wish to delete this report. **Note:** By deleting these report detail field definitions you will also be deleting any modifications you have made (cont.) to them via the RPTDEF facility. When you re-generate them they will have their original, default (cont.) specifications. Once you are shown the report layout, you will have three options available to you. abort this process by pressing the CLEAR key delete the detail field definitions by pressing ENTER delete everything, including the BCHPGM header information and field selections by pressing PF5. If you press ENTER, only the report field definitions will be deleted, the header information and field selections will (cont.) be retained. You could then return to the BCHPGM screen, alter some of the specifications, and re-generate the report (cont.) using the changed specs. You could also alter the field selections, if you desired. After you have deleted the detail field definitions the BCHPGM screen will automatically transfer you to the field (cont.) selections screen(s). The selections you had made before will still be "remembered" so that you need not re-do them. (cont.) You can alter the selections using all the standard PF key operations that you had available to you when you originally (cont.) made your selections. If your report included logical joins you will next be taken to the logical join coding screen. If you wish to re-do (cont.) the join logic you can enter it here just as you did originally. If your original logical join coding does not need any (cont.) changes, you can press PF10 on this screen to bypass the logical join process and proceed directly to the report (cont.) painter screen, RPTDEF. If you press PF10 no modifications will be done to the logical join coding (stored as %JOIN (cont.) customization) for your application. Any changes you might have made to it previously will be retained. If you press (cont.) ENTER, rather than PF10, the coding on the screen (plus any lines of code you type in) will be stored as %JOIN (cont.) customization* replacing* what was already on file.