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: Zulukazahn Grogami
Country: Madagascar
Language: English (Spanish)
Genre: Relationship
Published (Last): 6 August 2012
Pages: 459
PDF File Size: 15.32 Mb
ePub File Size: 10.18 Mb
ISBN: 747-4-81183-451-9
Downloads: 74778
Price: Free* [*Free Regsitration Required]
Uploader: Mausar

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. You should select the fields further to the right, because they are the last ones loaded.

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. 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.

DDS keyword entries for display files positions 45 through 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. Options Select Overlay without erasing: Bottom record And the TOP record like this: In this chapter we’ll create a400 subfile which will show all the cards from a client given its ID.

Let’s see how that’s done. No fields of the subfile can use those columns. The scroll bar is shown for graphical displays. aubfile

The list of members that you can see in the PDM is an example of a subfile. Executing the subfile Source code. Options On the General Keywords menu insert the data you see below: Where the user is at in the subfile How big the subfile is What proportion of the subfile the user is viewing. Options Press Enter until you’re back on as40 screen: Press Enter to go back to the previous screen.

  AVH-P6000DVD MANUAL PDF

Select the option Select Record Keyword: The scroll bar indicates different types of information about the subfile: For selection lists, the scroll bar will be positioned to the right of the choices for the list.

SFLEND (Subfile End) keyword for display files

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.

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.

Selecting fields Type the titles of the subfjle columns and a separating line: Subfiles With subfiles you can create a display file with lists of items.

Multiple line subfiles can be used. For selection lists, the More and Bottom text is positioned to the subfiile of the choices for the list.

For other subfiles, the scroll bar will be positioned on column When the Page Up key is pressed, your program handles the processing. If CURSOR is sufbile, the cursor is placed in the subfile record whose relative record number is identified by the contents of this field. 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.

Columns description Let’s add some proprieties to the Ax400 ID field.

IBM RPG Subfile Example with Record Selection – United States

For the 24 x 80 display size, positions 77 through 80 of every line of the subfile will be reserved for the scroll bar. If your program does this, the display shows the plus sign or the More text. Options These indicators allow us to manipulate the status of the subfile from the RPG code. 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.

  CAMPANA DE CRISTAL SYLVIA PLATH PDF

Options Press enter subfule go back.

It must have the keyboard shift attribute of signed numeric S in position 35and it can be up to 4 digits in length. These indicators allow us to manipulate the status of the subfile from the RPG code. Set the indicators on to remove the plus sign from the display or to display as4000 Bottom text.

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. 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 ae400 scroll box one page size above, the scroll button is displayed with the last page of the subfile.

We’re going to add an indicator to this field, which will be activated when no record is found for an ID inserted either the ID doesn’t exist or it doesn’t have any associated cards.

AS/ Chapter 9: Subfiles

Set the indicators off to display the plus sign or the More text. Selected fields Place the fields on their positions: Paging is provided by the IBM i operating system. Both versions of the subfile folded or truncated must occupy three lines. The format of the keyword is: