18.08.2013 Views

LINC Programming Reference Manual - Public Support Login - Unisys

LINC Programming Reference Manual - Public Support Login - Unisys

LINC Programming Reference Manual - Public Support Login - Unisys

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

RUN<br />

Value Description<br />

ACTIV The terminal already has a Report attached.<br />

BUSY The maximum number of Reports are already running, or the Report has<br />

already been initiated by the same user.<br />

INVAL The Report name is invalid or unlocatable.<br />

spaces The value is spaces when the report is first initiated.<br />

Note: There are some conditions under which a Report may seem to have started<br />

satisfactorily with no error status being returned, but may not run due to a<br />

system limitation. That is, you may have exceeded the maximum number of<br />

processes that your operating system can handle.<br />

Passing Parameters to Your Report<br />

You can use <strong>LINC</strong> logic to pass parameter information to your Report in the following ways:<br />

$ Use MESSAGE; and ACCEPT; logic commands so that your Report can collect runtime<br />

information from user input.<br />

$ In your Ispec logic, you can store information in the Database for your Report to read.<br />

You must use this method if your parameter information is greater than 254 characters.<br />

$ Specify the PA; command option with your RUN; command. Before you generate the<br />

Report you want to run, you must have specified a data item on the Report Options<br />

screen that will contain your parameter data. For more details, see your <strong>LINC</strong><br />

Generate Operations Guide. This is the simplest method of passing parameter data to<br />

a Report using <strong>LINC</strong> logic, but it is limited to a maximum of 254 characters.<br />

Restrictions on parameter passing are:<br />

$ The PA; command option is ignored in LDA Run Time.<br />

$ GLB.PARAM may be used to pass parameters in LDA Run Time.<br />

$ Binary data is not allowed in the parameter for a UNIX <strong>LINC</strong> System, .<br />

$ The contents of the Report parameter are undefined if a Report parameter is defined in<br />

the Report, but the RUN; command does not pass the parameter.<br />

$ The parameter will be ignored with no error, if the RUN; command passes a parameter,<br />

but the Report does not specify a parameter.<br />

$ The initial value of your Report parameter will be recovered regardless of any changes<br />

you have made to the contents of Setup Data or Global Setup Data in your Report<br />

logic, if the Report goes into recovery.<br />

$ Up to 254 bytes of information can be sent to the Report from a WAKE.UP; command<br />

in your Report or Ispec logic.<br />

1-208 v

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

Saved successfully!

Ooh no, something went wrong!