AS400 SUBFILE PDF

You use this field-level keyword on the subfile-control record format to specify that the page of the subfile to be displayed is the page that contains the record. The following is an RPG subfile example with a selection option. This example loads the entire subfile at one time. You use this record-level keyword on the subfile-control record format to enable the display of a plus sign (+) or text (More or Bottom) in the lower-right display.

Author: Kagazahn Dazil
Country: Guyana
Language: English (Spanish)
Genre: Spiritual
Published (Last): 25 October 2012
Pages: 37
PDF File Size: 16.74 Mb
ePub File Size: 4.47 Mb
ISBN: 743-9-88056-116-6
Downloads: 25082
Price: Free* [*Free Regsitration Required]
Uploader: Shall

The plus sign or More text indicates that the workstation user can move the text lines on the subfile to xubfile more records by pressing the Page Up key. Subfilw line is needed for the text More and Bottom. If there is not room for the extra line on the display or in a window, a message is issued at file-creation time and the file is not created. The second parameter tells the system what scrolling indicator should be used for nongraphical displays.

As040 versions of the subfile folded or truncated must occupy three lines. If the device configuration that is being used supports a pointer device, the scroll bar can also navigate through the subfile.

Set the indicators off to display the plus sign or the More text. Set the indicators on to remove the plus sign from the display or to display the Bottom text. When the Page Up key is pressed, your program handles the processing.

For instance, it reads the subfile, suubfile it, rewrites the subfile with new records, and displays it again. If your program does this, the display shows the plus sign or the More text. If not, the plus sign disappears from the display or the Bottom text appears.

SFLEND (Subfile End) keyword for display files

The scroll bar is displayed with the scroll box placed at a position on the scroll bar that best represents where the user is in the subfile. When the last page of the subfile is displayed, the operating system displays the plus sign, the More text, or the scroll bar with the scroll box one page size above the scroll button if the indicator is off. It does not display the plus sign, the Bottom text, or the scroll bar with the scroll box on top of the bottom scroll button if the indicator is on.

  CUENTO EL CAPOTE DE GOGOL PDF

Your program must set the indicator on or off when aas400 the subfile. Your program cannot find out, when the IBM i operating system is paging through the subfile, which page of the subfile is displayed.

If your program sets off the indicator for SFLEND when displaying the subfile, either the plus sign, the More text, or the scroll bar with the scroll box one page size above, the scroll button is displayed with the last page of the subfile. Because the plus sign is displayed but the IBM i operating system cannot page the subfile any further, your program must provide for any further paging.

For the 24 x 80 display size, positions 78 through 80 of the last line occupied by the subfile are used for the beginning attribute character, plus sign, and subfille attribute character. For the 27 x display size, positions through of the last line occupied by the subfile are used for the beginning attribute character, plus sign, and ending attribute character.

For the 24 x 80 display size, positions 67 through 80 of the line immediately following the last line occupied by the subfile are used for the beginning attribute zubfile, the right-aligned More or Bottom subfilf, and the ending attribute character. For the 27 x display size, positions through of the line immediately following the last line occupied by the subfile are subfie for the beginning attribute character, the right-aligned More or Bottom text, and the ending attribute character.

For selection lists, the More and Bottom text is positioned to the right of the choices for the list. For the 24 x 80 display size, positions 77 through 80 of every line of the subfile will be reserved for the scroll bar.

No fields of the subfile can use those columns. Thus no fields can occupy more than one line of the subfile. Multiple line subfiles can be used.

For the 27 x display size, positions through of every line of the subfile will be reserved for the scroll bar. For selection lists, the scroll bar will be positioned to the right of the choices for the list. For other subfiles, the scroll bar will be positioned on column When the last record is written to the subfile, indicator 49 is set on, which disables the Page Down key and omits the plus sign from the display.

  LANTHANOTUS BORNEENSIS PDF

IBM RPG Subfile Example with Record Selection – United States

Paging is provided by the IBM i operating system. The More text appears at the lower right corner of the display on the line immediately following the subfile if there are more records to aas400 in the subfile. When the last record is written to the subfile, indicator 49 is set on, which disables the Page Down key and causes the Bottom text to appear instead of the More text.

The scroll bar is shown for graphical subrile. If a graphical display is not used, then the More text appears at the lower right corner of the display on the line immediately following the subfile if there are more records to see in the subfile.

The scroll bar is displayed with the scroll box just above the bottom scroll button. The format of the keyword is: The scroll bar indicates different types of information about the subfile: Where the user is at in the subfile How big the subfile is What proportion of the subfile the user is viewing.

SFLRCDNBR (Subfile Record Number) keyword for display files

The scroll bar will be displayed with buttons, a shaft, and a scroll box which covers the entire shaft. If an input field occupies the location of the plus sign and the field is changed, the plus sign and its attribute characters are returned to the program as data in the field. For selection lists, the plus will be positioned to the right of the choices for the list.

DDS keyword entries for display files positions 45 through

Posted in Art