This Natural profile and session parameter defines the character to be
used as the assignment character for the input parameter processing in
INPUT
statements,
either in keyword/delimiter mode or when processing data from the Natural
stack.
Within a Natural session, the profile parameter IA
can be overridden by the session parameter IA
.
Possible settings | any special character |
Assignment character for the input parameter processing in
|
|
---|---|---|---|
Default setting | = |
Equals sign. | |
Dynamic specification | yes | ||
Specification within session | yes | Applicable Statements: | SET
GLOBALS |
Applicable Command: | GLOBALS |
||
Application Programming Interface | USR0350N ,
USR1005N *
|
See SYSEXT - Natural Application Programming Interfaces in the Utilities documentation. * Recommended. |
In the following example, it is assumed that, for the beginning, the
default input assign character (=
) applies.
** Example 'IACHAR': Input Assign character ************************************************************************ DEFINE DATA LOCAL 1 #A (A1) 1 #B (A1) END-DEFINE * INPUT #A #B * WRITE 'Field #A:' #A / 'Field #B:' #B * END
Enter the command
IACHAR #A=Y,#B=X
The program produces the following output:
Page 1 05-01-19 11:05:51 Field #A: Y Field #B: X
Enter the command
GLOBALS IA=:
This sets the input assign character to colon (:
).
Then enter the command
IACHAR #B:X,#A:Y
The program produces the following output:
Page 1 06-11-13 12:12:24 Field #A: Y Field #B: X
Under Natural Security: The setting of this parameter can be overridden by the Session Parameters option of the Library Profile.