Displaying "not-selected" records

A record is considered to be selected if all of the following conditions are true:

  • The record length matches the length of one of the record types (level-01 items) in the template. If any of the data description entries for the fields in a record type included an OCCURS DEPENDING ON clause, then records of various lengths might match a record type; for details, see Support for variable-length arrays.
  • The record data matches the record identification criteria for a type with that record length.

    If a record matches the record identification criteria for a record type, but the record length is outside the valid range for that record type, then the record matches the record type only if you choose the Length error option on the Editor Options (option 0.6) panel. If you choose this option then such records appear with a =LGTH indicator in their prefix area. If you do not choose this option, then the record does not match the record type.

  • The record data matches the record selection criteria for that type.
  • The record type is indicated as being selected on the Record Selection panel (when editing the template).

Otherwise, a record is considered to be not-selected for processing.

You can choose to show not-selected records, hide them, or represent them by shadow lines.
- - - - - - - - - - - - - - - - - - - - - - n Line(s) not selected
  • To show not-selected records, enter SHOW NOT ON on the Command line. (In SNGL or TABL display format, the record data is formatted according to the structure of the current record type.)

    You can also show not-selected records by selecting the Expose option, Not selected, on the Editor Options panel.

  • To group not-selected records, enter SHOW NOT OFF on the Command line. The records are either completely hidden or represented by shadow lines, depending on the current setting of the SHADOW command.
  • To turn on shadow lines for not-selected records, enter SHADOW NOT ON on the Command line.

    You can also turn on shadow lines for not-selected records by selecting the See shadow lines option, Not selected, on the Editor Options panel.

  • To turn off the shadow lines, completely hiding all but the selected records of the current record type, enter SHADOW NOT OFF on the Command line. The shadow lines disappear, and SHAD appears at the top left of the screen, indicating that there are records that are hidden because shadow lines have been turned off.

    You can also turn off the shadow lines by deselecting the See shadow lines option, Not selected, on the Editor Options panel.

Figure 1. View panel displaying the not-selected shadow line
  Process   Options   Help
 ───────────────────────────────────────────────────────────────────────────────
 View             FMN.V15R1M4.SFMNSAM1(FMNCDATA)                 Rec 0 of 40
                                                    Record 0_______ Format TABL
 REC-TYPE NAME                 JOB-TITLE      ADDR1                ADDR2
 #2       #3                   #4             #5                   #6         +
 AN 1:2   AN 3:20              AN 23:14       AN 37:20             AN 57:20
 <>       <---+----1----+----> <---+----1---> <---+----1----+----> <---+----1--
 ****  Top of data  ****
 - - - - - - - - - - - - - - - - - - - - - - 20 Line(s) not selected
 02       Grant Smith          Developer      22  Montrose St      Thornlie
 02       Andrew Apple         Developer      44  Eagle Rise       Riverton
 02       Graham Prestcott     Developer      256 Hay St           Cannington
 02       Bill Somers          Developer      84  Murchison Rd     Dianella
 02       Ted Dexter           Developer      92  Smith St         Belmont
 02       Roddy Armstrong      Manager        184 Alexander Dve    Swan View
 02       Cliff Roberts        Manager        28  Bern Rd          Middleswan
 02       James Browne         Manager        123 Wellington St    Guildford
 02       Silvia Carrot        Programmer     48  Small Lane       Mt Pleasant
 02       Dan Peters           Programmer     661 Ayton Way        Floreat Park
 02       John Laws            Tech Writer    20  Uppercrust Cres  Shents
 Command ===> _____________________________________________________ Scroll PAGE
  F1=Help      F2=Zoom      F3=Exit      F4=CRetriev  F5=RFind     F7=Up
  F8=Down      F9=Swap     F10=Left     F11=Right    F12=Cancel                 

Related topics