SET COUNTRY command

Changes the current national country setting for the application program. It is available only where supported by Language Environment® or when running without the Language Environment run time. The IBM-supplied initial country code is US.

Read syntax diagramSkip visual syntax diagramSETCOUNTRYcountry_code;
country_code
A valid two-letter set that identifies the country code used. The country code can have one of the following values:
  • United States: US
  • Japanese: JP

Country codes cannot be truncated.

Usage notes

  • This setting affects both your application and z/OS® Debugger.
  • At the beginning of an enclave, the settings are those provided by Language Environment, your operating system, or the z/OS Debugger run-time options. For nested enclaves, the parent's settings are restored upon return from a child enclave.

Example

Change the current country code to correspond to Japan.
SET COUNTRY JP;