Previous Topic: Sample z/VSE JCLNext Topic: Sample JCL


Printing CA Dataquery Panels

The panel print utility allows you to print the CA Dataquery panels by submitting a batch job, just as with any other batch utility. You can print selected panels or all the panels for one language. Panels are printed in a 24 X 80 format, one panel per report page. No descriptive text appears on the page with the panel. Error messages appear on separate pages.

Processing

When you request a panel/language which exists, the panel is printed; otherwise an error message is printed. When CA Dataquery processing of the print request is complete, the operating system completion code is set as follows:

0

Normal completion

4

Syntax error on control statement input

8

Error in operation

16

Utility abend

Control Statement Format

Keyword parameters may start in any position on the statement. Keyword parameters must be followed by an equal sign (=) and a value. Commas should be used to separate keywords, and there should be no embedded blanks in the list of parameters. Multiple control statements may be used. Keywords and valid values are:

REQ=PRINT

This must be used as written. In this version, print is the only valid request handled by this utility.

NAME=xxx

Where xxx is the name of a panel to print. This is a required parameter. To print panel DQD10, NAME=D10 would be used. To print all the panels for a language, NAME=*** would be used.

LANG=yy

Where yy is the code of a language to print. This is an optional parameter. If not used, the default is AE (American English). To print all panels in more than one language, a control statement for each language must be used.