Return Default Date and Time Strings for Country or Region (CEEFMDT) API


  Omissible Parameter:

1 country/region_code Input CHAR2

  Required Parameter:

2 datetime_str Output VSTRING

  Omissible Parameter:

3 fc Output FEEDBACK

  Service Program Name: QLEAWI

  Default Public Authority: *USE

  Threadsafe: Yes

The Return Default Date and Time String for Country or Region (CEEFMDT) API returns the default date and time picture strings for the country or region specified in the country/region_code parameter.


Omissible Parameter

country/region_code (input)
The 2-character string that represents the country or region code. See Country/Region Codes for values. If this value is blank, the default country or region code is used.

Authorities and Locks

None.


Required Parameter

datetime_str (output by descriptor)
The default date and time picture string for the country or region code is placed into this character string variable.

Omissible Parameter

fc (output)
A 12-byte feedback code passed by reference. If specified as an argument, a condition token is returned to the calling procedure. If not specified and the requested operation was not successfully completed, the condition is signaled to the condition manager.

Feedback Codes and Conditions

CEE0000 The API completed successfully
Severity: 00  
CEE3470 The resulting string is truncated
Severity: 20  
CEE3471 The country/region_code identifier is not valid for CEEFMDT
Severity: 30  
CEE9902 Unexpected user error occurred in &1
Severity: 30
 

Country/Region Code Identifiers

The following table lists the country or region code identifiers.

Country/Region Codes

Country/Region ID
Albania AL
Algeria DZ
Argentina AR
Australia AU
Austria AT
Bahrain BH
Belgium BE
Bolivia BO
Brazil BR
Bulgaria BG
Canada CA
Chile CL
Colombia CO
Costa Rica CR
Countries of the former Yugoslavia
YU
Czech Republic CZ
Denmark DK
Dominican Republic DO
Ecuador EC
Egypt EG
El Salvador SV
Finland FI
France FR
Germany DE
Greece GR
Guatemala GT
Honduras HN
Hungary HU
Iceland IS
India IN
Iran IR
Iraq IQ
Ireland IE
Israel IL
Italy IT
Japan JP
Jordan JO
Korea, Democratic People's Republic KP
Korea, Republic of KR
Kuwait KW
Lebanon LB
Libya LY
Mexico MX
Morocco MA
Netherlands NL
New Zealand NZ
Norway NO
Oman OM
Pakistan PK
Panama PA
Paraguay PY
People's Republic of China CN
Peru PE
Poland PL
Portugal PT
Qatar QA
Romania RO
Russia RU
Saudi Arabia SA
Slovakia SK
Slovenia SI
South Africa ZA
Spain ES
Sudan SD
Sweden SE
Switzerland CH
Syria SY
Taiwan TW
Thailand TH
Tunisia TN
Turkey TR
United Arab Emirates AE
United Kingdom GB
United States US
Uruguay UY
Venezuela VE
Yemen YE



API introduced: V2R3
Top | ILE CEE APIs | APIs by category