Using @RPTOPT to Modify Spooler Parameters  | 
			    
			 
			DEVELOPER  | 
			![]()  | 
		
Using @RPTOPT to Modify Spooler Parameters
Using @RPTOPT is the second method you can use for overriding the standard spooler level settings. This method allows you to modify spooler parameters dynamically at execution overriding the fields specified in Report/Update Options ($SPOOL). For example, by using @RPTOPT in a conditional logic statement in the previous function, you can specify that a report is routed to printer 1 the first time it is executed, routed to printer 8 the second time it is executed, etc.
@RPTOPT has two formats: fixed-field or free-form format.
Section links:
Fixed 
 Field Format explains how to use the @RPTOPT's original fixed field 
 format
Free 
 Form Format explains how to use the free form format of @RPTOPT.
Other 
 Printing @RPTOPT Options describes the available printer options for 
 @RPTOPT.
Topic ID: 730116










 
			 
			