Please enable JavaScript to view this site.

From version 6.2.81 - This Exit Program will return your IBM i System information. This can be useful if you have to print a Currency Symbol (PARM5) or print dates in a certain Date Format (PARM4).

It could also be used when running in a TEST environment (i.e. a separate test IBM i) to send email output for checking the output from a PPD by adding a condition using the System Name (PARM3).

Parameter

In

Len

Out

Len

PARM1

-

 

IBM i Serial Number

8

PARM2

-

 

IBM i Model Number

4

PARM3

-

 

IBM i System Name

8

PARM4

-

 

IBM i Date Format

3

PARM5

-

 

IBM i Currency Symbol

1

PARM6

*SYSTEM

7

IBM i CCSID

5

Here is an example of its use in a PPD where the program is being called in a PAGE = *START Conditional element:

COBGETSYS