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: Dogore Faeshakar
Country: Spain
Language: English (Spanish)
Genre: Automotive
Published (Last): 14 February 2014
Pages: 322
PDF File Size: 12.57 Mb
ePub File Size: 9.75 Mb
ISBN: 380-5-67603-139-5
Downloads: 90665
Price: Free* [*Free Regsitration Required]
Uploader: Tojas

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. If CURSOR is specified, the cursor is placed az400 the subfile record whose relative record number is identified by the contents of this field.

Thus no fields can occupy more than one line of the subfile. Set the indicators off to display the plus sign or the More text.

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. Creating the subfile control This field creates a subfile control record, which works like the heading on the list.

Select the option Select Record Keyword: With subfiles you can create a display file with lists of items. The format of the keyword is: 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.

Options These indicators allow us to manipulate the status of the subfile from the RPG code. 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 ending attribute character.

Most 10 Related  BREVIARIUM AB URBE CONDITA PDF

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 character, the right-aligned More or Bottom text, and the ending attribute character. Press Page Down to see the remaining fields. When the Subifle Up key is pressed, your program handles the processing.

SFLEND (Subfile End) keyword for display files

Bottom record And the TOP record like this: Error Messages Insert the following information: The plus sign or More text indicates that the workstation user can move the text lines on the subfile to display more records by pressing the Page Up key. DDS subfiile entries dubfile display files positions 45 through Let’s add some proprieties to the Client ID field.

Select Subfile display layout. Columns description Let’s add some proprieties to the Client ID field.

SFLEND (Subfile End) keyword for display files

For the 24 x 80 display size, positions 77 through 80 of every subfilee of the subfile will be reserved for the scroll bar. TOP record Let’s create the subfile now.

A subfile is a display file where you can place a listing of values and process changes on the list. 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.

For selection lists, the scroll bar will be positioned to the right of the choices for the list. The list of members that you can see in the PDM is an example of a subfile. Creating an input field Notice how the field spread across the 9 line you previously defined as the subfile page size.

Most 10 Related  INTHA MANAM ENTHAN SONTHAM PDF

Options Press Enter until you’re back on this screen: These indicators allow us to manipulate the status of the subfile from the RPG code. Selecting fields Type the titles of the subfile’s columns and a separating line: Both versions of the subfile folded or truncated must occupy three lines. If not, the plus sign disappears from the display or the Bottom text appears. 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.

No fields of the subfile can use those columns. The scroll bar indicates different types of information about the subfile: The format of subfilee keyword is: If there is no input-capable field, the cursor is positioned at the first output-only or constant field. Selected fields Place the fields on their positions: For the 27 x display size, positions through of every line of the subfile will be reserved for the scroll bar.

DDS keyword entries for display files positions 45 through Your program cannot find out, when the IBM i operating system is paging through the subfile, which page of the subfile zs400 displayed.

AS/ Chapter 9: Subfiles

This line is needed subfi,e the text More and Bottom. Press Enter to go back to the previous screen. Options On subfile maximum size type and on the number of records for page type 9: