13.07.2015 Views

IBM 5280 Distributed Data System - Index of

IBM 5280 Distributed Data System - Index of

IBM 5280 Distributed Data System - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The following illustration shows how the system table is used to find an edit formatcontrol string that is located within the partition. In the illustration, FMT02 isthe second edit format set up with a .FMT control statement series.Source: READ(3,FMT02,O,N)Object:12o,o3,oLiIBytes 24 and 25 <strong>of</strong>the Partition lOB<strong>System</strong> TableF F F FEdit Format Control String_I I<strong>System</strong> Table for Screen Format Control StringsThe system table for screen format control strings is built by the assembler when itprocesses the .SFMT control statements; one system table entry is generated fromeach series <strong>of</strong> .SFMT control statements. The address <strong>of</strong> the system table for screenformat control strings that are located within the partition is stored in the keyboard/display lOB at hex 79, relative to the start <strong>of</strong> the lOB. The address <strong>of</strong> the systemtable for global screen format control strings is stored in the system control block,with the storage page number at hex FB and the address at hex Fe.The system table for screen format control strings that are located within the partitionconsists <strong>of</strong> one 2-byte entry for each control string. The 2-byte entry containsthe address, relative to the beginning <strong>of</strong> the partition, where the control string islocated. There may be up to 256 control strings within a partition, represented bysystem table indexes 0 through 255.The system table for global screen format control strings consists <strong>of</strong> one 2-byteentry for each global control string. The 2-byte entry contains the address, relativeto the beginning <strong>of</strong> the storage page (in hex FB), where the control string is located.There may be up to 256 global control strings represented by system table indexeso through 255. The first global screen format control string is used by the systemfor the standard load prompt.The ENTR command in the source program includes the label <strong>of</strong> the screen controlformat to use. The assembler converts the label to the system table index, andalso determines whether the control string is within the partition or in the commonarea. If the control string is within the common area, bit 9 <strong>of</strong> the 4-byte objectcode instruction is set to 1. During program execution, if bit 9 equals 1 the address<strong>of</strong> the system table is taken from the system control block. If bit 9 equals 0 theaddress <strong>of</strong> the system table is taken from the keyboard/display lOB within thepartition.Main Storage <strong>Data</strong> Areas 97

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!