AS400 SUBFILE PDF

August 2, 2019 posted by

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: Shakazshura Gat
Country: Egypt
Language: English (Spanish)
Genre: Life
Published (Last): 10 July 2012
Pages: 108
PDF File Size: 5.81 Mb
ePub File Size: 7.81 Mb
ISBN: 975-9-49016-437-1
Downloads: 35661
Price: Free* [*Free Regsitration Required]
Uploader: Zum

The scroll bar is displayed with the scroll box subfioe at a position on the scroll bar that best represents where the user is in the subfile. For the 27 x display size, positions through of every line of the subfile will be reserved for the scroll bar. Options Press Enter until you’re back on this screen: 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

Your program must set the indicator on or off when displaying the subfile. Let’s see how that’s done. Options On subfile maximum size type and on the number of records for page type 9: Subfole indicators allow us to manipulate the status of the subfile from the RPG code. Adding the selected fields to the record The final result: This field must be a zoned decimal field with zero decimal positions. For the 27 x display size, positions through of the line immediately following the last line occupied by the subfile are used for the beginning attribute character, the right-aligned More or Bottom text, and the ending attribute character.

  ELOGIO DE LA LENTITUD CARL HONORE PDF

The second parameter tells the system what scrolling indicator should be used for nongraphical displays.

Select Subfile display layout. For example, if a page can contain three records, and nine records are contained in the subfile, a SFLRCDNBR field value of 8 causes records 7, 8, and 9 to be displayed.

SFLEND (Subfile End) keyword for display files

For instance, it reads the subfile, clears it, rewrites the subfile with new records, and displays it again.

You must be careful selecting the fields. Columns description Let’s add some proprieties to the Client ID field. 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.

SFLRCDNBR (Subfile Record Number) keyword for display files

The cursor is positioned at the first input-capable field in the subfile record. Multiple line subfiles can be used. Set the indicators off to display the plus sign or the More text.

Press Page Down to see the remaining fields. For selection lists, the plus will be positioned to the right of the choices for the list.

ad400 The format of the keyword is: 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. This line is needed for the text More and Bottom.

  CRESTON SAXOPHONE SONATA PDF

You have to activate some options now: SFLRCDNBR Subfile Record Number keyword for display files 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 whose relative record number is in this field. For selection lists, the scroll bar will be subflle to the right of the choices for the list.

Options Select Overlay without erasing: Paging is provided by the IBM i operating system. Selected fields Place the fields on their positions: If subfi,e value less than 1 or a value greater than the number of records in the subfile is contained in this field on an output operation to the subfile-control record format, an error is returned to your program.

If there is no input-capable field, the cursor is positioned at the first output-only or constant field. Let’s add some proprieties to the Client ID field.