PDA

View Full Version : New problem using DSPSIZ(24 80 *DS3 27 132 *DS4) ?



Guest.Visitor
01-01-1995, 02:00 AM
New problem using DSPSIZ(24 80 *DS3 27 132 *DS4) ? ------------------------------------------- An extract of the DDS : A DSPSIZ(24 80 *DS3 27 132 *DS4) A *DS3 MSGLOC(24) A *DS4 MSGLOC(27) A PRINT A HELP(01) ------------------------------------------- The concept is the following: Our windows all are defined in the 2 sizes. The window is displayed in 24x80 if it is called since a program whose DSPF is in 24x80. The window is displayed in 27x132 if it is called since a program whose DSPF is in 27x132. and this, without DSPMOD Since the application of PTF SF59450 on V4R3M0 : The result is the following: The window is correctly displayed from a call in 24*80 But with a calling routine in 27*132, the background of the screen is erased and the window is displayed on a black background ! Here the exact response of the laboratories of Rochester via the french Hotline The R430 version is working correctly. The display file is always opened to its primary screen size unless specific keywords are used correctly (KEEP, ASSUME, DSPMOD, etc.). The primary mode of the first file is 27x132 and the primary mode of the second is 24x80. If you change the primary mode of the second file (AR0400FM) to wide screen, the application will function the same as the R320 version. But we notice that would this functionality is supported, since it was carried out successfully until the ds application PTF SF59450. And continues to work corectly on AS/400 whithout this PTF. Does somebody have the same problem? Are we oblige to use DSPMOD? If so, how to know the size of the appealing screen dynamically (without adding parameter to the window)? By advance, thank you for your assistance. a desperate French user (using babelfish.altavista.com to translate...) !!!

David Abramowitz
12-10-1999, 09:50 AM
If you did not permanently apply the PTF, you could try removing the PTF. Dave

Guest.Visitor
12-14-1999, 10:25 AM
Screen DDS changes 1. At each record format level add a DSPMOD(*DS4) statement. Condition it based on a indicator. RPG program changes. 1. Add a file status data structure to the workstation file. 2. Define the file status data structure with subfeld of SCNLIN. Binary field from position 152 to 153 with zero decimal position. This field will contain the number of lines on the display (i.e. 24 or 27) 3. Set on the indicator used to condition the DSPMOD(*DS4) if the SCNLIN field is equal to 27.