SEU

From MidrangeWiki
Revision as of 16:09, 27 June 2005 by TomHolden (talk | contribs)
Jump to: navigation, search

Introduction To SEU

SEU or Source Entry Utility is included as part of OS400, is inside of PDM, and also was the main editor for S/36 SSP.

SEU Commands

SEU contains User Exits (or commands) which can be used to assist with code editing. To utilize these exits you can typeover the source sequence numbers & press Enter. Below is a "work-in-progress" list of some of the SEU Commands.

  • Source Editing Prompt - IPxxxx
    • General Help
      • IP? - Provides a list of all available editing prompts within SEU.


    • RPG/400 and RPG/ILE IP Commands/Syntax
      • IPH - Provides a prompt for keying Header Specification entries
      • IPF - Provides a prompt for keying File Specification entries
      • IPFX - Provides a prompt for keying File Continuation entries
      • IPI - Provides a prompt for keying Record Identification Specification entries
      • IPIX - Provides a prompt for keying Record Identification Continuation entries
      • IPJ - Provides a prompt for keying Input Field Definition entries
      • IPJX - Provides a prompt for keying Input Field Definition Continuation entries
      • IPD - Provides a prompt for keying Definition Specification entries
      • IPDX - Provides a prompt for keying Definition Extended Specification entries
      • IPC - Provides a prompt for keying Calculation Specification entries
      • IPCX - Provides a prompt for keying Extended Calculation entries
      • IPOD - Provides a prompt for keying Output Disk File Specification entries
      • IPO - Provides a prompt for keying Output File Specification entries
      • IPP - Provides a prompt for keying Output File Detail Specification entries
      • IPPR - Provides a prompt for keying Procedure Specification entries
      • IPPX - Provides a prompt for keying Procedure Extended entries
      • IP* - Provides a prompt for keying Comment entries
      • IP** - Provides a prompt for keying Compile Time Table Entries


    • Cobol & Cobol/ILE Commands/Syntax
      • IPCB - Provides a prompt for keying Cobol Statement entries
      • IPC* - Provides a prompt for keying Comments entries


    • Reformat & Sort Commands/Syntax
      • IPRH - Provides a prompt for keying Reformat Header entries
      • IPRR - Provides a prompt for keying Reformat Record Type entries
      • IPRF - Provides a prompt for keying Reformat Field Definition entries
      • IPRC - Provides a prompt for keying Reformat Constant entries
    • DDS Commands/Syntax
      • IPPF - Provides a prompt for keying Physical File Definition entries
      • IPLF - Provides a prompt for keying Logical File Definition entries
      • IPBC - Provides a prompt for keying Interactive Communications Feature File (ICF) entries
      • IPDP - Provides a prompt for keying Display & Printer File Definition entries
      • IPA* - Provides a prompt for keying Comment entries


    • Menu Commands/Syntax
      • IPMS - Provides a prompt for keying Display Control Specificaion Entries
      • IPMH - Provides a prompt for keying Help Definition Specification entries
      • IPMD - Provides a prompt for keying Field Definitions Specification entries
      • IPMC - Provides a prompt for keying Field Definitions Continuation Specification entries


    • Fortran Commands/Syntax
      • IPFT - Provides a prompt for keying Fortran Statement entries
      • IPF* - Provides a prompt for keying Fortran Comments entries


    • Other Commands/Syntax
      • IPNC - Provides a prompt for keying with no syntax checking
      • IP** - Provides a prompt for keying free format


  • SEU Inline Editing
    • A - Place code sample After the line of code selected
    • An - Place code sample After the line of code selected for number of lines
    • B - Place code sample Before the line of code selected
    • Bn - Place code sample Before the line of code selected for number of lines
    • C - Copy line of code
    • Cn - Copy number of lines
    • CC - Block copy (Put CC at first & last line of code block to copy)
    • D - Delete line of code
    • Dn - Delete number of lines
    • DD - Block Delete (Put DD at first & last line of code block to delete)
    • I - Insert line
    • In - Insert number of lines
    • M - Move line of code
    • Mn - Move number of lines
    • MM - Block move (Put MM at first & last line of code block to move)
    • O - Overlay line of code
    • On - Overlay number of lines
    • OO - Block overlay (Put OO at first & last line of code block to overlay)
    • RP - Repeat line of code
    • RPn - Repeat number of lines
    • RPP - Block repeat (Put RPP at first & last line of code block to repeat)
    • X - Exclude line of code
    • Xn - Exclude number of lines
    • XX - Block Exclude (Put XX at first & last line of code block to exclude)


  • SEU Command Line
    • FIND or F - find string in source member
    • SAVE - save current source member
    • HIDE - hide lines containing a string (i.e. HIDE 'C*' will hide all source lines containing the string C*)
    • TOP or T - Position to top of source member
    • BOTTOM or B - Position to bottom of source member