2.17.1 Submit the Print Job to Batch

When the option is used to print system variable definitions the Print System Variable Definition screen is displayed to enable a batch job that will perform the actual printing to be submitted.

 

   DC@P101001             Print System Variable Definition             

 

   Submit this job . . . . . . . . . . . . . . . . . . . YES  YES, NO  

 

   Using Job name  . . . . . . . . . . . . . . . . . . . SYSVARPRNT    

         Job description . . . . . . . . . . . . . . . . *LIBL/QBATCH  

         Job queue . . . . . . . . . . . . . . . . . . . *JOBD         

         Output queue  . . . . . . . . . . . . . . . . . *LIBL/QPRINT  

                                                                       

   Print all system variables or only selected . . . . . ALL   ALL SEL 

 

 

 

 

 

   Fnn=Help  Fnn=Exit  Fnn=Cancel  Fnn=Messages                        

 

 

Input Options

These input options apply to printing system variable definitions:

Submit This Job

Job Name

Job Description

Job Queue

Output Queue

Print All System Variables or Only Selected

Specifies whether all system variables are to be printed, or only system variables selected using the standard selection method previously described.

Mandatory field. Pre-filled to SEL. Allowable values are:

SEL

Only previously selected variables should be printed.

ALL

All system variables should be printed.

 

Multilingual Variables

A multilingual variable is a text string that changes value according to the language being used.

The following example of a text string means the same thing in different languages, but has a different textual value in each language:

"Locate Employee by Name"

"Ricerca Alfabetica Impiegati"

"Zoek Werknemer op Naam"

If this was a piece of text that you wished to place on a screen panel, a report, or send in a message, then a multilingual variable (called an *MTXT variable as well) should be used.

By positioning an *MTXT defaulted field on the screen, rather than just text, the values that appear on the screen panel at execution time will vary according to the language being used.

In many respects *MTXT variables are just like system variables (described in 2.16 System Variables), and they can be used in the same places as system variables:

The extensive use of multilingual variables in validation rules has many advantages:

For example, imagine these multilingual variables:

*MTXTMON

"Monday" in all desired languages

*MTXTTUE

"Tuesday" in all desired languages

*MTXTWED

"Wednesday" in all desired languages

*MTXTTHU

"Thursday" in all desired languages

*MTXTFRI

"Friday" in all desired languages

*MTXTSAT

"Saturday" in all desired languages

*MTXTSUN

"Sunday" in all desired languages

*MTXTERR001

"Day of week specified is invalid" in desired languages

 

Then, in just one list of values rule in the dictionary, a file or an RDML program, you could validate the day of the week (in the current language) and issue an error message (in the current language).

Additionally, as the "dictionary" of *MTXT variables grows, they will become used repeatedly in different applications. For instance *MTXTMON, *MTXTTUE, etc might be used as column headings on screen panels or reports.

Note: Before attempting to make large scale use of *MTXT variables please develop and use naming standards for them.