$SetL: Difference between revisions
No edit summary |
|
(No difference)
|
Revision as of 18:54, 29 July 2014
The $SETL function sets the current line counter for the output device currently in effect to the value specified as the $SETL argument. Use the $SETL function only when routing output to an external data set. You cannot use $SETL with full-screen devices.
$SETL returns a number representing the maximum physical line length allowed on the current output device. This line length is determined from the OUTMRL and OUTCCC parameters or, if an alternate output device is being used, from the LRECL specification on the USE data set DD statement and the UDDCCC parameter. All parameters are described in the List of Model 204 parameters.
The $SETL function does not ordinarily reposition the output device or perform any input/output operations. It simply alters the value of the line counter for the device. When this counter is compared to the value of OUTLPP or UDDLPP, the effective size is changed for the current page. If the counter is set to a value equal to or greater than the effective lines-per-page value (OUTLPP or UDDLPP), a NEW PAGE action is forced.