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.

Formatted Write to the Screen (WFMCRT)Source: WFMCRT (BRa, [fmt] [,BRb] , [!oo])~ ~f~Object:I I I3E @I I0 8 23 31I lD fJ II IIID Screen address: The address <strong>of</strong> the binary register that contains the rownumber to begin the write.fJ Bit 15:0= <strong>Data</strong> between fields is blanked; B is specified.1 = <strong>Data</strong> between fields remains on the screen; ADD is specified.II Format number: The number (hex 01-FE) <strong>of</strong> the format to use.II The address <strong>of</strong> the binary register that contains the number <strong>of</strong> bytes to blankor add in the screen buffer before formatting begins.<strong>Data</strong> is moved to the screen, beginning at column 1 <strong>of</strong> the row specified by the loworderbyte <strong>of</strong> the screen address register. <strong>Data</strong> is moved from the locations specifiedby the labeled edit format, for the number <strong>of</strong> bytes specified by the format.The format also specifies any punctuation that should appear on the screen, such asa dollar sign, decimal point, or minus sign. The format must not use more than 200screen positions. If row 0 is specified, data is moved to the status line; if row 1 isspecified, data is moved to the extra line.If the binary register II is included, the contents <strong>of</strong> this register are taken as thenumber (1-200) <strong>of</strong> screen positions to alter before the formatted data is moved tothe screen. If B is coded in the source instruction, all characters on the screenbetween the data fields that are defined' in the edit format are blanked for thenumber <strong>of</strong> bytes specified in the binary register. If ADD is coded in the sourceinstruction, only the fields that are defined in the edit format are changed on thescreen; the characters between the edit format fields remain on the screen for thenumber <strong>of</strong> bytes specified by the binary register. If the binary register and B/ADDare omitted, and if the edit format does not account for all <strong>of</strong> the positions on thescreen within the edit format, the results are unpredictable.The fields <strong>of</strong> the format must be in the order <strong>of</strong> their appearance on the screen.198

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

Saved successfully!

Ooh no, something went wrong!